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.
 
 
 
 
 
 

51 lines
1.8 KiB

  1. subroutine TD_WellGeoConfiguration
  2. Use TD_DrillStemComponents
  3. Use TD_WellElements
  4. Use TD_WellGeometry
  5. Use TD_GeneralData
  6. Use sROP_Variables
  7. Use CDataDisplayConsoleVariables
  8. Use CWarningsVariables
  9. implicit none
  10. !====================================================
  11. ! Well Geometry Data Modification
  12. !====================================================
  13. !=====> ROP Calculation
  14. if ( TD_DrillStems(1)%ComponentType==0 .and. Warmings%MaximumWellDepthExceeded==.false. ) then
  15. Call ROP_MainCalculation
  16. else
  17. ROP_Bit%RateOfPenetration = 0.d0
  18. Call Set_ROP(ROP_Bit%RateOfPenetration)
  19. end if
  20. !=====> ROPHole Data correction
  21. TD_WellEl%ROP = (ROP_Bit%RateOfPenetration/3600.d0) ! [ft/s]
  22. TD_WellGeo(TD_WellGeneral%WellIntervalsCount)%VerticalDepth = TD_WellGeo(TD_WellGeneral%WellIntervalsCount)%VerticalDepth++((TD_WellEl%ROP*TD_General%TimeStep)*cos(TD_WellGeo(TD_WellGeneral%WellIntervalsCount)%StartAngle))
  23. TD_WellGeo(TD_WellGeneral%WellIntervalsCount)%IntervalLength = TD_WellGeo(TD_WellGeneral%WellIntervalsCount)%IntervalLength+(TD_WellEl%ROP*TD_General%TimeStep) !????????check
  24. TD_WellGeo(TD_WellGeneral%WellIntervalsCount)%DownDepth = TD_WellGeo(TD_WellGeneral%WellIntervalsCount)%TopDepth+TD_WellGeo(TD_WellGeneral%WellIntervalsCount)%IntervalLength
  25. !=====> Well Total Length Calculation
  26. TD_WellGeneral%WellTotalLength = TD_WellGeo(TD_WellGeneral%WellIntervalsCount)%DownDepth
  27. TD_WellGeneral%WellTotalVerticalLength = TD_WellGeneral%WellTotalVerticalLength+((TD_WellEl%ROP*TD_General%TimeStep)*cos(TD_WellGeo(TD_WellGeneral%WellIntervalsCount)%StartAngle))
  28. Call Set_TotalDepth(real(TD_WellGeneral%WellTotalLength,8))
  29. end subroutine