Commit 32b66139 authored by Henry Weller's avatar Henry Weller
Browse files

functionObjects::forces: Corrected lookup of fluidThermo

parent 21773a47
EXE_INC = \
-I$(LIB_SRC)/fileFormats/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/transportModels/compressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/incompressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude
LIB_LIBS = \
-lfluidThermophysicalModels \
-lincompressibleTransportModels \
-lcompressibleTransportModels \
-lturbulenceModels \
-lincompressibleTurbulenceModels \
-lcompressibleTurbulenceModels \
-lincompressibleTransportModels \
-lfluidThermophysicalModels \
-lspecie \
-lfileFormats \
-lfiniteVolume \
......
......@@ -224,10 +224,10 @@ Foam::functionObjects::forces::devRhoReff() const
return rho()*turb.devReff();
}
else if (obr_.foundObject<fluidThermo>(fluidThermo::typeName))
else if (obr_.foundObject<fluidThermo>(fluidThermo::dictName))
{
const fluidThermo& thermo =
obr_.lookupObject<fluidThermo>(fluidThermo::typeName);
obr_.lookupObject<fluidThermo>(fluidThermo::dictName);
const volVectorField& U = obr_.lookupObject<volVectorField>(UName_);
......
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