3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::EvalCflFluxCoats< TypeTag > Class Template Reference

Cfl-flux-function to evaluate a Cfl-Condition after Coats 2003. More...

#include <dumux/porousmediumflow/2p/sequential/transport/cellcentered/evalcflfluxcoats.hh>

Inheritance diagram for Dumux::EvalCflFluxCoats< TypeTag >:
Inheritance graph

Description

template<class TypeTag>
class Dumux::EvalCflFluxCoats< TypeTag >

Cfl-flux-function to evaluate a Cfl-Condition after Coats 2003.

tparam TypeTag The problem TypeTag

Public Member Functions

void initialize ()
 Initializes the cfl-flux-model. More...
 
void addFlux (Scalar &lambdaW, Scalar &lambdaNw, Scalar &viscosityW, Scalar &viscosityNw, Scalar flux, const Element &element, int phaseIdx=-1)
 adds a flux to the cfl-criterion evaluation More...
 
void addFlux (Scalar &lambdaW, Scalar &lambdaNw, Scalar &viscosityW, Scalar &viscosityNw, Scalar flux, const Intersection &intersection, int phaseIdx=-1)
 adds a flux to the cfl-criterion evaluation More...
 
Scalar getCflFluxFunction (const Element &element)
 Returns the Cfl flux-function. More...
 
Scalar getDt (const Element &element)
 Returns the Cfl time-step. More...
 
void reset ()
 Resets the Timestep-estimator. More...
 
 EvalCflFluxCoats (Problem &problem)
 Constructs an EvalCflFluxDefault object. More...
 

Constructor & Destructor Documentation

◆ EvalCflFluxCoats()

template<class TypeTag >
Dumux::EvalCflFluxCoats< TypeTag >::EvalCflFluxCoats ( Problem &  problem)
inline

Constructs an EvalCflFluxDefault object.

Parameters
problemA problem type object

Member Function Documentation

◆ addFlux() [1/2]

template<class TypeTag >
void Dumux::EvalCflFluxCoats< TypeTag >::addFlux ( Scalar &  lambdaW,
Scalar &  lambdaNw,
Scalar &  viscosityW,
Scalar &  viscosityNw,
Scalar  flux,
const Element &  element,
int  phaseIdx = -1 
)
inline

adds a flux to the cfl-criterion evaluation

Parameters
lambdaWwetting phase mobility
lambdaNwnon-wetting phase mobility
viscosityWwetting phase viscosity
viscosityNwnon-wetting phase viscosity
fluxflux to add
elementelement corresponding to the flux
phaseIdxindex of the phase (wetting, non-wetting)

◆ addFlux() [2/2]

template<class TypeTag >
void Dumux::EvalCflFluxCoats< TypeTag >::addFlux ( Scalar &  lambdaW,
Scalar &  lambdaNw,
Scalar &  viscosityW,
Scalar &  viscosityNw,
Scalar  flux,
const Intersection &  intersection,
int  phaseIdx = -1 
)
inline

adds a flux to the cfl-criterion evaluation

Parameters
lambdaWwetting phase mobility
lambdaNwnon-wetting phase mobility
viscosityWwetting phase viscosity
viscosityNwnon-wetting phase viscosity
fluxflux to add
intersectionintersection corresponding to the flux
phaseIdxindex of the phase (wetting, non-wetting)

◆ getCflFluxFunction()

template<class TypeTag >
Scalar Dumux::EvalCflFluxCoats< TypeTag >::getCflFluxFunction ( const Element &  element)
inline

Returns the Cfl flux-function.

Parameters
elementelement on which the CFL-criterion is evaluated
Returns
fluxFunction for the calculation of the CFL time-step ( \( 1/F_i \))

◆ getDt()

template<class TypeTag >
Scalar Dumux::EvalCflFluxCoats< TypeTag >::getDt ( const Element &  element)
inline

Returns the Cfl time-step.

Parameters
elementelement on which the CFL-criterion is evaluated
Returns
CFL time-step

◆ initialize()

template<class TypeTag >
void Dumux::EvalCflFluxCoats< TypeTag >::initialize ( )
inline

Initializes the cfl-flux-model.

◆ reset()

template<class TypeTag >
void Dumux::EvalCflFluxCoats< TypeTag >::reset ( )
inline

Resets the Timestep-estimator.


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