mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
SRFSimpleFoam: Change from pure RAS to any turbulence model
Provides support for running laminar. Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1951
This commit is contained in:
@ -64,7 +64,7 @@ volVectorField U
|
||||
|
||||
singlePhaseTransportModel laminarTransport(U, phi);
|
||||
|
||||
autoPtr<incompressible::RASModel> turbulence
|
||||
autoPtr<incompressible::turbulenceModel> turbulence
|
||||
(
|
||||
incompressible::New<incompressible::RASModel>(U, phi, laminarTransport)
|
||||
incompressible::turbulenceModel::New(U, phi, laminarTransport)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user