Classes |
Public Types |
Static Public Member Functions |
Static Public Attributes |
List of all members
Opm::H2ON2LiquidPhaseFluidSystem< Scalar > Class Template Reference A liquid-phase-only fluid system with water and nitrogen as components. More...
Inheritance diagram for Opm::H2ON2LiquidPhaseFluidSystem< Scalar >:
Detailed Descriptiontemplate<class Scalar> class Opm::H2ON2LiquidPhaseFluidSystem< Scalar > A liquid-phase-only fluid system with water and nitrogen as components. Member Typedef Documentation◆ H2O
template<class Scalar >
The type of the component for pure water. ◆ N2
template<class Scalar >
The type of the component for pure molecular nitrogen. ◆ Scalar
The type used for scalar quantities. Member Function Documentation◆ acentricFactor()
template<class Scalar >
The acentric factor of a component [].
References Opm::N2< Scalar >::acentricFactor(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::acentricFactor(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::H2OIdx, and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::N2Idx. ◆ componentName()
template<class Scalar >
Return the human readable name of a component. References Opm::N2< Scalar >::name(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::name(), and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::numComponents. ◆ criticalPressure()
template<class Scalar >
Critical pressure of a component [Pa].
References Opm::N2< Scalar >::criticalPressure(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::criticalPressure(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::H2OIdx, and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::N2Idx. ◆ criticalTemperature()
template<class Scalar >
Critical temperature of a component [K].
References Opm::N2< Scalar >::criticalTemperature(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::criticalTemperature(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::H2OIdx, and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::N2Idx. ◆ density() [1/2]
Calculate the density [kg/m^3] of a fluid phase. ◆ density() [2/2]
template<class Scalar >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
Calculate the density [kg/m^3] of a fluid phase. References Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::H2OIdx, Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidDensity(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::liquidPhaseIdx, Opm::N2< Scalar >::molarMass(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::molarMass(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::N2Idx, Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::numComponents, and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::numPhases. ◆ diffusionCoefficient() [1/2]
Calculate the binary molecular diffusion coefficient for a component in a fluid phase [mol^2 * s / (kg*m^3)]. Molecular diffusion of a compoent is caused by a gradient of the mole fraction and follows the law
where is the component's mole fraction in phase , is the diffusion coefficient and is the diffusive flux. ◆ diffusionCoefficient() [2/2]
template<class Scalar >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
Calculate the binary molecular diffusion coefficient for a component in a fluid phase [mol^2 * s / (kg*m^3)]. Molecular diffusion of a compoent is caused by a gradient of the mole fraction and follows the law
where is the component's mole fraction in phase , is the diffusion coefficient and is the diffusive flux. References Opm::BinaryCoeff::H2O_N2::liquidDiffCoeff(), and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::liquidPhaseIdx. ◆ enthalpy() [1/2]
Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy [J/kg]. ◆ enthalpy() [2/2]
template<class Scalar >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy [J/kg]. References Opm::Valgrind::CheckDefined(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidEnthalpy(), and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::liquidPhaseIdx. ◆ fugacityCoefficient() [1/2]
Calculate the fugacity coefficient [Pa] of an individual component in a fluid phase. The fugacity coefficient is connected to the fugacity and the component's molarity by means of the relation
◆ fugacityCoefficient() [2/2]
template<class Scalar >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
Calculate the fugacity coefficient [Pa] of an individual component in a fluid phase. The fugacity coefficient is connected to the fugacity and the component's molarity by means of the relation
References Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::H2OIdx, Opm::BinaryCoeff::H2O_N2::henry(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::liquidPhaseIdx, Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::numComponents, and Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::vaporPressure(). ◆ heatCapacity() [1/2]
Specific isobaric heat capacity of a fluid phase [J/kg]. ◆ heatCapacity() [2/2]
template<class Scalar >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
Specific isobaric heat capacity of a fluid phase [J/kg]. References Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidHeatCapacity(), and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::liquidPhaseIdx. ◆ init() [1/2]
template<class Scalar >
Initialize the fluid system's static parameters. If a tabulated H2O component is used, we do our best to create tables that always work. References Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::init(). Referenced by Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::init(). ◆ init() [2/2]
template<class Scalar >
Initialize the fluid system's static parameters using problem specific temperature and pressure ranges.
References Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::init(), and Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::isTabulated. ◆ isCompressible()
template<class Scalar >
Returns true if and only if a fluid phase is assumed to be compressible. Compressible means that the partial derivative of the density to the fluid pressure is always larger than zero. References Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidIsCompressible(). ◆ isIdealGas()
template<class Scalar >
Returns true if and only if a fluid phase is assumed to be an ideal gas. ◆ isIdealMixture()
template<class Scalar >
Returns true if and only if a fluid phase is assumed to be an ideal mixture. We define an ideal mixture as a fluid phase where the fugacity coefficients of all components times the pressure of the phase are independent on the fluid composition. This assumption is true if Henry's law and Rault's law apply. If you are unsure what this function should return, it is safe to return false. The only damage done will be (slightly) increased computation times in some cases. ◆ isLiquid()
template<class Scalar >
Return whether a phase is liquid. ◆ molarMass()
template<class Scalar >
Return the molar mass of a component in [kg/mol]. References Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::H2OIdx, Opm::N2< Scalar >::molarMass(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::molarMass(), and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::N2Idx. ◆ phaseIsActive()
Returns whether a fluid phase is active. ◆ phaseName()
template<class Scalar >
Return the human readable name of a fluid phase. References Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::liquidPhaseIdx. ◆ thermalConductivity() [1/2]
Thermal conductivity of a fluid phase [W/(m K)]. ◆ thermalConductivity() [2/2]
template<class Scalar >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
Thermal conductivity of a fluid phase [W/(m K)]. References Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::liquidPhaseIdx, and Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidThermalConductivity(). ◆ viscosity() [1/2]
Calculate the dynamic viscosity of a fluid phase [Pa*s]. ◆ viscosity() [2/2]
template<class Scalar >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
Calculate the dynamic viscosity of a fluid phase [Pa*s]. References Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::liquidPhaseIdx, and Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidViscosity(). Member Data Documentation◆ H2OIdx
template<class Scalar >
The index of the water component. Referenced by Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::acentricFactor(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::criticalPressure(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::criticalTemperature(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::density(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::fugacityCoefficient(), and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::molarMass(). ◆ liquidPhaseIdx
template<class Scalar >
Index of the liquid phase. Referenced by Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::density(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::diffusionCoefficient(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::enthalpy(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::fugacityCoefficient(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::heatCapacity(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::phaseName(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::thermalConductivity(), and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::viscosity(). ◆ N2Idx
template<class Scalar >
The index of the component for molecular nitrogen. Referenced by Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::acentricFactor(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::criticalPressure(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::criticalTemperature(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::density(), and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::molarMass(). ◆ numComponents
template<class Scalar >
Number of chemical species in the fluid system. Referenced by Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::componentName(), Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::density(), and Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::fugacityCoefficient(). ◆ numPhases
template<class Scalar >
Number of fluid phases in the fluid system. Referenced by Opm::H2ON2LiquidPhaseFluidSystem< Scalar >::density(). The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||