![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
General class for additional physics. More...
#include <AddPhys.h>
Inherited by APEuler, and APUEq.
Public Member Functions | |
| AddPhys () | |
| virtual | ~AddPhys () |
| virtual void | addQuantityAddPhys (Cell *) |
| Add the quantities for the additional physics. | |
| virtual std::string | whoAmI () const |
| virtual double | computeEnergyAddPhys (QuantitiesAddPhys *) |
| Compute and send back mass energy linked to the physics (0 if no linked energy). | |
| void | computeFluxAddPhys (CellInterface *cellInterface) |
| Compute the additional physics flux between two cells. | |
| void | computeFluxAddPhysBoundary (CellInterface *cellInterface) |
| Compute the additional physics flux at a domain boundary. | |
| void | addNonConsAddPhys (Cell *cell) |
| Add the non-conservative terms of the additional physics in a cell. | |
| virtual void | solveFluxAddPhys (CellInterface *) |
| Solve the additional physics flux between two cells. | |
| virtual void | solveFluxAddPhysBoundary (CellInterface *) |
| Solve the additional physics flux at a domain boundary. | |
| virtual void | addFluxAddPhys (CellInterface *cellInterface, const double &coefAMR) |
| Add the additional physics flux between two cells at the corresponding cell. | |
| virtual void | subtractFluxAddPhys (CellInterface *cellInterface, const double &coefAMR) |
| Subtract the additional physics flux between two cells at the corresponding cell. | |
| virtual void | addNonCons (Cell *) |
| Add the non-conservative terms of the corresponding additional physics in a cell. | |
| virtual void | addSymmetricTermsRadialAxisOnX (Cell *) |
| Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on X). | |
| virtual void | addSymmetricTermsRadialAxisOnY (Cell *) |
| Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on Y). | |
| virtual void | reinitializeColorFunction (std::vector< Cell * > *, const int &) |
| Reinitialize the color function for the surface-tension terms with the volume fraction equation. | |
| virtual bool | reinitializationActivated () |
| Send back true if the reinitialization of the color function is activated. | |
| virtual void | communicationsAddPhys (const int &, const int &) |
| Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinement. | |
| virtual const int & | getNumTransportAssociated () const |
| Return the associated number of the transport equation (only used for surface tension). | |
| virtual void | computeTurbulenceParameters () const |
| Print the diagnostics for turbulence decay cases. | |
General class for additional physics.
This is a pure virtual class: can not be instantiated
| AddPhys::AddPhys | ( | ) |
|
virtual |
|
virtual |
Add the additional physics flux between two cells at the corresponding cell.
| cellInterface | cell interface |
| coefAMR | Adaptive Mesh Refinement coefficient for numerical scheme purposes |
|
inlinevirtual |
Add the non-conservative terms of the corresponding additional physics in a cell.
| cell | cell |
Reimplemented in APEConductivity, APETurbulenceSmagorinsky, APEViscosity, APUEqConductivity, APUEqSurfaceTension, and APUEqViscosity.
| void AddPhys::addNonConsAddPhys | ( | Cell * | cell | ) |
Add the non-conservative terms of the additional physics in a cell.
| cell | cell |
|
inlinevirtual |
Add the quantities for the additional physics.
| cell | corresponding cell |
Reimplemented in APEConductivity, APETurbulenceSmagorinsky, APEViscosity, APUEqConductivity, APUEqSurfaceTension, and APUEqViscosity.
|
inlinevirtual |
Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on X).
| cell | cell |
Reimplemented in APETurbulenceSmagorinsky, APEViscosity, APUEqSurfaceTension, and APUEqViscosity.
|
inlinevirtual |
Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on Y).
| cell | cell |
Reimplemented in APETurbulenceSmagorinsky, APEViscosity, APUEqSurfaceTension, and APUEqViscosity.
|
inlinevirtual |
Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinement.
| dim | dimension |
| lvl | level |
Reimplemented in APEConductivity, APETurbulenceSmagorinsky, APEViscosity, APUEqConductivity, APUEqSurfaceTension, and APUEqViscosity.
|
inlinevirtual |
Compute and send back mass energy linked to the physics (0 if no linked energy).
| QPA | corresponding additional physics quantities |
Reimplemented in APUEqSurfaceTension.
| void AddPhys::computeFluxAddPhys | ( | CellInterface * | cellInterface | ) |
Compute the additional physics flux between two cells.
| cellInterface | cell interface |
| void AddPhys::computeFluxAddPhysBoundary | ( | CellInterface * | cellInterface | ) |
Compute the additional physics flux at a domain boundary.
| cellInterface | cell interface |
|
inlinevirtual |
Print the diagnostics for turbulence decay cases.
Reimplemented in APEConductivity, APETurbulenceSmagorinsky, and APEViscosity.
|
inlinevirtual |
Return the associated number of the transport equation (only used for surface tension).
Reimplemented in APUEqSurfaceTension.
|
inlinevirtual |
Send back true if the reinitialization of the color function is activated.
Reimplemented in APUEqSurfaceTension.
|
inlinevirtual |
Reinitialize the color function for the surface-tension terms with the volume fraction equation.
| cellsLvl | cells vector for every level |
| lvl | level |
Reimplemented in APUEqSurfaceTension.
|
inlinevirtual |
Solve the additional physics flux between two cells.
| cellInterface | cell interface |
Reimplemented in APEConductivity, APETurbulenceSmagorinsky, APEViscosity, APUEqConductivity, APUEqSurfaceTension, and APUEqViscosity.
|
inlinevirtual |
Solve the additional physics flux at a domain boundary.
| cellInterface | cell interface |
Reimplemented in APEConductivity, APETurbulenceSmagorinsky, APEViscosity, APUEqConductivity, APUEqSurfaceTension, and APUEqViscosity.
|
virtual |
Subtract the additional physics flux between two cells at the corresponding cell.
| cellInterface | cell interface |
| coefAMR | Adaptive Mesh Refinement coefficient for numerical scheme purposes |
|
inlinevirtual |