![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Velocity relaxation. More...
#include <RelaxationU.h>
Inherits Relaxation.
Public Member Functions | |
| RelaxationU () | |
| ~RelaxationU () override | |
| int | getType () const override |
| Return the velocity-relaxation type. | |
| void | relaxation (Cell *cell, const double &, Prim type=vecPhases) override |
| Stiff velocity relaxation methods. | |
| Coord | computeInterfaceVelocity (Cell *cell, Prim type=vecPhases) |
| Compute interface velocity. | |
| Public Member Functions inherited from Relaxation | |
| Relaxation () | |
| virtual | ~Relaxation () |
| virtual void | initializeCriticalPressure (Cell *) |
| Initialize the theoritical critical pressure of the fluid (only required for PTMu relax). | |
Velocity relaxation.
| RelaxationU::RelaxationU | ( | ) |
|
override |
Compute interface velocity.
Call for this method computes the interface velocity in a cell.
| cell | cell |
| type | enumeration allowing to relax either state in the cell or second order half time step state |
|
inlineoverridevirtual |
Return the velocity-relaxation type.
Reimplemented from Relaxation.
|
overridevirtual |
Stiff velocity relaxation methods.
Call for this method computes the relaxed velocity state in a given cell.
| cell | cell to relax |
| dt | time step |
| type | enumeration allowing to relax either state in the cell or second order half time step state |
Reimplemented from Relaxation.