mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
updated to reflect changes in turbulence models
This commit is contained in:
@ -5,5 +5,5 @@ EXE_INC = \
|
||||
|
||||
EXE_LIBS = \
|
||||
-lfiniteVolume \
|
||||
-lincompressibleRASmodels \
|
||||
-lincompressibleRASModels \
|
||||
-lincompressibleTransportModels
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
singlePhaseTransportModel laminarTransport(U, phi);
|
||||
|
||||
autoPtr<incompressible::RASmodel> turbulence
|
||||
autoPtr<incompressible::RASModel> RASModel
|
||||
(
|
||||
incompressible::RASmodel::New(U, phi, laminarTransport)
|
||||
incompressible::RASModel::New(U, phi, laminarTransport)
|
||||
);
|
||||
|
||||
@ -36,7 +36,7 @@ Source files:
|
||||
|
||||
#include "fvCFD.H"
|
||||
#include "incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
|
||||
#include "incompressible/RASmodel/RASmodel.H"
|
||||
#include "incompressible/RASModel/RASModel.H"
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -68,13 +68,13 @@ int main(int argc, char *argv[])
|
||||
// Cache the turbulence fields
|
||||
|
||||
Info<< "\nRetrieving field k from turbulence model" << endl;
|
||||
const volScalarField k = turbulence->k();
|
||||
const volScalarField k = RASModel->k();
|
||||
|
||||
Info<< "\nRetrieving field epsilon from turbulence model" << endl;
|
||||
const volScalarField epsilon = turbulence->epsilon();
|
||||
const volScalarField epsilon = RASModel->epsilon();
|
||||
|
||||
Info<< "\nRetrieving field R from turbulence model" << endl;
|
||||
const volSymmTensorField R = turbulence->R();
|
||||
const volSymmTensorField R = RASModel->R();
|
||||
|
||||
// Check availability of tubulence fields
|
||||
|
||||
|
||||
Reference in New Issue
Block a user