Default implementation of cfl-fluxes to evaluate a CFL-Condition. More...
#include <dumux/porousmediumflow/2p/sequential/transport/cellcentered/evalcflfluxdefault.hh>

Default implementation of cfl-fluxes to evaluate a CFL-Condition.
Compares the maximum of inflow and outflow to the element volume weighted by relative permeability and viscosity ratios.
| TypeTag | The problem TypeTag |
Public Member Functions | |
| 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 accumulated CFL-fluxes to zero More... | |
| EvalCflFluxDefault (Problem &problem) | |
| Constructs an EvalCflFluxDefault object. More... | |
| void | initialize () |
| For initialization. More... | |
|
inline |
Constructs an EvalCflFluxDefault object.
| problem | A problem type object |
|
inline |
adds a flux to the cfl-criterion evaluation
| lambdaW | wetting phase mobility |
| lambdaNw | non-wetting phase mobility |
| viscosityW | wetting phase viscosity |
| viscosityNw | non-wetting phase viscosity |
| flux | flux to add |
| element | element corresponding to the flux |
| phaseIdx | index of the phase (wetting, non-wetting) |
|
inline |
adds a flux to the cfl-criterion evaluation
| lambdaW | wetting phase mobility |
| lambdaNw | non-wetting phase mobility |
| viscosityW | wetting phase viscosity |
| viscosityNw | non-wetting phase viscosity |
| flux | flux to add |
| intersection | intersection corresponding to the flux |
| phaseIdx | index of the phase (wetting, non-wetting) |
| EvalCflFluxDefault< TypeTag >::Scalar Dumux::EvalCflFluxDefault< TypeTag >::getCflFluxFunction | ( | const Element & | element | ) |
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 |
|
inlineinherited |
For initialization.
|
inline |
resets the accumulated CFL-fluxes to zero