diff --git a/applications/solvers/combustion/postSootFoam/Make/options b/applications/solvers/combustion/postSootFoam/Make/options index ec7af9cbf..48e2394a3 100644 --- a/applications/solvers/combustion/postSootFoam/Make/options +++ b/applications/solvers/combustion/postSootFoam/Make/options @@ -24,7 +24,7 @@ EXE_INC = \ -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ -I$(LIB_SRC)/properties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/combustionModels/lnInclude + -I$(LIB_SRC)/combustionModels/lnInclude EXE_LIBS = \ -lchemistryModel \ diff --git a/applications/solvers/combustion/postSootFoam/createFields.H b/applications/solvers/combustion/postSootFoam/createFields.H index 74e136870..83a6e7c59 100644 --- a/applications/solvers/combustion/postSootFoam/createFields.H +++ b/applications/solvers/combustion/postSootFoam/createFields.H @@ -1,13 +1,12 @@ Info<< "\nCreating thermophysical model for Fluid mesh\n" << endl; #include "readGravitationalAcceleration.H" -combustionModels::rhoCombustionModel* pRxn = (combustionModels::rhoCombustionModel::New(mesh)).ptr(); -autoPtr combustion +autoPtr combustion ( - dynamic_cast (pRxn) + combustionModels::rhoCombustionModel::New(mesh) ); -autoPtr chemistry = combustion->chem(); -rhoReactionThermo& thermo = chemistry->thermo(); + +rhoReactionThermo& thermo = combustion->thermo(); thermo.validate(args.executable(), "ha"); SLGThermo slgThermo(mesh, thermo); basicSpecieMixture& composition = thermo.composition(); diff --git a/applications/solvers/combustion/postSootFoam/postSootFoam.C b/applications/solvers/combustion/postSootFoam/postSootFoam.C index ba916501a..4895ed2c1 100644 --- a/applications/solvers/combustion/postSootFoam/postSootFoam.C +++ b/applications/solvers/combustion/postSootFoam/postSootFoam.C @@ -33,7 +33,7 @@ Description #include "fvCFD.H" #include "turbulentFluidThermoModel.H" #include "basicReactingMultiphaseCloud.H" -#include "rhoChemistryCombustion.H" +#include "rhoCombustionModel.H" #include "radiationModel.H" #include "fvOptions.H" #include "SLGThermo.H"