44 "AUSM1 Riemann solver");
71 double rhoL,
double rhouL,
double rhovL,
double rhowL,
double EL,
72 double rhoR,
double rhouR,
double rhovR,
double rhowR,
double ER,
73 double &rhof,
double &rhouf,
double &rhovf,
double &rhowf,
double &Ef)
87 (EL - 0.5 * (rhouL * uL + rhovL * vL + rhowL * wL));
89 (ER - 0.5 * (rhouR * uR + rhovR * vR + rhowR * wR));
109 rhof = cA * Mbar * rhoL;
110 rhouf = cA * Mbar * rhoL * uL + pbar;
111 rhovf = cA * Mbar * rhoL * vL;
112 rhowf = cA * Mbar * rhoL * wL;
113 Ef = cA * Mbar * (EL + pL);
117 rhof = cA * Mbar * rhoR;
118 rhouf = cA * Mbar * rhoR * uR + pbar;
119 rhovf = cA * Mbar * rhoR * vR;
120 rhowf = cA * Mbar * rhoR * wR;
121 Ef = cA * Mbar * (ER + pR);
131 out = 0.5 * (M + fabs(M));
135 out = 0.5 * (M - fabs(M));
147 out = 0.25 * (M + 1.0) * (M + 1.0);
151 out = -0.25 * (M - 1.0) * (M - 1.0);
196 out *= (2.0 - M) - 16.0 * alpha * M *
M2Function(1, M);
200 out *= (-2.0 - M) + 16.0 * alpha * M *
M2Function(0, M);
static std::string solverName
double M2Function(int A, double M)
static RiemannSolverSharedPtr create()
double P5Function(int A, double alpha, double M)
double M4Function(int A, double beta, double M)
RiemannSolverFactory & GetRiemannSolverFactory()
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)
AUSM1 Riemann solver.
double M1Function(int A, double M)
std::map< std::string, RSParamFuncType > m_params
Map of parameter function types.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.