DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
Sfx::StVenant1DTerms Class Reference

One-dimensional St-Venant equation spatial terms. More...

#include <Sfx_StVenant1DTerms.h>

Static Public Member Functions

static constexpr float64 CalculTermePressionHydrostatique1D (float64 A, float64 B=1.)
 Hydrostatique pressure (gh^2/2.) for a rectangular channel of width B.
static constexpr float64 EvaluationFlux_C_1D (float64 U1, float64 U2, float64 B=1.)
 Flux including convective and hydrostatic pressure term.
static constexpr float64 EvaluationFlux_I_1D (float64 U1, float64 U2, float64 B=1.)
 Connvective flux (without hydrostatic pressure term).

Detailed Description

One-dimensional St-Venant equation spatial terms.

Member Function Documentation

◆ CalculTermePressionHydrostatique1D()

constexpr float64 Sfx::StVenant1DTerms::CalculTermePressionHydrostatique1D ( float64 A,
float64 B = 1. )
inlinestaticconstexpr

Hydrostatique pressure (gh^2/2.) for a rectangular channel of width B.

Parameters
Awetted cross-section area
Bfree-surface width
Returns
pressure (hydro static pressure in terms of wetted area A)

◆ EvaluationFlux_C_1D()

constexpr float64 Sfx::StVenant1DTerms::EvaluationFlux_C_1D ( float64 U1,
float64 U2,
float64 B = 1. )
inlinestaticconstexpr

Flux including convective and hydrostatic pressure term.

Parameters
U1first state variable
U2second state variable
Bfree-surface width
Returns
physical flux

◆ EvaluationFlux_I_1D()

constexpr float64 Sfx::StVenant1DTerms::EvaluationFlux_I_1D ( float64 U1,
float64 U2,
float64 B = 1. )
inlinestaticconstexpr

Connvective flux (without hydrostatic pressure term).

Parameters
U1first state variable
U2second state variable
Returns
physical flux

The documentation for this class was generated from the following file: