ECOGEN 6.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.

Collaboration diagram for RelaxationPInfinite:
[legend]

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

Detailed Description

Stiff (infinite) pressure relaxation.

Constructor & Destructor Documentation

◆ RelaxationPInfinite()

RelaxationPInfinite::RelaxationPInfinite ( const double threshold)

◆ ~RelaxationPInfinite()

RelaxationPInfinite::~RelaxationPInfinite ( )
override

Member Function Documentation

◆ relaxation()

void RelaxationPInfinite::relaxation ( Cell * cell,
const double & ,
Prim type = vecPhases )
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.

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.

Here is the call graph for this function:

Member Data Documentation

◆ m_thresholdPressureRelaxation

double RelaxationPInfinite::m_thresholdPressureRelaxation
private

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