All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Ewoms::EnergyModule< TypeTag, false > Class Template Reference

Provides the auxiliary methods required for consideration of the energy equation. More...

#include <energymodule.hh>

Static Public Member Functions

static void registerParameters ()
 Register all run-time parameters for the energy module.
 
static std::string primaryVarName (unsigned pvIdx OPM_UNUSED)
 Returns the name of a primary variable or an empty string if the specified primary variable index does not belong to the energy module.
 
static std::string eqName (unsigned eqIdx OPM_UNUSED)
 Returns the name of an equation or an empty string if the specified equation index does not belong to the energy module.
 
static Scalar primaryVarWeight (const Model &model OPM_UNUSED, unsigned globalDofIdx OPM_UNUSED, unsigned pvIdx OPM_UNUSED)
 Returns the relative weight of a primary variable for calculating relative errors.
 
static Scalar eqWeight (const Model &model OPM_UNUSED, unsigned globalDofIdx OPM_UNUSED, unsigned eqIdx OPM_UNUSED)
 Returns the relative weight of a equation of the residual.
 
template<class FluidState >
static void setPriVarTemperatures (PrimaryVariables &priVars OPM_UNUSED, const FluidState &fs OPM_UNUSED)
 Given a fluid state, set the temperature in the primary variables.
 
template<class RateVector , class FluidState >
static void setEnthalpyRate (RateVector &rateVec OPM_UNUSED, const FluidState &fluidState OPM_UNUSED, unsigned phaseIdx OPM_UNUSED, const Evaluation &volume OPM_UNUSED)
 Given a fluid state, set the enthalpy rate which emerges from a volumetric rate.
 
static void setEnthalpyRate (RateVector &rateVec OPM_UNUSED, const Evaluation &rate OPM_UNUSED)
 Add the rate of the enthalpy flux to a rate vector.
 
static void addToEnthalpyRate (RateVector &rateVec OPM_UNUSED, const Evaluation &rate OPM_UNUSED)
 Add the rate of the enthalpy flux to a rate vector.
 
static Scalar heatConductionRate (const ExtensiveQuantities &extQuants OPM_UNUSED)
 Add the rate of the conductive heat flux to a rate vector.
 
template<class LhsEval >
static void addPhaseStorage (Dune::FieldVector< LhsEval, numEq > &storage OPM_UNUSED, const IntensiveQuantities &intQuants OPM_UNUSED, unsigned phaseIdx OPM_UNUSED)
 Add the energy storage term for a fluid phase to an equation vector.
 
template<class LhsEval , class Scv >
static void addFracturePhaseStorage (Dune::FieldVector< LhsEval, numEq > &storage OPM_UNUSED, const IntensiveQuantities &intQuants OPM_UNUSED, const Scv &scv OPM_UNUSED, unsigned phaseIdx OPM_UNUSED)
 Add the energy storage term for a fluid phase to an equation vector.
 
template<class LhsEval >
static void addSolidHeatStorage (Dune::FieldVector< LhsEval, numEq > &storage OPM_UNUSED, const IntensiveQuantities &intQuants OPM_UNUSED)
 Add the energy storage term for the fracture part a fluid phase to an equation vector.
 
template<class Context >
static void addAdvectiveFlux (RateVector &flux OPM_UNUSED, const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED)
 Evaluates the advective energy fluxes over a face of a subcontrol volume and adds the result in the flux vector. More...
 
template<class Context >
static void handleFractureFlux (RateVector &flux OPM_UNUSED, const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED)
 Evaluates the advective energy fluxes over a fracture which should be attributed to a face of a subcontrol volume and adds the result in the flux vector.
 
template<class Context >
static void addDiffusiveFlux (RateVector &flux OPM_UNUSED, const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED)
 Adds the diffusive heat flux to the flux vector over the face of a sub-control volume. More...
 

Detailed Description

template<class TypeTag>
class Ewoms::EnergyModule< TypeTag, false >

Provides the auxiliary methods required for consideration of the energy equation.

Member Function Documentation

template<class TypeTag >
template<class Context >
static void Ewoms::EnergyModule< TypeTag, false >::addAdvectiveFlux ( RateVector &flux  OPM_UNUSED,
const Context &context  OPM_UNUSED,
unsigned spaceIdx  OPM_UNUSED,
unsigned timeIdx  OPM_UNUSED 
)
inlinestatic

Evaluates the advective energy fluxes over a face of a subcontrol volume and adds the result in the flux vector.

This method is called by compute flux (base class)

template<class TypeTag >
template<class Context >
static void Ewoms::EnergyModule< TypeTag, false >::addDiffusiveFlux ( RateVector &flux  OPM_UNUSED,
const Context &context  OPM_UNUSED,
unsigned spaceIdx  OPM_UNUSED,
unsigned timeIdx  OPM_UNUSED 
)
inlinestatic

Adds the diffusive heat flux to the flux vector over the face of a sub-control volume.

This method is called by compute flux (base class)


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