ENH: Register turbulenceModel with optional name (default is 'turbulenceModel')

Now instead of looking up RASModel we can lookup turbulenceModel instead.
This commit is contained in:
mattijs
2010-06-11 16:39:16 +01:00
parent 4c3021ba61
commit 9544280e65
136 changed files with 586 additions and 412 deletions

View File

@ -50,10 +50,11 @@ PDRkEpsilon::PDRkEpsilon
const volScalarField& rho,
const volVectorField& U,
const surfaceScalarField& phi,
const basicThermo& thermophysicalModel
const basicThermo& thermophysicalModel,
const word& turbulenceModelName
)
:
RASModel(typeName, rho, U, phi, thermophysicalModel),
RASModel(typeName, rho, U, phi, thermophysicalModel, turbulenceModelName),
Cmu_
(

View File

@ -112,7 +112,8 @@ public:
const volScalarField& rho,
const volVectorField& U,
const surfaceScalarField& phi,
const basicThermo& thermophysicalModel
const basicThermo& thermophysicalModel,
const word& turbulenceModelName = turbulenceModel::typeName
);