Skip to content
Snippets Groups Projects
Commit 1364a0f5 authored by LEGOLAS\lenz's avatar LEGOLAS\lenz
Browse files

fixes a bug in the SalinazVasques setup

parent 1d394a25
No related branches found
No related tags found
No related merge requests found
......@@ -340,7 +340,7 @@ void simulation( std::string path, std::string simulationName )
if( rank == 0 ) writeVtkXMLParallelSummaryFile( dataBase, parameters, path + simulationName + "_" + std::to_string( iter ), mpiWorldSize );
writeVtkXML( dataBase, parameters, 0, path + simulationName + "_" + std::to_string( iter ) );
writeVtkXML( dataBase, parameters, 0, path + simulationName + "_" + std::to_string( iter ) + "_rank_" + std::to_string(rank) );
}
cupsAnalyzer.run( iter );
......@@ -349,14 +349,13 @@ void simulation( std::string path, std::string simulationName )
turbulenceAnalyzer->run( iter, parameters );
if( iter % 100000 == 0 )
//if( iter % 400 == 0 )
if( iter > 200000 && iter % 100000 == 0 )
{
turbulenceAnalyzer->download();
if( rank == 0 ) writeTurbulenceVtkXMLParallelSummaryFile( dataBase, turbulenceAnalyzer, parameters, path + simulationName + "_Turbulence_" + std::to_string( iter ), mpiWorldSize );
writeTurbulenceVtkXML(dataBase, turbulenceAnalyzer, 0, path + simulationName + "_Turbulence_" + std::to_string( iter ) + "_rank_" + std::to_string(rank));
writeTurbulenceVtkXML( dataBase, turbulenceAnalyzer, 0, path + simulationName + "_Turbulence_" + std::to_string( iter ) + "_rank_" + std::to_string(rank) );
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment