Peano
Loading...
Searching...
No Matches
exagrype.api.euler.initialvalues Namespace Reference

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,.

Detailed Description

This file is part of the ExaGRyPE project.

For conditions of distribution and use, please see the copyright notice at www.peano-framework.org

Function Documentation

◆ smooth_wave()

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,.

See also
exagrype.euler.initialvalues.smoothWave()

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.

Parameters
amplitudefloat Amplitude of the density wave. Has to be smaller than one in modulus to keep the density positive.
velocityfloat Speed along the x-axis.
pressurefloat Constant pressure.

Definition at line 8 of file initialvalues.py.