31#ifndef APUEQSURFACETENSION_H
32#define APUEQSURFACETENSION_H
44 std::vector<std::string> nameTransports,
45 std::vector<std::string> namePhases,
46 std::string nameFichier =
"Unknown file");
int m_numTransportAssociated
Number of the associated variable for each cell (m_vecTransports).
Definition APUEqSurfaceTension.h:86
Coord m_gradCRight
Right gradient of the color function vector for the flux computation (buffer).
Definition APUEqSurfaceTension.h:96
void reinitializeColorFunction(std::vector< Cell * > *cellsLvl, const int &lvl) override
Reinitialize the color function for the surface-tension terms with the volume fraction equation.
Definition APUEqSurfaceTension.cpp:362
Coord m_normal
Normal vector of the corresponding face for the flux computation (buffer).
Definition APUEqSurfaceTension.h:97
void solveFluxAddPhys(CellInterface *cellInterface) override
Solve the additional physics flux between two cells.
Definition APUEqSurfaceTension.cpp:115
int m_numQPAGradC
Number of the associated variable for each cell (m_vecGrandeursAddPhys).
Definition APUEqSurfaceTension.h:87
Coord m_binormal
Binormal vector of the corresponding face for the flux computation (buffer).
Definition APUEqSurfaceTension.h:99
int m_numPhaseAssociated
Number of the associated variable for each cell (m_vecPhases).
Definition APUEqSurfaceTension.h:91
void solveFluxSurfaceTensionInner(const Coord &velocityLeft, const Coord &velocityRight, const Coord &gradCLeft, const Coord &gradCRight) const
Solve the surface-tension flux between two cells.
Definition APUEqSurfaceTension.cpp:188
std::string m_namePhaseAssociated
Name of the associated variable for each cell (m_vecPhases).
Definition APUEqSurfaceTension.h:90
Coord m_tangent
Tangent vector of the corresponding face for the flux computation (buffer).
Definition APUEqSurfaceTension.h:98
bool reinitializationActivated() override
Send back true if the reinitialization of the color function is activated.
Definition APUEqSurfaceTension.h:78
void solveFluxSurfaceTensionWall(const Coord &gradCLeft) const
Solve the surface-tension flux at a boundary with a wall type.
Definition APUEqSurfaceTension.cpp:241
void addQuantityAddPhys(Cell *cell) override
Add the quantities for the additional physics.
Definition APUEqSurfaceTension.cpp:103
void addNonCons(Cell *) override
Add the non-conservative terms of the corresponding additional physics in a cell.
Definition APUEqSurfaceTension.h:73
bool m_reinitializationActivated
Reinitialization of the transported variable with the volume fraction of a phase.
Definition APUEqSurfaceTension.h:89
void communicationsAddPhys(const int &dim, const int &lvl) override
Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinemen...
Definition APUEqSurfaceTension.cpp:373
void addSymmetricTermsRadialAxisOnX(Cell *cell) override
Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on X...
Definition APUEqSurfaceTension.cpp:299
double m_sigma
Surface tension coefficient.
Definition APUEqSurfaceTension.h:88
void addSymmetricTermsRadialAxisOnY(Cell *cell) override
Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on Y...
Definition APUEqSurfaceTension.cpp:330
std::string m_nameTransportAssociated
Name of the associated variable for each cell (m_vecTransports).
Definition APUEqSurfaceTension.h:85
const int & getNumTransportAssociated() const override
Return the associated number of the transport equation (only used for surface tension).
Definition APUEqSurfaceTension.h:81
Coord m_velocityLeft
Left velocity vector for the flux computation (buffer).
Definition APUEqSurfaceTension.h:93
Coord m_velocityRight
Right velocity vector for the flux computation (buffer).
Definition APUEqSurfaceTension.h:95
~APUEqSurfaceTension() override
Definition APUEqSurfaceTension.cpp:99
void solveFluxSurfaceTensionInletInjStagState() const
Solve the surface-tension flux at a boundary with an inlet injection using stagnation state type.
Definition APUEqSurfaceTension.cpp:272
void solveFluxSurfaceTensionOutletPressure() const
Solve the surface-tension flux at a boundary with an outlet at imposed pressure type.
Definition APUEqSurfaceTension.cpp:259
void solveFluxSurfaceTensionOther() const
Solve the surface-tension flux at a boundary with non-defined type yet.
Definition APUEqSurfaceTension.cpp:285
APUEqSurfaceTension(tinyxml2::XMLElement *element, int &numberQPA, std::vector< std::string > nameTransports, std::vector< std::string > namePhases, std::string nameFichier="Unknown file")
Definition APUEqSurfaceTension.cpp:40
Coord m_gradCLeft
Left gradient of the color function for the flux computation (buffer).
Definition APUEqSurfaceTension.h:94
void solveFluxSurfaceTensionNonReflecting(const Coord &velocityLeft, const Coord &gradCLeft) const
Solve the surface-tension flux at a boundary with an non-reflecting type.
Definition APUEqSurfaceTension.cpp:234
double computeEnergyAddPhys(QuantitiesAddPhys *QPA) override
Compute and send back mass energy linked to the physics (0 if no linked energy).
Definition APUEqSurfaceTension.cpp:107
void solveFluxAddPhysBoundary(CellInterface *cellInterface) override
Solve the additional physics flux at a domain boundary.
Definition APUEqSurfaceTension.cpp:144
APUEq()
Definition APUEq.cpp:35
Definition CellInterface.h:48
Base class for a mesh cell.
Definition Cell.h:59
Class for a coordinate system object such as coordinates of the vertex or a vector.
Definition Coord.h:43
General class for additional-physics quantities.
Definition QuantitiesAddPhys.h:42
Definition tinyxml2.h:1148