![]() |
ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Model class for Euler Flux (single phase) More...
#include <FluxEuler.h>
Inherits Flux.
Public Member Functions | |
FluxEuler () | |
virtual | ~FluxEuler () |
virtual void | printFlux () const |
virtual void | addFlux (double coefA) |
Add flux to the corresponding model flux. | |
virtual void | addFlux (Flux *flux) |
Add flux passed in parameter to the correspond model flux. | |
virtual void | subtractFlux (double coefA) |
Subtract flux to the corresponding model buffer flux. | |
virtual void | addFluxRotatingRegion (double coefA) |
Add flux to the rotating region in MRF context. | |
virtual void | subtractFluxRotatingRegion (double coefA) |
Subtract flux to the rotating region in MRF context. | |
virtual void | multiply (double scalar) |
multiply the flux of the corresponding model by a constant | |
virtual void | setBufferFlux (Cell &cell) |
Temporary store the conservative variables of a given cell. | |
virtual void | buildCons (Phase **phase, Mixture *) |
Build the conservative variables for a given cell from primitive one. | |
virtual void | buildPrim (Phase **phase, Mixture *) |
Build the primitive variables for a given cell from conservative one. | |
virtual void | setToZero () |
set each attribute of the flux to zero | |
virtual void | addNonCons (double, const Cell *, const Coord &, const Coord &, const Coord &) |
Add non conservative term to the flux. | |
virtual void | subtractNonCons (double, const Cell *, const Coord &, const Coord &, const Coord &) |
Subtract non conservative term to the flux. | |
virtual void | addFluxSmooth1D (double coefA, const Coord &normal, Cell *cell) |
Compute additionnal flux for 1D geometry with smooth varying cross sectionFlux). | |
virtual void | substractFluxSmooth1D (double coefA, const Coord &normal, Cell *cell) |
Compute additionnal flux for 1D geometry with smooth varying cross section. | |
virtual void | addSymmetricTerms (Phase **phases, Mixture *, const double &r, const double &v) |
Add symetric terms. | |
virtual void | prepSourceTermsGravity (const Coord &g) |
Gravity source term. | |
virtual void | prepSourceTermsHeating (const double &q) |
Heating source term. | |
virtual void | prepSourceTermsMRF (Cell *cell, const Coord &omega) |
MRF source term. | |
virtual void | addNonConsMrfFlux (Phase **) |
virtual const Coord & | getMomentum () const |
virtual const double & | getMassMix () const |
virtual const double & | getEnergyMix () const |
virtual void | setCons (const Flux *cons) |
![]() | |
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 const double & | getAlpha (const int &) const |
virtual const double & | getMass (const int &) const |
virtual const double & | getEqOmega () const |
virtual const double & | getEqEta () const |
virtual const double & | getEnergy (const int &) 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 & | getEqVectorP () const |
Protected Attributes | |
double | m_mass |
mass | |
Coord | m_momentum |
momentum | |
double | m_energ |
total energy | |
![]() | |
double | m_sM |
Fluid velocity for intercell interfaces. | |
double | m_uStar |
Velocity solution of the Riemann problem !VERY IMPORTANT! DO NOT ERASE! | |
Friends | |
class | ModEuler |
class | APEuler |
class | APEViscosity |
class | APEConductivity |
FluxEuler::FluxEuler | ( | ) |
|
virtual |
|
virtual |
Add flux to the corresponding model flux.
coefA | possibility to multiply the flux before adding (set 1.d0 if not needed) |
Reimplemented from Flux.
|
virtual |
Add flux passed in parameter to the correspond model flux.
flux | flux to add to the current one |
Reimplemented from Flux.
|
virtual |
Add flux to the rotating region in MRF context.
coefA | possibility to multiply the flux before adding (set 1.d0 if not needed) |
Reimplemented from Flux.
Compute additionnal flux for 1D geometry with smooth varying cross sectionFlux).
Reimplemented from Flux.
|
inlinevirtual |
Add non conservative term to the flux.
coefA | possibility to multiply the non conservative term before adding (set 1.d0 if not needed) |
cell | reference cell used to approximate the non conservative term |
normal | normal vector of the treated face |
tangent | tangent vector of the treated face |
binormal | binormal vector of the treated face |
Reimplemented from Flux.
|
virtual |
Add symetric terms.
r | radial distance of the cell from the axis of symmetry |
v | velocity in the radial direction |
Reimplemented from Flux.
|
inlinevirtual |
Reimplemented from Flux.
|
inlinevirtual |
Reimplemented from Flux.
|
virtual |
multiply the flux of the corresponding model by a constant
scalar | constant |
Reimplemented from Flux.
|
virtual |
Gravity source term.
Reimplemented from Flux.
|
virtual |
Heating source term.
Reimplemented from Flux.
MRF source term.
Reimplemented from Flux.
|
virtual |
Reimplemented from Flux.
|
virtual |
Temporary store the conservative variables of a given cell.
The conservatvie variables are temporary stored in the corresponding model buffer flux
cell | cell used for conservative variables calculus |
Reimplemented from Flux.
|
virtual |
set each attribute of the flux to zero
Reimplemented from Flux.
Compute additionnal flux for 1D geometry with smooth varying cross section.
Reimplemented from Flux.
|
virtual |
Subtract flux to the corresponding model buffer flux.
coefA | possibility to multiply the flux before subtraction (set 1.d0 if not needed) |
Reimplemented from Flux.
|
virtual |
Subtract flux to the rotating region in MRF context.
coefA | possibility to multiply the flux before subtraction (set 1.d0 if not needed) |
Reimplemented from Flux.
|
inlinevirtual |
Subtract non conservative term to the flux.
coefA | possibility to multiply the non conservative term before subtraction (set 1.d0 if not needed) |
cell | reference cell used to approximate the non conservative term |
normal | normal vector of the treated face |
tangent | tangent vector of the treated face |
binormal | binormal vector of the treated face |
Reimplemented from Flux.
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
total energy
|
protected |
mass
|
protected |
momentum