![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Stiff (infinite) pressure relaxation. More...
#include <RelaxationPInfinite.h>
Inherits RelaxationP.
Public Member Functions | |
| RelaxationPInfinite (const double threshold) | |
| ~RelaxationPInfinite () override | |
| void | relaxation (Cell *cell, const double &, Prim type=vecPhases) override |
| Stiff (infinite) Pressure relaxation method. | |
| Public Member Functions inherited from RelaxationP | |
| RelaxationP () | |
| ~RelaxationP () override | |
| int | getType () const override |
| Return the pressure-relaxation type. | |
| void | NewtonRaphson (double &pStar, int &iteration) |
| Newton-Raphson method for the infinite pressure relaxation. | |
| double | computeInterfacePressure (Cell *cell, Prim type=vecPhases) |
| Compute interface pressure. | |
| 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). | |
Private Attributes | |
| double | m_thresholdPressureRelaxation |
Stiff (infinite) pressure relaxation.
| RelaxationPInfinite::RelaxationPInfinite | ( | const double | threshold | ) |
|
override |
|
overridevirtual |
Stiff (infinite) Pressure relaxation method.
Call for this method computes the mechanical relaxed state in a given cell. Relaxed state is stored depending on the type enum.
| cell | cell to relax |
| dt | time step (not used here) |
| type | enumeration allowing to relax either state in the cell or second order half time step state |
Reimplemented from Relaxation.
|
private |