Simulation Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TD_DrillStemStartUp.f90 2.8 KiB

1 year ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. subroutine TD_DrillStemStartUp
  2. Use CCasingLinerChokeVariables
  3. Use CStringConfigurationVariables
  4. ! use CSimulationVariables
  5. Use TD_DrillStemComponents
  6. Use TD_WellElements
  7. Use TD_WellGeometry
  8. Use TD_GeneralData
  9. Use TD_StringConnectionData
  10. implicit none
  11. TD_DrillStemTotalLength = 500.d0 !???????????????????
  12. TD_DrillStemTotalLengthIni = 500.d0 !???????????????????
  13. TD_OutOfWellLength = 3.48d0
  14. TD_DrillStemAxialVelocity = 0.d0
  15. TD_DrillStemRotVelocity = 0.d0
  16. TD_WeightOnBit = 0.d0
  17. TD_BitTorque = 0.d0
  18. TD_TotalTorque = 0.d0
  19. TD_StaticHookLoad = 0.d0
  20. TD_DlMax = 0.d0
  21. TD_DlTotal = 0.d0
  22. TD_DlTouch = 1.d0 !(=/0.) because of TD_StringConnectionModes subroutine (initial value for first iteration in if condition)
  23. TD_HookLoad = 0.d0
  24. TD_StringTorque = 0.d0
  25. TD_ToolJointRange = 0.4005d0*3.28 ![m]*3.28=[ft] , ToolJointLength=400.5mm
  26. TD_RemoveVolume = 0.0d0
  27. TD_DrillStemBottom = TD_DrillStemTotalLength-TD_OutOfWellLength !????????????
  28. !TD_DrillStems%TopDepth =
  29. !TD_DrillStems%DownDepth =
  30. !TD_DrillStems%StartAngle =
  31. !TD_DrillStems%EndAngle =
  32. TD_DrillStems%Area = 0.d0
  33. TD_DrillStems%RCurvature = 0.d0
  34. TD_DrillStems%RtoolJoint = 0.d0
  35. TD_DrillStems%ToolJointRange = 0.d0
  36. TD_DrillStems%HoleDiameter = 0.d0
  37. TD_DrillStems%Force1 = 0.d0
  38. TD_DrillStems%Force2 = 0.d0
  39. TD_DrillStems%Torque = 0.d0
  40. TD_DrillStems%Drag = 0.d0
  41. TD_DrillStems%CombVelRatio = 0.d0
  42. TD_DrillStems%MudDensityIn = 10.d0*7.48051948d0
  43. TD_DrillStems%MudDensityOut = 10.d0*7.48051948d0
  44. TD_DrillStems%MudViscosity = 0.16d0 !????????????????
  45. TD_DrillStems%MudVisCorrectCoef = 1.d0 !????????????????
  46. TD_DrillStems%MudWeight = 10.d0
  47. !TD_DrillStems%MudPlasticVis = !????????????????
  48. !TD_DrillStems%MudYieldPoint = !????????????????
  49. !TD_DrillStems%FricFactor =
  50. !TD_DrillStems% =
  51. !TD_DrillStems% =
  52. !TD_DrillStems%StaticHookLoad =
  53. !TD_DrillStems%TotalSHookLoad =
  54. !TD_DrillStems%Dl =
  55. !TD_DrillStems%DlTotal =
  56. !if (allocated(TD_FluidMudDensity)) deallocate(TD_FluidMudDensity)
  57. !if (allocated(TD_FluidMudEndX)) deallocate(TD_FluidMudEndX)
  58. !if (allocated(TD_FluidMudStartX)) deallocate(TD_FluidMudStartX)
  59. !Allocate (TD_FluidMudDensity(1) , TD_FluidMudEndX(1) , TD_FluidMudStartX(1))
  60. !TD_FluidMudDensity(:) = 10.d0
  61. !TD_FluidMudStartX(:) = -268.d0 !??????????
  62. !TD_FluidMudEndX(:) = 9990.d0 !??????????
  63. end subroutine