Commit e332c4a3 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 68b0c866
......@@ -33,9 +33,10 @@
scalar pRefValue = 0.0;
setRefCell(p, simple.dict(), pRefCell, pRefValue);
singlePhaseTransportModel laminarTransport(U, phi);
autoPtr<incompressible::RASModel> turbulence
autoPtr<incompressible::turbulenceModel> turbulence
(
incompressible::RASModel::New(U, phi, laminarTransport)
incompressible::turbulenceModel::New(U, phi, laminarTransport)
);
Markdown is supported
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