FluidStateProperties Struct Reference

Data structure to pass calculated thermophysical properties. More...

#include <PorousFlowFluidStateBase.h>

Public Member Functions

FluidStateProperties ()

FluidStateProperties (unsigned int n)

Public Attributes

Real pressure

Real saturation

Real density

Real viscosity

Real enthalpy

std::vector< Real > mass_fraction

Real dsaturation_dp

Real dsaturation_dT

Real dsaturation_dZ

Real dsaturation_dX

Real ddensity_dp

Real ddensity_dT

Real ddensity_dZ

Real ddensity_dX

Real dviscosity_dp

Real dviscosity_dT

Real dviscosity_dZ

Real dviscosity_dX

Real denthalpy_dp

Real denthalpy_dT

Real denthalpy_dZ

Real denthalpy_dX

std::vector< Real > dmass_fraction_dp

std::vector< Real > dmass_fraction_dT

std::vector< Real > dmass_fraction_dZ

std::vector< Real > dmass_fraction_dX

Detailed Description

Data structure to pass calculated thermophysical properties.

Definition at line 19 of file PorousFlowFluidStateBase.h.

◆ FluidStateProperties() [1/2]

 FluidStateProperties::FluidStateProperties ( )
inline

Definition at line 21 of file PorousFlowFluidStateBase.h.

21 {};

◆ FluidStateProperties() [2/2]

 FluidStateProperties::FluidStateProperties ( unsigned int n )
inline

Definition at line 22 of file PorousFlowFluidStateBase.h.

23  : pressure(0.0),
24  saturation(0.0),
25  density(0.0),
26  viscosity(1.0), // to guard against division by zero
27  enthalpy(0.0),
28  mass_fraction(n, 0.0),
29  dsaturation_dp(0.0),
30  dsaturation_dT(0.0),
31  dsaturation_dZ(0.0),
32  dsaturation_dX(0.0),
33  ddensity_dp(0.0),
34  ddensity_dT(0.0),
35  ddensity_dZ(0.0),
36  ddensity_dX(0.0),
37  dviscosity_dp(0.0),
38  dviscosity_dT(0.0),
39  dviscosity_dZ(0.0),
40  dviscosity_dX(0.0),
41  denthalpy_dp(0.0),
42  denthalpy_dT(0.0),
43  denthalpy_dZ(0.0),
44  denthalpy_dX(0.0),
45  dmass_fraction_dp(n, 0.0),
46  dmass_fraction_dT(n, 0.0),
47  dmass_fraction_dZ(n, 0.0),
48  dmass_fraction_dX(n, 0.0){};
std::vector< Real > dmass_fraction_dT
std::vector< Real > mass_fraction
std::vector< Real > dmass_fraction_dX
std::vector< Real > dmass_fraction_dZ
std::vector< Real > dmass_fraction_dp

◆ ddensity_dp

 Real FluidStateProperties::ddensity_dp

◆ ddensity_dT

 Real FluidStateProperties::ddensity_dT

◆ ddensity_dX

 Real FluidStateProperties::ddensity_dX

Definition at line 63 of file PorousFlowFluidStateBase.h.

Referenced by PorousFlowBrineCO2::liquidProperties().

◆ ddensity_dZ

 Real FluidStateProperties::ddensity_dZ

Definition at line 62 of file PorousFlowFluidStateBase.h.

◆ density

 Real FluidStateProperties::density

◆ denthalpy_dp

 Real FluidStateProperties::denthalpy_dp

Definition at line 68 of file PorousFlowFluidStateBase.h.

◆ denthalpy_dT

 Real FluidStateProperties::denthalpy_dT

Definition at line 69 of file PorousFlowFluidStateBase.h.

◆ denthalpy_dX

 Real FluidStateProperties::denthalpy_dX

Definition at line 71 of file PorousFlowFluidStateBase.h.

Referenced by PorousFlowBrineCO2::liquidProperties().

◆ denthalpy_dZ

 Real FluidStateProperties::denthalpy_dZ

Definition at line 70 of file PorousFlowFluidStateBase.h.

◆ dmass_fraction_dp

 std::vector FluidStateProperties::dmass_fraction_dp

◆ dmass_fraction_dT

 std::vector FluidStateProperties::dmass_fraction_dT

◆ dmass_fraction_dX

 std::vector FluidStateProperties::dmass_fraction_dX

Definition at line 75 of file PorousFlowFluidStateBase.h.

◆ dmass_fraction_dZ

 std::vector FluidStateProperties::dmass_fraction_dZ

Definition at line 74 of file PorousFlowFluidStateBase.h.

◆ dsaturation_dp

 Real FluidStateProperties::dsaturation_dp

Definition at line 56 of file PorousFlowFluidStateBase.h.

◆ dsaturation_dT

 Real FluidStateProperties::dsaturation_dT

Definition at line 57 of file PorousFlowFluidStateBase.h.

◆ dsaturation_dX

 Real FluidStateProperties::dsaturation_dX

Definition at line 59 of file PorousFlowFluidStateBase.h.

◆ dsaturation_dZ

 Real FluidStateProperties::dsaturation_dZ

Definition at line 58 of file PorousFlowFluidStateBase.h.

◆ dviscosity_dp

 Real FluidStateProperties::dviscosity_dp

Definition at line 64 of file PorousFlowFluidStateBase.h.

◆ dviscosity_dT

 Real FluidStateProperties::dviscosity_dT

Definition at line 65 of file PorousFlowFluidStateBase.h.

◆ dviscosity_dX

 Real FluidStateProperties::dviscosity_dX

Definition at line 67 of file PorousFlowFluidStateBase.h.

Referenced by PorousFlowBrineCO2::liquidProperties().

◆ dviscosity_dZ

 Real FluidStateProperties::dviscosity_dZ

Definition at line 66 of file PorousFlowFluidStateBase.h.

◆ enthalpy

 Real FluidStateProperties::enthalpy

Definition at line 54 of file PorousFlowFluidStateBase.h.

◆ mass_fraction

 std::vector FluidStateProperties::mass_fraction

◆ pressure

 Real FluidStateProperties::pressure

Definition at line 48 of file PorousFlowFluidStateBase.h.

◆ saturation

 Real FluidStateProperties::saturation

Definition at line 51 of file PorousFlowFluidStateBase.h.

◆ viscosity

 Real FluidStateProperties::viscosity

Definition at line 53 of file PorousFlowFluidStateBase.h.

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