BaseFluidSystem.hpp
Go to the documentation of this file.
70 "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a phaseName() method!");
81 "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a isLiquid() method!");
101 "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a isIdealMixture() method!");
116 "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a isCompressible() method!");
128 "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a isIdealGas() method!");
139 "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a componentName() method!");
150 "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a molarMass() method!");
165 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParameterCache = NullParameterCache>
171 "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a density() method!");
188 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParameterCache = NullParameterCache>
194 OPM_THROW(std::runtime_error, "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a fugacityCoefficient() method!");
203 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParameterCache = NullParameterCache>
208 OPM_THROW(std::runtime_error, "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a viscosity() method!");
228 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParameterCache = NullParameterCache>
234 OPM_THROW(std::runtime_error, "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a diffusionCoefficient() method!");
244 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParameterCache = NullParameterCache>
249 OPM_THROW(std::runtime_error, "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide an enthalpy() method!");
258 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParameterCache = NullParameterCache>
263 OPM_THROW(std::runtime_error, "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a thermalConductivity() method!");
272 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParameterCache = NullParameterCache>
277 OPM_THROW(std::runtime_error, "Not implemented: The fluid system '" << Opm::className<Implementation>() << "' does not provide a heatCapacity() method!");
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: BaseFluidSystem.hpp:229 static char * phaseName(unsigned) Return the human readable name of a fluid phase. Definition: BaseFluidSystem.hpp:67 static bool isLiquid(unsigned) Return whether a phase is liquid. Definition: BaseFluidSystem.hpp:78 Definition: Air_Mesitylene.hpp:31 A parameter cache which does nothing. static LhsEval heatCapacity(const FluidState &, const ParameterCache &, unsigned) Specific isobaric heat capacity of a fluid phase [J/kg]. Definition: BaseFluidSystem.hpp:273 static LhsEval viscosity(const FluidState &, const ParameterCache &, unsigned) Calculate the dynamic viscosity of a fluid phase [Pa*s]. Definition: BaseFluidSystem.hpp:204 static LhsEval fugacityCoefficient(const FluidState &, const ParameterCache &, unsigned, unsigned) Calculate the fugacity coefficient [Pa] of an individual component in a fluid phase. Definition: BaseFluidSystem.hpp:189 static const char * componentName(unsigned) Return the human readable name of a component. Definition: BaseFluidSystem.hpp:136 static LhsEval density(const FluidState &, const ParameterCache &, unsigned) Calculate the density [kg/m^3] of a fluid phase. Definition: BaseFluidSystem.hpp:166 static bool isIdealGas(unsigned) Returns true if and only if a fluid phase is assumed to be an ideal gas. Definition: BaseFluidSystem.hpp:125 static bool isCompressible(unsigned) Returns true if and only if a fluid phase is assumed to be compressible. Definition: BaseFluidSystem.hpp:113 static LhsEval thermalConductivity(const FluidState &, const ParameterCache &, unsigned) Thermal conductivity of a fluid phase [W/(m K)]. Definition: BaseFluidSystem.hpp:259 static void init() Initialize the fluid system's static parameters. Definition: BaseFluidSystem.hpp:156 static LhsEval enthalpy(const FluidState &, const ParameterCache &, unsigned) Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy [J/kg... Definition: BaseFluidSystem.hpp:245 static Scalar molarMass(unsigned) Return the molar mass of a component in [kg/mol]. Definition: BaseFluidSystem.hpp:147 A free function to provide the demangled class name of a given object or type as a string... static const int numPhases Number of fluid phases in the fluid system. Definition: BaseFluidSystem.hpp:60 static bool isIdealMixture(unsigned) Returns true if and only if a fluid phase is assumed to be an ideal mixture. Definition: BaseFluidSystem.hpp:98 static const int numComponents Number of chemical species in the fluid system. Definition: BaseFluidSystem.hpp:57 NullParameterCache ParameterCache The type of the fluid system's parameter cache. Definition: BaseFluidSystem.hpp:54 |