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.
 
 
 
 
 
 

81 lines
3.0 KiB

  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_String%DrillStemTotalLength = 500.d0 !???????????????????
  12. TD_String%DrillStemTotalLengthIni = 500.d0 !???????????????????
  13. TD_String%OutOfWellLength = 3.48d0
  14. TD_String%DrillStemAxialVelocity = 0.d0
  15. TD_String%DrillStemRotVelocity = 0.d0
  16. TD_String%WeightOnBit = 0.d0
  17. TD_String%BitTorque = 0.d0
  18. TD_String%TotalTorque = 0.d0
  19. TD_String%StaticHookLoad = 0.d0
  20. TD_String%DlMax = 0.d0
  21. TD_String%DlTotal = 0.d0
  22. TD_String%DlTouch = 1.d0 !(=/0.) because of TD_StringConnectionModes subroutine (initial value for first iteration in if condition)
  23. TD_String%HookLoad = 0.d0
  24. TD_String%StringTorque = 0.d0
  25. TD_String%ToolJointRange = 0.4005d0*3.28d0 ![m]*3.28=[ft] , ToolJointLength=400.5mm
  26. TD_Vol%RemoveVolume = 0.0d0
  27. TD_String%DrillStemBottom = TD_String%DrillStemTotalLength-TD_String%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_String%FluidMudDensity)) deallocate(TD_String%FluidMudDensity)
  57. !if (allocated(TD_String%FluidMudEndX)) deallocate(TD_String%FluidMudEndX)
  58. !if (allocated(TD_String%FluidMudStartX)) deallocate(TD_String%FluidMudStartX)
  59. !Allocate (TD_String%FluidMudDensity(1) , TD_String%FluidMudEndX(1) , TD_String%FluidMudStartX(1))
  60. !TD_String%FluidMudDensity(:) = 10.d0
  61. !TD_String%FluidMudStartX(:) = -268.d0 !??????????
  62. !TD_String%FluidMudEndX(:) = 9990.d0 !??????????
  63. end subroutine