Skip to content
Snippets Groups Projects
Commit 35c53a0e authored by Henry Weller's avatar Henry Weller
Browse files

createTurbulenceFields: Construct fields and turbulence model for every time step processed

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1749
parent b1a1a0c6
Branches
Tags
No related merge requests found
......@@ -50,7 +50,6 @@ int main(int argc, char *argv[])
instantList timeDirs = timeSelector::select0(runTime, args);
#include "createMesh.H"
#include "createFields.H"
forAll(timeDirs, timeI)
{
......@@ -58,7 +57,7 @@ int main(int argc, char *argv[])
Info<< "Time = " << runTime.timeName() << endl;
// Cache the turbulence fields
#include "createFields.H"
Info<< "\nRetrieving field k from turbulence model" << endl;
const volScalarField k(RASModel->k());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment