Base class for implementations of different kinds of fluxes to evaluate a CFL-Condition. More...
#include <dumux/porousmediumflow/2p/sequential/transport/cellcentered/evalcflflux.hh>
Base class for implementations of different kinds of fluxes to evaluate a CFL-Condition.
Base class for implementations of different kinds of fluxes to evaluate a CFL-Condition of the form
\frac{F_i \Delta t}{V_{p_i}} < 1
where V_{p_i} is the pore volume of cell i and
F_i = \sum f_{ij}
with f_{ij} being the CFL-flux over edge ij .
TypeTag | The problem TypeTag |
Public Member Functions | |
void | initialize () |
For initialization. More... | |
void | addFlux (Scalar &lambdaW, Scalar &lambdaNw, Scalar &viscosityW, Scalar &viscosityNw, Scalar flux, const Intersection &intersection, int phaseIdx) |
adds a flux to the cfl-criterion evaluation More... | |
void | addFlux (Scalar &lambdaW, Scalar &lambdaNw, Scalar &viscosityW, Scalar &viscosityNw, Scalar flux, const Element &element, int phaseIdx) |
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 () |
reset function More... | |
EvalCflFlux () | |
Constructs a EvalCflFlux instance. More... | |
|
inline |
Constructs a EvalCflFlux instance.
|
inline |
adds a flux to the cfl-criterion evaluation
lambdaW | wetting phase mobility |
lambdaNw | nonwetting phase mobility |
viscosityW | wetting phase viscosity |
viscosityNw | nonwetting phase viscosity |
flux | flux to add |
element | element corresponding to the flux |
phaseIdx | index of the phase (wetting, nonwetting) |
|
inline |
adds a flux to the cfl-criterion evaluation
lambdaW | wetting phase mobility |
lambdaNw | nonwetting phase mobility |
viscosityW | wetting phase viscosity |
viscosityNw | nonwetting phase viscosity |
flux | flux to add |
intersection | intersection corresponding to the flux |
phaseIdx | index of the phase (wetting, nonwetting) |
|
inline |
Returns the CFL flux-function.
element | element on which the CFL-criterion is evaluated |
|
inline |
Returns the CFL time-step.
element | element on which the CFL-criterion is evaluated |
|
inline |
For initialization.
|
inline |
reset function