Simulation Core
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

84 rader
2.9 KiB

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