68 double rhowL,
double EL,
double rhoR,
69 double rhouR,
double rhovR,
double rhowR,
70 double ER,
double &rhof,
double &rhouf,
71 double &rhovf,
double &rhowf,
double &Ef)
82 NekDouble eL = (EL - 0.5 * (rhouL * uL + rhovL * vL + rhowL * wL)) / rhoL;
83 NekDouble eR = (ER - 0.5 * (rhouR * uR + rhovR * vR + rhowR * wR)) / rhoR;
104 NekDouble Mtilde = 0.5 * (ML * ML + MR * MR);
106 NekDouble Mp = -Kp * ((pR - pL) / (rhoA * cA * cA)) *
107 std::max(1.0 - sigma * Mtilde, 0.0);
111 NekDouble pu = -2.0 * Ku * rhoA * cA * cA * (MR - ML) *
119 rhof = cA * Mbar * rhoL;
120 rhouf = cA * Mbar * rhoL * uL + pbar;
121 rhovf = cA * Mbar * rhoL * vL;
122 rhowf = cA * Mbar * rhoL * wL;
123 Ef = cA * Mbar * (EL + pL);
127 rhof = cA * Mbar * rhoR;
128 rhouf = cA * Mbar * rhoR * uR + pbar;
129 rhovf = cA * Mbar * rhoR * vR;
130 rhowf = cA * Mbar * rhoR * wR;
131 Ef = cA * Mbar * (ER + pR);
double P5Function(int A, double alpha, double M)
double M4Function(int A, double beta, double M)
static RiemannSolverSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession)
void v_PointSolve(double rhoL, double rhouL, double rhovL, double rhowL, double EL, double rhoR, double rhouR, double rhovR, double rhowR, double ER, double &rhof, double &rhouf, double &rhovf, double &rhowf, double &Ef) override
AUSM2 Riemann solver.
static std::string solverName
AUSM2Solver(const LibUtilities::SessionReaderSharedPtr &pSession)
EquationOfStateSharedPtr m_eos
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
@ beta
Gauss Radau pinned at x=-1,.
RiemannSolverFactory & GetRiemannSolverFactory()