CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Using Shallow Water Equations (https://www.cfd-online.com/Forums/openfoam-solving/143123-using-shallow-water-equations.html)

Shabirmean October 17, 2014 02:50

Using Shallow Water Equations
 
I am trying to use the shallowWaterFoam Solver to extend it to a bigger area (more than 25 meters) to calculate height fields with varying boundary velocity.

However whatever deltaT I set the program produces a floating point error after some time. When I reduce the deltaT, the the execution increases by a little number of loops and still crashes.

This is because the velocity increases more than the amount I assume when calculating the Courant Number.

WHat can I do??
Can someone please help?


All times are GMT -4. The time now is 03:01.