ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
RelaxationPInfinite Class Reference

Stiff (infinite) pressure relaxation. More...

#include <RelaxationPInfinite.h>

Inherits RelaxationP.

Public Member Functions

 RelaxationPInfinite ()
 
virtual ~RelaxationPInfinite ()
 
virtual void relaxation (Cell *cell, const double &, Prim type=vecPhases)
 Stiff (infinite) Pressure relaxation method.
 
- Public Member Functions inherited from RelaxationP
 RelaxationP ()
 
virtual ~RelaxationP ()
 
virtual int getType () const
 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)
 

Detailed Description

Stiff (infinite) pressure relaxation.

Constructor & Destructor Documentation

◆ RelaxationPInfinite()

RelaxationPInfinite::RelaxationPInfinite ( )

◆ ~RelaxationPInfinite()

RelaxationPInfinite::~RelaxationPInfinite ( )
virtual

Member Function Documentation

◆ relaxation()

void RelaxationPInfinite::relaxation ( Cell cell,
const double &  ,
Prim  type = vecPhases 
)
virtual

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.

Parameters
cellcell to relax
dttime step (not used here)
typeenumeration allowing to relax either state in the cell or second order half time step state

Reimplemented from Relaxation.


The documentation for this class was generated from the following files: