Classes |
Public Types |
Static Public Member Functions |
Static Public Attributes |
List of all members
Opm::BaseFluidSystem< ScalarT, Implementation > Class Template Reference The base class for all fluid systems. More...
Inheritance diagram for Opm::BaseFluidSystem< ScalarT, Implementation >:
Detailed Descriptiontemplate<class ScalarT, class Implementation> class Opm::BaseFluidSystem< ScalarT, Implementation > The base class for all fluid systems. Member Typedef Documentation◆ Scalar
template<class ScalarT , class Implementation >
The type used for scalar quantities. Member Function Documentation◆ acentricFactor()
template<class ScalarT , class Implementation >
Return the acetntric factor of a component. ◆ componentName()
template<class ScalarT , class Implementation >
Return the human readable name of a component. ◆ density()
template<class ScalarT , class Implementation >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCache >
Calculate the density [kg/m^3] of a fluid phase. ◆ diffusionCoefficient()
template<class ScalarT , class Implementation >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCache >
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. ◆ enthalpy()
template<class ScalarT , class Implementation >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCache >
Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy [J/kg]. ◆ fugacityCoefficient()
template<class ScalarT , class Implementation >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCache >
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
◆ heatCapacity()
template<class ScalarT , class Implementation >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCache >
Specific isobaric heat capacity of a fluid phase [J/kg]. ◆ init()
template<class ScalarT , class Implementation >
Initialize the fluid system's static parameters. ◆ isCompressible()
template<class ScalarT , class Implementation >
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. ◆ isIdealGas()
template<class ScalarT , class Implementation >
Returns true if and only if a fluid phase is assumed to be an ideal gas. ◆ isIdealMixture()
template<class ScalarT , class Implementation >
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 ScalarT , class Implementation >
Return whether a phase is liquid. ◆ molarMass()
template<class ScalarT , class Implementation >
Return the molar mass of a component in [kg/mol]. ◆ phaseIsActive()
template<class ScalarT , class Implementation >
Returns whether a fluid phase is active. ◆ phaseName()
template<class ScalarT , class Implementation >
Return the human readable name of a fluid phase. ◆ thermalConductivity()
template<class ScalarT , class Implementation >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCache >
Thermal conductivity of a fluid phase [W/(m K)]. ◆ viscosity()
template<class ScalarT , class Implementation >
template<class FluidState , class LhsEval = typename FluidState::Scalar, class ParamCache >
Calculate the dynamic viscosity of a fluid phase [Pa*s]. Member Data Documentation◆ numComponents
template<class ScalarT , class Implementation >
Number of chemical species in the fluid system. ◆ numPhases
template<class ScalarT , class Implementation >
Number of fluid phases in the fluid system. The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||