|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Functions | |
| template<EulerModel model = NS> | |
| auto | IsentropicVortex10 (EulerEvaluator< model > &eval, const Geom::tPoint &x, real t, int cnVars, real chi) |
| Analytic isentropic vortex on a [0,10] x [0,10] periodic domain. | |
| template<EulerModel model = NS> | |
| auto | IsentropicVortex30 (EulerEvaluator< model > &eval, const Geom::tPoint &x, real t, int cnVars) |
| Analytic isentropic vortex on a [-10,20] x [-10,20] periodic domain (period 30). | |
| template<EulerModel model = NS> | |
| auto | IsentropicVortexCent (EulerEvaluator< model > &eval, const Geom::tPoint &x, real t, int cnVars) |
| Stationary isentropic vortex centered at the origin with zero background flow. | |
| auto DNDS::Euler::SpecialFields::IsentropicVortex10 | ( | EulerEvaluator< model > & | eval, |
| const Geom::tPoint & | x, | ||
| real | t, | ||
| int | cnVars, | ||
| real | chi | ||
| ) |
Analytic isentropic vortex on a [0,10] x [0,10] periodic domain.
Background flow (u,v) = (1,1), vortex center at (5,5). The domain wraps with period 10 in both x and y via float_mod, so the vortex convects diagonally and re-enters from the opposite corner. Used for inviscid accuracy verification (spatial and temporal order-of-accuracy studies).
| model | EulerModel selecting the equation set (default NS = 2-D Navier-Stokes). |
| eval | EulerEvaluator providing gas properties (gamma). |
| x | Physical-space coordinates at which to evaluate the solution. |
| t | Current physical time (the vortex translates at speed (1,1)*t). |
| cnVars | Number of conservative variables in the returned vector. |
| chi | Vortex strength parameter (standard test value = 5). |
Definition at line 42 of file SpecialFields.hpp.
| auto DNDS::Euler::SpecialFields::IsentropicVortex30 | ( | EulerEvaluator< model > & | eval, |
| const Geom::tPoint & | x, | ||
| real | t, | ||
| int | cnVars | ||
| ) |
Analytic isentropic vortex on a [-10,20] x [-10,20] periodic domain (period 30).
Same vortex formula as IsentropicVortex10 but on a larger domain with period 30. Background flow (u,v) = (1,1), vortex center at (5,5), chi = 5 (hardcoded). Useful when more space around the vortex core is needed to reduce periodic-image interactions in convergence studies.
| model | EulerModel selecting the equation set (default NS). |
| eval | EulerEvaluator providing gas properties (gamma). |
| x | Physical-space coordinates at which to evaluate the solution. |
| t | Current physical time (vortex translates at speed (1,1)*t). |
| cnVars | Number of conservative variables in the returned vector. |
Definition at line 93 of file SpecialFields.hpp.
| auto DNDS::Euler::SpecialFields::IsentropicVortexCent | ( | EulerEvaluator< model > & | eval, |
| const Geom::tPoint & | x, | ||
| real | t, | ||
| int | cnVars | ||
| ) |
Stationary isentropic vortex centered at the origin with zero background flow.
Same vortex formula as IsentropicVortex10 but with (u_bg, v_bg) = (0,0) and the vortex center at the origin (0,0). No periodic wrapping is applied, so the computational domain should be large enough that the vortex decays before reaching the boundaries. chi = 5 (hardcoded).
Used for steady-state vortex preservation tests to verify that the numerical scheme maintains the stationary vortex without spurious dissipation or distortion.
| model | EulerModel selecting the equation set (default NS). |
| eval | EulerEvaluator providing gas properties (gamma). |
| x | Physical-space coordinates at which to evaluate the solution. |
| t | Current physical time (unused since the vortex is stationary). |
| cnVars | Number of conservative variables in the returned vector. |
Definition at line 148 of file SpecialFields.hpp.