31#ifndef APUEQVISCOSITY_H
32#define APUEQVISCOSITY_H
62 const Coord& velocityRight,
63 const Coord& gradULeft,
64 const Coord& gradURight,
65 const Coord& gradVLeft,
66 const Coord& gradVRight,
67 const Coord& gradWLeft,
68 const Coord& gradWRight,
69 const double& muMixLeft,
70 const double& muMixRight)
const;
78 const Coord& velocityLeft,
const Coord& gradULeft,
const Coord& gradVLeft,
const Coord& gradWLeft,
const double& muMixLeft)
const;
~APUEqViscosity() override
Definition APUEqViscosity.cpp:48
int m_numQPA
Number of the associated variable for each cell (m_vecGrandeursAddPhys).
Definition APUEqViscosity.h:106
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 &muMixLeft, const double &muMixRight) const
Solve the viscosity flux between two cells.
Definition APUEqViscosity.cpp:172
void solveFluxAddPhys(CellInterface *cellInterface) override
Solve the additional physics flux between two cells.
Definition APUEqViscosity.cpp:56
void communicationsAddPhys(const int &dim, const int &lvl) override
Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinemen...
Definition APUEqViscosity.cpp:409
Coord m_gradWLeft
Left gradient of the velocity in the z-direction for the flux computation (buffer).
Definition APUEqViscosity.h:111
Coord m_gradULeft
Left gradient of the velocity in the x-direction for the flux computation (buffer).
Definition APUEqViscosity.h:109
Coord m_velocityLeft
Left velocity vector for the flux computation (buffer).
Definition APUEqViscosity.h:108
Coord m_gradURight
Right gradient of the velocity in the x-direction for the flux computation (buffer).
Definition APUEqViscosity.h:114
void addSymmetricTermsRadialAxisOnX(Cell *cell) override
Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on X...
Definition APUEqViscosity.cpp:345
Coord m_binormal
Binormal vector of the corresponding face for the flux computation (buffer).
Definition APUEqViscosity.h:120
Coord m_gradVLeft
Left gradient of the velocity in the y-direction for the flux computation (buffer).
Definition APUEqViscosity.h:110
void solveFluxViscosityNonReflecting(const Coord &velocityLeft, const Coord &gradULeft, const Coord &gradVLeft, const Coord &gradWLeft, const double &muMixLeft) const
Solve the viscosity flux at a boundary with a non-reflecting type.
Definition APUEqViscosity.cpp:249
void solveFluxViscositySymmetry(const Coord &gradULeft, const Coord &gradVLeft, const Coord &gradWLeft, const double &muMixLeft) const
Solve the viscosity flux at a boundary with a symmetry type.
Definition APUEqViscosity.cpp:278
APUEqViscosity(int &numberQPA, Eos **eos, const int &numbPhases)
Definition APUEqViscosity.cpp:37
void addNonCons(Cell *cell) override
Add the non-conservative terms of the corresponding additional physics in a cell.
Definition APUEqViscosity.cpp:318
Coord m_gradWRight
Right gradient of the velocity in the z-direction for the flux computation (buffer).
Definition APUEqViscosity.h:116
void solveFluxViscosityWall(const Coord &velocityLeft, const double &muMixLeft, const double &distLeft) const
Solve the viscosity flux at a boundary with a wall type.
Definition APUEqViscosity.cpp:257
Coord m_gradVRight
Right gradient of the velocity in the y-direction for the flux computation (buffer).
Definition APUEqViscosity.h:115
Tensor m_tensorRight
Right tensor of the velocity gradients (buffer).
Definition APUEqViscosity.h:117
double * m_muk
Dynamic viscosity (kg/m/s or Pa.s) of each phase (taken from the EOS classes) (buffer).
Definition APUEqViscosity.h:105
void addQuantityAddPhys(Cell *cell) override
Add the quantities for the additional physics.
Definition APUEqViscosity.cpp:52
void addSymmetricTermsRadialAxisOnY(Cell *cell) override
Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on Y...
Definition APUEqViscosity.cpp:377
Coord m_tangent
Tangent vector of the corresponding face for the flux computation (buffer).
Definition APUEqViscosity.h:119
void solveFluxAddPhysBoundary(CellInterface *cellInterface) override
Solve the additional physics flux at a domain boundary.
Definition APUEqViscosity.cpp:100
Tensor m_tensorLeft
Left tensor of the velocity gradients (buffer).
Definition APUEqViscosity.h:112
void solveFluxViscosityOther() const
Solve the viscosity flux at a boundary with non-defined type yet.
Definition APUEqViscosity.cpp:301
Coord m_velocityRight
Right velocity vector for the flux computation (buffer).
Definition APUEqViscosity.h:113
Coord m_normal
Normal vector of the corresponding face for the flux computation (buffer).
Definition APUEqViscosity.h:118
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 Equation of State (EOS).
Definition Eos.h:62
Class for a matrix 3x3 system object.
Definition Tensor.h:57