|
static void | init () |
| Initialize the fluid system's static parameters generically. More...
|
|
static std::string | phaseName (int phaseIdx=0) |
| Return the human readable name of a fluid phase. More...
|
|
static std::string | componentName (int compIdx=0) |
| A human readable name for the component. More...
|
|
static std::string | name () |
| A human readable name for the component. More...
|
|
static constexpr bool | isMiscible () |
| There is only one phase, so not mass transfer between phases can occur. More...
|
|
static constexpr bool | isGas (int phaseIdx=0) |
| Returns whether the fluid is gaseous. More...
|
|
static constexpr bool | isIdealMixture (int phaseIdx=0) |
| Returns true if and only if a fluid phase is assumed to be an ideal mixture. More...
|
|
static constexpr bool | isCompressible (int phaseIdx=0) |
| Returns true if the fluid is assumed to be compressible. More...
|
|
static constexpr bool | isIdealGas (int phaseIdx=0) |
| Returns true if the fluid is assumed to be an ideal gas. More...
|
|
static constexpr bool | viscosityIsConstant (int phaseIdx) |
| Returns true if and only if a fluid phase is assumed to have a constant viscosity. More...
|
|
static Scalar | molarMass (int compIdx=0) |
| The mass in of one mole of the component. More...
|
|
static Scalar | criticalTemperature (int compIdx=0) |
| Returns the critical temperature in of the component. More...
|
|
static Scalar | criticalPressure (int compIdx=0) |
| Returns the critical pressure in of the component. More...
|
|
static Scalar | tripleTemperature (int compIdx=0) |
| Returns the temperature in at the component's triple point. More...
|
|
static Scalar | triplePressure (int compIdx=0) |
| Returns the pressure in at the component's triple point. More...
|
|
static Scalar | vaporPressure (Scalar T) |
| The vapor pressure in of the component at a given temperature. More...
|
|
static Scalar | density (Scalar temperature, Scalar pressure) |
| The density of the component at a given pressure and temperature. More...
|
|
template<class FluidState > |
static Scalar | density (const FluidState &fluidState, const int phaseIdx) |
| Calculate the density of a fluid phase. More...
|
|
static Scalar | molarDensity (Scalar temperature, Scalar pressure) |
| The molar density of a fluid phase in . More...
|
|
template<class FluidState > |
static Scalar | molarDensity (const FluidState &fluidState, const int phaseIdx) |
| Calculate the molar density of a fluid phase. More...
|
|
static Scalar | pressure (Scalar temperature, Scalar density) |
| The pressure of the component at a given density and temperature. More...
|
|
static const Scalar | enthalpy (Scalar temperature, Scalar pressure) |
| Specific enthalpy of the pure component as a gas. More...
|
|
template<class FluidState > |
static Scalar | enthalpy (const FluidState &fluidState, const int phaseIdx) |
| Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy . More...
|
|
static const Scalar | internalEnergy (Scalar temperature, Scalar pressure) |
| Specific internal energy of the pure component as a gas. More...
|
|
static Scalar | viscosity (Scalar temperature, Scalar pressure) |
| The dynamic viscosity of the pure component at a given pressure and temperature. More...
|
|
template<class FluidState > |
static Scalar | viscosity (const FluidState &fluidState, const int phaseIdx) |
| Calculate the dynamic viscosity of a fluid phase . More...
|
|
template<class FluidState > |
static Scalar | fugacityCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx) |
| Calculate the fugacity coefficient of an individual component in a fluid phase. More...
|
|
template<class FluidState > |
static Scalar | diffusionCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx) |
| Calculate the binary molecular diffusion coefficient for a component in a fluid phase . More...
|
|
template<class FluidState > |
static Scalar | binaryDiffusionCoefficient (const FluidState &fluidState, int phaseIdx, int compIIdx, int compJIdx) |
| Given a phase's composition, temperature and pressure, return the binary diffusion coefficient for components and in this phase. More...
|
|
static Scalar | thermalConductivity (Scalar temperature, Scalar pressure) |
| Thermal conductivity of the fluid . More...
|
|
template<class FluidState > |
static Scalar | thermalConductivity (const FluidState &fluidState, const int phaseIdx) |
| Thermal conductivity of a fluid phase . More...
|
|
static Scalar | heatCapacity (Scalar temperature, Scalar pressure) |
| Specific isobaric heat capacity of the fluid . More...
|
|
template<class FluidState > |
static Scalar | heatCapacity (const FluidState &fluidState, const int phaseIdx) |
| Specific isobaric heat capacity of a fluid phase . More...
|
|
static constexpr bool | isTracerFluidSystem () |
| Some properties of the fluid system. More...
|
|
static constexpr int | getMainComponent (int phaseIdx) |
| Get the main component of a given phase if possible. More...
|
|
static Scalar | density (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) |
| Calculate the density of a fluid phase. More...
|
|
static Scalar | molarDensity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) |
| Calculate the molar density of a fluid phase. More...
|
|
static Scalar | fugacityCoefficient (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx, int compIdx) |
| Calculate the fugacity coefficient of an individual component in a fluid phase. More...
|
|
static Scalar | viscosity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) |
| Calculate the dynamic viscosity of a fluid phase . More...
|
|
static Scalar | diffusionCoefficient (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx, int compIdx) |
| Calculate the binary molecular diffusion coefficient for a component in a fluid phase . More...
|
|
static Scalar | binaryDiffusionCoefficient (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx, int compIIdx, int compJIdx) |
| Given a phase's composition, temperature and pressure, return the binary diffusion coefficient for components and in this phase. More...
|
|
static Scalar | enthalpy (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) |
| Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy . More...
|
|
static Scalar | thermalConductivity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) |
| Thermal conductivity of a fluid phase . More...
|
|
static Scalar | heatCapacity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) |
| Specific isobaric heat capacity of a fluid phase . More...
|
|