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

simpleFoam: Construct a turbulenceModel rather than RASModel

to support laminar simulations in the new framework.

Unfortunately this allows LES models to be instantiated although they
are not compatible with steady-state simulations.
parent fd457786
No related branches found
No related tags found
No related merge requests found
...@@ -33,9 +33,10 @@ ...@@ -33,9 +33,10 @@
scalar pRefValue = 0.0; scalar pRefValue = 0.0;
setRefCell(p, simple.dict(), pRefCell, pRefValue); setRefCell(p, simple.dict(), pRefCell, pRefValue);
singlePhaseTransportModel laminarTransport(U, phi); singlePhaseTransportModel laminarTransport(U, phi);
autoPtr<incompressible::RASModel> turbulence autoPtr<incompressible::turbulenceModel> turbulence
( (
incompressible::RASModel::New(U, phi, laminarTransport) incompressible::turbulenceModel::New(U, phi, laminarTransport)
); );
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment