H2ON2FluidSystem.hpp
Go to the documentation of this file.
293 const auto& xlH2O = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(liquidPhaseIdx, H2OIdx));
294 const auto& xlN2 = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(liquidPhaseIdx, N2Idx));
314 const auto& xgH2O = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, H2OIdx));
315 const auto& xgN2 = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, N2Idx));
459 const auto& XgH2O = FsToolbox::template toLhs<LhsEval>(fluidState.massFraction(gasPhaseIdx, H2OIdx));
460 const auto& XgN2 = FsToolbox::template toLhs<LhsEval>(fluidState.massFraction(gasPhaseIdx, N2Idx));
487 const auto& xH2O = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(phaseIdx, H2OIdx));
512 const auto& xAlphaH2O = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(phaseIdx, H2OIdx));
513 const auto& xAlphaN2 = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(phaseIdx, N2Idx));
514 const auto& XAlphaH2O = FsToolbox::template toLhs<LhsEval>(fluidState.massFraction(phaseIdx, H2OIdx));
515 const auto& XAlphaN2 = FsToolbox::template toLhs<LhsEval>(fluidState.massFraction(phaseIdx, N2Idx));
static bool isIdealMixture(unsigned) Returns true if and only if a fluid phase is assumed to be an ideal mixture. Definition: H2ON2FluidSystem.hpp:124 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: H2ON2FluidSystem.hpp:249 static LhsEval diffusionCoefficient(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: H2ON2FluidSystem.hpp:413 static const char * name() A human readable name for the component. Definition: TabulatedComponent.hpp:216 static Scalar molarMass() The molar mass in of molecular nitrogen. Definition: N2.hpp:63 static Scalar criticalTemperature() Returns the critical temperature of molecular nitrogen. Definition: N2.hpp:69 static void init(Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress) Initialize the tables. Definition: TabulatedComponent.hpp:73 static const char * componentName(unsigned compIdx) Return the human readable name of a component. Definition: H2ON2FluidSystem.hpp:154 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 static Evaluation vaporPressure(const Evaluation &temperature) The vapor pressure in of the component at a given temperature. Definition: TabulatedComponent.hpp:256 static Evaluation gasHeatCapacity(const Evaluation &temperature, const Evaluation &pressure) Specific isobaric heat capacity of the gas . Definition: TabulatedComponent.hpp:311 static Scalar criticalPressure() Returns the critical pressure of molecular nitrogen. Definition: N2.hpp:75 static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &) The dynamic viscosity of at a given pressure and temperature. Definition: N2.hpp:269 static bool isLiquid(unsigned phaseIdx) Return whether a phase is liquid. Definition: H2ON2FluidSystem.hpp:95 static const int liquidPhaseIdx Index of the liquid phase. Definition: H2ON2FluidSystem.hpp:78 Definition: MathToolbox.hpp:39 Definition: Air_Mesitylene.hpp:31 static Evaluation liquidDensity(const Evaluation &temperature, const Evaluation &pressure) The density of liquid at a given pressure and temperature . Definition: TabulatedComponent.hpp:449 NullParameterCache ParameterCache The type of the fluid system's parameter cache. Definition: H2ON2FluidSystem.hpp:68 static Scalar acentricFactor(unsigned compIdx) The acentric factor of a component []. Definition: H2ON2FluidSystem.hpp:209 A parameter cache which does nothing. static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density of gas at a given pressure and temperature. Definition: N2.hpp:138 Binary coefficients for water and nitrogen. static LhsEval viscosity(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Calculate the dynamic viscosity of a fluid phase [Pa*s]. Definition: H2ON2FluidSystem.hpp:323 static Evaluation gasThermalConductivity(const Evaluation &temperature, const Evaluation &pressure) The thermal conductivity of gaseous water . Definition: TabulatedComponent.hpp:506 static Evaluation henry(const Evaluation &temperature) Henry coefficent for molecular nitrogen in liquid water. Definition: H2O_N2.hpp:52 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 Evaluation liquidHeatCapacity(const Evaluation &temperature, const Evaluation &pressure) Specific isobaric heat capacity of the liquid . Definition: TabulatedComponent.hpp:330 TabulatedH2O H2O The component for pure water. Definition: H2ON2FluidSystem.hpp:146 Properties of pure molecular nitrogen . static Scalar molarMass() The molar mass in of the component. Definition: TabulatedComponent.hpp:222 static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &) Specific enthalpy of pure nitrogen gas. Definition: N2.hpp:179 static bool isIdealGas(unsigned phaseIdx) Returns true if and only if a fluid phase is assumed to be an ideal gas. Definition: H2ON2FluidSystem.hpp:113 static Scalar criticalPressure(unsigned compIdx) Critical pressure of a component [Pa]. Definition: H2ON2FluidSystem.hpp:195 static Scalar molarMass(unsigned compIdx) Return the molar mass of a component in [kg/mol]. Definition: H2ON2FluidSystem.hpp:166 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: H2ON2FluidSystem.hpp:384 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: N2.hpp:153 static const char * phaseName(unsigned phaseIdx) Return the human readable name of a fluid phase. Definition: H2ON2FluidSystem.hpp:83 Material properties of pure water . static LhsEval heatCapacity(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Specific isobaric heat capacity of a fluid phase [J/kg]. Definition: H2ON2FluidSystem.hpp:504 static bool isCompressible(unsigned phaseIdx) Returns true if and only if a fluid phase is assumed to be compressible. Definition: H2ON2FluidSystem.hpp:102 static Evaluation liquidDiffCoeff(const Evaluation &temperature, const Evaluation &) Diffusion coefficent for molecular nitrogen in liquid water. Definition: H2O_N2.hpp:102 A two-phase fluid system with water and nitrogen as components. Definition: H2ON2FluidSystem.hpp:54 static Scalar criticalTemperature(unsigned compIdx) Critical temperature of a component [K]. Definition: H2ON2FluidSystem.hpp:181 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 gasThermalConductivity(const Evaluation &, const Evaluation &) Specific heat conductivity of steam . Definition: N2.hpp:307 static Scalar criticalPressure() Returns the critical pressure in of the component. Definition: TabulatedComponent.hpp:234 A simple version of pure water. static const int H2OIdx The component index of water. Definition: H2ON2FluidSystem.hpp:141 static const int N2Idx The component index of molecular nitrogen. Definition: H2ON2FluidSystem.hpp:143 static Scalar criticalTemperature() Returns the critical temperature in of the component. Definition: TabulatedComponent.hpp:228 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: TabulatedComponent.hpp:417 A generic class which tabulates all thermodynamic properties of a given component. Definition: TabulatedComponent.hpp:56 static LhsEval density(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Calculate the density [kg/m^3] of a fluid phase. Definition: H2ON2FluidSystem.hpp:266 static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of the liquid . Definition: TabulatedComponent.hpp:292 static const int numComponents Number of chemical species in the fluid system. Definition: H2ON2FluidSystem.hpp:138 static const bool isTabulated Definition: TabulatedComponent.hpp:61 static const Scalar acentricFactor() The acentric factor of water. Definition: H2O.hpp:85 Relations valid for an ideal gas. A generic class which tabulates all thermodynamic properties of a given component. static const int gasPhaseIdx Index of the gas phase. Definition: H2ON2FluidSystem.hpp:80 static LhsEval thermalConductivity(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Thermal conductivity of a fluid phase [W/(m K)]. Definition: H2ON2FluidSystem.hpp:469 static bool liquidIsCompressible() Returns true iff the liquid phase is assumed to be compressible. Definition: TabulatedComponent.hpp:411 static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of the gas . Definition: TabulatedComponent.hpp:273 static const int numPhases Number of fluid phases in the fluid system. Definition: H2ON2FluidSystem.hpp:75 Evaluation< Scalar, VarSetTag, numVars > pow(const Evaluation< Scalar, VarSetTag, numVars > &base, Scalar exp) Definition: Math.hpp:312 static Evaluation gasHeatCapacity(const Evaluation &temperature, const Evaluation &) Specific isobaric heat capacity of pure nitrogen gas. Definition: N2.hpp:237 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density of gas at a given pressure and temperature . Definition: TabulatedComponent.hpp:429 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: H2ON2FluidSystem.hpp:435 static void init() Initialize the fluid system's static parameters. Definition: H2ON2FluidSystem.hpp:228 The base class for all fluid systems. static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &pressure) The dynamic viscosity of gas. Definition: TabulatedComponent.hpp:468 SimpleN2 N2 The component for pure nitrogen. Definition: H2ON2FluidSystem.hpp:151 static Evaluation liquidViscosity(const Evaluation &temperature, const Evaluation &pressure) The dynamic viscosity of liquid. Definition: TabulatedComponent.hpp:487 static Evaluation liquidThermalConductivity(const Evaluation &temperature, const Evaluation &pressure) The thermal conductivity of liquid water . Definition: TabulatedComponent.hpp:525 A central place for various physical constants occuring in some equations. Definition: Constants.hpp:39 static Evaluation gasDiffCoeff(const Evaluation &temperature, const Evaluation &pressure) Binary diffusion coefficent for molecular water and nitrogen. Definition: H2O_N2.hpp:70 |