3.1-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< IsothermalTraits, Impl, true > Class Template Reference

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

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

Description

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

The non-isothermal implicit volume variables base class.

Public Types

using FluidState = typename IsothermalTraits::FluidState
 
using SolidState = typename IsothermalTraits::SolidState
 
using FluidSystem = typename IsothermalTraits::FluidSystem
 export the underlying fluid system More...
 
using SolidSystem = typename IsothermalTraits::SolidSystem
 

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)
 
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...
 

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 IsothermalTraits , class Impl >
using Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, Impl, true >::FluidState = typename IsothermalTraits::FluidState

◆ FluidSystem

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

export the underlying fluid system

◆ SolidState

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

◆ SolidSystem

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

Member Function Documentation

◆ asImp_() [1/2]

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

◆ asImp_() [2/2]

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

◆ enthalpy() [1/2]

template<class IsothermalTraits , class Impl >
template<class ParameterCache >
static Scalar Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, 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 IsothermalTraits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, 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 IsothermalTraits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, 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 IsothermalTraits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, 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 IsothermalTraits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, 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 IsothermalTraits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, 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 IsothermalTraits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, 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 IsothermalTraits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, 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 IsothermalTraits , class Impl >
Scalar Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, Impl, true >::temperatureSolid ( ) const
inline

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

◆ updateSolidEnergyParams()

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

◆ updateTemperature()

template<class IsothermalTraits , class Impl >
template<class ElemSol , class Problem , class Element , class Scv >
void Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, 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: