20 #ifndef SRC_CORECOMPONENTS_PHYSICSSOLVERS_FLUIDFLOW_COMPOSITIONALMULTIPHASESTATISTICS_HPP_
21 #define SRC_CORECOMPONENTS_PHYSICSSOLVERS_FLUIDFLOW_COMPOSITIONALMULTIPHASESTATISTICS_HPP_
28 class CompositionalMultiphaseBase;
45 Group *
const parent );
48 static string catalogName() {
return "CompositionalMultiphaseStatistics"; }
61 real64 const eventProgress,
76 constexpr
static char const * computeCFLNumbersString() {
return "computeCFLNumbers"; }
78 constexpr
static char const * computeRegionStatisticsString() {
return "computeRegionStatistics"; }
80 constexpr
static char const * regionStatisticsString() {
return "regionStatistics"; }
82 constexpr
static char const * relpermThresholdString() {
return "relpermThreshold"; }
85 struct RegionStatistics
100 real64 averageTemperature;
109 real64 totalUncompactedPoreVolume;
111 array1d< real64 > phasePoreVolume;
114 array1d< real64 > phaseMass;
116 array1d< real64 > trappedPhaseMass;
118 array1d< real64 > immobilePhaseMass;
120 array2d< real64 > componentMass;
131 void computeRegionStatistics(
real64 const time,
133 arrayView1d< string const >
const & regionNames )
const;
141 void computeCFLNumbers(
real64 const time,
143 DomainPartition & domain )
const;
145 void postInputInitialization()
override;
147 void registerDataOnMesh(
Group & meshBodies )
override;
153 integer m_computeRegionStatistics;
156 real64 m_relpermThreshold;
CompositionalMultiphaseStatistics(const string &name, Group *const parent)
Constructor for the statistics class.
static string catalogName()
Accessor for the catalog name.
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
Group()=delete
Deleted default constructor.
virtual bool execute(real64 const time_n, real64 const dt, integer const cycleNumber, integer const eventCounter, real64 const eventProgress, DomainPartition &domain) override
Main extension point of executable targets.
double real64
64-bit floating point type.
std::int32_t integer
Signed integer type.