31#ifndef QUANTITIESADDPHYS_H
32#define QUANTITIESADDPHYS_H
53 Errors::errorMessage(
"computeQuantities not implemented for used quantities of additional physics");
122 Errors::errorMessage(
"getTurbulentViscosity not implemented for used quantities of additional physics");
129 Errors::errorMessage(
"setTurbulentViscosity not implemented for used quantities of additional physics");
std::vector< Variable > variableNamesTurb
Variable names of the corresponding gradients.
Definition QuantitiesAddPhys.cpp:39
std::vector< int > numPhasesTurb
Number of the phase (0: for Euler compatibility and not used for multiphase models).
Definition QuantitiesAddPhys.cpp:40
std::vector< Variable > variableNameSurfTens
Variable name of the corresponding gradient.
Definition QuantitiesAddPhys.cpp:33
std::vector< int > numPhaseSurfTens
Number of the phase (here transport).
Definition QuantitiesAddPhys.cpp:34
std::vector< Variable > variableNamesCond
Variable names of the corresponding gradients.
Definition QuantitiesAddPhys.cpp:37
std::vector< int > numPhasesCond
Number of the phase.
Definition QuantitiesAddPhys.cpp:38
std::vector< Variable > variableNamesVisc
Variable names of the corresponding gradients.
Definition QuantitiesAddPhys.cpp:35
std::vector< int > numPhasesVisc
Number of the phase (0: for Euler compatibility and not used for multiphase models).
Definition QuantitiesAddPhys.cpp:36
General class for additional physics.
Definition AddPhys.h:46
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
static const Coord defaultCoord
Default Coord object (const version).
Definition Coord.h:55
static constexpr int defaultInt
Definition Errors.h:97
static void errorMessage(const std::string &message_)
Definition Errors.cpp:56
General class for additional-physics quantities.
Definition QuantitiesAddPhys.h:42
virtual double getTurbulentViscosity() const
Return the turbulent viscosity.
Definition QuantitiesAddPhys.h:120
virtual void setGradW(const Coord &)
Set the gradient of the velocity along the z-direction with the transmitted values.
Definition QuantitiesAddPhys.h:82
virtual Coord getGradU() const
Return the gradient of the velocity along the x-direction.
Definition QuantitiesAddPhys.h:91
double computeEnergyAddPhys()
Compute and send back mass energy linked to the physic (0 if no linked energy).
Definition QuantitiesAddPhys.cpp:52
virtual void setTurbulentViscosity(const double &)
Set the turbulent viscosity in the cell.
Definition QuantitiesAddPhys.h:127
virtual void setGradU(const Coord &)
Set the gradient of the velocity along the x-direction with the transmitted values.
Definition QuantitiesAddPhys.h:76
virtual void setGradV(const Coord &)
Set the gradient of the velocity along the y-direction with the transmitted values.
Definition QuantitiesAddPhys.h:79
virtual const Coord & getGrad(const int &=-1) const
Get the additional-physic gradient.
Definition QuantitiesAddPhys.h:68
virtual Coord getGradV() const
Return the gradient of the velocity along the y-direction.
Definition QuantitiesAddPhys.h:97
virtual void computeQuantities(Cell *)
Compute the needed quantities for the additional physic.
Definition QuantitiesAddPhys.h:51
AddPhys * m_addPhys
Corresponding additional-physic class of this quantities class.
Definition QuantitiesAddPhys.h:133
virtual const Coord & getGradTk(const int &) const
Return the gradient of the phase temperature.
Definition QuantitiesAddPhys.h:110
AddPhys * getAddPhys()
Return the corresponding additional-physic class of this quantities class.
Definition QuantitiesAddPhys.h:117
QuantitiesAddPhys(AddPhys *addPhys)
Generic model constructor.
Definition QuantitiesAddPhys.cpp:44
virtual void setGradTk(const int &, const Coord &)
Set the gradient of the phase temperature with the transmitted values.
Definition QuantitiesAddPhys.h:86
virtual void setGrad(const Coord &, const int &=-1)
Set the additional-physic gradient with the transmitted values.
Definition QuantitiesAddPhys.h:62
virtual Coord getGradW() const
Return the gradient of the velocity along the z-direction.
Definition QuantitiesAddPhys.h:103
virtual ~QuantitiesAddPhys()
Definition QuantitiesAddPhys.cpp:48