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;
107 rhof = cA * Mbar * rhoL;
108 rhouf = cA * Mbar * rhoL * uL + pbar;
109 rhovf = cA * Mbar * rhoL * vL;
110 rhowf = cA * Mbar * rhoL * wL;
111 Ef = cA * Mbar * (EL + pL);
115 rhof = cA * Mbar * rhoR;
116 rhouf = cA * Mbar * rhoR * uR + pbar;
117 rhovf = cA * Mbar * rhoR * vR;
118 rhowf = cA * Mbar * rhoR * wR;
119 Ef = cA * Mbar * (ER + pR);
132 out = 0.5 * (M + fabs(M));
136 out = 0.5 * (M - fabs(M));
148 out = 0.25 * (M + 1.0) * (M + 1.0);
152 out = -0.25 * (M - 1.0) * (M - 1.0);
203 out *= (2.0 - M) - 16.0 * alpha * M *
M2Function(1, M);
207 out *= (-2.0 - M) + 16.0 * alpha * M *
M2Function(0, M);
double M2Function(int A, double M)
static RiemannSolverSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession)
static std::string solverName
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
AUSM0 Riemann solver.
double P5Function(int A, double alpha, double M)
double M1Function(int A, double M)
double M4Function(int A, double beta, double M)
AUSM0Solver(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()