Skip to content
Snippets Groups Projects
Commit 239da7b0 authored by mattijs's avatar mattijs
Browse files

ENH: chtMultiRegionFoam: protect against Co and Di both 0

parent 43407380
Branches
Tags
No related merge requests found
......@@ -33,13 +33,12 @@ if (adjustTimeStep)
{
if ((runTime.timeIndex() == 0) && ((CoNum > SMALL) || (DiNum > SMALL)))
{
if (CoNum == -GREAT)
if (CoNum < SMALL)
{
CoNum = SMALL;
}
if (DiNum == -GREAT)
if (DiNum < SMALL)
{
DiNum = SMALL;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment