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.
 
 
 
 
 
 

83 lines
3.7 KiB

  1. # 1 "/home/admin/SimulationCore2/TorqueDrag/TD_StartUp/TD_DrillStemStartUp.f90"
  2. subroutine TD_DrillStemStartUp
  3. Use CCasingLinerChokeVariables
  4. Use CStringConfigurationVariables
  5. ! Use CSimulationVariables
  6. Use TD_DrillStemComponents
  7. use SimulationVariables !@
  8. use SimulationVariables !@
  9. use SimulationVariables !@
  10. Use TD_StringConnectionData
  11. implicit none
  12. data%State%TD_String%DrillStemTotalLength = 500.d0 !???????????????????
  13. data%State%TD_String%DrillStemTotalLengthIni = 500.d0 !???????????????????
  14. data%State%TD_String%OutOfWellLength = 3.48d0
  15. data%State%TD_String%DrillStemAxialVelocity = 0.d0
  16. data%State%TD_String%DrillStemRotVelocity = 0.d0
  17. data%State%TD_String%WeightOnBit = 0.d0
  18. data%State%TD_String%BitTorque = 0.d0
  19. data%State%TD_String%TotalTorque = 0.d0
  20. data%State%TD_String%StaticHookLoad = 0.d0
  21. data%State%TD_String%DlMax = 0.d0
  22. data%State%TD_String%DlTotal = 0.d0
  23. data%State%TD_String%DlTouch = 1.d0 !(=/0.) because of TD_StringConnectionModes subroutine (initial value for first iteration in if condition)
  24. data%State%TD_String%HookLoad = 0.d0
  25. data%State%TD_String%StringTorque = 0.d0
  26. data%State%TD_String%ToolJointRange = 0.4005d0*3.28d0 ![m]*3.28=[ft] , ToolJointLength=400.5mm
  27. data%State%TD_Vol%RemoveVolume = 0.0d0
  28. data%State%TD_String%DrillStemBottom = data%State%TD_String%DrillStemTotalLength-data%State%TD_String%OutOfWellLength !????????????
  29. !data%State%TD_DrillStems%TopDepth =
  30. !data%State%TD_DrillStems%DownDepth =
  31. !data%State%TD_DrillStems%StartAngle =
  32. !data%State%TD_DrillStems%EndAngle =
  33. data%State%TD_DrillStems%Area = 0.d0
  34. data%State%TD_DrillStems%RCurvature = 0.d0
  35. data%State%TD_DrillStems%RtoolJoint = 0.d0
  36. data%State%TD_DrillStems%ToolJointRange = 0.d0
  37. data%State%TD_DrillStems%HoleDiameter = 0.d0
  38. data%State%TD_DrillStems%Force1 = 0.d0
  39. data%State%TD_DrillStems%Force2 = 0.d0
  40. data%State%TD_DrillStems%Torque = 0.d0
  41. data%State%TD_DrillStems%Drag = 0.d0
  42. data%State%TD_DrillStems%CombVelRatio = 0.d0
  43. data%State%TD_DrillStems%MudDensityIn = 10.d0*7.48051948d0
  44. data%State%TD_DrillStems%MudDensityOut = 10.d0*7.48051948d0
  45. data%State%TD_DrillStems%MudViscosity = 0.16d0 !????????????????
  46. data%State%TD_DrillStems%MudVisCorrectCoef = 1.d0 !????????????????
  47. data%State%TD_DrillStems%MudWeight = 10.d0
  48. !data%State%TD_DrillStems%MudPlasticVis = !????????????????
  49. !data%State%TD_DrillStems%MudYieldPoint = !????????????????
  50. !data%State%TD_DrillStems%FricFactor =
  51. !data%State%TD_DrillStems% =
  52. !data%State%TD_DrillStems% =
  53. !data%State%TD_DrillStems%StaticHookLoad =
  54. !data%State%TD_DrillStems%TotalSHookLoad =
  55. !data%State%TD_DrillStems%Dl =
  56. !data%State%TD_DrillStems%DlTotal =
  57. !if (allocated(data%State%TD_String%FluidMudDensity)) deallocate(data%State%TD_String%FluidMudDensity)
  58. !if (allocated(data%State%TD_String%FluidMudEndX)) deallocate(data%State%TD_String%FluidMudEndX)
  59. !if (allocated(data%State%TD_String%FluidMudStartX)) deallocate(data%State%TD_String%FluidMudStartX)
  60. !Allocate (data%State%TD_String%FluidMudDensity(1) , data%State%TD_String%FluidMudEndX(1) , data%State%TD_String%FluidMudStartX(1))
  61. !data%State%TD_String%FluidMudDensity(:) = 10.d0
  62. !data%State%TD_String%FluidMudStartX(:) = -268.d0 !??????????
  63. !data%State%TD_String%FluidMudEndX(:) = 9990.d0 !??????????
  64. end subroutine