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.
This commit is contained in:
parent
fd457786ef
commit
9ecf5abd53
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue