31#ifndef APUEQSURFACETENSION_H
32#define APUEQSURFACETENSION_H
General class for surface tension for the velocity-equilibrium system of equations.
Definition APUEqSurfaceTension.h:40
virtual void addSymmetricTermsRadialAxisOnX(Cell *cell)
Add the symmetrical terms of the corresponding additional physic in a cell (when radial axis is on X)
Definition APUEqSurfaceTension.cpp:273
int m_numTransportAssociated
Number of the associated variable for each cell (m_vecTransports)
Definition APUEqSurfaceTension.h:83
Coord m_gradCRight
Right gradient of the color function vector for the flux computation (buffer)
Definition APUEqSurfaceTension.h:93
Coord m_normal
Normal vector of the corresponding face for the flux computation (buffer)
Definition APUEqSurfaceTension.h:94
int m_numQPAGradC
Number of the associated variable for each cell (m_vecGrandeursAddPhys)
Definition APUEqSurfaceTension.h:84
Coord m_binormal
Binormal vector of the corresponding face for the flux computation (buffer)
Definition APUEqSurfaceTension.h:96
int m_numPhaseAssociated
Number of the associated variable for each cell (m_vecPhases)
Definition APUEqSurfaceTension.h:88
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:167
virtual void addSymmetricTermsRadialAxisOnY(Cell *cell)
Add the symmetrical terms of the corresponding additional physic in a cell (when radial axis is on Y)
Definition APUEqSurfaceTension.cpp:303
std::string m_namePhaseAssociated
Name of the associated variable for each cell (m_vecPhases)
Definition APUEqSurfaceTension.h:87
Coord m_tangent
Tangent vector of the corresponding face for the flux computation (buffer)
Definition APUEqSurfaceTension.h:95
virtual void reinitializeColorFunction(std::vector< Cell * > *cellsLvl, const int &lvl)
Reinitialize the color function for the surface-tension terms with the volume fraction equation.
Definition APUEqSurfaceTension.cpp:333
void solveFluxSurfaceTensionWall(const Coord &gradCLeft) const
Solve the surface-tension flux at a boundary with a wall type.
Definition APUEqSurfaceTension.cpp:215
virtual void addQuantityAddPhys(Cell *cell)
Add the quantities for the additional physic.
Definition APUEqSurfaceTension.cpp:90
virtual void solveFluxAddPhys(CellInterface *cellInterface)
Solve the additional physic flux between two cells.
Definition APUEqSurfaceTension.cpp:105
bool m_reinitializationActivated
Reinitialization of the transported variable with the volume fraction of a phase.
Definition APUEqSurfaceTension.h:86
double m_sigma
Surface tension coefficient.
Definition APUEqSurfaceTension.h:85
virtual ~APUEqSurfaceTension()
Definition APUEqSurfaceTension.cpp:86
virtual const int & getNumTransportAssociated() const
Return the associated number of the transport equation (only used for surface tension)
Definition APUEqSurfaceTension.h:77
std::string m_nameTransportAssociated
Name of the associated variable for each cell (m_vecTransports)
Definition APUEqSurfaceTension.h:82
Coord m_velocityLeft
Left velocity vector for the flux computation (buffer)
Definition APUEqSurfaceTension.h:90
Coord m_velocityRight
Right velocity vector for the flux computation (buffer)
Definition APUEqSurfaceTension.h:92
virtual void communicationsAddPhys(const int &dim, const int &lvl)
Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinemen...
Definition APUEqSurfaceTension.cpp:342
void solveFluxSurfaceTensionInletInjStagState() const
Solve the surface-tension flux at a boundary with an inlet injection using stagnation state type.
Definition APUEqSurfaceTension.cpp:246
void solveFluxSurfaceTensionOutletPressure() const
Solve the surface-tension flux at a boundary with an outlet at imposed pressure type.
Definition APUEqSurfaceTension.cpp:233
virtual bool reinitializationActivated()
Send back true if the reinitialization of the color function is activated.
Definition APUEqSurfaceTension.h:74
void solveFluxSurfaceTensionOther() const
Solve the surface-tension flux at a boundary with non-defined type yet.
Definition APUEqSurfaceTension.cpp:259
virtual void solveFluxAddPhysBoundary(CellInterface *cellInterface)
Solve the additional physic flux at a domain boundary.
Definition APUEqSurfaceTension.cpp:134
Coord m_gradCLeft
Left gradient of the color function for the flux computation (buffer)
Definition APUEqSurfaceTension.h:91
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:208
virtual void addNonCons(Cell *)
Add the non-conservative terms of the corresponding additional physic in a cell.
Definition APUEqSurfaceTension.h:69
virtual double computeEnergyAddPhys(QuantitiesAddPhys *QPA)
Compute and send back mass energy linked to the physic (0 if no linked energy)
Definition APUEqSurfaceTension.cpp:97
General class for additional physics for the velocity-equilibrium system of equations.
Definition APUEq.h:41
Definition CellInterface.h:52
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:1149