|
[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
Exact entropy waves solution. More...
#include <euler_entropy_waves.h>
Public Member Functions | |
| EulerEntropyWavesFunction (const Physics::Euler< dim, dim+2, real > euler_physics, const real dimensional_density_inf) | |
| Constructor that initializes base_values, amplitudes, frequencies. More... | |
| real | value (const dealii::Point< dim > &point, const unsigned int istate=0) const |
| Manufactured solution exact value. More... | |
Public Attributes | |
| const Physics::Euler< dim, dim+2, real > | euler_physics |
| Euler physics. | |
| const real | dimensional_density_inf |
| Dimensional density at infinity. | |
| real | Q_inf |
| Velocity at infinity. | |
Private Member Functions | |
| dealii::Point< 2 > | advected_location (const dealii::Point< 2 > old_location) const |
Exact solution using the current time provided by the dealii::Function class. | |
Exact entropy waves solution.
Masatsuka2018 section 6.3 & section 7.13.3
Definition at line 16 of file euler_entropy_waves.h.
| PHiLiP::Tests::EulerEntropyWavesFunction< dim, real >::EulerEntropyWavesFunction | ( | const Physics::Euler< dim, dim+2, real > | euler_physics, |
| const real | dimensional_density_inf | ||
| ) |
Constructor that initializes base_values, amplitudes, frequencies.
Calls the Function(const unsigned int n_components) constructor in deal.II This sets the public attribute n_components = nstate, which can then be accessed by all the other functions
Definition at line 38 of file euler_entropy_waves.cpp.
|
inline |
Manufactured solution exact value.
Given A, density_inf, u_inf, v_inf, w_inf, and p_inf
The non-dimensionalization of the problem with A = 1.0 gives
Definition at line 51 of file euler_entropy_waves.cpp.