Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Allwclean
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ wclean ./applications/solvers/dfSprayFoam
wclean ./applications/solvers/df0DFoam
wclean ./applications/solvers/dfLowMachFoam
wclean ./applications/solvers/dfHighSpeedFoam
wclean ./applications/solvers/dfBuoyancyFoam

rm -rf src_orig/
rm -rf bin/
Expand Down
2 changes: 2 additions & 0 deletions applications/solvers/dfBuoyancyFoam/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ EXE_INC = -std=c++14 \
-I$(DF_SRC)/dfCanteraMixture/lnInclude \
-I$(DF_SRC)/dfChemistryModel/lnInclude \
-I$(DF_SRC)/dfCombustionModels/lnInclude \
-I$(DF_SRC)/radiationModels/lnInclude \
-I$(CANTERA_ROOT)/include \
$(if $(LIBTORCH_ROOT),-I$(LIBTORCH_ROOT)/include,) \
$(if $(LIBTORCH_ROOT),-I$(LIBTORCH_ROOT)/include/torch/csrc/api/include,) \
Expand Down Expand Up @@ -62,6 +63,7 @@ EXE_LIBS = \
-ldfCanteraMixture \
-ldfChemistryModel \
-ldfCombustionModels \
-ldfRadiationModels \
$(CANTERA_ROOT)/lib/libcantera.so \
$(if $(LIBTORCH_ROOT),$(LIBTORCH_ROOT)/lib/libtorch.so,) \
$(if $(LIBTORCH_ROOT),$(LIBTORCH_ROOT)/lib/libc10.so,) \
Expand Down
6 changes: 3 additions & 3 deletions applications/solvers/dfBuoyancyFoam/YEEqn.H
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tmp<fv::convectionScheme<scalar>> mvConvection
)
);
{
// radiation->correct();
radiation->correct();
combustion->correct();

HRR = combustion->Qdot();
Expand Down Expand Up @@ -68,8 +68,8 @@ tmp<fv::convectionScheme<scalar>> mvConvection
- fvm::laplacian(turbulence->alphaEff(), he)
==
// combustion->Qdot() // ha Eqn has no reaction source
// + radiation->Sh(thermo, he)
parcels.Sh(he)
radiation->Sh(thermo, he)
+ parcels.Sh(he)
// + surfaceFilm.Sh()
// + fvOptions(rho, he)
);
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/dfBuoyancyFoam/createFields.H
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,5 @@ volScalarField K("K", 0.5*magSqr(U));
#include "createClouds.H"
#include "createSurfaceFilmModel.H"
// #include "createPyrolysisModel.H"
// #include "createRadiationModel.H"
#include "createRadiationModel.H"
// #include "createFvOptions.H"
2 changes: 1 addition & 1 deletion applications/solvers/dfBuoyancyFoam/dfBuoyancyFoam.C
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Description
#include "basicReactingCloud.H"
#include "surfaceFilmModel.H"
#include "pyrolysisModelCollection.H"
// #include "radiationModel.H"
#include "radiationModel.H"
#include "SLGThermo.H"
// #include "solidChemistryModel.H"
// #include "psiReactionThermo.H"
Expand Down