Relax time step criterion.

This commit is contained in:
Thomas Lichtenegger
2018-09-05 10:52:33 +02:00
parent bed9647047
commit 67cd1bf561

View File

@ -671,10 +671,12 @@ bool cfdemCloud::evolve
//CHECK JUST TIME-INTERPOATE ALREADY SMOOTHENED VOIDFRACTIONNEXT AND UsNEXT FIELD
// IMPLICIT FORCE CONTRIBUTION AND SOLVER USE EXACTLY THE SAME AVERAGED
// QUANTITIES AT THE GRID!
Info << "\n timeStepFraction() = " << dataExchangeM().timeStepFraction() << endl;
if(dataExchangeM().timeStepFraction() > 1.0000001)
scalar timeStepFrac = dataExchangeM().timeStepFraction();
Info << "\n timeStepFraction() = " << timeStepFrac << endl;
if(timeStepFrac > 1.0000001)
{
FatalError << "cfdemCloud::dataExchangeM().timeStepFraction()>1: Do not do this, since dangerous. This might be due to the fact that you used a adjustable CFD time step. Please use a fixed CFD time step." << abort(FatalError);
// FatalError << "cfdemCloud::dataExchangeM().timeStepFraction()>1: Do not do this, since dangerous. This might be due to the fact that you used a adjustable CFD time step. Please use a fixed CFD time step." << abort(FatalError);
Warning << "cfdemCloud::dataExchangeM().timeStepFraction() = " << timeStepFrac << endl;
}
clockM().start(24,"interpolateEulerFields");