![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
General class for surface tension for the velocity-equilibrium system of equations. More...
#include <APUEqSurfaceTension.h>
Inherits APUEq.
Public Member Functions | |
| APUEqSurfaceTension (tinyxml2::XMLElement *element, int &numberQPA, std::vector< std::string > nameTransports, std::vector< std::string > namePhases, std::string nameFichier="Unknown file") | |
| ~APUEqSurfaceTension () override | |
| void | addQuantityAddPhys (Cell *cell) override |
| Add the quantities for the additional physics. | |
| double | computeEnergyAddPhys (QuantitiesAddPhys *QPA) override |
| Compute and send back mass energy linked to the physics (0 if no linked energy). | |
| void | solveFluxAddPhys (CellInterface *cellInterface) override |
| Solve the additional physics flux between two cells. | |
| void | solveFluxAddPhysBoundary (CellInterface *cellInterface) override |
| Solve the additional physics flux at a domain boundary. | |
| void | solveFluxSurfaceTensionInner (const Coord &velocityLeft, const Coord &velocityRight, const Coord &gradCLeft, const Coord &gradCRight) const |
| Solve the surface-tension flux between two cells. | |
| void | solveFluxSurfaceTensionNonReflecting (const Coord &velocityLeft, const Coord &gradCLeft) const |
| Solve the surface-tension flux at a boundary with an non-reflecting type. | |
| void | solveFluxSurfaceTensionWall (const Coord &gradCLeft) const |
| Solve the surface-tension flux at a boundary with a wall type. | |
| void | solveFluxSurfaceTensionInletInjStagState () const |
| Solve the surface-tension flux at a boundary with an inlet injection using stagnation state type. | |
| void | solveFluxSurfaceTensionOutletPressure () const |
| Solve the surface-tension flux at a boundary with an outlet at imposed pressure type. | |
| void | solveFluxSurfaceTensionOther () const |
| Solve the surface-tension flux at a boundary with non-defined type yet. | |
| void | addNonCons (Cell *) override |
| Add the non-conservative terms of the corresponding additional physics in a cell. | |
| void | addSymmetricTermsRadialAxisOnX (Cell *cell) override |
| Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on X). | |
| void | addSymmetricTermsRadialAxisOnY (Cell *cell) override |
| Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on Y). | |
| void | reinitializeColorFunction (std::vector< Cell * > *cellsLvl, const int &lvl) override |
| Reinitialize the color function for the surface-tension terms with the volume fraction equation. | |
| bool | reinitializationActivated () override |
| Send back true if the reinitialization of the color function is activated. | |
| void | communicationsAddPhys (const int &dim, const int &lvl) override |
| Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinement. | |
| const int & | getNumTransportAssociated () const override |
| Return the associated number of the transport equation (only used for surface tension). | |
| Public Member Functions inherited from APUEq | |
| APUEq () | |
| ~APUEq () override | |
| Public Member Functions inherited from AddPhys | |
| AddPhys () | |
| virtual | ~AddPhys () |
| virtual std::string | whoAmI () const |
| 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 | 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 | computeTurbulenceParameters () const |
| Print the diagnostics for turbulence decay cases. | |
Private Attributes | |
| std::string | m_nameTransportAssociated |
| Name of the associated variable for each cell (m_vecTransports). | |
| int | m_numTransportAssociated |
| Number of the associated variable for each cell (m_vecTransports). | |
| int | m_numQPAGradC |
| Number of the associated variable for each cell (m_vecGrandeursAddPhys). | |
| double | m_sigma |
| Surface tension coefficient. | |
| bool | m_reinitializationActivated |
| Reinitialization of the transported variable with the volume fraction of a phase. | |
| std::string | m_namePhaseAssociated |
| Name of the associated variable for each cell (m_vecPhases). | |
| int | m_numPhaseAssociated |
| Number of the associated variable for each cell (m_vecPhases). | |
| Coord | m_velocityLeft |
| Left velocity vector for the flux computation (buffer). | |
| Coord | m_gradCLeft |
| Left gradient of the color function for the flux computation (buffer). | |
| Coord | m_velocityRight |
| Right velocity vector for the flux computation (buffer). | |
| Coord | m_gradCRight |
| Right gradient of the color function vector for the flux computation (buffer). | |
| Coord | m_normal |
| Normal vector of the corresponding face for the flux computation (buffer). | |
| Coord | m_tangent |
| Tangent vector of the corresponding face for the flux computation (buffer). | |
| Coord | m_binormal |
| Binormal vector of the corresponding face for the flux computation (buffer). | |
General class for surface tension for the velocity-equilibrium system of equations.
| APUEqSurfaceTension::APUEqSurfaceTension | ( | tinyxml2::XMLElement * | element, |
| int & | numberQPA, | ||
| std::vector< std::string > | nameTransports, | ||
| std::vector< std::string > | namePhases, | ||
| std::string | nameFichier = "Unknown file" ) |
APUEqSurfaceTension constructor from a read in XML format ex : <dataSurfaceTension transport="color1" sigma="800.">
|
override |
|
inlineoverridevirtual |
Add the non-conservative terms of the corresponding additional physics in a cell.
| cell | cell |
Reimplemented from AddPhys.
|
overridevirtual |
Add the quantities for the additional physics.
| cell | corresponding cell |
Reimplemented from AddPhys.
|
overridevirtual |
Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on X).
| cell | cell |
Reimplemented from AddPhys.
|
overridevirtual |
Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on Y).
| cell | cell |
Reimplemented from AddPhys.
|
overridevirtual |
|
overridevirtual |
Compute and send back mass energy linked to the physics (0 if no linked energy).
| QPA | corresponding additional physics quantities |
Reimplemented from AddPhys.
|
inlineoverridevirtual |
Return the associated number of the transport equation (only used for surface tension).
Reimplemented from AddPhys.
|
inlineoverridevirtual |
Send back true if the reinitialization of the color function is activated.
Reimplemented from AddPhys.
|
overridevirtual |
Reinitialize the color function for the surface-tension terms with the volume fraction equation.
| cellsLvl | cells vector for every level |
| lvl | level |
Reimplemented from AddPhys.
|
overridevirtual |
Solve the additional physics flux between two cells.
| cellInterface | cell interface |
Reimplemented from AddPhys.
|
overridevirtual |
Solve the additional physics flux at a domain boundary.
| cellInterface | cell interface |
Reimplemented from AddPhys.
| void APUEqSurfaceTension::solveFluxSurfaceTensionInletInjStagState | ( | ) | const |
Solve the surface-tension flux at a boundary with an inlet injection using stagnation state type.
| void APUEqSurfaceTension::solveFluxSurfaceTensionInner | ( | const Coord & | velocityLeft, |
| const Coord & | velocityRight, | ||
| const Coord & | gradCLeft, | ||
| const Coord & | gradCRight ) const |
Solve the surface-tension flux between two cells.
| velocityLeft | velocity of the left cell |
| velocityRight | velocity of the right cell |
| gradCLeft | color function gradient of the left cell |
| gradCRight | color function gradient of the right cell |
| void APUEqSurfaceTension::solveFluxSurfaceTensionNonReflecting | ( | const Coord & | velocityLeft, |
| const Coord & | gradCLeft ) const |
Solve the surface-tension flux at a boundary with an non-reflecting type.
| velocityLeft | velocity of the left cell |
| gradCLeft | color function gradient of the left cell |
| void APUEqSurfaceTension::solveFluxSurfaceTensionOther | ( | ) | const |
Solve the surface-tension flux at a boundary with non-defined type yet.
| void APUEqSurfaceTension::solveFluxSurfaceTensionOutletPressure | ( | ) | const |
Solve the surface-tension flux at a boundary with an outlet at imposed pressure type.
| void APUEqSurfaceTension::solveFluxSurfaceTensionWall | ( | const Coord & | gradCLeft | ) | const |
Solve the surface-tension flux at a boundary with a wall type.
| gradCLeft | color function gradient of the left cell |
|
private |
Binormal vector of the corresponding face for the flux computation (buffer).
|
private |
Left gradient of the color function for the flux computation (buffer).
|
private |
Right gradient of the color function vector for the flux computation (buffer).
|
private |
Name of the associated variable for each cell (m_vecPhases).
|
private |
Name of the associated variable for each cell (m_vecTransports).
|
private |
Normal vector of the corresponding face for the flux computation (buffer).
|
private |
Number of the associated variable for each cell (m_vecPhases).
|
private |
Number of the associated variable for each cell (m_vecGrandeursAddPhys).
|
private |
Number of the associated variable for each cell (m_vecTransports).
|
private |
Reinitialization of the transported variable with the volume fraction of a phase.
|
private |
Surface tension coefficient.
|
private |
Tangent vector of the corresponding face for the flux computation (buffer).
|
private |
Left velocity vector for the flux computation (buffer).
|
private |
Right velocity vector for the flux computation (buffer).