version 3.10-dev
Dumux::NavierStokesEnergyVolumeVariables< Traits, Impl > Class Template Reference

The isothermal base class.

#include <dumux/freeflow/navierstokes/energy/volumevariables.hh>

Inheritance diagram for Dumux::NavierStokesEnergyVolumeVariables< Traits, Impl >:

Public Types

using FluidState = typename Traits::FluidState
 
using FluidSystem = typename Traits::FluidSystem
 
using HeatConductionType = typename Detail::FreeFlowHeatCondType< enableEnergyBalance, Traits >::type
 

Public Member Functions

template<class ElementSolution , class Problem , class Element , class SubControlVolume >
Scalar getTemperature (const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv) const
 Returns the temperature at a given sub-control volume. More...
 
void updateEffectiveThermalConductivity ()
 The effective thermal conductivity is zero for isothermal models. More...
 
Scalar internalEnergy (const int phaseIdx=0) const
 Returns the total internal energy of a phase in the sub-control volume. More...
 
Scalar enthalpy (const int phaseIdx=0) const
 Returns the total enthalpy of a phase in the sub-control volume. More...
 
Scalar temperatureFluid (const int phaseIdx=0) const
 Returns the temperature of a fluid phase assuming thermal nonequilibrium the sub-control volume. More...
 
Scalar fluidThermalConductivity (const int phaseIdx=0) const
 Returns the thermal conductivity \(\mathrm{[W/(m*K)]}\) of a fluid phase in the sub-control volume. More...
 
Scalar effectiveThermalConductivity (const int phaseIdx=0) const
 Returns the effective thermal conductivity \(\mathrm{[W/(m*K)]}\) in the sub-control volume. Specific to equilibirum models (case fullThermalEquilibrium). More...
 

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

Scalar lambdaEff_
 

Member Typedef Documentation

◆ FluidState

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

◆ FluidSystem

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

◆ HeatConductionType

template<class Traits , class Impl >
using Dumux::NavierStokesEnergyVolumeVariables< Traits, Impl >::HeatConductionType = typename Detail::FreeFlowHeatCondType<enableEnergyBalance, Traits>::type

Member Function Documentation

◆ asImp_() [1/2]

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

◆ asImp_() [2/2]

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

◆ effectiveThermalConductivity()

template<class Traits , class Impl >
Scalar Dumux::NavierStokesEnergyVolumeVariables< Traits, Impl >::effectiveThermalConductivity ( const int  phaseIdx = 0) const
inline

◆ enthalpy() [1/2]

template<class Traits , class Impl >
template<class ParameterCache >
static Scalar Dumux::NavierStokesEnergyVolumeVariables< Traits, Impl >::enthalpy ( const FluidState fluidState,
const ParameterCache &  paramCache 
)
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::NavierStokesEnergyVolumeVariables< Traits, Impl >::enthalpy ( const int  phaseIdx = 0) const
inline
Parameters
phaseIdxThe phase index

◆ fluidThermalConductivity()

template<class Traits , class Impl >
Scalar Dumux::NavierStokesEnergyVolumeVariables< Traits, Impl >::fluidThermalConductivity ( const int  phaseIdx = 0) const
inline

◆ getTemperature()

template<class Traits , class Impl >
template<class ElementSolution , class Problem , class Element , class SubControlVolume >
Scalar Dumux::NavierStokesEnergyVolumeVariables< Traits, Impl >::getTemperature ( const ElementSolution &  elemSol,
const Problem &  problem,
const Element &  element,
const SubControlVolume &  scv 
) const
inline
Parameters
elemSolA vector containing all primary variables connected to the element
problemThe object specifying the problem which ought to be simulated
elementAn element which contains part of the control volume
scvThe sub-control volume

◆ internalEnergy()

template<class Traits , class Impl >
Scalar Dumux::NavierStokesEnergyVolumeVariables< Traits, Impl >::internalEnergy ( const int  phaseIdx = 0) const
inline
Parameters
phaseIdxThe phase index

◆ temperatureFluid()

template<class Traits , class Impl >
Scalar Dumux::NavierStokesEnergyVolumeVariables< Traits, Impl >::temperatureFluid ( const int  phaseIdx = 0) const
inline
Parameters
phaseIdxThe local index of the phases

◆ updateEffectiveThermalConductivity()

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

Member Data Documentation

◆ lambdaEff_

template<class Traits , class Impl >
Scalar Dumux::NavierStokesEnergyVolumeVariables< Traits, Impl >::lambdaEff_
protected

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