56 ModNEqDEM(
const std::string& name,
const int& numbTransports);
66 const double& dxRight,
70 void solveRiemannWall(
Cell& cellLeft,
const double& dxLeft,
double& dtMax, std::vector<double>& )
const override;
95 mutable std::vector<PhaseNEq>
static std::vector< double > DEFAULT_VEC_INTERFACE_DATA(VarBoundary::SIZE, 0.)
Base class for a mesh cell.
Definition Cell.h:59
Model class for Euler Flux (single phase).
Definition FluxEuler.h:39
Abstract class for conservative variables and fluxes.
Definition Flux.h:43
Model class for the non-equilibrium system of equations using the DEM.
Definition ModNEqDEM.h:45
~ModNEqDEM() override
Definition ModNEqDEM.cpp:71
std::vector< PhaseNEq > m_phaseSlope
Buffer to store the in-cell phase (primitive) slopes of each phase for second-order extrapolation in ...
Definition ModNEqDEM.h:96
void solveRiemannWall(Cell &cellLeft, const double &dxLeft, double &dtMax, std::vector< double > &) const override
Call Riemann solver with wall BC.
Definition ModNEqDEM.cpp:220
double m_slopeDistance
Geometric distance over which the in-cell slopes extrapolate (cell width along the face normal).
Definition ModNEqDEM.h:97
void setSlopeDistance(const double &slopeDistance) override
Set the geometric distance over which the in-cell slopes extrapolate (cell width along the face norma...
Definition ModNEqDEM.cpp:89
std::vector< double > m_alphaRight
Volume fractions from the right cell (used to compute contact areas).
Definition ModNEqDEM.h:99
FluxEuler m_fluxEuler
Definition ModNEqDEM.h:93
void setPhaseSlope(Phase &phaseSlope, int k) override
Set the slope values for the extrapolation within the cell.
Definition ModNEqDEM.cpp:85
RiemannSolver * m_RiemannSolver
Riemann solver pointer to either specific RP Euler solvers such as the HLLC or the exact (for Euler m...
Definition ModNEqDEM.h:92
std::vector< double > m_alphaLeft
Volume fractions from the left cell (used to compute contact areas).
Definition ModNEqDEM.h:98
void solveRiemannIntern(Cell &cellLeft, Cell &cellRight, const double &dxLeft, const double &dxRight, double &dtMax, std::vector< double > &=DEFAULT_VEC_INTERFACE_DATA) const override
Cell to cell Riemann solver.
Definition ModNEqDEM.cpp:95
void allocateCons(Flux **cons) override
Allocate conservative variable arrays.
Definition ModNEqDEM.cpp:81
ModNEqDEM(const int &numbTransports, const int &numbPhases, const bool &solverType, TypeContactAreas typeContactAreas)
NEq model constructor.
Definition ModNEqDEM.cpp:37
static const std::string NAME
Definition ModNEqDEM.h:102
ModNEq(const int &numbTransports, const int &numbPhases)
NEq model constructor.
Definition ModNEq.cpp:37
Abstract class for a phase.
Definition Phase.h:47
RiemannSolver abstract class for the non-equilibrium system of equations.
Definition RiemannSolver.h:41