|
Peano
|
This file is part of the ExaGRyPE project. More...
Functions | |
| exahype2.api.InitPointWisely | smooth_wave (float amplitude=0.2, float velocity=1.0, float pressure=1.0) |
| Density wave on constant pressure,. | |
This file is part of the ExaGRyPE project.
For conditions of distribution and use, please see the copyright notice at www.peano-framework.org
| exahype2.api.InitPointWisely exagrype.api.euler.initialvalues.smooth_wave | ( | float | amplitude = 0.2, |
| float | velocity = 1.0, | ||
| float | pressure = 1.0 ) |
Density wave on constant pressure,.
The wave is an exact solution of the Euler equations which the fluid advects along the x-axis. The adiabatic index is the one of the solver (its attribute Gamma), i.e. the routine is for exagrype.api.euler.Euler.
| amplitude | float Amplitude of the density wave. Has to be smaller than one in modulus to keep the density positive. |
| velocity | float Speed along the x-axis. |
| pressure | float Constant pressure. |
Definition at line 8 of file initialvalues.py.