H2OAirMesityleneFluidSystem.hpp
Go to the documentation of this file.
138 { return phaseIdx == gasPhaseIdx && H2O::gasIsIdeal() && Air::gasIsIdeal() && NAPL::gasIsIdeal(); }
221 clH2O*(H2O::molarMass()*FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, H2OIdx)) +
222 Air::molarMass()*FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, airIdx)) +
223 NAPL::molarMass()*FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, NAPLIdx)));
236 const LhsEval& pH2O = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, H2OIdx))*pg;
237 const LhsEval& pAir = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, airIdx))*pg;
238 const LhsEval& pNAPL = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, NAPLIdx))*pg;
292 const LhsEval& xgAir = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, airIdx));
293 const LhsEval& xgH2O = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, H2OIdx));
294 const LhsEval& xgNapl = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, NAPLIdx));
329 const LhsEval& xga = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, airIdx));
330 const LhsEval& xgw = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, H2OIdx));
331 const LhsEval& xgc = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, NAPLIdx));
340 const LhsEval& diffACl = 1.e-9; // BinaryCoeff::Air_Mesitylene::liquidDiffCoeff(temperature, pressure);
341 const LhsEval& diffWCl = 1.e-9; // BinaryCoeff::H2O_Mesitylene::liquidDiffCoeff(temperature, pressure);
342 const LhsEval& diffAWl = 1.e-9; // BinaryCoeff::H2O_Air::liquidDiffCoeff(temperature, pressure);
344 const LhsEval& xwa = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, airIdx));
345 const LhsEval& xww = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, H2OIdx));
346 const LhsEval& xwc = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, NAPLIdx));
439 result += H2O::gasEnthalpy(T, p) * FsToolbox::template toLhs<LhsEval>(fluidState.massFraction(gasPhaseIdx, H2OIdx));
440 result += NAPL::gasEnthalpy(T, p) * FsToolbox::template toLhs<LhsEval>(fluidState.massFraction(gasPhaseIdx, airIdx));
441 result += Air::gasEnthalpy(T, p) * FsToolbox::template toLhs<LhsEval>(fluidState.massFraction(gasPhaseIdx, NAPLIdx));
static Scalar molarMass(unsigned compIdx) Return the molar mass of a component in [kg/mol]. Definition: H2OAirMesityleneFluidSystem.hpp:185 static const int waterPhaseIdx The index of the water phase. Definition: H2OAirMesityleneFluidSystem.hpp:85 static const int naplPhaseIdx The index of the NAPL phase. Definition: H2OAirMesityleneFluidSystem.hpp:87 static const char * name() A human readable name for the component. Definition: TabulatedComponent.hpp:216 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: Air.hpp:73 static const int gasPhaseIdx The index of the gas phase. Definition: H2OAirMesityleneFluidSystem.hpp:89 static void init(Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress) Initialize the tables. Definition: TabulatedComponent.hpp:73 static LhsEval thermalConductivity(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Thermal conductivity of a fluid phase [W/(m K)]. Definition: H2OAirMesityleneFluidSystem.hpp:450 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 bool isLiquid(unsigned phaseIdx) Return whether a phase is liquid. Definition: H2OAirMesityleneFluidSystem.hpp:130 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: H2OAirMesityleneFluidSystem.hpp:372 TabulatedH2O H2O The type of the water component. Definition: H2OAirMesityleneFluidSystem.hpp:76 Definition: MathToolbox.hpp:39 static Evaluation gasDiffCoeff(Evaluation temperature, Evaluation pressure) Binary diffusion coefficent [m^2/s] for molecular water and mesitylene. Definition: H2O_Mesitylene.hpp:65 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 static Evaluation gasDiffCoeff(const Evaluation &temperature, const Evaluation &pressure) Binary diffusion coefficent for molecular water and air. Definition: H2O_Air.hpp:74 static bool isCompressible(unsigned phaseIdx) Returns true if and only if a fluid phase is assumed to be compressible. Definition: H2OAirMesityleneFluidSystem.hpp:141 A parameter cache which does nothing. static LhsEval viscosity(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Calculate the dynamic viscosity of a fluid phase [Pa*s]. Definition: H2OAirMesityleneFluidSystem.hpp:247 Binary coefficients for water and nitrogen. static Evaluation henry(const Evaluation &temperature) Henry coefficent for molecular nitrogen in liquid water. Definition: H2O_N2.hpp:52 static const int NAPLIdx The index of the NAPL component. Definition: H2OAirMesityleneFluidSystem.hpp:94 static void init() Initialize the fluid system's static parameters. Definition: H2OAirMesityleneFluidSystem.hpp:99 static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of mesitylene vapor . Definition: Mesitylene.hpp:180 Properties of pure molecular nitrogen . NullParameterCache ParameterCache The type of the fluid system's parameter cache. Definition: H2OAirMesityleneFluidSystem.hpp:66 static Evaluation gasDiffCoeff(Evaluation temperature, Evaluation pressure) Binary diffusion coefficent [m^2/s] for air and mesitylene. I used the method according to Wilke and ... Definition: Air_Mesitylene.hpp:57 static Scalar molarMass() The molar mass in of the component. Definition: TabulatedComponent.hpp:222 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: H2OAirMesityleneFluidSystem.hpp:120 static bool liquidIsCompressible() Returns true iff the liquid phase is assumed to be compressible. Definition: Mesitylene.hpp:220 A simple class implementing the fluid properties of air. static const char * name() A human readable name for the mesitylene. Definition: Mesitylene.hpp:51 Material properties of pure water . static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &) The dynamic viscosity of at a given pressure and temperature. Definition: Air.hpp:138 static const int numPhases Number of fluid phases in the fluid system. Definition: H2OAirMesityleneFluidSystem.hpp:80 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 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: H2OAirMesityleneFluidSystem.hpp:421 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density of pure mesitylene vapor at a given pressure and temperature . Definition: Mesitylene.hpp:192 Binary coefficients for water and mesitylene. static bool isIdealGas(unsigned phaseIdx) Returns true if and only if a fluid phase is assumed to be an ideal gas. Definition: H2OAirMesityleneFluidSystem.hpp:137 A simple version of pure water. Opm::Air< Scalar > Air The type of the air component. Definition: H2OAirMesityleneFluidSystem.hpp:72 static const int airIdx The index of the air pseudo-component. Definition: H2OAirMesityleneFluidSystem.hpp:96 static Evaluation gasViscosity(Evaluation temperature, const Evaluation &, bool=true) The dynamic viscosity of mesitylene vapor. Definition: Mesitylene.hpp:231 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: TabulatedComponent.hpp:417 Binary coefficients for water and mesitylene. Component for Mesitylene. A fluid system with water, gas and NAPL as phases and water, air and mesitylene (DNAPL) as components... Definition: H2OAirMesityleneFluidSystem.hpp:55 A generic class which tabulates all thermodynamic properties of a given component. Definition: TabulatedComponent.hpp:56 static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of the liquid . Definition: TabulatedComponent.hpp:292 static Evaluation gasThermalConductivity(const Evaluation &, const Evaluation &) Specific heat conductivity of steam . Definition: Air.hpp:223 static const bool isTabulated Definition: TabulatedComponent.hpp:61 static const char * componentName(unsigned compIdx) Return the human readable name of a component. Definition: H2OAirMesityleneFluidSystem.hpp:174 Relations valid for an ideal gas. A generic class which tabulates all thermodynamic properties of a given component. static Evaluation henry(const Evaluation &) Henry coefficent for mesitylene in liquid water. Definition: H2O_Mesitylene.hpp:50 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: Mesitylene.hpp:214 static bool liquidIsCompressible() Returns true iff the liquid phase is assumed to be compressible. Definition: TabulatedComponent.hpp:411 static const int numComponents Number of chemical species in the fluid system. Definition: H2OAirMesityleneFluidSystem.hpp:82 static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of liquid mesitylene . Definition: Mesitylene.hpp:119 static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of the gas . Definition: TabulatedComponent.hpp:273 static Evaluation liquidDensity(const Evaluation &temperature, const Evaluation &) The density of pure mesitylene at a given pressure and temperature . Definition: Mesitylene.hpp:202 static LhsEval diffusionCoefficient(const FluidState &, const ParameterCache &, unsigned, unsigned) Calculate the binary molecular diffusion coefficient for a component in a fluid phase [mol^2 * s / (k... Definition: H2OAirMesityleneFluidSystem.hpp:311 static LhsEval density(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Calculate the density [kg/m^3] of a fluid phase. Definition: H2OAirMesityleneFluidSystem.hpp:200 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density of gas at a given pressure and temperature . Definition: TabulatedComponent.hpp:429 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 Binary coefficients for water and nitrogen. static const int H2OIdx The index of the water component. Definition: H2OAirMesityleneFluidSystem.hpp:92 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 static Evaluation liquidViscosity(Evaluation temperature, const Evaluation &) The dynamic viscosity of pure mesitylene. Definition: Mesitylene.hpp:259 static Scalar molarMass() The molar mass in of mesitylene. Definition: Mesitylene.hpp:57 static const char * phaseName(unsigned phaseIdx) Return the human readable name of a fluid phase. Definition: H2OAirMesityleneFluidSystem.hpp:163 Opm::Mesitylene< Scalar > NAPL The type of the mesithylene/napl component. Definition: H2OAirMesityleneFluidSystem.hpp:69 static bool isIdealMixture(unsigned) Returns true if and only if a fluid phase is assumed to be an ideal mixture. Definition: H2OAirMesityleneFluidSystem.hpp:153 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 static Evaluation vaporPressure(const Evaluation &temperature) The saturation vapor pressure in of pure mesitylene at a given temperature according to Antoine afte... Definition: Mesitylene.hpp:98 |