![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Pressure-Temperature relaxation. More...
#include <RelaxationPT.h>
Inherits Relaxation.
Public Member Functions | |
| RelaxationPT () | |
| ~RelaxationPT () override | |
| void | relaxation (Cell *cell, const double &, Prim type=vecPhases) override |
| Stiff Pressure-Temperature relaxation method. | |
| double | analyticalPressure (Cell *cell, Prim type=vecPhases) const |
| Pressure determination with analytical formulae for 2 phases governed by SG or IG EOS. | |
| double | analyticalTemperature (double pressure, Cell *cell, Prim type=vecPhases) const |
| Temperature calculus with analytical formulae for N phases governed by SG or IG EOS. | |
| int | getType () const override |
| Return the pressure- and temperature-relaxation type. | |
| 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). | |
Pressure-Temperature relaxation.
| RelaxationPT::RelaxationPT | ( | ) |
|
override |
Pressure determination with analytical formulae for 2 phases governed by SG or IG EOS.
call for this method determines the pressure using the analytical formulae only valid in the specific case of 2 phases governed by SG or IG EOS
| cell | cell to relax |
| type | enumeration allowing to relax either state in the cell or second order half time step state |
| double RelaxationPT::analyticalTemperature | ( | double | pressure, |
| Cell * | cell, | ||
| Prim | type = vecPhases ) const |
Temperature calculus with analytical formulae for N phases governed by SG or IG EOS.
call for this method computes the temprerature for N phases governed by SG or IG EOS using the known relaxed pressure
| pressure | the value of relaxed pressure |
| cell | cell to relax |
| type | enumeration allowing to relax either state in the cell or second order half time step state |
|
inlineoverridevirtual |
Return the pressure- and temperature-relaxation type.
Reimplemented from Relaxation.
|
overridevirtual |
Stiff Pressure-Temperature relaxation method.
call for this method computes the mechanical and thermal 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.