From 929088e2d855b44635dcfd3a0199662e739b255b Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 17 May 2021 14:44:57 +0200 Subject: [PATCH] ProblemCoreFlows::run no longer divides time step by two in case of failure of soleTimeStep --- CoreFlows/Models/src/ProblemCoreFlows.cxx | 29 +++++++++++------------ 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/CoreFlows/Models/src/ProblemCoreFlows.cxx b/CoreFlows/Models/src/ProblemCoreFlows.cxx index d9f1c64..bb98c7e 100755 --- a/CoreFlows/Models/src/ProblemCoreFlows.cxx +++ b/CoreFlows/Models/src/ProblemCoreFlows.cxx @@ -126,6 +126,7 @@ void ProblemCoreFlows::setInitialField(const Field &VV) } _VV=VV; + _VV.setName("SOLVERLAB results"); _time=_VV.getTime(); _mesh=_VV.getMesh(); _Nmailles = _mesh.getNumberOfCells(); @@ -428,7 +429,7 @@ bool ProblemCoreFlows::run() bool ok; // Is the time interval successfully solved ? _isStationary=false;//in case of a second run with a different physics or cfl - cout<< "Running test case "<< _fileName<open((_fileName+".log").c_str(), ios::out | ios::trunc);;//for creation of a log file to save the history of the simulation *_runLogFile<< "Running test case "<< _fileName<_precision){ + /* if(_dt>_precision){ cout<<"ComputeTimeStep returned _dt="<<_dt<