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.
 
 
 
 
 
 

82 line
3.0 KiB

  1. module CMudPropertiesVariables
  2. use CIActionReference
  3. !**use CDoubleEventHandlerCollection
  4. implicit none
  5. public
  6. !constants
  7. integer, parameter :: WaterBase_MudType = 0
  8. integer, parameter :: OilBase_MudType = 1
  9. integer, parameter :: PowerLaw_RheologyModel = 0
  10. integer, parameter :: Bingham_RheologyModel = 1
  11. integer, parameter :: Newtonian_RheologyModel = 2
  12. INTEGER, PARAMETER :: Herschel_Bulkley_RheologyModel = 3
  13. ! variables
  14. Type::MudPropertiesType
  15. integer :: ActiveMudType
  16. integer :: ActiveRheologyModel
  17. real(8) :: ActiveMudVolume
  18. real(8) :: ActiveMudVolumeGal
  19. real(8) :: ActiveDensity
  20. real(8) :: ActivePlasticViscosity
  21. real(8) :: ActiveYieldPoint
  22. real(8) :: ActiveThetaThreeHundred
  23. real(8) :: ActiveThetaSixHundred
  24. integer :: ReserveMudType
  25. real(8) :: ReserveMudVolume
  26. real(8) :: ReserveMudVolumeGal
  27. real(8) :: ReserveDensity
  28. real(8) :: ReservePlasticViscosity
  29. real(8) :: ReserveYieldPoint
  30. real(8) :: ReserveThetaThreeHundred
  31. real(8) :: ReserveThetaSixHundred
  32. real(8) :: ActiveTotalTankCapacity
  33. real(8) :: ActiveTotalTankCapacityGal
  34. real(8) :: ActiveSettledContents
  35. real(8) :: ActiveSettledContentsGal
  36. real(8) :: ActiveTotalContents
  37. real(8) :: ActiveTotalContentsGal
  38. logical :: ActiveAutoDensity
  39. real(8) :: InitialTripTankMudVolume
  40. real(8) :: InitialTripTankMudVolumeGal
  41. real(8) :: PedalFlowMeter
  42. End type MudPropertiesType
  43. ! Type(MudPropertiesType)::MudProperties
  44. ! subroutine SubscribeActiveMudVolume(a)
  45. ! !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeActiveMudVolume
  46. ! !DEC$ ATTRIBUTES ALIAS: 'SubscribeActiveMudVolume' :: SubscribeActiveMudVolume
  47. ! implicit none
  48. ! procedure (ActionDouble) :: a
  49. ! ActiveMudVolumePtr => a
  50. ! end subroutine
  51. ! subroutine SubscribeActiveDensity(a)
  52. ! !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeActiveDensity
  53. ! !DEC$ ATTRIBUTES ALIAS: 'SubscribeActiveDensity' :: SubscribeActiveDensity
  54. ! implicit none
  55. ! procedure (ActionDouble) :: a
  56. ! ActiveDensityPtr => a
  57. ! end subroutine
  58. ! subroutine SubscribeReserveMudVolume(a)
  59. ! !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeReserveMudVolume
  60. ! !DEC$ ATTRIBUTES ALIAS: 'SubscribeReserveMudVolume' :: SubscribeReserveMudVolume
  61. ! implicit none
  62. ! procedure (ActionDouble) :: a
  63. ! ReserveMudVolumePtr => a
  64. ! end subroutine
  65. ! subroutine SubscribeReserveDensity(a)
  66. ! !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeReserveDensity
  67. ! !DEC$ ATTRIBUTES ALIAS: 'SubscribeReserveDensity' :: SubscribeReserveDensity
  68. ! implicit none
  69. ! procedure (ActionDouble) :: a
  70. ! ReserveDensityPtr => a
  71. ! end subroutine
  72. end module CMudPropertiesVariables