updated to reflect changes in turbulence models

This commit is contained in:
andy
2008-06-20 17:23:59 +01:00
committed by graham
parent 6d0ba10a7f
commit fa22d2c43c
19 changed files with 35 additions and 40 deletions

View File

@ -5,6 +5,6 @@ EXE_INC = \
EXE_LIBS = \
-lfiniteVolume \
-lincompressibleRASmodels \
-lincompressibleRASModels \
-lincompressibleTransportModels \
-lfiniteVolume

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Application
R
R
Description
Calculates and writes the Reynolds stress R for the current time step.
@ -32,7 +32,7 @@ Description
#include "fvCFD.H"
#include "incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include "incompressible/RASmodel/RASmodel.H"
#include "incompressible/RASModel/RASModel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -60,7 +60,7 @@ int main(int argc, char *argv[])
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
turbulence->R()
RASModel->R()
);
R.write();

View File

@ -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)
);

View File

@ -5,5 +5,5 @@ EXE_INC = \
EXE_LIBS = \
-lfiniteVolume \
-lincompressibleRASmodels \
-lincompressibleRASModels \
-lincompressibleTransportModels

View File

@ -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)
);

View File

@ -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

View File

@ -1,9 +1,5 @@
EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/turbulenceModels/RAS \
-I$(LIB_SRC)/transportModels
-I$(LIB_SRC)/finiteVolume/lnInclude
EXE_LIBS = \
-lincompressibleRASmodels \
-lincompressibleTransportModels \
-lfiniteVolume

View File

@ -31,7 +31,6 @@ Description
\*---------------------------------------------------------------------------*/
#include "fvCFD.H"
#include "incompressible/RASmodel/RASmodel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -6,7 +6,7 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude
EXE_LIBS = \
-lcompressibleRASmodels \
-lcompressibleRASModels \
-lcombustionThermophysicalModels \
-lfiniteVolume \
-lspecie \

View File

@ -31,9 +31,9 @@ volVectorField U
#include "compressibleCreatePhi.H"
autoPtr<compressible::RASmodel> turbulence
autoPtr<compressible::RASModel> RASModel
(
compressible::RASmodel::New
compressible::RASModel::New
(
rho,
U,

View File

@ -34,7 +34,7 @@ Description
#include "fvCFD.H"
#include "hCombustionThermo.H"
#include "compressible/RASmodel/RASmodel.H"
#include "compressible/RASModel/RASModel.H"
#include "wallFvPatch.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -56,7 +56,7 @@ int main(int argc, char *argv[])
# include "createFields.H"
surfaceScalarField heatFlux =
fvc::interpolate(turbulence->alphaEff())*fvc::snGrad(h);
fvc::interpolate(RASModel->alphaEff())*fvc::snGrad(h);
const surfaceScalarField::GeometricBoundaryField& patchHeatFlux =
heatFlux.boundaryField();

View File

@ -4,6 +4,6 @@ EXE_INC = \
-I$(LIB_SRC)/transportModels
EXE_LIBS = \
-lincompressibleRASmodels \
-lincompressibleRASModels \
-lincompressibleTransportModels \
-lfiniteVolume

View File

@ -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)
);

View File

@ -32,7 +32,7 @@ Description
#include "fvCFD.H"
#include "incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include "incompressible/RASmodel/RASmodel.H"
#include "incompressible/RASModel/RASModel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -52,7 +52,7 @@ int main(int argc, char *argv[])
# include "createFields.H"
volSymmTensorField Reff(turbulence->devReff());
volSymmTensorField Reff(RASModel->devReff());
volVectorField wallShearStress
(

View File

@ -5,6 +5,6 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude
EXE_LIBS = \
-lincompressibleLESmodels \
-lincompressibleLESModels \
-lincompressibleTransportModels \
-lfiniteVolume

View File

@ -16,9 +16,9 @@ volVectorField U
singlePhaseTransportModel laminarTransport(U, phi);
autoPtr<incompressible::LESmodel> sgsModel
autoPtr<incompressible::LESModel> sgsModel
(
incompressible::LESmodel::New(U, phi, laminarTransport)
incompressible::LESModel::New(U, phi, laminarTransport)
);
volScalarField::GeometricBoundaryField d = nearWallDist(mesh).y();

View File

@ -32,7 +32,7 @@ Description
#include "fvCFD.H"
#include "incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include "incompressible/LESmodel/LESmodel.H"
#include "incompressible/LESModel/LESModel.H"
#include "nearWallDist.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -83,9 +83,9 @@ int main(int argc, char *argv[])
singlePhaseTransportModel laminarTransport(U, phi);
autoPtr<incompressible::LESmodel> sgsModel
autoPtr<incompressible::LESModel> sgsModel
(
incompressible::LESmodel::New(U, phi, laminarTransport)
incompressible::LESModel::New(U, phi, laminarTransport)
);
volScalarField::GeometricBoundaryField d = nearWallDist(mesh).y();

View File

@ -4,6 +4,6 @@ EXE_INC = \
-I$(LIB_SRC)/transportModels
EXE_LIBS = \
-lincompressibleRASmodels \
-lincompressibleRASModels \
-lincompressibleTransportModels \
-lfiniteVolume

View File

@ -32,7 +32,7 @@ Description
#include "fvCFD.H"
#include "incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include "incompressible/RASmodel/RASmodel.H"
#include "incompressible/RASModel/RASModel.H"
#include "wallFvPatch.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -83,9 +83,9 @@ int main(int argc, char *argv[])
singlePhaseTransportModel laminarTransport(U, phi);
autoPtr<incompressible::RASmodel> turbulence
autoPtr<incompressible::RASModel> RASModel
(
incompressible::RASmodel::New(U, phi, laminarTransport)
incompressible::RASModel::New(U, phi, laminarTransport)
);
const fvPatchList& patches = mesh.boundary();
@ -96,7 +96,7 @@ int main(int argc, char *argv[])
if (typeid(currPatch) == typeid(wallFvPatch))
{
yPlus.boundaryField()[patchi] = turbulence->yPlus(patchi);
yPlus.boundaryField()[patchi] = RASModel->yPlus(patchi);
const scalarField& Yp = yPlus.boundaryField()[patchi];
Info<< "Patch " << patchi