OGS
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransition Struct Reference

Detailed Description

Definition at line 15 of file PhaseTransition.h.

#include <PhaseTransition.h>

Inheritance diagram for ProcessLib::TH2M::ConstitutiveRelations::PhaseTransition:
[legend]
Collaboration diagram for ProcessLib::TH2M::ConstitutiveRelations::PhaseTransition:
[legend]

Public Member Functions

 PhaseTransition (std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media)
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 override
Public Member Functions inherited from ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionModel
 PhaseTransitionModel (std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media)
virtual ~PhaseTransitionModel ()=default

Private Attributes

int const n_components_gas_
int const gas_phase_vapour_component_index_
int const gas_phase_dry_air_component_index_
int const liquid_phase_solute_component_index_
int const liquid_phase_solvent_component_index_

Constructor & Destructor Documentation

◆ PhaseTransition()

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

Definition at line 57 of file PhaseTransition.cpp.

59 : PhaseTransitionModel(media),
61 // Identifies and initialises the indices of the various components via
62 // their properties
65 // Dry air component is complement of vapour component index
67 // The solute is the component of the liquid phase which has been assigned
68 // the property `henry_coefficient'.
70 media, "AqueousLiquid",
72 // The solvent is again the bitwise complement of the solute component
75{
76 DBUG("Create PhaseTransition constitutive model.");
77
78 if (n_components_gas_ != 2)
79 {
81 "The current implementation of PhaseTransitionModelEvaporation "
82 "requires the specification of exactly two components in the "
83 "gas "
84 "phase.");
85 }
86
87 // It is always the first (begin) medium that holds fluid phases.
88 auto const medium = media.begin()->second;
89 auto const& gas_phase = medium->phase(MaterialPropertyLib::PhaseName::Gas);
90 auto const& liquid_phase =
92
93 // check for required medium properties
94 std::array const required_medium_properties = {
96 checkRequiredProperties(*medium, required_medium_properties);
97
98 // check for minimum requirement definitions in media object
99 std::array const required_vapour_component_properties = {
104
105 std::array const required_dry_air_component_properties = {
108
109 std::array const required_solute_component_properties = {
113
114 std::array const required_solvent_component_properties = {
116
117 std::array const required_gas_properties = {MaterialPropertyLib::density};
118
119 std::array const required_liquid_properties = {
121
123 gas_phase.component(gas_phase_vapour_component_index_),
124 required_vapour_component_properties);
126 gas_phase.component(gas_phase_dry_air_component_index_),
127 required_dry_air_component_properties);
129 liquid_phase.component(liquid_phase_solute_component_index_),
130 required_solute_component_properties);
132 liquid_phase.component(liquid_phase_solvent_component_index_),
133 required_solvent_component_properties);
134 checkRequiredProperties(gas_phase, required_gas_properties);
135 checkRequiredProperties(liquid_phase, required_liquid_properties);
136}
#define OGS_FATAL(...)
Definition Error.h:19
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:22
void checkRequiredProperties(Component const &c, std::span< PropertyType const > const required_properties)
Definition Component.cpp:51
int findComponentIndex(std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media, std::string const &phase_name, MaterialPropertyLib::PropertyType property_type)
int numberOfComponents(std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media, std::string const &phase_name)
PhaseTransitionModel(std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media)

References ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionModel::PhaseTransitionModel(), MaterialPropertyLib::AqueousLiquid, DBUG(), MaterialPropertyLib::density, MaterialPropertyLib::diffusion, MaterialPropertyLib::Gas, gas_phase_dry_air_component_index_, gas_phase_vapour_component_index_, MaterialPropertyLib::henry_coefficient, liquid_phase_solute_component_index_, liquid_phase_solvent_component_index_, MaterialPropertyLib::molar_mass, n_components_gas_, OGS_FATAL, MaterialPropertyLib::specific_heat_capacity, MaterialPropertyLib::specific_latent_heat, MaterialPropertyLib::tortuosity, and MaterialPropertyLib::vapour_pressure.

Member Function Documentation

◆ eval()

void ProcessLib::TH2M::ConstitutiveRelations::PhaseTransition::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
overridevirtual

Implements ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionModel.

Definition at line 138 of file PhaseTransition.cpp.

150{
151 MaterialPropertyLib::VariableArray variables;
152
153 // primary variables
154 auto const pGR = p_GR.pG;
155 auto const pCap = p_cap.pCap;
156 auto const T = T_data.T;
157 variables.gas_phase_pressure = pGR;
158 variables.capillary_pressure = pCap;
159 variables.temperature = T;
160
161 auto const& liquid_phase = media_data.liquid;
162 auto const& gas_phase = media_data.gas;
163
165
166 // identify vapour and air components for convenient access
167 auto const& vapour_component =
168 gas_phase.component(gas_phase_vapour_component_index_);
169 auto const& dry_air_component =
170 gas_phase.component(gas_phase_dry_air_component_index_);
171
172 // specific latent heat (of evaporation)
173 const auto dh_evap =
174 vapour_component
176 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
177
178 // molar mass of evaporating component
179 auto const M_W =
180 vapour_component.property(MaterialPropertyLib::PropertyType::molar_mass)
181 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
182
183 // provide evaporation enthalpy and molar mass of the evaporating
184 // component in the variable array
185 variables.enthalpy_of_evaporation = dh_evap;
186 variables.molar_mass = M_W;
187
188 // vapour pressure over flat interface
189 const auto p_vap_flat =
190 vapour_component
192 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
193
194 const auto dp_vap_flat_dT =
195 vapour_component
197 .template dValue<double>(variables,
199 x_t.x, x_t.t, x_t.dt);
200
201 // molar mass of dry air component
202 auto const M_C =
203 dry_air_component
205 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
206
207 // Water pressure is passed to the VariableArray in order to calculate
208 // the water density.
209 auto const pLR = pGR - pCap;
210 variables.liquid_phase_pressure = pLR;
211
212 // Kelvin-Laplace correction for menisci
213 const double K =
214 pCap > 0. ? std::exp(-pCap * M_W / rho_W_LR() / R / T) : 1.;
215 const double dK_dT =
216 pCap > 0. ? pCap * M_W / rho_W_LR() / R / T / T * K : 0;
217 const double dK_dpCap =
218 pCap > 0. ? -M_W / rho_W_LR() / R / T * K
219 : 0.; // rho_W_LR is treated as a constant here. However, the
220 // resulting errors are very small and can be ignored.
221
222 // vapour pressure inside porespace (== water partial pressure in gas
223 // phase)
224 vapour_pressure_data.pWGR = p_vap_flat * K;
225 auto const dpWGR_dT = dp_vap_flat_dT * K + p_vap_flat * dK_dT;
226 auto const dpWGR_dpCap = p_vap_flat * dK_dpCap;
227
228 // gas phase molar fractions
229 auto const xnWG_min =
230 1.e-12; // Magic number; prevents the mass fraction of a component
231 // from ever becoming zero (which would cause the partial
232 // density to disappear and thus one of the Laplace terms
233 // of the mass balance on the diagonal of the local element
234 // matrix to be zero). The value is simply made up, seems
235 // reasonable.
236 double const xnWG =
237 std::clamp(vapour_pressure_data.pWGR / pGR, xnWG_min, 1. - xnWG_min);
238 mass_mole_fractions_data.xnCG = 1. - xnWG;
239
240 // gas phase molar fraction derivatives
241 auto const dxnWG_dpGR = -vapour_pressure_data.pWGR / pGR / pGR;
242 auto const dxnWG_dpCap = dpWGR_dpCap / pGR;
243 auto const dxnWG_dT = dpWGR_dT / pGR;
244
245 // molar mass of the gas phase as a mixture of 'air' and vapour
246 auto const MG = mass_mole_fractions_data.xnCG * M_C + xnWG * M_W;
247 variables.molar_mass = MG;
248
249 // gas phase mass fractions
250 double const xmWG = xnWG * M_W / MG;
251 mass_mole_fractions_data.xmCG = 1. - xmWG;
252
253 auto const dxn_dxm_conversion = M_W * M_C / MG / MG;
254 // gas phase mass fraction derivatives
255 cv.dxmWG_dpGR = dxnWG_dpGR * dxn_dxm_conversion;
256 cv.dxmWG_dpCap = dxnWG_dpCap * dxn_dxm_conversion;
257 cv.dxmWG_dT = dxnWG_dT * dxn_dxm_conversion;
258
259 // density of overall gas phase
260 fluid_density_data.rho_GR =
262 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
263
264 // derivatives of average molar mass of the gas phase
265 auto const dMG = M_W - M_C;
266 auto const dMG_dpGR = dxnWG_dpGR * dMG;
267
268 variables.molar_mass_derivative = dMG_dpGR;
269
270 // Derivatives of the density of the (composite gas phase) and the
271 // partial densities of its components. The density of the mixture can
272 // be obtained via the property 'IdealGasLawBinaryMixture', for this
273 // purpose the derivatives of the mean molar mass are passed in each
274 // case via the variable_array.
275 cv.drho_GR_dp_GR =
277 .template dValue<double>(
279 x_t.x, x_t.t, x_t.dt);
280
281 auto const dMG_dpCap = dxnWG_dpCap * dMG;
282 variables.molar_mass_derivative = dMG_dpCap;
283 cv.drho_GR_dp_cap =
285 .template dValue<double>(
287 x_t.x, x_t.t, x_t.dt);
288
289 auto const dMG_dT = dxnWG_dT * dMG;
290 variables.molar_mass_derivative = dMG_dT;
291 cv.drho_GR_dT =
293 .template dValue<double>(variables,
295 x_t.x, x_t.t, x_t.dt);
296
297 // The derivatives of the partial densities of the gas phase are
298 // hard-coded (they should remain so, as they are a fundamental part of
299 // this evaporation model). By outsourcing the derivatives of the phase
300 // density to the MPL, a constant phase density can also be assumed, the
301 // derivatives of the partial densities are then unaffected and the
302 // model is still consistent.
303 constituent_density_data.rho_C_GR =
304 mass_mole_fractions_data.xmCG * fluid_density_data.rho_GR;
305 constituent_density_data.rho_W_GR = xmWG * fluid_density_data.rho_GR;
306
307 // 'Air'-component partial density derivatives
308 cv.drho_C_GR_dp_GR = mass_mole_fractions_data.xmCG * cv.drho_GR_dp_GR -
309 cv.dxmWG_dpGR * fluid_density_data.rho_GR;
310 cv.drho_C_GR_dp_cap = mass_mole_fractions_data.xmCG * cv.drho_GR_dp_cap -
311 cv.dxmWG_dpCap * fluid_density_data.rho_GR;
312 cv.drho_C_GR_dT = mass_mole_fractions_data.xmCG * cv.drho_GR_dT -
313 cv.dxmWG_dT * fluid_density_data.rho_GR;
314
315 // Vapour-component partial density derivatives
316 cv.drho_W_GR_dp_GR =
317 xmWG * cv.drho_GR_dp_GR + cv.dxmWG_dpGR * fluid_density_data.rho_GR;
318 cv.drho_W_GR_dp_cap =
319 xmWG * cv.drho_GR_dp_cap + cv.dxmWG_dpCap * fluid_density_data.rho_GR;
320 cv.drho_W_GR_dT =
321 xmWG * cv.drho_GR_dT + cv.dxmWG_dT * fluid_density_data.rho_GR;
322
323 // specific heat capacities of dry air and vapour
324 auto const cpCG =
325 dry_air_component
327 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
328 auto const cpWG =
329 vapour_component
331 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
332
333 // specific enthalpy of dry air and vapour components
334 cv.hCG = cpCG * T;
335 cv.hWG = cpWG * T + dh_evap;
336
337 // specific enthalpy of gas phase
338 fluid_enthalpy_data.h_G =
339 mass_mole_fractions_data.xmCG * cv.hCG + xmWG * cv.hWG;
340 cv.dh_G_dT = 0;
341
342 // specific inner energies of gas phase
343 cv.uG = fluid_enthalpy_data.h_G - pGR / fluid_density_data.rho_GR;
344 cv.du_G_dT = 0;
345 cv.du_G_dp_GR = 0;
346
347 // diffusion
348 assert(media_data.tortuosity_prop != nullptr);
349 auto const tortuosity = media_data.tortuosity_prop->template value<double>(
350 variables, x_t.x, x_t.t, x_t.dt);
351
352 auto const D_W_G_m =
353 vapour_component.property(MaterialPropertyLib::PropertyType::diffusion)
354 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
355 cv.diffusion_coefficient_vapour =
356 tortuosity * D_W_G_m; // Note here that D_W_G = D_C_G.
357
358 variables.molar_fraction = mass_mole_fractions_data.xnCG;
359
360 // Dissolution part -- Liquid phase properties
361 // -------------------------------------------
362
363 // Reference to the gas component dissolved in the liquid phase
364 auto const& solute_component =
365 liquid_phase.component(liquid_phase_solute_component_index_);
366
367 // The amount of dissolved gas is described by Henry's law. If no
368 // dissolution is intended, the user must define the Henry coefficient
369 // as 'constant 0'.
370 //
371 // Henry-Coefficient and derivatives
372 auto const H =
373 solute_component
375 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
376
377 auto const dH_dT =
378 solute_component
380 .template dValue<double>(variables,
382 x_t.x, x_t.t, x_t.dt);
383 auto const dH_dpGR =
384 solute_component
386 .template dValue<double>(
388 x_t.x, x_t.t, x_t.dt);
389
390 // Concentration of the dissolved gas as amount of substance of the
391 // mixture component C related to the total volume of the liquid phase.
392 auto const cCL = H * mass_mole_fractions_data.xnCG * pGR;
393 // Fortunately for the developer, the signs of the derivatives of the
394 // composition of binary mixtures are often opposed.
395 auto const dxnCG_dpGR = -dxnWG_dpGR;
396 auto const dxnCG_dT = -dxnWG_dT;
397
398 auto const dcCL_dpGR =
399 (dH_dpGR * mass_mole_fractions_data.xnCG + H * dxnCG_dpGR) * pGR +
400 H * mass_mole_fractions_data.xnCG;
401 auto const dcCL_dT =
402 pGR * (dH_dT * mass_mole_fractions_data.xnCG + H * dxnCG_dT);
403
404 variables.concentration = cCL;
405 // Liquid density including dissolved gas components. Attention! This
406 // only works if the concentration of the C-component is taken into
407 // account in the selected equation of state, e.g. via a (multi)-linear
408 // equation of state. Should a constant density be assumed, no
409 // dissolution will take place, since the composition of the water phase
410 // is determined via the mass fractions (as the ratio of the densities
411 // of solvent and solution). NB! This problem did not occur with the gas
412 // phase because the composition there was determined via the molar
413 // fractions (ratio of the partial pressures).
414 fluid_density_data.rho_LR =
415 liquid_phase.property(MaterialPropertyLib::PropertyType::density)
416 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
417 variables.density = fluid_density_data.rho_LR;
418
419 // Gas component partial density in liquid phase
420 constituent_density_data.rho_C_LR = fluid_density_data.rho_LR - rho_W_LR();
421
422 // liquid phase composition (mass fraction)
423 mass_mole_fractions_data.xmWL =
424 std::clamp(rho_W_LR() / fluid_density_data.rho_LR, 0., 1.);
425 auto const xmCL = 1. - mass_mole_fractions_data.xmWL;
426
427 // Attention! Usually a multi-linear equation of state is used to
428 // determine the density of the solution. This requires independent
429 // variables, but in this case the concentration is not independent, but
430 // is determined via the equilibrium state. The exact derivation of the
431 // density according to e.g. the pressure pLR is thus:
432 //
433 // drho_d_pGR = rho_ref * (beta_pLR + betaC * dC_dpLR)
434 //
435 // instead of
436 //
437 // d_rho_d_pGR =
438 // liquid_phase.property(MaterialPropertyLib::PropertyType::density)
439 // .template dValue<double>(
440 // variables,
441 // MaterialPropertyLib::Variable::liquid_phase_pressure,
442 // x_t.x, x_t.t, x_t.dt);
443
444 auto const rho_ref_betaP =
445 liquid_phase.property(MaterialPropertyLib::PropertyType::density)
446 .template dValue<double>(
448 x_t.x, x_t.t, x_t.dt);
449
450 auto const rho_ref_betaT =
451 liquid_phase.property(MaterialPropertyLib::PropertyType::density)
452 .template dValue<double>(variables,
454 x_t.x, x_t.t, x_t.dt);
455
456 auto const rho_ref_betaC =
457 liquid_phase.property(MaterialPropertyLib::PropertyType::density)
458 .template dValue<double>(
460 x_t.t, x_t.dt);
461
462 // liquid phase density derivatives
463 auto const drhoLR_dpGR = rho_ref_betaP + rho_ref_betaC * dcCL_dpGR;
464 auto const drhoLR_dpCap = -rho_ref_betaP;
465 cv.drho_LR_dT = rho_ref_betaT + rho_ref_betaC * dcCL_dT;
466
467 // solvent partial density derivatives
468 auto const drhoWLR_dpGR = rho_ref_betaP;
469 auto const drhoWLR_dpCap = -rho_ref_betaP;
470 auto const drhoWLR_dT = rho_ref_betaT;
471
472 // liquid phase mass fraction derivatives
473 cv.dxmWL_dpGR =
474 1. / fluid_density_data.rho_LR *
475 (drhoWLR_dpGR - mass_mole_fractions_data.xmWL * drhoLR_dpGR);
476 cv.dxmWL_dpCap =
477 1. / fluid_density_data.rho_LR *
478 (drhoWLR_dpCap - mass_mole_fractions_data.xmWL * drhoLR_dpCap);
479 cv.dxmWL_dT = 1. / fluid_density_data.rho_LR *
480 (drhoWLR_dT - mass_mole_fractions_data.xmWL * cv.drho_LR_dT);
481
482 // liquid phase molar fractions and derivatives
483 mass_mole_fractions_data.xnWL =
484 mass_mole_fractions_data.xmWL * M_C /
485 (mass_mole_fractions_data.xmWL * M_C + xmCL * M_W);
486
487 // Reference to the pure liquid component
488 auto const& solvent_component =
489 liquid_phase.component(liquid_phase_solvent_component_index_);
490
491 // specific heat capacities of liquid phase components
492 auto const cpCL =
493 solute_component
495 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
496 auto const cpWL =
497 solvent_component
499 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
500
501 // specific heat of solution
502 const auto dh_sol =
503 solute_component
505 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
506
507 // specific enthalpy of liquid phase and its components
508 double const hCL = cpCL * T + dh_sol;
509 double const hWL = cpWL * T;
510 fluid_enthalpy_data.h_L = xmCL * hCL + mass_mole_fractions_data.xmWL * hWL;
511 cv.dh_L_dT = 0;
512
513 // specific inner energies of liquid phase
514 cv.uL = fluid_enthalpy_data.h_L;
515 cv.du_L_dT = 0;
516
517 // diffusion
518 auto const D_C_L_m =
519 solute_component.property(MaterialPropertyLib::PropertyType::diffusion)
520 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
521 cv.diffusion_coefficient_solute =
522 tortuosity * D_C_L_m; // Note here that D_C_L = D_W_L.
523
524 // Some default initializations.
525 cv.drho_LR_dp_LR = 0;
526 cv.drho_W_LR_dp_GR = 0.;
527 cv.drho_W_LR_dT = 0.;
528 cv.drho_W_LR_dp_LR = 0.;
529}

References MaterialPropertyLib::capillary_pressure, MaterialPropertyLib::VariableArray::capillary_pressure, MaterialPropertyLib::concentration, MaterialPropertyLib::VariableArray::concentration, MaterialPropertyLib::density, MaterialPropertyLib::VariableArray::density, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dh_G_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dh_L_dT, MaterialPropertyLib::diffusion, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::diffusion_coefficient_solute, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::diffusion_coefficient_vapour, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_GR_dp_cap, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_GR_dp_GR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_GR_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_GR_dp_cap, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_GR_dp_GR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_GR_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_LR_dp_LR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_LR_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_GR_dp_cap, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_GR_dp_GR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_GR_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_LR_dp_GR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_LR_dp_LR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_LR_dT, ProcessLib::ConstitutiveRelations::SpaceTimeData::dt, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::du_G_dp_GR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::du_G_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::du_L_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWG_dpCap, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWG_dpGR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWG_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWL_dpCap, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWL_dpGR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWL_dT, MaterialPropertyLib::VariableArray::enthalpy_of_evaporation, ProcessLib::TH2M::ConstitutiveRelations::MediaData::gas, gas_phase_dry_air_component_index_, MaterialPropertyLib::gas_phase_pressure, MaterialPropertyLib::VariableArray::gas_phase_pressure, gas_phase_vapour_component_index_, ProcessLib::TH2M::ConstitutiveRelations::FluidEnthalpyData::h_G, ProcessLib::TH2M::ConstitutiveRelations::FluidEnthalpyData::h_L, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::hCG, MaterialPropertyLib::henry_coefficient, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::hWG, MaterialLib::PhysicalConstant::IdealGasConstant, ProcessLib::TH2M::ConstitutiveRelations::MediaData::liquid, MaterialPropertyLib::liquid_phase_pressure, MaterialPropertyLib::VariableArray::liquid_phase_pressure, liquid_phase_solute_component_index_, liquid_phase_solvent_component_index_, MaterialPropertyLib::VariableArray::molar_fraction, MaterialPropertyLib::molar_mass, MaterialPropertyLib::VariableArray::molar_mass, MaterialPropertyLib::VariableArray::molar_mass_derivative, ProcessLib::TH2M::ConstitutiveRelations::CapillaryPressureData::pCap, ProcessLib::TH2M::ConstitutiveRelations::GasPressureData::pG, ProcessLib::TH2M::ConstitutiveRelations::VapourPartialPressureData::pWGR, ProcessLib::TH2M::ConstitutiveRelations::ConstituentDensityData::rho_C_GR, ProcessLib::TH2M::ConstitutiveRelations::ConstituentDensityData::rho_C_LR, ProcessLib::TH2M::ConstitutiveRelations::FluidDensityData::rho_GR, ProcessLib::TH2M::ConstitutiveRelations::FluidDensityData::rho_LR, ProcessLib::TH2M::ConstitutiveRelations::ConstituentDensityData::rho_W_GR, MaterialPropertyLib::specific_heat_capacity, MaterialPropertyLib::specific_latent_heat, ProcessLib::TH2M::ConstitutiveRelations::TemperatureData::T, ProcessLib::ConstitutiveRelations::SpaceTimeData::t, MaterialPropertyLib::temperature, MaterialPropertyLib::VariableArray::temperature, ProcessLib::TH2M::ConstitutiveRelations::MediaData::tortuosity_prop, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::uG, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::uL, MaterialPropertyLib::vapour_pressure, ProcessLib::ConstitutiveRelations::SpaceTimeData::x, ProcessLib::TH2M::ConstitutiveRelations::MassMoleFractionsData::xmCG, ProcessLib::TH2M::ConstitutiveRelations::MassMoleFractionsData::xmWL, ProcessLib::TH2M::ConstitutiveRelations::MassMoleFractionsData::xnCG, and ProcessLib::TH2M::ConstitutiveRelations::MassMoleFractionsData::xnWL.

Member Data Documentation

◆ gas_phase_dry_air_component_index_

int const ProcessLib::TH2M::ConstitutiveRelations::PhaseTransition::gas_phase_dry_air_component_index_
private

Definition at line 35 of file PhaseTransition.h.

Referenced by PhaseTransition(), and eval().

◆ gas_phase_vapour_component_index_

int const ProcessLib::TH2M::ConstitutiveRelations::PhaseTransition::gas_phase_vapour_component_index_
private

Definition at line 34 of file PhaseTransition.h.

Referenced by PhaseTransition(), and eval().

◆ liquid_phase_solute_component_index_

int const ProcessLib::TH2M::ConstitutiveRelations::PhaseTransition::liquid_phase_solute_component_index_
private

Definition at line 36 of file PhaseTransition.h.

Referenced by PhaseTransition(), and eval().

◆ liquid_phase_solvent_component_index_

int const ProcessLib::TH2M::ConstitutiveRelations::PhaseTransition::liquid_phase_solvent_component_index_
private

Definition at line 37 of file PhaseTransition.h.

Referenced by PhaseTransition(), and eval().

◆ n_components_gas_

int const ProcessLib::TH2M::ConstitutiveRelations::PhaseTransition::n_components_gas_
private

Definition at line 33 of file PhaseTransition.h.

Referenced by PhaseTransition().


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