User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2024-02-19 12:42:58

Liliana
User
Registered: 2024-02-09
Posts: 1

BASEMENT v4.0.1 Mass balance problems

Hi everyone

I would like to add a further chapter to the mass balance problems saga and ask if any of you were able to solve it or implement some tricks that made the problem go away.

I am modeling a flood with only hydraulics (no sediment) over a pretty big area. The first steps generate mass balance problems (h < 0m) over a handful of cells. This seems to be some sort of noise, that goes away pretty soon and does not impact either the rest of the calculation nor the end result.

The problem with this is that mass balance problems are not admissible when using GPU. The simulation is aborted right away. With CPU there seems to be no problems.

It has been already said here that mass balance problems can be ignored if the results are plausible, but I find it really unfavorable that one is compelled to use the much slower CPU for an error that does not really exist.

Did any of you already experience this and were able to solve it somehow?

Offline

#2 2024-05-15 14:57:19

Matteo Facchini
Developer
From: Trento
Registered: 2014-09-05
Posts: 284

Re: BASEMENT v4.0.1 Mass balance problems

Hi Liliana,
although this is not encouraged, you can deactivate the safe_mode in the hydraulics parameters and also run your simulations with single precision. This should be enough.
Anyway, try and understand which cells are causing the mass balance problems and try to correct their level/slope to avoid the mass balance problem.
Cheers
Matteo

Offline

Board footer

Powered by FluxBB