Peano
Loading...
Searching...
No Matches
applications::exahype2::ShallowWater::R1 Namespace Reference

Functions

template<auto Pa_, auto U_, auto T_, auto P0_>
static auto atmosphericPressure (const auto x, const auto y, const auto t)
 Computes the pressure field p(x, y, t) following the Jörn test-case logic.
 

Function Documentation

◆ atmosphericPressure()

template<auto Pa_, auto U_, auto T_, auto P0_>
static auto applications::exahype2::ShallowWater::R1::atmosphericPressure ( const auto x,
const auto y,
const auto t )
static

Computes the pressure field p(x, y, t) following the Jörn test-case logic.

The function models a one-dimensional atmospheric pressure disturbance.

Parameters
xStreamwise spatial coordinate [m]
yCross-stream spatial coordinate (unused) [m]
tPhysical time in seconds. In the original MATLAB setup, this corresponds to (t_index - 1) * 60.
Template Parameters
Pa_Amplitude of the pressure disturbance [Pa]
U_Propagation velocity of the disturbance [m/s]
T_Period of the disturbance [s]
P0_Period of the disturbance [s]
Returns
Pressure value p(x, y, t) [Pa]