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

Flux class for the non-equilibrium system of equations using HLL. More...

#include <FluxNEqHLL.h>

Inherits FluxNEq.

Collaboration diagram for FluxNEqHLL:
[legend]

Public Member Functions

 FluxNEqHLL (const int &numbPhases)
 ~FluxNEqHLL () override
void setToZero () override
 set each attribute of the flux to zero
void addNonCons (double coefA, const Cell *, const Coord &normal, const Coord &tangent, const Coord &binormal) override
 Add non conservative term to the flux.
void subtractNonCons (double coefA, const Cell *, const Coord &normal, const Coord &tangent, const Coord &binormal) override
 Subtract non conservative term to the flux.
Public Member Functions inherited from FluxNEq
 FluxNEq (const int &numbPhases)
 ~FluxNEq () override
void printFlux () const override
void addFlux (double coefA) override
 Add flux to the corresponding model flux.
void addFlux (Flux *flux) override
 Add flux passed in parameter to the correspond model flux.
void subtractFlux (double coefA) override
 Subtract flux to the corresponding model buffer flux.
void addFluxRotatingRegion (double coefA) override
 Add flux to the rotating region in MRF context.
void subtractFluxRotatingRegion (double coefA) override
 Subtract flux to the rotating region in MRF context.
void multiply (double scalar) override
 multiply the flux of the corresponding model by a constant
void setBufferFlux (Cell &cell) override
 Temporary store the conservative variables of a given cell.
void buildCons (Phase **phases, Mixture *) override
 Build the conservative variables for a given cell from primitive one.
void buildPrim (Phase **phases, Mixture *mixture) override
 Build the primitive variables for a given cell from conservative one.
virtual void addSymmetricTerms (Phase **phases, Mixture *mixture, const double &r, const double &v) override
 Adds a geometric source term to simulate symmetry along one axis (cylindrical axisymmetry) or two axes (spherical axisymmetry).
const double & getAlpha (const int &numPhase) const override
const double & getMass (const int &numPhase) const override
const double & getEnergy (const int &numPhase) const override
const Coord & getMomentum (const int &numPhase) const override
void setCons (const Flux *cons) override
Public Member Functions inherited from Flux
 Flux ()
virtual ~Flux ()
virtual void correctionEnergy (Cell *, Prim=vecPhases) const
 Method to correct energy in non conservative models using total energy conservation.
virtual void schemeCorrection (Cell &) const
virtual void prepSourceTermsGravity (const Coord &)
 Gravity source term.
virtual void prepSourceTermsHeating (const double &)
 Heating source term.
virtual void prepSourceTermsMRF (Cell *, const Coord &)
 MRF source term.
virtual void prepSourceTermsPlaneWave (const Cell *, const double &, const Coord &)
 This prepares Plane-Gaussian-pulse and Plane-Sinusoidal-pulse source terms.
virtual void addFluxSmooth1D (double, const Coord &, Cell *)
 Compute additionnal flux for 1D geometry with smooth varying cross sectionFlux).
virtual void substractFluxSmooth1D (double, const Coord &, Cell *)
 Compute additionnal flux for 1D geometry with smooth varying cross section.
virtual void addNonConsMrfFlux (Phase **)
virtual const double & getEnergyMix () const
virtual const double & getMassMix () const
virtual const double & getEqOmega () const
virtual const double & getEqDensitySurEta () const
virtual const double & getTotEnergy (const int &) const
virtual const double & getLambda (const int &) const
virtual const Tensor & getCobase (const int &) const
virtual const Coord & getMomentum () const
virtual const Coord & getEqVectorP () const

Public Attributes

double * m_alphaL
 array of left volume fraction, for non-conservative terms
double * m_alphaR
 array of right volume fraction, for non-conservative terms
double * m_sL
 rarefaction wave estimation for non-conservative terms
double * m_sR
 shock wave estimation for non-conservative terms

Additional Inherited Members

Protected Attributes inherited from FluxNEq
double * m_alpha
 volume fraction array
double * m_mass
 mass array
double * m_energ
 specific total energy array
Coord * m_momentum
 momentum array
double m_uI
 interfacial velocity
double m_pI
 interfacial pressure
Protected Attributes inherited from Flux
double m_sM
 Fluid velocity for intercell interfaces.
double m_uStar
 Velocity solution of the Riemann problem !VERY IMPORTANT! DO NOT ERASE!

Detailed Description

Flux class for the non-equilibrium system of equations using HLL.

Constructor & Destructor Documentation

◆ FluxNEqHLL()

FluxNEqHLL::FluxNEqHLL ( const int & numbPhases)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~FluxNEqHLL()

FluxNEqHLL::~FluxNEqHLL ( )
override

Member Function Documentation

◆ addNonCons()

void FluxNEqHLL::addNonCons ( double ,
const Cell * ,
const Coord & ,
const Coord & ,
const Coord &  )
overridevirtual

Add non conservative term to the flux.

Parameters
coefApossibility to multiply the non conservative term before adding (set 1.d0 if not needed)
cellreference cell used to approximate the non conservative term
normalnormal vector of the treated face
tangenttangent vector of the treated face
binormalbinormal vector of the treated face

Reimplemented from FluxNEq.

Here is the call graph for this function:

◆ setToZero()

void FluxNEqHLL::setToZero ( )
overridevirtual

set each attribute of the flux to zero

Reimplemented from FluxNEq.

◆ subtractNonCons()

void FluxNEqHLL::subtractNonCons ( double ,
const Cell * ,
const Coord & ,
const Coord & ,
const Coord &  )
overridevirtual

Subtract non conservative term to the flux.

Parameters
coefApossibility to multiply the non conservative term before subtraction (set 1.d0 if not needed)
cellreference cell used to approximate the non conservative term
normalnormal vector of the treated face
tangenttangent vector of the treated face
binormalbinormal vector of the treated face

Reimplemented from FluxNEq.

Here is the call graph for this function:

Member Data Documentation

◆ m_alphaL

double* FluxNEqHLL::m_alphaL

array of left volume fraction, for non-conservative terms

◆ m_alphaR

double* FluxNEqHLL::m_alphaR

array of right volume fraction, for non-conservative terms

◆ m_sL

double* FluxNEqHLL::m_sL

rarefaction wave estimation for non-conservative terms

◆ m_sR

double* FluxNEqHLL::m_sR

shock wave estimation for non-conservative terms


The documentation for this class was generated from the following files:
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Models/NEq/FluxNEq/FluxNEqHLL.h
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Models/NEq/FluxNEq/FluxNEqHLL.cpp