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.

Pressure_Display_VARIABLES.f90 1.4 KiB

1 year ago
1234567891011121314151617181920212223242526272829303132
  1. MODULE PressureDisplayVARIABLES
  2. USE DynamicRealArray
  3. IMPLICIT NONE
  4. INTEGER :: NoGauges
  5. REAL , DIMENSION(6) :: PressureGauges
  6. INTEGER :: SoundSpeed ! speed of sound [ft/s]
  7. INTEGER , DIMENSION(3) :: PressureTimeStepDelay
  8. TYPE(DynamicRealArrayType) :: PumpPressureDelay
  9. TYPE(DynamicRealArrayType) :: CasingPressureDelay
  10. TYPE(DynamicRealArrayType) :: BottomHolePressureDelay
  11. TYPE(DynamicRealArrayType) :: ShoePressureDelay
  12. TYPE :: ObservationAndGaugePointsInformations ! We have some gauges and may be have many observation points like casing shoe, bottomhole , etc.
  13. ! This module stores information of these points to calculate pressure, density and other desired properties
  14. ! at these points
  15. ! Locations: 1: Stand Pipe , 2: Choke Manifold, 3: Botton Hole, 4: Under Bit, 5: Shoe, 6: Before BOP
  16. INTEGER :: ElementNo ! Element Nubmer based on mud elements
  17. REAL :: DistancetoRefrence ! Distance from pump or the end of fluid path [ft]
  18. REAL :: ElementTrueDepth ! True depth of point or gauge [ft]
  19. REAL :: Pressure ! Pressure [psi]
  20. END TYPE
  21. !TYPE(ObservationAndGaugePointsInformations) , ALLOCATABLE :: GaugePoint(:)
  22. TYPE(ObservationAndGaugePointsInformations) , ALLOCATABLE :: ObservationPoint(:)
  23. END MODULE