Classes |
Public Types |
Static Public Member Functions |
Static Public Attributes |
List of all members
Opm::H2OAirMesityleneFluidSystem< Scalar > Class Template Reference A fluid system with water, gas and NAPL as phases and water, air and mesitylene (DNAPL) as components. More...
Inheritance diagram for Opm::H2OAirMesityleneFluidSystem< Scalar >:
Detailed Descriptiontemplate<class Scalar> class Opm::H2OAirMesityleneFluidSystem< Scalar > A fluid system with water, gas and NAPL as phases and water, air and mesitylene (DNAPL) as components. Member Typedef Documentation◆ Air
template<class Scalar >
The type of the air component. ◆ H2O
template<class Scalar >
The type of the water component. ◆ NAPL
template<class Scalar >
The type of the mesithylene/napl component. ◆ Scalar
The type used for scalar quantities. Member Function Documentation◆ acentricFactor()
Return the acetntric factor of a component. ◆ componentName()
template<class Scalar >
Return the human readable name of a component. References Opm::H2OAirMesityleneFluidSystem< Scalar >::airIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::H2OIdx, Opm::Air< Scalar >::name(), Opm::Mesitylene< Scalar >::name(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::name(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::NAPLIdx. ◆ 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::H2OAirMesityleneFluidSystem< Scalar >::airIdx, Opm::Air< Scalar >::gasDensity(), Opm::Mesitylene< Scalar >::gasDensity(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasDensity(), Opm::H2OAirMesityleneFluidSystem< Scalar >::gasPhaseIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::H2OIdx, Opm::Mesitylene< Scalar >::liquidDensity(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidDensity(), Opm::Mesitylene< Scalar >::liquidIsCompressible(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidIsCompressible(), Opm::Air< Scalar >::molarMass(), Opm::Mesitylene< Scalar >::molarMass(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::molarMass(), Opm::H2OAirMesityleneFluidSystem< Scalar >::NAPLIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::naplPhaseIdx, and Opm::H2OAirMesityleneFluidSystem< Scalar >::waterPhaseIdx. ◆ diffusionCoefficient() [1/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::H2OAirMesityleneFluidSystem< Scalar >::airIdx, Opm::BinaryCoeff::H2O_Air::gasDiffCoeff(), Opm::BinaryCoeff::Air_Mesitylene::gasDiffCoeff(), Opm::BinaryCoeff::H2O_Mesitylene::gasDiffCoeff(), Opm::H2OAirMesityleneFluidSystem< Scalar >::gasPhaseIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::H2OIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::NAPLIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::naplPhaseIdx, and Opm::H2OAirMesityleneFluidSystem< Scalar >::waterPhaseIdx. ◆ diffusionCoefficient() [2/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. ◆ 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::H2OAirMesityleneFluidSystem< Scalar >::airIdx, Opm::Air< Scalar >::gasEnthalpy(), Opm::Mesitylene< Scalar >::gasEnthalpy(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasEnthalpy(), Opm::H2OAirMesityleneFluidSystem< Scalar >::gasPhaseIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::H2OIdx, Opm::Mesitylene< Scalar >::liquidEnthalpy(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidEnthalpy(), Opm::H2OAirMesityleneFluidSystem< Scalar >::NAPLIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::naplPhaseIdx, and Opm::H2OAirMesityleneFluidSystem< Scalar >::waterPhaseIdx. ◆ 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::H2OAirMesityleneFluidSystem< Scalar >::airIdx, Opm::Valgrind::CheckDefined(), Opm::H2OAirMesityleneFluidSystem< Scalar >::gasPhaseIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::H2OIdx, Opm::BinaryCoeff::H2O_Mesitylene::henry(), Opm::BinaryCoeff::H2O_N2::henry(), Opm::H2OAirMesityleneFluidSystem< Scalar >::NAPLIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::naplPhaseIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::numComponents, Opm::H2OAirMesityleneFluidSystem< Scalar >::numPhases, Opm::Mesitylene< Scalar >::vaporPressure(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::vaporPressure(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::waterPhaseIdx. ◆ heatCapacity()
Specific isobaric heat capacity of a fluid phase [J/kg]. ◆ init() [1/2]
template<class Scalar >
Initialize the fluid system's static parameters. References Opm::H2OAirMesityleneFluidSystem< Scalar >::init(). Referenced by Opm::H2OAirMesityleneFluidSystem< 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::H2OAirMesityleneFluidSystem< Scalar >::gasPhaseIdx, Opm::Mesitylene< Scalar >::liquidIsCompressible(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidIsCompressible(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::waterPhaseIdx. ◆ isIdealGas()
template<class Scalar >
Returns true if and only if a fluid phase is assumed to be an ideal gas. References Opm::Air< Scalar >::gasIsIdeal(), Opm::Mesitylene< Scalar >::gasIsIdeal(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasIsIdeal(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::gasPhaseIdx. ◆ 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. References Opm::H2OAirMesityleneFluidSystem< Scalar >::gasPhaseIdx. ◆ molarMass()
template<class Scalar >
Return the molar mass of a component in [kg/mol]. References Opm::H2OAirMesityleneFluidSystem< Scalar >::airIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::H2OIdx, Opm::Air< Scalar >::molarMass(), Opm::Mesitylene< Scalar >::molarMass(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::molarMass(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::NAPLIdx. ◆ phaseIsActive()
Returns whether a fluid phase is active. ◆ phaseName()
template<class Scalar >
Return the human readable name of a fluid phase. References Opm::H2OAirMesityleneFluidSystem< Scalar >::gasPhaseIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::naplPhaseIdx, and Opm::H2OAirMesityleneFluidSystem< Scalar >::waterPhaseIdx. ◆ 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::H2OAirMesityleneFluidSystem< Scalar >::gasPhaseIdx, Opm::Air< Scalar >::gasThermalConductivity(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidThermalConductivity(), Opm::H2OAirMesityleneFluidSystem< Scalar >::naplPhaseIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::numPhases, and Opm::H2OAirMesityleneFluidSystem< Scalar >::waterPhaseIdx. ◆ 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::H2OAirMesityleneFluidSystem< Scalar >::airIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::gasPhaseIdx, Opm::Air< Scalar >::gasViscosity(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasViscosity(), Opm::Mesitylene< Scalar >::gasViscosity(), Opm::H2OAirMesityleneFluidSystem< Scalar >::H2OIdx, Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidViscosity(), Opm::Mesitylene< Scalar >::liquidViscosity(), Opm::Air< Scalar >::molarMass(), Opm::Mesitylene< Scalar >::molarMass(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::molarMass(), Opm::H2OAirMesityleneFluidSystem< Scalar >::NAPLIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::naplPhaseIdx, Opm::H2OAirMesityleneFluidSystem< Scalar >::numComponents, Opm::Mesitylene< Scalar >::vaporPressure(), Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::vaporPressure(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::waterPhaseIdx. Member Data Documentation◆ airIdx
template<class Scalar >
The index of the air pseudo-component. Referenced by Opm::H2OAirMesityleneFluidSystem< Scalar >::componentName(), Opm::H2OAirMesityleneFluidSystem< Scalar >::density(), Opm::H2OAirMesityleneFluidSystem< Scalar >::diffusionCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::enthalpy(), Opm::H2OAirMesityleneFluidSystem< Scalar >::fugacityCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::molarMass(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::viscosity(). ◆ gasPhaseIdx
template<class Scalar >
The index of the gas phase. Referenced by Opm::H2OAirMesityleneFluidSystem< Scalar >::density(), Opm::H2OAirMesityleneFluidSystem< Scalar >::diffusionCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::enthalpy(), Opm::H2OAirMesityleneFluidSystem< Scalar >::fugacityCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::isCompressible(), Opm::H2OAirMesityleneFluidSystem< Scalar >::isIdealGas(), Opm::H2OAirMesityleneFluidSystem< Scalar >::isLiquid(), Opm::H2OAirMesityleneFluidSystem< Scalar >::phaseName(), Opm::H2OAirMesityleneFluidSystem< Scalar >::thermalConductivity(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::viscosity(). ◆ H2OIdx
template<class Scalar >
The index of the water component. Referenced by Opm::H2OAirMesityleneFluidSystem< Scalar >::componentName(), Opm::H2OAirMesityleneFluidSystem< Scalar >::density(), Opm::H2OAirMesityleneFluidSystem< Scalar >::diffusionCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::enthalpy(), Opm::H2OAirMesityleneFluidSystem< Scalar >::fugacityCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::molarMass(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::viscosity(). ◆ NAPLIdx
template<class Scalar >
The index of the NAPL component. Referenced by Opm::H2OAirMesityleneFluidSystem< Scalar >::componentName(), Opm::H2OAirMesityleneFluidSystem< Scalar >::density(), Opm::H2OAirMesityleneFluidSystem< Scalar >::diffusionCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::enthalpy(), Opm::H2OAirMesityleneFluidSystem< Scalar >::fugacityCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::molarMass(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::viscosity(). ◆ naplPhaseIdx
template<class Scalar >
The index of the NAPL phase. Referenced by Opm::H2OAirMesityleneFluidSystem< Scalar >::density(), Opm::H2OAirMesityleneFluidSystem< Scalar >::diffusionCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::enthalpy(), Opm::H2OAirMesityleneFluidSystem< Scalar >::fugacityCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::phaseName(), Opm::H2OAirMesityleneFluidSystem< Scalar >::thermalConductivity(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::viscosity(). ◆ numComponents
template<class Scalar >
Number of chemical species in the fluid system. Referenced by Opm::H2OAirMesityleneFluidSystem< Scalar >::fugacityCoefficient(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::viscosity(). ◆ numPhases
template<class Scalar >
Number of fluid phases in the fluid system. Referenced by Opm::H2OAirMesityleneFluidSystem< Scalar >::fugacityCoefficient(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::thermalConductivity(). ◆ waterPhaseIdx
template<class Scalar >
The index of the water phase. Referenced by Opm::H2OAirMesityleneFluidSystem< Scalar >::density(), Opm::H2OAirMesityleneFluidSystem< Scalar >::diffusionCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::enthalpy(), Opm::H2OAirMesityleneFluidSystem< Scalar >::fugacityCoefficient(), Opm::H2OAirMesityleneFluidSystem< Scalar >::isCompressible(), Opm::H2OAirMesityleneFluidSystem< Scalar >::phaseName(), Opm::H2OAirMesityleneFluidSystem< Scalar >::thermalConductivity(), and Opm::H2OAirMesityleneFluidSystem< Scalar >::viscosity(). The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||