Skip to content

Commit 30e6c0b

Browse files
turn on radaition model
1 parent 28c1b65 commit 30e6c0b

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

Allwclean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ wclean ./applications/solvers/dfSprayFoam
2121
wclean ./applications/solvers/df0DFoam
2222
wclean ./applications/solvers/dfLowMachFoam
2323
wclean ./applications/solvers/dfHighSpeedFoam
24+
wclean ./applications/solvers/dfBuoyancyFoam
2425

2526
rm -rf src_orig/
2627
rm -rf bin/

applications/solvers/dfBuoyancyFoam/Make/options

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ EXE_INC = -std=c++14 \
3232
-I$(DF_SRC)/dfCanteraMixture/lnInclude \
3333
-I$(DF_SRC)/dfChemistryModel/lnInclude \
3434
-I$(DF_SRC)/dfCombustionModels/lnInclude \
35+
-I$(DF_SRC)/radiationModels/lnInclude \
3536
-I$(CANTERA_ROOT)/include \
3637
$(if $(LIBTORCH_ROOT),-I$(LIBTORCH_ROOT)/include,) \
3738
$(if $(LIBTORCH_ROOT),-I$(LIBTORCH_ROOT)/include/torch/csrc/api/include,) \
@@ -62,6 +63,7 @@ EXE_LIBS = \
6263
-ldfCanteraMixture \
6364
-ldfChemistryModel \
6465
-ldfCombustionModels \
66+
-ldfRadiationModels \
6567
$(CANTERA_ROOT)/lib/libcantera.so \
6668
$(if $(LIBTORCH_ROOT),$(LIBTORCH_ROOT)/lib/libtorch.so,) \
6769
$(if $(LIBTORCH_ROOT),$(LIBTORCH_ROOT)/lib/libc10.so,) \

applications/solvers/dfBuoyancyFoam/YEEqn.H

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tmp<fv::convectionScheme<scalar>> mvConvection
99
)
1010
);
1111
{
12-
// radiation->correct();
12+
radiation->correct();
1313
combustion->correct();
1414

1515
HRR = combustion->Qdot();
@@ -68,8 +68,8 @@ tmp<fv::convectionScheme<scalar>> mvConvection
6868
- fvm::laplacian(turbulence->alphaEff(), he)
6969
==
7070
// combustion->Qdot() // ha Eqn has no reaction source
71-
// + radiation->Sh(thermo, he)
72-
parcels.Sh(he)
71+
radiation->Sh(thermo, he)
72+
+ parcels.Sh(he)
7373
// + surfaceFilm.Sh()
7474
// + fvOptions(rho, he)
7575
);

applications/solvers/dfBuoyancyFoam/createFields.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,5 @@ volScalarField K("K", 0.5*magSqr(U));
164164
#include "createClouds.H"
165165
#include "createSurfaceFilmModel.H"
166166
// #include "createPyrolysisModel.H"
167-
// #include "createRadiationModel.H"
167+
#include "createRadiationModel.H"
168168
// #include "createFvOptions.H"

applications/solvers/dfBuoyancyFoam/dfBuoyancyFoam.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Description
4242
#include "basicReactingCloud.H"
4343
#include "surfaceFilmModel.H"
4444
#include "pyrolysisModelCollection.H"
45-
// #include "radiationModel.H"
45+
#include "radiationModel.H"
4646
#include "SLGThermo.H"
4747
// #include "solidChemistryModel.H"
4848
// #include "psiReactionThermo.H"

0 commit comments

Comments
 (0)