Compare commits

...
Sign in to create a new pull request.

8 commits
test ... master

Author SHA1 Message Date
Combustion Lab
cd6edbb818 Merge branch 'AllwmakeScript' 2017-08-18 22:23:06 +09:00
ignis
a06cbf56ab Allwmake script for compilation 2017-08-18 20:51:31 +09:00
Combustion Lab
f4c39c52b4 Merge branch 'misc' into 'master'
Misc

See merge request !3
2017-08-16 23:32:56 +00:00
ignis
13f98aa1b3 LagrangiansCMCSprayFoam -> LagrangianCMCSprayFoam 2017-08-17 07:13:37 +09:00
ignis
e7f41ba176 remove execute permission in source files and correct typo in directory name 2017-08-17 07:13:37 +09:00
Combustion Lab
05cf4af9ff Merge branch 'WooJoo_edit' (SLFMFoam new inputs Sc and outletName) into 'master'
Woo joo edit

See merge request !2
2017-08-16 22:07:21 +00:00
space
08b013fa35 examples updated 2017-08-16 09:30:09 +09:00
space
f406c36e4a Schmidt Number, Outlet Name information edit 2017-08-14 14:21:43 +09:00
103 changed files with 60 additions and 15 deletions

11
Allwmake Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
libs/Allwmake $targetType $*
solvers_post/Allwmake $targetType $*
#------------------------------------------------------------------------------

View file

@ -23,6 +23,9 @@ upperN 30; //number of eta-space over stoichiometric value
Equilibrium true; Equilibrium true;
NVar 40; //20; NVar 40; //20;
Sc 0.68; //Schmidt number
outletName outlet; // outletName
detailedEta detailedEta
( (
1e-6 1e-5 1e-4 1e-3 1e-2 1e-6 1e-5 1e-4 1e-3 1e-2

View file

@ -24,6 +24,9 @@ upperN 30; //number of eta-space over stoichiometric value
Equilibrium false; Equilibrium false;
NVar 40; //20; NVar 40; //20;
Sc 0.68; //Schmidt number
outletName outlet; // outletName
detailedEta detailedEta
( (
1e-6 1e-5 1e-4 1e-3 1e-2 1e-6 1e-5 1e-4 1e-3 1e-2

10
libs/Allwmake Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
wmake $targetType chemistryModel_POSTECH
wmake $targetType combustionModels_POSTECH
#------------------------------------------------------------------------------

12
solvers_post/Allwmake Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
wmake SLFMFoam
wmake LagrangianCMCFoam
wmake LagrangianCMCSprayFoam
wmake LagrangianCMCdieselEngineFoam4x
#------------------------------------------------------------------------------

0
solvers_post/LagrangianCMCFoam/CMCequation.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/CMCintegration.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/CMCwrite.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/Flamegroup.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/InjNewFG.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/Math.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/Mixturefraction.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/MixturefractionVar.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/Peta.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/QCMC_init.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/Qh_diffusion.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/Qh_reaction.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/Qi_diffusion.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/Qi_reaction.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/chemistryCMC.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/correctRHOandT.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/correctRHOandT2.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/logSummary.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/readCMCProperties.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/restartCMC.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/setRHOCMC.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/setSDRCMC.H Executable file → Normal file
View file

0
solvers_post/LagrangianCMCFoam/startSummary.H Executable file → Normal file
View file

View file

@ -105,7 +105,7 @@ int main(int argc, char *argv[])
if(runTime.value() >= parcels.injectors()[0].timeStart()) if(runTime.value() >= parcels.injectors()[0].timeStart())
{ {
CMC_on = true; CMC_on = true;
if(init_start_CMC == true) if(init_start_CMC == true)
{ {
#include "QiCMC_init.H" #include "QiCMC_init.H"

View file

@ -0,0 +1,3 @@
LagrangianCMCSprayFoam.C
EXE = $(FOAM_USER_APPBIN)/LagrangianCMCSprayFoam

View file

View file

View file

View file

0
solvers_post/LagrangianCMCdieselEngineFoam4x/Math.H Executable file → Normal file
View file

View file

View file

0
solvers_post/LagrangianCMCdieselEngineFoam4x/Peta.H Executable file → Normal file
View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

@ -1,3 +0,0 @@
LagrangiansCMCSprayFoam.C
EXE = $(FOAM_USER_APPBIN)/LagrangiansCMCSprayFoam

View file

@ -3,7 +3,7 @@ fvScalarMatrix mfEqn
( (
fvm::div(phi, mf) fvm::div(phi, mf)
- fvm::laplacian(1.47*turbulence->mut(), mf) //let 1/Sc = 1.47 - fvm::laplacian((1/Sc)*turbulence->mut(), mf) //let 1/Sc = 1.47
); );

View file

@ -7,9 +7,9 @@ fvScalarMatrix mfVarEqn
( (
fvm::div(phi, mfVar) fvm::div(phi, mfVar)
- fvm::laplacian(1.47*turbulence->mut(), mfVar) //let 1/Sc = 1.47 - fvm::laplacian((1/Sc)*turbulence->mut(), mfVar)
== ==
2 * ( 1.47 * turbulence->mut() ) * (Gradmf & Gradmf) 2 * ( (1/Sc) * turbulence->mut() ) * (Gradmf & Gradmf)
- 2 * rho * SDR - 2 * rho * SDR
); );

View file

@ -25,10 +25,14 @@ Application
SLFMFoam SLFMFoam
Description Description
Steady state solver for turbulent combustion. Steady Laminar Flamelet Model(SLFM) solver for turbulent combustion. SLFM
assumes a turbulent flame composed of thin stretched laminar flamelets.
Each flamelet library is generated by external program and imported by
the solver.
References References
N. Peters, Turbulent Combustion, Cambridge University Press; 2000. A.Y. Klimenko, R.W. Bilger, Progress in Energy and Combustion Science 25 (1999) 595-687
N. Peters, Turbulent Combustion, Cambridge University Press (2000)
Contact Contact
POSTECH combustion lab. POSTECH combustion lab.
@ -55,7 +59,7 @@ int main(int argc, char *argv[])
#include "createControl.H" #include "createControl.H"
#include "createFields.H" #include "createFields.H"
#include "createFieldRefs.H" #include "createFieldRefs.H"
#include "BetaPDF.H" //make detailed integration space and evaluate beta-pdf integration #include "BetaPDF.H" //make detailed integration space and perform beta-pdf integration
#include "createFvOptions.H" #include "createFvOptions.H"
#include "initContinuityErrs.H" #include "initContinuityErrs.H"
@ -81,8 +85,8 @@ int main(int argc, char *argv[])
// --- Pressure-velocity SIMPLE corrector loop // --- Pressure-velocity SIMPLE corrector loop
{ {
#include "UEqn.H" #include "UEqn.H"
#include "Mixturefraction.H" //mixture fraction #include "Mixturefraction.H" //mean mixture fraction
#include "MixturefractionVar.H" //mixture fraction variance #include "MixturefractionVar.H" //mean mixture fraction variance
#include "setSDR.H" //calculate scalar dissipation rate #include "setSDR.H" //calculate scalar dissipation rate
#include "updateT_RHO.H" //update temperature and density #include "updateT_RHO.H" //update temperature and density
#include "pEqn.H" #include "pEqn.H"

Some files were not shown because too many files have changed in this diff Show more