diff --git a/applications/solvers/lagrangian/reactingParcelFilmFoam/Make/options b/applications/solvers/lagrangian/reactingParcelFilmFoam/Make/options index 8b2729e8c0981909c87768bdb4eef48bb5b7c10b..014cd4e35633810c2dabe2998faef71cc31ede92 100644 --- a/applications/solvers/lagrangian/reactingParcelFilmFoam/Make/options +++ b/applications/solvers/lagrangian/reactingParcelFilmFoam/Make/options @@ -1,4 +1,5 @@ EXE_INC = \ + -I. \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I${LIB_SRC}/sampling/lnInclude \ -I${LIB_SRC}/meshTools/lnInclude \ @@ -25,7 +26,6 @@ EXE_INC = \ -I$(LIB_SRC)/combustionModels/lnInclude \ -I$(FOAM_SOLVERS)/combustion/reactingFoam - EXE_LIBS = \ -lfiniteVolume \ -lfvOptions \ diff --git a/applications/solvers/lagrangian/reactingParcelFilmFoam/createFieldRefs.H b/applications/solvers/lagrangian/reactingParcelFilmFoam/createFieldRefs.H index 4748421aa4589abed6eb7b43e704a68d4719af79..14914688ca14f4943fbfcfc4925c53afa0b8e653 100644 --- a/applications/solvers/lagrangian/reactingParcelFilmFoam/createFieldRefs.H +++ b/applications/solvers/lagrangian/reactingParcelFilmFoam/createFieldRefs.H @@ -1 +1,5 @@ const label inertIndex(composition.species()[inertSpecie]); + +const volScalarField& T = thermo.T(); +const volScalarField& psi = thermo.psi(); +filmModelType& surfaceFilm = tsurfaceFilm(); diff --git a/applications/solvers/lagrangian/reactingParcelFilmFoam/createFields.H b/applications/solvers/lagrangian/reactingParcelFilmFoam/createFields.H index 313c82d0e2eb8be9f18cf8c926090f109d5c1136..8ec3c94169eed01cfdd1102467fdb2b579c20b3b 100644 --- a/applications/solvers/lagrangian/reactingParcelFilmFoam/createFields.H +++ b/applications/solvers/lagrangian/reactingParcelFilmFoam/createFields.H @@ -37,8 +37,6 @@ volScalarField rho ); volScalarField& p = thermo.p(); -const volScalarField& T = thermo.T(); -const volScalarField& psi = thermo.psi(); Info<< "\nReading field U\n" << endl; volVectorField U diff --git a/applications/solvers/lagrangian/reactingParcelFilmFoam/createSurfaceFilmModel.H b/applications/solvers/lagrangian/reactingParcelFilmFoam/createSurfaceFilmModel.H index 1db870f0aa76f02a89cc98748782f97fd0f1242b..ffdbcbf6a90643785ce22117b9a29ec491446384 100644 --- a/applications/solvers/lagrangian/reactingParcelFilmFoam/createSurfaceFilmModel.H +++ b/applications/solvers/lagrangian/reactingParcelFilmFoam/createSurfaceFilmModel.H @@ -3,5 +3,3 @@ Info<< "\nConstructing surface film model" << endl; typedef regionModels::surfaceFilmModels::surfaceFilmModel filmModelType; autoPtr<filmModelType> tsurfaceFilm(filmModelType::New(mesh, g)); -filmModelType& surfaceFilm = tsurfaceFilm(); -