ana1Tests.damBreakΒΆ

Simple python script to reproduce analytic solution for a Riemann problem, following the derivations in Faccanoni and Mangeney (2012), Test 2, Case 1.2. but scaled up in size.

Here the instantanous release of fluid from rest is described using incompressible, depth-avaeraged mass and momentum conservation equations and a Coulomb-tpye friction law.

Functions

analyzeResults

Compare analytical and com1DFA results, compute error

damBreakSol

Compute analytical Flow thickness and velocity for dam break test case

getDamExtend

Get the extend where the analytic and simulation should be compared

postProcessDamBreak

loop on all DFA simulations and compare then to the anlytic solution