https://mooseframework.inl.gov
Public Member Functions | Public Attributes | List of all members
FluidStateProperties Struct Reference

AD data structure to pass calculated thermophysical properties. More...

#include <PorousFlowFluidStateBase.h>

Public Member Functions

 FluidStateProperties ()
 
 FluidStateProperties (unsigned int n)
 

Public Attributes

ADReal pressure
 
ADReal temperature
 
ADReal saturation
 
ADReal density
 
ADReal viscosity
 
ADReal enthalpy
 
ADReal internal_energy
 
std::vector< ADRealmass_fraction
 

Detailed Description

AD data structure to pass calculated thermophysical properties.

Definition at line 24 of file PorousFlowFluidStateBase.h.

Constructor & Destructor Documentation

◆ FluidStateProperties() [1/2]

FluidStateProperties::FluidStateProperties ( )
inline

Definition at line 26 of file PorousFlowFluidStateBase.h.

26 {};

◆ FluidStateProperties() [2/2]

FluidStateProperties::FluidStateProperties ( unsigned int  n)
inline

Definition at line 27 of file PorousFlowFluidStateBase.h.

28  : pressure(0.0),
29  temperature(0, 0),
30  saturation(0.0),
31  density(0.0),
32  viscosity(1.0), // to guard against division by zero
33  enthalpy(0.0),
34  internal_energy(0.0),
35  mass_fraction(n, 0.0){};
std::vector< ADReal > mass_fraction

Member Data Documentation

◆ density

ADReal FluidStateProperties::density

◆ enthalpy

ADReal FluidStateProperties::enthalpy

◆ internal_energy

ADReal FluidStateProperties::internal_energy

◆ mass_fraction

std::vector<ADReal> FluidStateProperties::mass_fraction

◆ pressure

ADReal FluidStateProperties::pressure

◆ saturation

ADReal FluidStateProperties::saturation

◆ temperature

ADReal FluidStateProperties::temperature

◆ viscosity

ADReal FluidStateProperties::viscosity

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