From: michael Date: Mon, 17 May 2021 12:44:57 +0000 (+0200) Subject: ProblemCoreFlows::run no longer divides time step by two in case of failure of soleTi... X-Git-Tag: V9_7_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=929088e2d855b44635dcfd3a0199662e739b255b;p=tools%2Fsolverlab.git ProblemCoreFlows::run no longer divides time step by two in case of failure of soleTimeStep --- 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<