OGS
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionModel Struct Referenceabstract

Detailed Description

Definition at line 25 of file PhaseTransitionModel.h.

#include <PhaseTransitionModel.h>

Inheritance diagram for ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionModel:
[legend]

Public Member Functions

 PhaseTransitionModel (std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media)
 
virtual ~PhaseTransitionModel ()=default
 
virtual void eval (SpaceTimeData const &x_t, MediaData const &media_data, GasPressureData const &p_GR, CapillaryPressureData const &p_cap, TemperatureData const &T_data, PureLiquidDensityData const &rho_W_LR, FluidEnthalpyData &fluid_enthalpy_data, MassMoleFractionsData &mass_mole_fractions_data, FluidDensityData &fluid_density_data, VapourPartialPressureData &vapour_pressure_data, ConstituentDensityData &constituent_density_data, PhaseTransitionData &cv) const =0
 

Constructor & Destructor Documentation

◆ PhaseTransitionModel()

ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionModel::PhaseTransitionModel ( std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const & media)
inlineexplicit

Definition at line 27 of file PhaseTransitionModel.h.

30 {
31 DBUG("Create phase transition models...");
32
33 // check for minimum requirement definitions in media object
34 std::array const required_gas_properties = {
36 std::array const required_liquid_properties = {
38
39 for (auto const& m : media)
40 {
41 checkRequiredProperties(m.second->phase("Gas"),
42 required_gas_properties);
43 checkRequiredProperties(m.second->phase("AqueousLiquid"),
44 required_liquid_properties);
45 }
46 }
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:30
void checkRequiredProperties(Component const &c, std::span< PropertyType const > const required_properties)
Definition Component.cpp:60

References DBUG(), and MaterialPropertyLib::density.

◆ ~PhaseTransitionModel()

virtual ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionModel::~PhaseTransitionModel ( )
virtualdefault

Member Function Documentation

◆ eval()

virtual void ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionModel::eval ( SpaceTimeData const & x_t,
MediaData const & media_data,
GasPressureData const & p_GR,
CapillaryPressureData const & p_cap,
TemperatureData const & T_data,
PureLiquidDensityData const & rho_W_LR,
FluidEnthalpyData & fluid_enthalpy_data,
MassMoleFractionsData & mass_mole_fractions_data,
FluidDensityData & fluid_density_data,
VapourPartialPressureData & vapour_pressure_data,
ConstituentDensityData & constituent_density_data,
PhaseTransitionData & cv ) const
pure virtual

The documentation for this struct was generated from the following file: