Commit e17c195c authored by henry's avatar henry
Browse files

Corrected for the changes to the name and location of the turbulance models.

parent 79b0d0ca
EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/LESmodels/LESdeltas/lnInclude \
-I$(LIB_SRC)/LESmodels \
-I$(LIB_SRC)/turbulenceModels \
-I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude
-I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/turbulenceModels/RAS \
-I$(LIB_SRC)/turbulenceModels/LES \
-I$(LIB_SRC)/turbulenceModels/LES/LESdeltas/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude
LIB_LIBS = \
-lfiniteVolume \
-lmeshTools \
-lincompressibleTransportModels \
-lincompressibleTurbulenceModels \
-lincompressibleLESmodels \
-lbasicThermophysicalModels \
-lspecie \
-lcompressibleLESmodels \
-lincompressibleLESmodels \
-lcompressibleTurbulenceModels \
-lincompressibleTurbulenceModels \
-lincompressibleTransportModels \
-lfiniteVolume \
-lmeshTools \
-lsampling
-lcompressibleLESmodels
......@@ -30,12 +30,10 @@ License
#include "Time.H"
#include "incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
#include "incompressible/turbulenceModel/turbulenceModel.H"
#include "incompressible/RASmodel/RASmodel.H"
#include "incompressible/LESmodel/LESmodel.H"
#include "basicThermo.H"
#include "compressible/turbulenceModel/turbulenceModel.H"
#include "compressible/RASmodel/RASmodel.H"
#include "compressible/LESmodel/LESmodel.H"
......@@ -52,19 +50,20 @@ Foam::tmp<Foam::volSymmTensorField> Foam::forces::devRhoReff() const
{
if
(
obr_.foundObject<compressible::turbulenceModel>("turbulenceProperties")
obr_.foundObject<compressible::RASmodel>("turbulenceProperties")
)
{
const compressible::turbulenceModel& ras
= obr_.lookupObject<compressible::turbulenceModel>
const compressible::RASmodel& ras
= obr_.lookupObject<compressible::RASmodel>
("turbulenceProperties");
return ras.devRhoReff();
}
else if (obr_.foundObject<turbulenceModel>("turbulenceProperties"))
else if (obr_.foundObject<incompressible::RASmodel>("turbulenceProperties"))
{
const turbulenceModel& ras
= obr_.lookupObject<turbulenceModel>("turbulenceProperties");
const incompressible::RASmodel& ras
= obr_.lookupObject<incompressible::RASmodel>
("turbulenceProperties");
return rhoRef_*ras.devReff();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment