3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true > Class Template Reference

The non-isothermal implicit volume variables base class. More...

#include <dumux/porousmediumflow/nonisothermal/volumevariables.hh>

Description

template<class Traits, class Impl>
class Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >

The non-isothermal implicit volume variables base class.

Public Types

using FluidState = typename Traits::FluidState
 
using FluidSystem = typename Traits::FluidSystem
 export the underlying fluid system More...
 
using Indices = Idx
 Export the indices. More...
 
using SolidState = typename Traits::SolidState
 
using SolidSystem = typename Traits::SolidSystem
 export the underlying solid system More...
 

Public Member Functions

template<class ElemSol , class Problem , class Element , class Scv >
void updateTemperature (const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv, FluidState &fluidState, SolidState &solidState)
 The temperature is obtained from the problem as a constant for isothermal models. More...
 
template<class ElemSol , class Problem , class Element , class Scv >
void updateSolidEnergyParams (const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv, SolidState &solidState)
 
void updateEffectiveThermalConductivity ()
 
Scalar internalEnergy (const int phaseIdx) const
 Returns the total internal energy of a phase in the sub-control volume. More...
 
Scalar enthalpy (const int phaseIdx) const
 Returns the total enthalpy of a phase in the sub-control volume. More...
 
Scalar temperatureSolid () const
 Returns the temperature in fluid / solid phase(s) the sub-control volume. More...
 
Scalar temperatureFluid (const int phaseIdx) const
 Returns the temperature of a fluid phase assuming thermal nonequilibrium the sub-control volume. More...
 
Scalar solidHeatCapacity () const
 Returns the total heat capacity \(\mathrm{[J/(kg K)]}\) of the rock matrix in the sub-control volume. More...
 
Scalar solidDensity () const
 Returns the mass density \(\mathrm{[kg/m^3]}\) of the rock matrix in the sub-control volume. More...
 
Scalar solidThermalConductivity () const
 Returns the thermal conductivity \(\mathrm{[W/(m*K)]}\) of the solid phase in the sub-control volume. More...
 
Scalar fluidThermalConductivity (const int phaseIdx) const
 Returns the thermal conductivity \(\mathrm{[W/(m*K)]}\) of a fluid phase in the sub-control volume. More...
 
template<bool enable = fullThermalEquilibrium, std::enable_if_t< enable, int > = 0>
Scalar effectiveThermalConductivity () const
 Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) in the sub-control volume. Specific to equilibirum models (case fullThermalEquilibrium). More...
 
template<bool enable = fluidThermalEquilibrium, std::enable_if_t< enable, int > = 0>
Scalar effectiveFluidThermalConductivity () const
 Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) of the fluids in the sub-control volume. Specific to partially nonequilibrium models (case fluidThermalEquilibrium). More...
 
template<bool enable = fluidThermalEquilibrium, std::enable_if_t< enable, int > = 0>
Scalar effectiveSolidThermalConductivity () const
 Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) of the solid phase in the sub-control volume. Specific to partially nonequilibrium models (case fluidThermalEquilibrium) More...
 
template<bool enable = (!fullThermalEquilibrium && !fluidThermalEquilibrium), std::enable_if_t< enable, int > = 0>
Scalar effectivePhaseThermalConductivity (const int phaseIdx) const
 Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) per fluid phase in the sub-control volume. Specific to nonequilibrium models (case full non-equilibrium) More...
 

Static Public Member Functions

template<class ParameterCache >
static Scalar enthalpy (const FluidState &fluidState, const ParameterCache &paramCache, const int phaseIdx)
 

Protected Member Functions

const Impl & asImp_ () const
 
Impl & asImp_ ()
 

Member Typedef Documentation

◆ FluidState

template<class Traits , class Impl >
using Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::FluidState = typename Traits::FluidState

◆ FluidSystem

template<class Traits , class Impl >
using Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::FluidSystem = typename Traits::FluidSystem

export the underlying fluid system

◆ Indices

template<class Traits , class Impl >
using Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::Indices = Idx

Export the indices.

◆ SolidState

template<class Traits , class Impl >
using Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::SolidState = typename Traits::SolidState

◆ SolidSystem

template<class Traits , class Impl >
using Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::SolidSystem = typename Traits::SolidSystem

export the underlying solid system

Member Function Documentation

◆ asImp_() [1/2]

template<class Traits , class Impl >
Impl & Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::asImp_ ( )
inlineprotected

◆ asImp_() [2/2]

