A fluid system for two-phase models assuming immiscibility and thermodynamic equilibrium.  
 More...
template<class 
Scalar, class Fluid0, class Fluid1>
class Dumux::FluidSystems::TwoPImmiscible< Scalar, Fluid0, Fluid1 >
The fluid phases are completely specified by means of their constituting components. The fluids can be defined individually via FluidSystem::OnePLiquid<Scalar, Component> and FluidSystem::OnePGas<Scalar, Component>. These fluids consist of one component. 
- Template Parameters
- 
  
    | Scalar | the scalar type |  | Fluid0 | a one-phase fluid system (use FluidSystem::OnePLiquid<Scalar, Component> / FluidSystem::OnePGas<Scalar, Component>) |  | Fluid1 | a one-phase fluid system (use FluidSystem::OnePLiquid<Scalar, Component> / FluidSystem::OnePGas<Scalar, Component>) |  
 
|  | 
| static std::string | phaseName (int phaseIdx) | 
|  | Return the human readable name of a fluid phase. 
 | 
|  | 
| static constexpr bool | isMiscible () | 
|  | Returns whether the fluids are miscible. 
 | 
|  | 
| static constexpr bool | isGas (int phaseIdx) | 
|  | Return whether a phase is gaseous. 
 | 
|  | 
| static bool | isIdealMixture (int phaseIdx) | 
|  | Returns true if and only if a fluid phase is assumed to be an ideal mixture. 
 | 
|  | 
| static constexpr bool | isIdealGas (int phaseIdx) | 
|  | Returns true if and only if a fluid phase is assumed to be an ideal gas. 
 | 
|  | 
| static constexpr bool | isCompressible (int phaseIdx) | 
|  | Returns true if and only if a fluid phase is assumed to be compressible. 
 | 
|  | 
| static constexpr bool | viscosityIsConstant (int phaseIdx) | 
|  | Returns true if the liquid phase viscostiy is constant. 
 | 
|  | 
| static bool | isIdealFluid1 (int phaseIdx) | 
|  | Returns true if and only if a fluid phase is assumed to be an ideal gas. 
 | 
|  | 
| static std::string | componentName (int compIdx) | 
|  | Return the human readable name of a component. 
 | 
|  | 
| static Scalar | molarMass (int compIdx) | 
|  | Return the molar mass of a component in \(\mathrm{[kg/mol]}\). 
 | 
|  | 
| static Scalar | criticalTemperature (int compIdx) | 
|  | Critical temperature of a component \(\mathrm{[K]}\). 
 | 
|  | 
| static Scalar | criticalPressure (int compIdx) | 
|  | Critical pressure of a component \(\mathrm{[Pa]}\). 
 | 
|  | 
| static Scalar | acentricFactor (int compIdx) | 
|  | The acentric factor of a component \(\mathrm{[-]}\). 
 | 
|  | 
| static void | init () | 
|  | Initialize the fluid system's static parameters. 
 | 
|  | 
| static void | init (Scalar tempMin, Scalar tempMax, std::size_t nTemp, Scalar pressMin, Scalar pressMax, std::size_t nPress) | 
|  | Initialize the fluid system's static parameters using problem specific temperature and pressure ranges. 
 | 
|  | 
| template<class FluidState> | 
| static Scalar | density (const FluidState &fluidState, int phaseIdx) | 
|  | Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase. 
 | 
|  | 
| template<class FluidState> | 
| static Scalar | molarDensity (const FluidState &fluidState, int phaseIdx) | 
|  | Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase. 
 | 
|  | 
| template<class FluidState> | 
| static Scalar | viscosity (const FluidState &fluidState, int phaseIdx) | 
|  | Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\). 
 | 
|  | 
| template<class FluidState> | 
| static Scalar | fugacityCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx) | 
|  | Calculate the fugacity coefficient \(\mathrm{[Pa]}\) of an individual component in a fluid phase. 
 | 
|  | 
| template<class FluidState> | 
| static Scalar | diffusionCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx) | 
|  | Calculate the binary molecular diffusion coefficient for a component in a fluid phase \(\mathrm{[mol^2 * s / (kg*m^3)]}\). 
 | 
|  | 
| template<class FluidState> | 
| static Scalar | binaryDiffusionCoefficient (const FluidState &fluidState, int phaseIdx, int compIIdx, int compJIdx) | 
|  | Given a phase's composition, temperature and pressure, return the binary diffusion coefficient \(\mathrm{[m^2/s]}\) for components \(\mathrm{i}\) and \(\mathrm{j}\) in this phase. 
 | 
|  | 
| template<class FluidState> | 
| static Scalar | enthalpy (const FluidState &fluidState, int phaseIdx) | 
|  | Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy \(\mathrm{[J/kg]}\). 
 | 
|  | 
| template<class FluidState> | 
| static Scalar | thermalConductivity (const FluidState &fluidState, int phaseIdx) | 
|  | Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m K)]}\). 
 | 
|  | 
| template<class FluidState> | 
| static Scalar | heatCapacity (const FluidState &fluidState, int phaseIdx) | 
|  | Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\). 
 | 
|  | 
| static constexpr bool | isTracerFluidSystem () | 
|  | Some properties of the fluid system. 
 | 
|  | 
| static constexpr int | getMainComponent (int phaseIdx) | 
|  | Get the main component of a given phase if possible. 
 | 
|  | 
| static Scalar | density (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) | 
|  | Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase. 
 | 
|  | 
| static Scalar | molarDensity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) | 
|  | Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase. 
 | 
|  | 
| static Scalar | fugacityCoefficient (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx, int compIdx) | 
|  | Calculate the fugacity coefficient \(\mathrm{[Pa]}\) of an individual component in a fluid phase. 
 | 
|  | 
| static Scalar | viscosity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) | 
|  | Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\). 
 | 
|  | 
| static Scalar | diffusionCoefficient (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx, int compIdx) | 
|  | Calculate the binary molecular diffusion coefficient for a component in a fluid phase \(\mathrm{[mol^2 * s / (kg*m^3)]}\). 
 | 
|  | 
| static Scalar | binaryDiffusionCoefficient (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx, int compIIdx, int compJIdx) | 
|  | Given a phase's composition, temperature and pressure, return the binary diffusion coefficient \(\mathrm{[m^2/s]}\) for components \(\mathrm{i}\) and \(\mathrm{j}\) in this phase. 
 | 
|  | 
| static Scalar | enthalpy (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) | 
|  | Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy \(\mathrm{[J/kg]}\). 
 | 
|  | 
| static Scalar | thermalConductivity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) | 
|  | Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m K)]}\). 
 | 
|  | 
| static Scalar | heatCapacity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) | 
|  | Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\). 
 | 
|  |