34#include "../APEuler.h"
36#include "../../Eos/Eos.h"
62 const Coord& gradWLeft,
const Coord& gradWRight,
const double&
mu)
const;
double mu
Relaxation coefficient. Herein, the relaxation coefficient is identical for all phase_kâphase_j combi...
Definition RelaxationPFinite.cpp:36
Definition APEViscosity.h:41
void solveFluxViscositySymmetry(const Coord &gradULeft, const Coord &gradVLeft, const Coord &gradWLeft, const double &muLeft) const
Solve the viscosity flux at a boundary with a symmetry type.
Definition APEViscosity.cpp:233
Coord m_binormal
Binormal vector of the corresponding face for the flux computation (buffer)
Definition APEViscosity.h:108
double m_mu
Dynamic viscosity (kg/m/s or Pa.s) (taken from the EOS classe) (buffer)
Definition APEViscosity.h:93
virtual void addQuantityAddPhys(Cell *cell)
Add the quantities for the additional physic.
Definition APEViscosity.cpp:51
void solveFluxViscosityWall(const Coord &velocityLeft, const double &muLeft, const double &distLeft, Coord &velocityWall=Coord::defaultCoordNonConst) const
Solve the viscosity flux at a boundary with a wall type in MRF case.
Definition APEViscosity.cpp:216
void solveFluxViscosityNonReflecting(const Coord &velocityLeft, const Coord &gradULeft, const Coord &gradVLeft, const Coord &gradWLeft, const double &muLeft) const
Solve the viscosity flux at a boundary with a non-reflecting type.
Definition APEViscosity.cpp:208
virtual void solveFluxAddPhysBoundary(CellInterface *cellInterface)
Solve the additional physic flux at a domain boundary.
Definition APEViscosity.cpp:95
Coord m_gradWRight
Right gradient of the velocity in the z-direction for the flux computation (buffer)
Definition APEViscosity.h:104
Tensor m_tensorLeft
Left tensor of the velocity gradients (buffer)
Definition APEViscosity.h:100
Tensor m_tensorRight
Right tensor of the velocity gradients (buffer)
Definition APEViscosity.h:105
virtual void communicationsAddPhys(const int &dim, const int &lvl)
Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinemen...
Definition APEViscosity.cpp:265
APEViscosity()
Definition APEViscosity.cpp:35
virtual void addSymmetricTermsRadialAxisOnY(Cell *)
Add the symmetrical terms of the corresponding additional physic in a cell (when radial axis is on Y)
Definition APEViscosity.h:86
virtual void addSymmetricTermsRadialAxisOnX(Cell *)
Add the symmetrical terms of the corresponding additional physic in a cell (when radial axis is on X)
Definition APEViscosity.h:85
Coord m_velocityRight
Right velocity vector for the flux computation (buffer)
Definition APEViscosity.h:101
void solveFluxViscosityInner(const Coord &velocityLeft, const Coord &velocityRight, const Coord &gradULeft, const Coord &gradURight, const Coord &gradVLeft, const Coord &gradVRight, const Coord &gradWLeft, const Coord &gradWRight, const double &mu) const
Solve the viscosity flux between two cells.
Definition APEViscosity.cpp:146
Coord m_gradVRight
Right gradient of the velocity in the y-direction for the flux computation (buffer)
Definition APEViscosity.h:103
int m_numQPA
Number of the associated variable for each cell (m_vecGrandeursAddPhys)
Definition APEViscosity.h:94
virtual void solveFluxAddPhys(CellInterface *cellInterface)
Solve the additional physic flux between two cells.
Definition APEViscosity.cpp:58
Coord m_gradWLeft
Left gradient of the velocity in the z-direction for the flux computation (buffer)
Definition APEViscosity.h:99
virtual void addNonCons(Cell *)
Add the non-conservative terms of the corresponding additional physic in a cell.
Definition APEViscosity.h:84
Coord m_gradVLeft
Left gradient of the velocity in the y-direction for the flux computation (buffer)
Definition APEViscosity.h:98
Coord m_tangent
Tangent vector of the corresponding face for the flux computation (buffer)
Definition APEViscosity.h:107
Coord m_gradULeft
Left gradient of the velocity in the x-direction for the flux computation (buffer)
Definition APEViscosity.h:97
void solveFluxViscosityOther() const
Solve the viscosity flux at a boundary with non-defined type yet.
Definition APEViscosity.cpp:252
Coord m_velocityLeft
Left velocity vector for the flux computation (buffer)
Definition APEViscosity.h:96
Coord m_normal
Normal vector of the corresponding face for the flux computation (buffer)
Definition APEViscosity.h:106
virtual ~APEViscosity()
Definition APEViscosity.cpp:47
Coord m_gradURight
Right gradient of the velocity in the x-direction for the flux computation (buffer)
Definition APEViscosity.h:102
General class for additional physics for the Euler model.
Definition APEuler.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
static Coord defaultCoordNonConst
Default Coord object (non-const version)
Definition Coord.h:58
General class for Equation of State (EOS).
Definition Eos.h:54
static void errorMessage(const std::string &message)
Definition Errors.cpp:56
Class for a matrix 3x3 system object.
Definition Tensor.h:46