|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Approximate Riemann Solver (Roe scheme) for the EulerP 5-equation Navier-Stokes system. More...
#include "EulerP_Physics.hpp"Go to the source code of this file.
Namespaces | |
| namespace | DNDS |
| the host side operators are provided as implemented | |
| namespace | DNDS::EulerP |
| Namespace for the EulerP alternative evaluator module with GPU support. | |
Functions | |
| DNDS_DEVICE_CALLABLE void | DNDS::EulerP::RoeEigenValueFixer (real aL, real aR, real vnL, real vnR, real dLambda, real fixScale, real &lam0, real &lam123, real &lam4) |
| Applies entropy fix to Roe eigenvalues to prevent expansion shocks. | |
| template<DeviceBackend B, class TUL , class TUR , class TULPrim , class TURPrim > | |
| DNDS_DEVICE_CALLABLE void | DNDS::EulerP::RoeAverageNS (TUL &&UL, TUR &&UR, TULPrim &&ULPrim, TURPrim &&URPrim, int nVars, real pL, real pR, PhysicsDeviceView< B > &phy, Geom::tPoint &veloRoe, real &vsqrRoe, real &HRoe, real &rhoRoe, real &aSqrRoe) |
| Computes Roe-averaged quantities from left and right states. | |
| template<DeviceBackend B> | |
| DNDS_DEVICE_CALLABLE void | DNDS::EulerP::RoeFluxFlow (const TU &UL, const TU &UR, real pL, real pR, const Geom::tPoint &veloRoe, real vsqrRoe, real vgn, const Geom::tPoint &n, real asqrRoe, real aRoe, real HRoe, PhysicsDeviceView< B > &phy, real lam0, real lam123, real lam4, TU &F) |
| Computes the complete Roe numerical flux for the 5-equation flow system. | |
Approximate Riemann Solver (Roe scheme) for the EulerP 5-equation Navier-Stokes system.
Provides device-callable functions for:
IdealGas::EntropyFix_HCorrHY)The Roe flux formula is F = 0.5 * (F_L + F_R - |A_Roe| * (U_R - U_L)), where |A_Roe| is the Roe-averaged absolute flux Jacobian.
Definition in file EulerP_ARS.hpp.