mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Error in rampHoldFall, wrong order of subtraction
This commit is contained in:
@ -67,7 +67,7 @@ scalar rampHoldFall::relaxation()
|
|||||||
|
|
||||||
scalar tStart = cvMesh_.time().startTime().value();
|
scalar tStart = cvMesh_.time().startTime().value();
|
||||||
scalar tEnd = cvMesh_.time().endTime().value();
|
scalar tEnd = cvMesh_.time().endTime().value();
|
||||||
scalar tSpan = tStart - tEnd;
|
scalar tSpan = tEnd - tStart;
|
||||||
|
|
||||||
if (tSpan < VSMALL)
|
if (tSpan < VSMALL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user