31#ifndef APUEQVISCOSITY_H
32#define APUEQVISCOSITY_H
36#include "../../Eos/Eos.h"
62 const Coord& gradWLeft,
const Coord& gradWRight,
const double& muMixLeft,
const double& muMixRight)
const;
General class for thermal viscosity for the velocity-equilibrium system of equations.
Definition APUEqViscosity.h:41
int m_numQPA
Number of the associated variable for each cell (m_vecGrandeursAddPhys)
Definition APUEqViscosity.h:98
virtual void addSymmetricTermsRadialAxisOnY(Cell *cell)
Add the symmetrical terms of the corresponding additional physic in a cell (when radial axis is on Y)
Definition APUEqViscosity.cpp:352
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:152
virtual void solveFluxAddPhysBoundary(CellInterface *cellInterface)
Solve the additional physic flux at a domain boundary.
Definition APUEqViscosity.cpp:104
Coord m_gradWLeft
Left gradient of the velocity in the z-direction for the flux computation (buffer)
Definition APUEqViscosity.h:103
Coord m_gradULeft
Left gradient of the velocity in the x-direction for the flux computation (buffer)
Definition APUEqViscosity.h:101
Coord m_velocityLeft
Left velocity vector for the flux computation (buffer)
Definition APUEqViscosity.h:100
virtual void addQuantityAddPhys(Cell *cell)
Add the quantities for the additional physic.
Definition APUEqViscosity.cpp:53
Coord m_gradURight
Right gradient of the velocity in the x-direction for the flux computation (buffer)
Definition APUEqViscosity.h:106
Coord m_binormal
Binormal vector of the corresponding face for the flux computation (buffer)
Definition APUEqViscosity.h:112
Coord m_gradVLeft
Left gradient of the velocity in the y-direction for the flux computation (buffer)
Definition APUEqViscosity.h:102
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:221
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:251
Coord m_gradWRight
Right gradient of the velocity in the z-direction for the flux computation (buffer)
Definition APUEqViscosity.h:108
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:229
Coord m_gradVRight
Right gradient of the velocity in the y-direction for the flux computation (buffer)
Definition APUEqViscosity.h:107
Tensor m_tensorRight
Right tensor of the velocity gradients (buffer)
Definition APUEqViscosity.h:109
double * m_muk
Dynamic viscosity (kg/m/s or Pa.s) of each phase (taken from the EOS classes) (buffer)
Definition APUEqViscosity.h:97
virtual ~APUEqViscosity()
Definition APUEqViscosity.cpp:48
virtual void addSymmetricTermsRadialAxisOnX(Cell *cell)
Add the symmetrical terms of the corresponding additional physic in a cell (when radial axis is on X)
Definition APUEqViscosity.cpp:320
virtual void solveFluxAddPhys(CellInterface *cellInterface)
Solve the additional physic flux between two cells.
Definition APUEqViscosity.cpp:60
Coord m_tangent
Tangent vector of the corresponding face for the flux computation (buffer)
Definition APUEqViscosity.h:111
virtual void addNonCons(Cell *cell)
Add the non-conservative terms of the corresponding additional physic in a cell.
Definition APUEqViscosity.cpp:292
virtual void communicationsAddPhys(const int &dim, const int &lvl)
Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinemen...
Definition APUEqViscosity.cpp:384
Tensor m_tensorLeft
Left tensor of the velocity gradients (buffer)
Definition APUEqViscosity.h:104
void solveFluxViscosityOther() const
Solve the viscosity flux at a boundary with non-defined type yet.
Definition APUEqViscosity.cpp:275
Coord m_velocityRight
Right velocity vector for the flux computation (buffer)
Definition APUEqViscosity.h:105
Coord m_normal
Normal vector of the corresponding face for the flux computation (buffer)
Definition APUEqViscosity.h:110
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 Equation of State (EOS).
Definition Eos.h:54
Class for a matrix 3x3 system object.
Definition Tensor.h:46