Revert error in selection of laminar
This commit is contained in:
parent
4feb140631
commit
4c00b8b949
2 changed files with 29 additions and 5 deletions
|
@ -58,6 +58,19 @@ laminar::laminar
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * Selectors * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
autoPtr<laminar> laminar::New
|
||||||
|
(
|
||||||
|
const volVectorField& U,
|
||||||
|
const surfaceScalarField& phi,
|
||||||
|
transportModel& lamTransportModel
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return autoPtr<laminar>(new laminar(U, phi, lamTransportModel));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
tmp<volScalarField> laminar::nut() const
|
tmp<volScalarField> laminar::nut() const
|
||||||
|
@ -70,7 +83,7 @@ tmp<volScalarField> laminar::nut() const
|
||||||
(
|
(
|
||||||
"nut",
|
"nut",
|
||||||
runTime_.timeName(),
|
runTime_.timeName(),
|
||||||
U_.db(),
|
mesh_,
|
||||||
IOobject::NO_READ,
|
IOobject::NO_READ,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
|
@ -97,7 +110,7 @@ tmp<volScalarField> laminar::k() const
|
||||||
(
|
(
|
||||||
"k",
|
"k",
|
||||||
runTime_.timeName(),
|
runTime_.timeName(),
|
||||||
U_.db(),
|
mesh_,
|
||||||
IOobject::NO_READ,
|
IOobject::NO_READ,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
|
@ -118,7 +131,7 @@ tmp<volScalarField> laminar::epsilon() const
|
||||||
(
|
(
|
||||||
"epsilon",
|
"epsilon",
|
||||||
runTime_.timeName(),
|
runTime_.timeName(),
|
||||||
U_.db(),
|
mesh_,
|
||||||
IOobject::NO_READ,
|
IOobject::NO_READ,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
|
@ -142,7 +155,7 @@ tmp<volSymmTensorField> laminar::R() const
|
||||||
(
|
(
|
||||||
"R",
|
"R",
|
||||||
runTime_.timeName(),
|
runTime_.timeName(),
|
||||||
U_.db(),
|
mesh_,
|
||||||
IOobject::NO_READ,
|
IOobject::NO_READ,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
|
@ -166,7 +179,7 @@ tmp<volSymmTensorField> laminar::devReff() const
|
||||||
(
|
(
|
||||||
"devRhoReff",
|
"devRhoReff",
|
||||||
runTime_.timeName(),
|
runTime_.timeName(),
|
||||||
U_.db(),
|
mesh_,
|
||||||
IOobject::NO_READ,
|
IOobject::NO_READ,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
|
|
|
@ -70,6 +70,17 @@ public:
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Selectors
|
||||||
|
|
||||||
|
//- Return a reference to the selected turbulence model
|
||||||
|
static autoPtr<laminar> New
|
||||||
|
(
|
||||||
|
const volVectorField& U,
|
||||||
|
const surfaceScalarField& phi,
|
||||||
|
transportModel& lamTransportModel
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~laminar()
|
virtual ~laminar()
|
||||||
{}
|
{}
|
||||||
|
|
Reference in a new issue