ana1Tests.damBreak.damBreakSol¶
- damBreakSol(avaDir, cfg, cfgC, outDirTest)[source]¶
Compute analytical Flow thickness and velocity for dam break test case
for a granular flow over a dry rough sloping bed with the Savage Hutter model
- Parameters
avaDir (str) – path to avalanche directory
cfg (configParser object) – main avaframe configuration - here showPlot flag used
cfgC (configParser object) – configuration setting for avalanche simulation including DAMBREAK section
outDirTest (pathlib path) – path to output directory
- Returns
solDam –
- analytic solution dictionary:
- tAna: 1D numpy array
time array
- h0: float
release thickness
- hAna: 2D numpy array
Flow thickness (rows for x and columns for time)
- uAna: 2D numpy array
flow velocity (rows for x and columns for time)
- xAna: 2D numpy array
extent of domain in the horizontal plane coordinate system (rows for x and columns for time)
- xMidAna: 1D numpy array
middle of the material in x dir in the horizontal plane coordinate system (used to compute the error)
- Return type
dict