version 3.9-dev
Dumux::EnergyLocalResidualIncompressibleImplementation< TypeTag, true > Class Template Reference

TODO docme!

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

Inheritance diagram for Dumux::EnergyLocalResidualIncompressibleImplementation< TypeTag, true >:

Static Public Member Functions

static void heatConvectionFlux (NumEqVector &flux, FluxVariables &fluxVars, int phaseIdx)
 The advective phase energy fluxes for incompressible flow. More...
 
static void fluidPhaseStorage (NumEqVector &storage, const SubControlVolume &scv, const VolumeVariables &volVars, int phaseIdx)
 The energy storage in the fluid phase with index phaseIdx. More...
 
static void solidPhaseStorage (NumEqVector &storage, const SubControlVolume &scv, const VolumeVariables &volVars)
 The energy storage in the solid matrix. More...
 
static void heatConductionFlux (NumEqVector &flux, FluxVariables &fluxVars)
 The diffusive energy fluxes. More...
 
static void heatDispersionFlux (NumEqVector &flux, FluxVariables &fluxVars)
 The dispersive energy fluxes. More...
 
static void computeSourceEnergy (NumEqVector &source, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv)
 heat transfer between the phases for nonequilibrium models More...
 

Member Function Documentation

◆ computeSourceEnergy()

template<class TypeTag >
static void Dumux::EnergyLocalResidualImplementation< TypeTag, true >::computeSourceEnergy ( NumEqVector &  source,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolume &  scv 
)
inlinestaticinherited
Parameters
sourceThe source which ought to be simulated
elementAn element which contains part of the control volume
fvGeometryThe finite-volume geometry
elemVolVarsThe volume variables of the current element
scvThe sub-control volume over which we integrate the source term

◆ fluidPhaseStorage()

template<class TypeTag >
static void Dumux::EnergyLocalResidualImplementation< TypeTag, true >::fluidPhaseStorage ( NumEqVector &  storage,
const SubControlVolume &  scv,
const VolumeVariables &  volVars,
int  phaseIdx 
)
inlinestaticinherited
Parameters
storageThe mass of the component within the sub-control volume
scvThe sub-control volume
volVarsThe volume variables
phaseIdxThe phase index

◆ heatConductionFlux()

template<class TypeTag >
static void Dumux::EnergyLocalResidualImplementation< TypeTag, true >::heatConductionFlux ( NumEqVector &  flux,
FluxVariables &  fluxVars 
)
inlinestaticinherited
Parameters
fluxThe flux
fluxVarsThe flux variables.

◆ heatConvectionFlux()

template<class TypeTag >
static void Dumux::EnergyLocalResidualIncompressibleImplementation< TypeTag, true >::heatConvectionFlux ( NumEqVector &  flux,
FluxVariables &  fluxVars,
int  phaseIdx 
)
inlinestatic

Using specific internal energy $u$ instead of specific enthalpy \(h\) for incompressible flow in convective flux to account for otherwise neglected pressure work term ( \(\nabla p \cdot v\)).

Compressible formulation in EnergyLocalResidual (neglecting pressure work term ( \(\nabla p \cdot v\))) is

\begin{align*} \frac{\partial}{\partial t} (\rho u) &= -\nabla \cdot (\rho v h) + \nabla \cdot (\lambda \nabla T) \end{align*}

Incompressible energy formulation is

\begin{align*} \frac{\partial}{\partial t} (\rho u) = -\nabla \cdot (\rho v u) + \nabla \cdot (\lambda \nabla T) \end{align*}

Parameters
fluxThe flux
fluxVarsThe flux variables.
phaseIdxThe phase index

◆ heatDispersionFlux()

template<class TypeTag >
static void Dumux::EnergyLocalResidualImplementation< TypeTag, true >::heatDispersionFlux ( NumEqVector &  flux,
FluxVariables &  fluxVars 
)
inlinestaticinherited
Parameters
fluxThe flux
fluxVarsThe flux variables.

◆ solidPhaseStorage()

template<class TypeTag >
static void Dumux::EnergyLocalResidualImplementation< TypeTag, true >::solidPhaseStorage ( NumEqVector &  storage,
const SubControlVolume &  scv,
const VolumeVariables &  volVars 
)
inlinestaticinherited
Parameters
storageThe mass of the component within the sub-control volume
scvThe sub-control volume
volVarsThe volume variables

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