![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Model class for Extended Navier-Stokes-Korteweg Flux (single phase). More...
#include <FluxExtendedNavierStokesKorteweg1D.h>
Inherits Flux.
Public Member Functions | |
| FluxExtendedNavierStokesKorteweg1D () | |
| ~FluxExtendedNavierStokesKorteweg1D () 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 | 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 **phase, Mixture *) override |
| Build the conservative variables for a given cell from primitive one. | |
| void | buildPrim (Phase **phase, Mixture *) override |
| Build the primitive variables for a given cell from conservative one. | |
| void | setToZero () override |
| set each attribute of the flux to zero | |
| void | addNonCons (double, const Cell *, const Coord &, const Coord &, const Coord &) override |
| Add non conservative term to the flux. | |
| void | subtractNonCons (double, const Cell *, const Coord &, const Coord &, const Coord &) override |
| Subtract non conservative term to the flux. | |
| void | addSymmetricTerms (Phase **, Mixture *, const double &, const double &) override |
| Add symetric terms. | |
| void | prepSourceTermsGravity (const Coord &) override |
| Gravity source term. | |
| void | prepSourceTermsHeating (const double &) override |
| Heating source term. | |
| void | prepSourceTermsMRF (Cell *, const Coord &) override |
| MRF source term. | |
| void | prepSourceTermsPlaneWave (const Cell *, const double &, const Coord &) override |
| This prepares Plane-Gaussian-pulse and Plane-Sinusoidal-pulse source terms. | |
| const double & | getMassMix () const override |
| const double & | getEqOmega () const override |
| const double & | getEqDensitySurEta () const override |
| const Coord & | getMomentum () const override |
| const Coord & | getEqVectorP () const override |
| const double & | getEnergyMix () const override |
| void | setCons (const Flux *cons) override |
| Public Member Functions inherited from Flux | |
| Flux () | |
| virtual | ~Flux () |
| virtual void | addFluxRotatingRegion (double) |
| Add flux to the rotating region in MRF context. | |
| virtual void | subtractFluxRotatingRegion (double) |
| Subtract flux to the rotating region in MRF context. | |
| 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 | 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 & | getAlpha (const int &) const |
| virtual const double & | getMass (const int &) 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 & | getMomentum (const int &) const |
Protected Attributes | |
| double | m_mass |
| Mass. | |
| double | m_eqOmega |
| Omega equation (omega: time derivative of eta). | |
| double | m_eqDensitySurEta |
| Eta equation. | |
| Coord | m_momentum |
| Momentum. | |
| Coord | m_eqVectorP |
| Equation for vector P (P: gradient of eta). | |
| double | m_energ |
| Total energy. | |
| 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! | |
Friends | |
| class | ModExtendedNavierStokesKorteweg1D |
| FluxExtendedNavierStokesKorteweg1D::FluxExtendedNavierStokesKorteweg1D | ( | ) |
|
override |
|
overridevirtual |
Add flux to the corresponding model flux.
| coefA | possibility to multiply the flux before adding (set 1.d0 if not needed) |
Reimplemented from Flux.
|
overridevirtual |
Add flux passed in parameter to the correspond model flux.
| flux | flux to add to the current one |
Reimplemented from Flux.
|
inlineoverridevirtual |
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.
|
inlineoverridevirtual |
Add symetric terms.
| r | radial distance of the cell from the axis of symmetry |
| v | velocity in the radial direction |
Reimplemented from Flux.
Build the conservative variables for a given cell from primitive one.
| phases | Phases array used for conservative variables calculus |
| mixture | Mixture used for conservative variables calculus |
Reimplemented from Flux.
|
inlineoverridevirtual |
Reimplemented from Flux.
|
inlineoverridevirtual |
Reimplemented from Flux.
|
inlineoverridevirtual |
Reimplemented from Flux.
|
inlineoverridevirtual |
Reimplemented from Flux.
|
inlineoverridevirtual |
Reimplemented from Flux.
|
inlineoverridevirtual |
Reimplemented from Flux.
|
overridevirtual |
multiply the flux of the corresponding model by a constant
| scalar | constant |
Reimplemented from Flux.
|
inlineoverridevirtual |
Gravity source term.
Reimplemented from Flux.
|
inlineoverridevirtual |
Heating source term.
Reimplemented from Flux.
|
inlineoverridevirtual |
MRF source term.
Reimplemented from Flux.
|
inlineoverridevirtual |
This prepares Plane-Gaussian-pulse and Plane-Sinusoidal-pulse source terms.
Reimplemented from Flux.
|
overridevirtual |
Reimplemented from Flux.
|
overridevirtual |
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.
|
overridevirtual |
|
overridevirtual |
set each attribute of the flux to zero
Reimplemented from Flux.
|
overridevirtual |
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.
|
inlineoverridevirtual |
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 |
|
protected |
Total energy.
|
protected |
Eta equation.
|
protected |
Omega equation (omega: time derivative of eta).
|
protected |
Equation for vector P (P: gradient of eta).
|
protected |
Mass.
|
protected |
Momentum.