template<class Traits , class Impl >
const Impl & Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::asImp_ ( ) const
inlineprotected

◆ effectiveFluidThermalConductivity()

template<class Traits , class Impl >
template<bool enable = fluidThermalEquilibrium, std::enable_if_t< enable, int > = 0>
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::effectiveFluidThermalConductivity ( ) const
inline

Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) of the fluids in the sub-control volume. Specific to partially nonequilibrium models (case fluidThermalEquilibrium).

◆ effectivePhaseThermalConductivity()

template<class Traits , class Impl >
template<bool enable = (!fullThermalEquilibrium && !fluidThermalEquilibrium), std::enable_if_t< enable, int > = 0>
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::effectivePhaseThermalConductivity ( const int  phaseIdx) const
inline

Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) per fluid phase in the sub-control volume. Specific to nonequilibrium models (case full non-equilibrium)

◆ effectiveSolidThermalConductivity()

template<class Traits , class Impl >
template<bool enable = fluidThermalEquilibrium, std::enable_if_t< enable, int > = 0>
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::effectiveSolidThermalConductivity ( ) const
inline

Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) of the solid phase in the sub-control volume. Specific to partially nonequilibrium models (case fluidThermalEquilibrium)

◆ effectiveThermalConductivity()

template<class Traits , class Impl >
template<bool enable = fullThermalEquilibrium, std::enable_if_t< enable, int > = 0>
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::effectiveThermalConductivity ( ) const
inline

Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) in the sub-control volume. Specific to equilibirum models (case fullThermalEquilibrium).

◆ enthalpy() [1/2]

template<class Traits , class Impl >
template<class ParameterCache >
static Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::enthalpy ( const FluidState fluidState,
const ParameterCache &  paramCache,
const int  phaseIdx 
)
inlinestatic

The phase enthalpy is zero for isothermal models This is needed for completing the fluid state

◆ enthalpy() [2/2]

template<class Traits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::enthalpy ( const int  phaseIdx) const
inline

Returns the total enthalpy of a phase in the sub-control volume.

Parameters
phaseIdxThe phase index

◆ fluidThermalConductivity()

template<class Traits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::fluidThermalConductivity ( const int  phaseIdx) const
inline

Returns the thermal conductivity \(\mathrm{[W/(m*K)]}\) of a fluid phase in the sub-control volume.

◆ internalEnergy()

template<class Traits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::internalEnergy ( const int  phaseIdx) const
inline

Returns the total internal energy of a phase in the sub-control volume.

Parameters
phaseIdxThe phase index

◆ solidDensity()

template<class Traits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::solidDensity ( ) const
inline

Returns the mass density \(\mathrm{[kg/m^3]}\) of the rock matrix in the sub-control volume.

◆ solidHeatCapacity()

template<class Traits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::solidHeatCapacity ( ) const
inline

Returns the total heat capacity \(\mathrm{[J/(kg K)]}\) of the rock matrix in the sub-control volume.

◆ solidThermalConductivity()

template<class Traits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::solidThermalConductivity ( ) const
inline

Returns the thermal conductivity \(\mathrm{[W/(m*K)]}\) of the solid phase in the sub-control volume.

◆ temperatureFluid()

template<class Traits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::temperatureFluid ( const int  phaseIdx) const
inline

Returns the temperature of a fluid phase assuming thermal nonequilibrium the sub-control volume.

Parameters
phaseIdxThe local index of the phases

◆ temperatureSolid()

template<class Traits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::temperatureSolid ( ) const
inline

Returns the temperature in fluid / solid phase(s) the sub-control volume.

◆ updateEffectiveThermalConductivity()

template<class Traits , class Impl >
void Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::updateEffectiveThermalConductivity ( )
inline

◆ updateSolidEnergyParams()

template<class Traits , class Impl >
template<class ElemSol , class Problem , class Element , class Scv >
void Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::updateSolidEnergyParams ( const ElemSol &  elemSol,
const Problem &  problem,
const Element &  element,
const Scv &  scv,
SolidState solidState 
)
inline

◆ updateTemperature()

template<class Traits , class Impl >
template<class ElemSol , class Problem , class Element , class Scv >
void Dumux::EnergyVolumeVariablesImplementation< Traits, Impl, true >::updateTemperature ( const ElemSol &  elemSol,
const Problem &  problem,
const Element &  element,
const Scv &  scv,
FluidState fluidState,
SolidState solidState 
)
inline

The temperature is obtained from the problem as a constant for isothermal models.


The documentation for this class was generated from the following file: