Commit 04824fb8 authored by Henry Weller's avatar Henry Weller
Browse files

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

Resolves bug-report
parent 37b92a6e
......@@ -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());
Supports Markdown
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