H2OAirFluidSystem.hpp
Go to the documentation of this file.
291 const auto& xlH2O = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(liquidPhaseIdx, H2OIdx));
292 const auto& xlAir = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(liquidPhaseIdx, AirIdx));
static bool isCompressible(unsigned phaseIdx) Returns true if and only if a fluid phase is assumed to be compressible. Definition: H2OAirFluidSystem.hpp:102 void SetUndefined(const T &value OPM_UNUSED) Make the memory on which an object resides undefined in valgrind runs. Definition: Valgrind.hpp:138 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: Air.hpp:73 static bool isIdealGas(unsigned phaseIdx) Returns true if and only if a fluid phase is assumed to be an ideal gas. Definition: H2OAirFluidSystem.hpp:114 static Evaluation liquidDiffCoeff(const Evaluation &temperature, const Evaluation &) Diffusion coefficent for molecular nitrogen in liquid water. Definition: H2O_Air.hpp:107 bool CheckDefined(const T &value OPM_UNUSED) Make valgrind complain if any of the memory occupied by an object is undefined. Definition: Valgrind.hpp:74 Definition: MathToolbox.hpp:39 static Evaluation vaporPressure(Evaluation temperature) The vapor pressure in of pure water at a given temperature. Definition: H2O.hpp:131 Definition: Air_Mesitylene.hpp:31 static Scalar criticalPressure() Returns the critical pressure of . Definition: Air.hpp:93 Opm::Air< Scalar > Air The type of the air component used for this fluid system. Definition: H2OAirFluidSystem.hpp:74 static LhsEval enthalpy(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy [J/kg... Definition: H2OAirFluidSystem.hpp:435 static Evaluation gasDiffCoeff(const Evaluation &temperature, const Evaluation &pressure) Binary diffusion coefficent for molecular water and air. Definition: H2O_Air.hpp:74 A parameter cache which does nothing. static const int liquidPhaseIdx The index of the liquid phase. Definition: H2OAirFluidSystem.hpp:80 static Scalar criticalTemperature() Returns the critical temperature of . Definition: Air.hpp:87 Some templates to wrap the valgrind client request macros. Evaluation< Scalar, VarSetTag, numVars > max(const Evaluation< Scalar, VarSetTag, numVars > &x1, const Evaluation< Scalar, VarSetTag, numVars > &x2) Definition: Math.hpp:114 Evaluation< Scalar, VarSetTag, numVars > sqrt(const Evaluation< Scalar, VarSetTag, numVars > &x) Definition: Math.hpp:278 static void init(Scalar, Scalar, unsigned, Scalar, Scalar, unsigned) A default routine for initialization, not needed for components and must not be called. Definition: Component.hpp:61 static Evaluation liquidViscosity(const Evaluation &temperature, const Evaluation &pressure) The dynamic viscosity of pure water. Definition: H2O.hpp:815 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density of steam in at a given pressure and temperature. Definition: H2O.hpp:556 H2Otype H2O The type of the water component used for this fluid system. Definition: H2OAirFluidSystem.hpp:72 static Evaluation gasThermalConductivity(const Evaluation &temperature, const Evaluation &pressure) Thermal conductivity of water (IAPWS) . Definition: H2O.hpp:862 A simple class implementing the fluid properties of air. static const int gasPhaseIdx The index of the gas phase. Definition: H2OAirFluidSystem.hpp:82 static Scalar criticalTemperature(unsigned compIdx) Critical temperature of a component [K]. Definition: H2OAirFluidSystem.hpp:172 static const int numComponents Number of chemical species in the fluid system. Definition: H2OAirFluidSystem.hpp:137 NullParameterCache ParameterCache The type of the fluid system's parameter cache. Definition: H2OAirFluidSystem.hpp:69 static const bool isTabulated Definition: Component.hpp:47 static void init(Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress) Initialize the fluid system's static parameters using problem specific temperature and pressure range... Definition: H2OAirFluidSystem.hpp:244 static bool isLiquid(unsigned phaseIdx) Return whether a phase is liquid. Definition: H2OAirFluidSystem.hpp:95 Material properties of pure water . static Evaluation molarDensity(const Evaluation &temperature, const Evaluation &pressure) The molar density of the gas , depending on pressure and temperature. Definition: IdealGas.hpp:65 static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &) The dynamic viscosity of at a given pressure and temperature. Definition: Air.hpp:138 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density of at a given pressure and temperature [kg/m^3]. Definition: Air.hpp:103 static Evaluation liquidDensity(const Evaluation &temperature, const Evaluation &pressure) The density of pure water in at a given pressure and temperature. Definition: H2O.hpp:685 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: H2O.hpp:623 static bool liquidIsCompressible() Returns true iff the liquid phase is assumed to be compressible. Definition: H2O.hpp:540 static LhsEval thermalConductivity(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Thermal conductivity of a fluid phase [W/(m K)]. Definition: H2OAirFluidSystem.hpp:469 static Evaluation henry(const Evaluation &temperature) Henry coefficent for air in liquid water. Definition: H2O_Air.hpp:55 A fluid system with a liquid and a gaseous phase and water and air as components. ... Definition: H2OAirFluidSystem.hpp:60 A generic class which tabulates all thermodynamic properties of a given component. Definition: TabulatedComponent.hpp:56 static Scalar molarMass(unsigned compIdx) Return the molar mass of a component in [kg/mol]. Definition: H2OAirFluidSystem.hpp:156 static Evaluation gasThermalConductivity(const Evaluation &, const Evaluation &) Specific heat conductivity of steam . Definition: Air.hpp:223 static const int AirIdx The index of the air component. Definition: H2OAirFluidSystem.hpp:142 static const Scalar acentricFactor() The acentric factor of water. Definition: H2O.hpp:85 Relations valid for an ideal gas. static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of liquid water . Definition: H2O.hpp:229 A generic class which tabulates all thermodynamic properties of a given component. static const char * componentName(unsigned compIdx) Return the human readable name of a component. Definition: H2OAirFluidSystem.hpp:145 static const Scalar criticalPressure() Returns the critical pressure of water. Definition: H2O.hpp:97 static const Scalar criticalTemperature() Returns the critical temperature of water. Definition: H2O.hpp:91 static LhsEval fugacityCoefficient(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx, unsigned compIdx) Calculate the fugacity coefficient [Pa] of an individual component in a fluid phase. Definition: H2OAirFluidSystem.hpp:390 static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &pressure) The dynamic viscosity of steam. Definition: H2O.hpp:790 static LhsEval density(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Calculate the density [kg/m^3] of a fluid phase. Definition: H2OAirFluidSystem.hpp:255 static Scalar acentricFactor(unsigned compIdx) The acentric factor of a component []. Definition: H2OAirFluidSystem.hpp:202 Evaluation< Scalar, VarSetTag, numVars > pow(const Evaluation< Scalar, VarSetTag, numVars > &base, Scalar exp) Definition: Math.hpp:312 static LhsEval binaryDiffusionCoefficient(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx, unsigned) Calculate the binary molecular diffusion coefficient for a component in a fluid phase [mol^2 * s / (k... Definition: H2OAirFluidSystem.hpp:416 static const int H2OIdx The index of the water component. Definition: H2OAirFluidSystem.hpp:140 static bool isIdealMixture(unsigned) Returns true if and only if a fluid phase is assumed to be an ideal mixture. Definition: H2OAirFluidSystem.hpp:123 static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &) Specific enthalpy of liquid water with 273.15 K as basis. See: W. Kays, M. Crawford, B. Weigand Convective heat and mass transfer, 4th edition (2005) p. 431ff. Definition: Air.hpp:186 static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of water steam . Definition: H2O.hpp:176 static Scalar criticalPressure(unsigned compIdx) Critical pressure of a component [Pa]. Definition: H2OAirFluidSystem.hpp:187 static void init() Initialize the fluid system's static parameters. Definition: H2OAirFluidSystem.hpp:222 static LhsEval viscosity(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Calculate the dynamic viscosity of a fluid phase [Pa*s]. Definition: H2OAirFluidSystem.hpp:321 static const char * phaseName(unsigned phaseIdx) Return the human readable name of a fluid phase. Definition: H2OAirFluidSystem.hpp:85 static Evaluation liquidThermalConductivity(const Evaluation &temperature, const Evaluation &pressure) Thermal conductivity of water (IAPWS) . Definition: H2O.hpp:842 Binary coefficients for water and nitrogen. The base class for all fluid systems. static const int numPhases Number of fluid phases in the fluid system. Definition: H2OAirFluidSystem.hpp:77 static const Scalar molarMass() The molar mass in of water. Definition: H2O.hpp:79 |