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.

GeoElements_FluidModule.f90 2.9 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. MODULE GeoElements_FluidModule
  2. IMPLICIT NONE
  3. PUBLIC
  4. !************************************************************************************************************************************
  5. TYPE , PUBLIC :: Geo_Data
  6. REAL(8) , Allocatable :: MD(:) , TVD(:) , Angle(:)
  7. END TYPE Geo_Data
  8. TYPE(Geo_Data) :: TDGeo
  9. !************************************************************************************************************************************
  10. !************************************************************************************************************************************
  11. !====================================================
  12. ! Well Geometrical Elements Info (for fluid module)
  13. !====================================================
  14. TYPE , PUBLIC :: F_StringData
  15. INTEGER :: FirstElement , LastElement , ElType
  16. REAL(8) :: ID , OD , TopDepth , DownDepth
  17. END TYPE F_StringData
  18. TYPE(F_StringData) , Allocatable :: F_String(:)
  19. !************************************************************************************************************************************
  20. !************************************************************************************************************************************
  21. TYPE , PUBLIC :: F_IntervalsCountsData
  22. INTEGER :: IntervalsTotalCounts , StringIntervalCounts , BottomHoleIntervalCounts , AnnulusIntervalCounts
  23. INTEGER :: OutOfWellIntervalCounts
  24. END TYPE F_IntervalsCountsData
  25. TYPE(F_IntervalsCountsData):: F_Counts
  26. !************************************************************************************************************************************
  27. !************************************************************************************************************************************
  28. TYPE , PUBLIC :: F_IntervalData
  29. INTEGER :: Number , GeoType
  30. REAL(8) :: ID , OD , StartDepth , EndDepth , HydDiameter , Volume
  31. REAL(8) :: StartTVD , EndTVD , StartAngle , EndAngle
  32. END TYPE F_IntervalData
  33. TYPE(F_IntervalData) , Allocatable :: F_Interval(:)
  34. !####F_Interval(:)%GeoType =
  35. ! 0 : String Interval
  36. ! 1 : BottomHole Interval
  37. ! 2 : Annulus Interval
  38. !************************************************************************************************************************************
  39. !************************************************************************************************************************************
  40. TYPE , PUBLIC :: OD_AnnulusData
  41. REAL(8) :: ODValue , StartMD , EndMD
  42. END TYPE OD_AnnulusData
  43. TYPE(OD_AnnulusData) :: OD_Annulus(4)
  44. !************************************************************************************************************************************
  45. END MODULE GeoElements_FluidModule