![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Flux class for the velocity-equilibrium system of equations. More...
#include <FluxUEq.h>
Inherits Flux.
Inherited by FluxPUEq.
Public Member Functions | |
| FluxUEq (const int &numbPhases) | |
| ~FluxUEq () 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 *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. | |
| void | setToZero () override |
| set each attribute of the flux to zero | |
| void | addNonCons (double coefA, const Cell *cell, const Coord &, const Coord &, const Coord &) override |
| Add non conservative term to the flux. | |
| void | subtractNonCons (double coefA, const Cell *cell, const Coord &, const Coord &, const Coord &) override |
| Subtract non conservative term to the flux. | |
| void | schemeCorrection (Cell &cell) const override |
| void | addFluxSmooth1D (double coefA, const Coord &normal, Cell *cell) override |
| Compute additionnal flux for 1D geometry with smooth varying cross sectionFlux). | |
| void | substractFluxSmooth1D (double coefA, const Coord &normal, Cell *cell) override |
| Compute additionnal flux for 1D geometry with smooth varying cross section. | |
| void | addSymmetricTerms (Phase **phases, Mixture *mixture, const double &r, const double &v) override |
| Add symetric terms. | |
| void | prepSourceTermsGravity (const Coord &g) override |
| Gravity source term. | |
| void | prepSourceTermsHeating (const double &q) override |
| Heating source term. | |
| void | prepSourceTermsMRF (Cell *cell, const Coord &omega) override |
| MRF source term. | |
| void | prepSourceTermsPlaneWave (const Cell *cell, const double &sourceMomentum, const Coord &pulseDirection) override |
| This prepares Plane-Gaussian-pulse and Plane-Sinusoidal-pulse source terms. | |
| void | addNonConsMrfFlux (Phase **phases) override |
| 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 override |
| const double & | getEnergyMix () 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 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 int &) const |
| virtual const Coord & | getEqVectorP () const |
Protected Attributes | |
| double * | m_alpha |
| volume fraction array | |
| double * | m_mass |
| mass array | |
| double * | m_energ |
| specific internal energy array | |
| Coord | m_momentum |
| momentum array | |
| double | m_energMixture |
| mixture 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 | ModUEq |
| class | APUEqSurfaceTension |
| class | APUEqViscosity |
| class | APUEqConductivity |
Flux class for the velocity-equilibrium system of equations.
| FluxUEq::FluxUEq | ( | const int & | numbPhases | ) |
|
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.
|
overridevirtual |
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.
|
overridevirtual |
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.
|
overridevirtual |
|
overridevirtual |
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 |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from Flux.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
multiply the flux of the corresponding model by a constant
| scalar | constant |
Reimplemented from Flux.
|
overridevirtual |
|
overridevirtual |
Heating source term.
Reimplemented from Flux.
|
overridevirtual |
This prepares Plane-Gaussian-pulse and Plane-Sinusoidal-pulse source terms.
Reimplemented from Flux.
|
overridevirtual |
Reimplemented from Flux.
|
overridevirtual |
|
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.
Compute additionnal flux for 1D geometry with smooth varying cross section.
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.
|
overridevirtual |
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.
|
overridevirtual |
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 |
volume fraction array
|
protected |
specific internal energy array
|
protected |
mixture energy
|
protected |
mass array
|
protected |
momentum array