H2OAirXyleneFluidSystem.hpp
Go to the documentation of this file.
100 { return phaseIdx == gasPhaseIdx && H2O::gasIsIdeal() && Air::gasIsIdeal() && NAPL::gasIsIdeal(); }
182 const auto& xwH2O = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, H2OIdx));
183 const auto& xwAir = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, airIdx));
184 const auto& xwNapl = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, NAPLIdx));
199 const LhsEval& pH2O = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, H2OIdx))*p;
200 const LhsEval& pAir = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, airIdx))*p;
201 const LhsEval& pNAPL = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, NAPLIdx))*p;
253 const auto& xgAir = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, airIdx));
254 const auto& xgH2O = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, H2OIdx));
255 const auto& xgNapl = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, NAPLIdx));
289 const LhsEval& xga = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, airIdx));
290 const LhsEval& xgw = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, H2OIdx));
291 const LhsEval& xgc = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(gasPhaseIdx, NAPLIdx));
303 const LhsEval& xwa = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, airIdx));
304 const LhsEval& xww = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, H2OIdx));
305 const LhsEval& xwc = FsToolbox::template toLhs<LhsEval>(fluidState.moleFraction(waterPhaseIdx, NAPLIdx));
394 result += hgw * FsToolbox::template toLhs<LhsEval>(fluidState.massFraction(gasPhaseIdx, H2OIdx));
395 result += hga * FsToolbox::template toLhs<LhsEval>(fluidState.massFraction(gasPhaseIdx, airIdx));
396 result += hgc * FsToolbox::template toLhs<LhsEval>(fluidState.massFraction(gasPhaseIdx, NAPLIdx));
425 { return H2O::gasDensity(T, pg*xgw) + Air::gasDensity(T, pg*xga) + NAPL::gasDensity(T, pg*xgc); }
static const int gasPhaseIdx The index of the gas phase. Definition: H2OAirXyleneFluidSystem.hpp:78 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: Air.hpp:73 static bool liquidIsCompressible() Returns true iff the liquid phase is assumed to be compressible. Definition: Xylene.hpp:289 static const int NAPLIdx The index of the NAPL component. Definition: H2OAirXyleneFluidSystem.hpp:83 static LhsEval density(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Calculate the density [kg/m^3] of a fluid phase. Definition: H2OAirXyleneFluidSystem.hpp:167 static bool isCompressible(unsigned phaseIdx) Returns true if and only if a fluid phase is assumed to be compressible. Definition: H2OAirXyleneFluidSystem.hpp:114 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 bool isLiquid(unsigned phaseIdx) Return whether a phase is liquid. Definition: H2OAirXyleneFluidSystem.hpp:92 static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of the pure component in liquid. Definition: Xylene.hpp:151 static Evaluation gasDiffCoeff(const Evaluation &temperature, const Evaluation &pressure) Binary diffusion coefficent for molecular water and air. Definition: H2O_Air.hpp:74 static void init() Initialize the fluid system's static parameters. Definition: H2OAirXyleneFluidSystem.hpp:88 static bool isIdealMixture(unsigned) Returns true if and only if a fluid phase is assumed to be an ideal mixture. Definition: H2OAirXyleneFluidSystem.hpp:103 A parameter cache which does nothing. static const char * name() A human readable name for the xylene. Definition: Xylene.hpp:55 static const int naplPhaseIdx The index of the NAPL phase. Definition: H2OAirXyleneFluidSystem.hpp:76 static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of the pure component in gas. Definition: Xylene.hpp:215 Opm::Xylene< Scalar > NAPL The type of the xylene/napl component. Definition: H2OAirXyleneFluidSystem.hpp:64 static Scalar molarMass(unsigned compIdx) Return the molar mass of a component in [kg/mol]. Definition: H2OAirXyleneFluidSystem.hpp:150 static Evaluation liquidViscosity(const Evaluation &temperature, const Evaluation &pressure) The dynamic viscosity of pure water. Definition: H2O.hpp:815 static Evaluation henry(const Evaluation &) Henry coefficent for xylene in liquid water. Definition: H2O_Xylene.hpp:49 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density of steam in at a given pressure and temperature. Definition: H2O.hpp:556 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: H2OAirXyleneFluidSystem.hpp:373 A fluid system with water, gas and NAPL as phases and water, air and NAPL (contaminant) as components... Definition: H2OAirXyleneFluidSystem.hpp:51 A simple class implementing the fluid properties of air. Binary coefficients for water and xylene. static LhsEval diffusionCoefficient(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx, unsigned compIdx) Calculate the binary molecular diffusion coefficient for a component in a fluid phase [mol^2 * s / (k... Definition: H2OAirXyleneFluidSystem.hpp:274 static const int H2OIdx The index of the water component. Definition: H2OAirXyleneFluidSystem.hpp:81 Material properties of pure water . static Evaluation vaporPressure(const Evaluation &temperature) The saturation vapor pressure in of pure xylene at a given temperature according to Antoine after Be... Definition: Xylene.hpp:95 static const int airIdx The index of the air pseudo-component. Definition: H2OAirXyleneFluidSystem.hpp:85 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 Evaluation henry(const Evaluation &temperature) Henry coefficent for air in liquid water. Definition: H2O_Air.hpp:55 static const int numPhases Number of fluid phases in the fluid system. Definition: H2OAirXyleneFluidSystem.hpp:69 Component for Xylene. static Evaluation liquidDensity(const Evaluation &temperature, const Evaluation &pressure) The density of the liquid component at a given pressure in and temperature in . ... Definition: Xylene.hpp:271 static Evaluation simpleGasViscosity(const Evaluation &temperature, const Evaluation &) Definition: Air.hpp:163 static const int numComponents Number of chemical species in the fluid system. Definition: H2OAirXyleneFluidSystem.hpp:71 Opm::Air< Scalar > Air The type of the air component. Definition: H2OAirXyleneFluidSystem.hpp:66 static Scalar molarMass() The molar mass in of xylene. Definition: Xylene.hpp:61 static Evaluation liquidViscosity(Evaluation temperature, const Evaluation &) The dynamic liquid viscosity of the pure component. Definition: Xylene.hpp:317 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density in of the component at a given pressure in and temperature in . Definition: Xylene.hpp:224 Opm::H2O< Scalar > H2O The type of the water component. Definition: H2OAirXyleneFluidSystem.hpp:62 static const char * componentName(unsigned compIdx) Return the human readable name of a component. Definition: H2OAirXyleneFluidSystem.hpp:139 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 Evaluation gasViscosity(Evaluation temperature, const Evaluation &) The dynamic viscosity of the pure component at a given pressure in and temperature in ... Definition: Xylene.hpp:296 static LhsEval viscosity(const FluidState &fluidState, const ParameterCache &, unsigned phaseIdx) Calculate the dynamic viscosity of a fluid phase [Pa*s]. Definition: H2OAirXyleneFluidSystem.hpp:210 NullParameterCache ParameterCache The type of the fluid system's parameter cache. Definition: H2OAirXyleneFluidSystem.hpp:59 static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &pressure) The dynamic viscosity of steam. Definition: H2O.hpp:790 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: H2OAirXyleneFluidSystem.hpp:328 static const char * phaseName(unsigned phaseIdx) Return the human readable name of a fluid phase. Definition: H2OAirXyleneFluidSystem.hpp:128 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: Xylene.hpp:283 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 Binary coefficients for water and xylene. Binary coefficients for water and nitrogen. static const int waterPhaseIdx The index of the water phase. Definition: H2OAirXyleneFluidSystem.hpp:74 The base class for all fluid systems. static Evaluation gasDiffCoeff(Evaluation temperature, Evaluation pressure) Binary diffusion coefficent [m^2/s] for molecular water and xylene. Definition: H2O_Xylene.hpp:64 static Evaluation gasDiffCoeff(Evaluation temperature, Evaluation pressure) Binary diffusion coefficent [m^2/s] for air and xylene. method according to Wilke and Lee see Handboo... Definition: Air_Xylene.hpp:55 static bool isIdealGas(unsigned phaseIdx) Returns true if and only if a fluid phase is assumed to be an ideal gas. Definition: H2OAirXyleneFluidSystem.hpp:99 static const Scalar molarMass() The molar mass in of water. Definition: H2O.hpp:79 |