43 "AUSM0 Riemann solver");
72 double rhoL,
double rhouL,
double rhovL,
double rhowL,
double EL,
73 double rhoR,
double rhouR,
double rhovR,
double rhowR,
double ER,
74 double &rhof,
double &rhouf,
double &rhovf,
double &rhowf,
double &Ef)
86 (EL - 0.5 * (rhouL * uL + rhovL * vL + rhowL * wL)) / rhoL;
88 (ER - 0.5 * (rhouR * uR + rhovR * vR + rhowR * wR)) / rhoR;
112 rhof = cA * Mbar * rhoL;
113 rhouf = cA * Mbar * rhoL * uL + pbar;
114 rhovf = cA * Mbar * rhoL * vL;
115 rhowf = cA * Mbar * rhoL * wL;
116 Ef = cA * Mbar * (EL + pL);
120 rhof = cA * Mbar * rhoR;
121 rhouf = cA * Mbar * rhoR * uR + pbar;
122 rhovf = cA * Mbar * rhoR * vR;
123 rhowf = cA * Mbar * rhoR * wR;
124 Ef = cA * Mbar * (ER + pR);
134 out = 0.5 * (M + fabs(M));
138 out = 0.5 * (M - fabs(M));
150 out = 0.25 * (M + 1.0) * (M + 1.0);
154 out = -0.25 * (M - 1.0) * (M - 1.0);
199 out *= (2.0 - M) - 16.0 * alpha * M *
M2Function(1, M);
203 out *= (-2.0 - M) + 16.0 * alpha * M *
M2Function(0, M);
double M1Function(int A, double M)
AUSM0Solver(const LibUtilities::SessionReaderSharedPtr &pSession)
double M4Function(int A, double beta, double M)
virtual 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)
AUSM0 Riemann solver.
RiemannSolverFactory & GetRiemannSolverFactory()
double M2Function(int A, double M)
static RiemannSolverSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession)
double P5Function(int A, double alpha, double M)
static std::string solverName
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
EquationOfStateSharedPtr m_eos
std::shared_ptr< SessionReader > SessionReaderSharedPtr