3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Files | Classes | Typedefs

Model that adds an energy equation (thermal equilibrium) to another porous medium flow model. More...

Description

Model that adds an energy equation (thermal equilibrium) to another porous medium flow model.

This model implements a generic energy balance for single and multi-phase transport problems. Currently the non-isothermal model can be used on top of the 1p2c, 2p, 2p2c and 3p3c models. Comparison to simple analytical solutions for pure convective and conductive problems are found in the 1p2c test. Also refer to this test for details on how to activate the non-isothermal model.

For the energy balance, local thermal equilibrium is assumed. This results in one energy conservation equation for the porous solid matrix and the fluids:

\begin{align*} \phi \frac{\partial \sum_\alpha \varrho_\alpha u_\alpha S_\alpha}{\partial t} & + \left( 1 - \phi \right) \frac{\partial (\varrho_s c_s T)}{\partial t} - \sum_\alpha \text{div} \left\{ \varrho_\alpha h_\alpha \frac{k_{r\alpha}}{\mu_\alpha} \mathbf{K} \left( \textbf{grad}\,p_\alpha - \varrho_\alpha \mbox{\bf g} \right) \right\} \\ & - \text{div} \left(\lambda_{pm} \textbf{grad} \, T \right) - q^h = 0. \end{align*}

where \(h_\alpha\) is the specific enthalpy of a fluid phase \(\alpha\) and \(u_\alpha = h_\alpha - p_\alpha/\varrho_\alpha\) is the specific internal energy of the phase.

Files

file  porousmediumflow/nonisothermal/indices.hh
 Defines the indices used by the non-isothermal two-phase two-component model.
 
file  dumux/porousmediumflow/nonisothermal/iofields.hh
 Adds I/O fields specific to non-isothermal models.
 
file  porousmediumflow/nonisothermal/localresidual.hh
 Element-wise calculation of the local residual for non-isothermal fully implicit models.
 
file  porousmediumflow/nonisothermal/model.hh
 The implicit non-isothermal model.
 
file  porousmediumflow/nonisothermal/volumevariables.hh
 Base class for the model specific class which provides access to all volume averaged quantities.
 

Classes

struct  Dumux::EnergyIndices< IsothermalIndices, numEq >
 Indices for the non-isothermal two-phase two-component model. More...
 
class  Dumux::EnergyIOFields< IsothermalIOFields >
 Adds I/O fields specific to non-isothermal models. More...
 
class  Dumux::EnergyIOFields< void >
 Adds I/O fields specific to non-isothermal models. More...
 
class  Dumux::EnergyLocalResidualImplementation< TypeTag, false >
 Element-wise calculation of the energy residual for non-isothermal problems. More...
 
class  Dumux::EnergyLocalResidualImplementation< TypeTag, true >
 TODO docme! More...
 
struct  Dumux::PorousMediumFlowNIModelTraits< IsothermalT >
 Specifies a number properties of non-isothermal porous medium flow models based on the specifics of a given isothermal model. More...
 
class  Dumux::EnergyVolumeVariablesImplementation< IsothermalTraits, Impl, false >
 The isothermal base class. More...
 

Typedefs

template<class IsothermalTraits , class Impl >
using Dumux::EnergyVolumeVariables = EnergyVolumeVariablesImplementation< IsothermalTraits, Impl, IsothermalTraits::ModelTraits::enableEnergyBalance()>
 Base class for the model specific class which provides access to all volume averaged quantities. More...
 

Typedef Documentation

◆ EnergyVolumeVariables

template<class IsothermalTraits , class Impl >
using Dumux::EnergyVolumeVariables = typedef EnergyVolumeVariablesImplementation<IsothermalTraits,Impl, IsothermalTraits::ModelTraits::enableEnergyBalance()>

Base class for the model specific class which provides access to all volume averaged quantities.

The volume variables base class is specialized for isothermal and non-isothermal models.