├── cases ├── lookUpTableGeneration │ └── Sandia_COH2N2 │ │ ├── library │ │ ├── Run.sh │ │ └── input.dic │ │ └── flamelets │ │ ├── Run.sh │ │ └── input.dic ├── flameletPimpleSMOKE │ ├── Sandia_COH2N2 │ │ ├── 0 │ │ │ ├── Z │ │ │ ├── T │ │ │ ├── H │ │ │ ├── Zvar │ │ │ ├── p │ │ │ ├── U │ │ │ ├── k.old │ │ │ ├── k │ │ │ ├── mut │ │ │ ├── nut │ │ │ └── epsilon │ │ ├── constant │ │ │ ├── polyMesh │ │ │ │ └── blockMeshDict │ │ │ ├── g │ │ │ ├── massFlowProperties │ │ │ ├── turbulenceProperties │ │ │ ├── thermophysicalProperties │ │ │ └── flameletsProperties │ │ └── system │ │ │ ├── decomposeParDict │ │ │ ├── controlDict │ │ │ ├── fvSchemes │ │ │ └── fvSchemes.old │ └── Sandia_COH2N2.oldOF │ │ ├── 0 │ │ ├── Z │ │ ├── T │ │ ├── H │ │ ├── Zvar │ │ ├── p │ │ ├── U │ │ ├── alphat │ │ ├── k │ │ ├── mut │ │ └── epsilon │ │ ├── constant │ │ ├── g │ │ ├── massFlowProperties │ │ ├── thermophysicalProperties │ │ └── flameletsProperties │ │ └── system │ │ ├── decomposeParDict │ │ ├── controlDict │ │ └── fvSchemes.old ├── flameletSimpleSMOKE │ ├── Sandia_COH2N2 │ │ ├── 0 │ │ │ ├── Z │ │ │ ├── T │ │ │ ├── H │ │ │ ├── Zvar │ │ │ ├── p │ │ │ ├── U │ │ │ ├── k.old │ │ │ ├── k │ │ │ ├── mut │ │ │ ├── nut │ │ │ └── epsilon │ │ ├── constant │ │ │ ├── polyMesh │ │ │ │ └── blockMeshDict │ │ │ ├── g │ │ │ ├── massFlowProperties │ │ │ ├── turbulenceProperties │ │ │ ├── thermophysicalProperties │ │ │ └── flameletsProperties │ │ └── system │ │ │ ├── decomposeParDict │ │ │ ├── controlDict │ │ │ ├── fvSchemes │ │ │ └── fvSolution │ └── Sandia_COH2N2.oldOF │ │ ├── 0 │ │ ├── Z │ │ ├── T │ │ ├── H │ │ ├── Zvar │ │ ├── p │ │ ├── U │ │ ├── alphat │ │ ├── k │ │ └── mut │ │ ├── constant │ │ ├── polyMesh │ │ │ └── blockMeshDict │ │ ├── g │ │ ├── massFlowProperties │ │ ├── thermophysicalProperties │ │ └── flameletsProperties │ │ └── system │ │ ├── decomposeParDict │ │ ├── controlDict │ │ └── fvSchemes └── flameletPisoSMOKE │ └── Sandia_COH2N2.oldOF │ ├── 0 │ ├── Z │ ├── T │ ├── H │ ├── Zvar │ ├── p │ ├── U │ ├── k.old │ ├── alphat │ ├── k │ ├── epsilon.old │ ├── mut │ └── epsilon │ ├── constant │ ├── polyMesh │ │ └── blockMeshDict │ ├── g │ ├── massFlowProperties │ ├── thermophysicalProperties │ └── flameletsProperties │ └── system │ ├── decomposeParDict │ ├── controlDict │ ├── fvSolution │ ├── fvSchemes.old │ └── fvSchemes ├── solvers ├── flameletPisoSMOKE │ ├── Make │ │ ├── files │ │ └── options │ ├── UEqn.H │ ├── outputVariables.H │ ├── readMassFlowProperties.H │ ├── HEqn.H │ ├── ZEqn.H │ ├── pEqn.H │ └── writeMassFlow.H ├── flameletPimpleSMOKE │ ├── Make │ │ ├── files │ │ └── options │ ├── pcEqn.H │ ├── pEqn.H │ ├── outputVariables.H │ ├── readMassFlowProperties.H │ ├── UEqn.H │ ├── HEqn.H │ ├── ZEqn.H │ ├── pEqn.22.H │ └── writeMassFlow.H ├── flameletSimpleSMOKE │ ├── Make │ │ ├── files │ │ └── options │ ├── pcEqn.H │ ├── pEqn.H │ ├── outputVariables.H │ ├── readMassFlowProperties.H │ ├── UEqn.H │ ├── HEqn.H │ ├── ZEqn.H │ ├── pEqn.2x.H │ └── writeMassFlow.H └── openSMOKEpp4flameletSMOKE │ └── math │ ├── OpenSMOKEStdInclude.hpp │ ├── OpenSMOKEBaseClass.hpp │ └── OpenSMOKEClass.hpp ├── libs └── thermophysicalModels │ └── basic │ └── Make │ ├── files │ └── options ├── .gitignore ├── mybashrc.minimalist └── mybashrc.minimalist.mkl /cases/lookUpTableGeneration/Sandia_COH2N2/library/Run.sh: -------------------------------------------------------------------------------- 1 | OpenSMOKEpp_LookUpTables.sh --input input.dic 2 | 3 | -------------------------------------------------------------------------------- /solvers/flameletPisoSMOKE/Make/files: -------------------------------------------------------------------------------- 1 | flameletPisoSMOKE.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/flameletPisoSMOKE 4 | -------------------------------------------------------------------------------- /cases/lookUpTableGeneration/Sandia_COH2N2/flamelets/Run.sh: -------------------------------------------------------------------------------- 1 | OpenSMOKEpp_LaminarFlamelet.sh --input input.dic 2 | 3 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/Make/files: -------------------------------------------------------------------------------- 1 | flameletPimpleSMOKE.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/flameletPimpleSMOKE 4 | -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/Make/files: -------------------------------------------------------------------------------- 1 | flameletSimpleSMOKE.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/flameletSimpleSMOKE 4 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/pcEqn.H: -------------------------------------------------------------------------------- 1 | #if OPENFOAM_VERSION >= 40 2 | #include "pcEqn.4x.H" 3 | #else 4 | Compilation_Error_You_Did_Not_Define_The_OPENFOAM_VERSION_Macro 5 | #endif 6 | -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/pcEqn.H: -------------------------------------------------------------------------------- 1 | #if OPENFOAM_VERSION >= 40 2 | #include "pcEqn.4x.H" 3 | #else 4 | Compilation_Error_You_Did_Not_Define_The_OPENFOAM_VERSION_Macro 5 | #endif 6 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/constant/polyMesh/blockMeshDict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acuoci/flameletSMOKE/HEAD/cases/flameletPimpleSMOKE/Sandia_COH2N2/constant/polyMesh/blockMeshDict -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/constant/polyMesh/blockMeshDict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acuoci/flameletSMOKE/HEAD/cases/flameletSimpleSMOKE/Sandia_COH2N2/constant/polyMesh/blockMeshDict -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/constant/polyMesh/blockMeshDict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acuoci/flameletSMOKE/HEAD/cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/constant/polyMesh/blockMeshDict -------------------------------------------------------------------------------- /libs/thermophysicalModels/basic/Make/files: -------------------------------------------------------------------------------- 1 | flameletSMOKEThermo/flameletSMOKEThermo.C 2 | flameletSMOKEThermo/flameletSMOKEThermos.C 3 | 4 | LIB = $(FOAM_USER_LIBBIN)/libflameletSMOKEThermophysicalModels 5 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/constant/polyMesh/blockMeshDict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acuoci/flameletSMOKE/HEAD/cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/constant/polyMesh/blockMeshDict -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/pEqn.H: -------------------------------------------------------------------------------- 1 | #if OPENFOAM_VERSION < 40 2 | #include "pEqn.2x.H" 3 | #elif OPENFOAM_VERSION >= 40 4 | #include "pEqn.4x.H" 5 | #else 6 | Compilation_Error_You_Did_Not_Define_The_OPENFOAM_VERSION_Macro 7 | #endif 8 | -------------------------------------------------------------------------------- /solvers/flameletPisoSMOKE/UEqn.H: -------------------------------------------------------------------------------- 1 | fvVectorMatrix UEqn 2 | ( 3 | fvm::ddt(rho, U) 4 | + fvm::div(phi, U) 5 | + turbulence->divDevRhoReff(U) 6 | == 7 | rho*g 8 | + fvOptions(rho, U) 9 | ); 10 | 11 | if (momentumPredictor) 12 | { 13 | solve(UEqn == -fvc::grad(p)); 14 | } 15 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/pEqn.H: -------------------------------------------------------------------------------- 1 | #if OPENFOAM_VERSION == 22 2 | #include "pEqn.22.H" 3 | #elif OPENFOAM_VERSION == 23 4 | #include "pEqn.23.H" 5 | #elif OPENFOAM_VERSION == 24 6 | #include "pEqn.24.H" 7 | #elif OPENFOAM_VERSION >= 40 8 | #include "pEqn.4x.H" 9 | #else 10 | Compilation_Error_You_Did_Not_Define_The_OPENFOAM_VERSION_Macro 11 | #endif 12 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/outputVariables.H: -------------------------------------------------------------------------------- 1 | if(monitoring == true) 2 | { 3 | Info<< endl << "Monitoring: " << endl; 4 | Info<< " + rho (min/max): " << min(rho).value() << " " << max(rho).value() << endl; 5 | Info<< " + H (min/max): " << min(H).value() << " " << max(H).value() << endl; 6 | Info<< " + Z (min=0/max=1): " << min(Z).value() << " " << max(Z).value() << endl; 7 | Info<< " + Zvar (min=0/max=0.25): " << min(Zvar).value() << " " << max(Zvar).value() << endl; 8 | Info<< endl; 9 | } 10 | -------------------------------------------------------------------------------- /solvers/flameletPisoSMOKE/outputVariables.H: -------------------------------------------------------------------------------- 1 | if(monitoring == true) 2 | { 3 | Info<< endl << "Monitoring: " << endl; 4 | Info<< " + rho (min/max): " << min(rho).value() << " " << max(rho).value() << endl; 5 | Info<< " + H (min/max): " << min(H).value() << " " << max(H).value() << endl; 6 | Info<< " + Z (min=0/max=1): " << min(Z).value() << " " << max(Z).value() << endl; 7 | Info<< " + Zvar (min=0/max=0.25): " << min(Zvar).value() << " " << max(Zvar).value() << endl; 8 | Info<< endl; 9 | } 10 | -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/outputVariables.H: -------------------------------------------------------------------------------- 1 | if(monitoring == true) 2 | { 3 | Info<< endl << "Monitoring: " << endl; 4 | Info<< " + rho (min/max): " << min(rho).value() << " " << max(rho).value() << endl; 5 | Info<< " + H (min/max): " << min(H).value() << " " << max(H).value() << endl; 6 | Info<< " + Z (min=0/max=1): " << min(Z).value() << " " << max(Z).value() << endl; 7 | Info<< " + Zvar (min=0/max=0.25): " << min(Zvar).value() << " " << max(Zvar).value() << endl; 8 | Info<< endl; 9 | } 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | #Personal settings 2 | ################## 3 | *.o 4 | *.dep 5 | .*.sw[op] 6 | *~ 7 | linux64GccDPOpt/ 8 | lnInclude/ 9 | 10 | # Compiled source # 11 | ################### 12 | *.com 13 | *.class 14 | *.dll 15 | *.exe 16 | *.o 17 | *.so 18 | 19 | # Packages # 20 | ############ 21 | # it's better to unpack these files and commit the raw source 22 | # git has its own built in compression methods 23 | *.7z 24 | *.dmg 25 | *.gz 26 | *.iso 27 | *.jar 28 | *.rar 29 | *.tar 30 | *.zip 31 | 32 | # Logs and databases # 33 | ###################### 34 | *.log 35 | *.sql 36 | *.sqlite 37 | 38 | # OS generated files # 39 | ###################### 40 | .DS_Store 41 | .DS_Store? 42 | ._* 43 | .Spotlight-V100 44 | .Trashes 45 | ehthumbs.db 46 | Thumbs.db 47 | 48 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/readMassFlowProperties.H: -------------------------------------------------------------------------------- 1 | Info<< "Reading mass flow properties\n" << endl; 2 | 3 | IOdictionary massFlowDict 4 | ( 5 | IOobject 6 | ( 7 | "massFlowProperties", 8 | runTime.constant(), 9 | mesh, 10 | IOobject::MUST_READ, 11 | IOobject::NO_WRITE 12 | ) 13 | ); 14 | 15 | wordList inletPatches(massFlowDict.lookup("inletPatches")); 16 | wordList outletPatches(massFlowDict.lookup("outletPatches")); 17 | 18 | fileName path = runTime.caseName(); 19 | 20 | OFstream outInfo ("outInfo.case"); 21 | 22 | outInfo << "time " 23 | << "m_in " 24 | << "v_in " 25 | << "H_in " 26 | << "m_out " 27 | << "v_out " 28 | << "H_out " 29 | << "m_net " 30 | << "v_net " 31 | << "H_net " 32 | << endl; 33 | -------------------------------------------------------------------------------- /solvers/flameletPisoSMOKE/readMassFlowProperties.H: -------------------------------------------------------------------------------- 1 | Info<< "Reading mass flow properties\n" << endl; 2 | 3 | IOdictionary massFlowDict 4 | ( 5 | IOobject 6 | ( 7 | "massFlowProperties", 8 | runTime.constant(), 9 | mesh, 10 | IOobject::MUST_READ, 11 | IOobject::NO_WRITE 12 | ) 13 | ); 14 | 15 | wordList inletPatches(massFlowDict.lookup("inletPatches")); 16 | wordList outletPatches(massFlowDict.lookup("outletPatches")); 17 | 18 | fileName path = runTime.caseName(); 19 | 20 | OFstream outInfo ("outInfo.case"); 21 | 22 | outInfo << "time " 23 | << "m_in " 24 | << "v_in " 25 | << "H_in " 26 | << "m_out " 27 | << "v_out " 28 | << "H_out " 29 | << "m_net " 30 | << "v_net " 31 | << "H_net " 32 | << endl; 33 | -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/readMassFlowProperties.H: -------------------------------------------------------------------------------- 1 | Info<< "Reading mass flow properties\n" << endl; 2 | 3 | IOdictionary massFlowDict 4 | ( 5 | IOobject 6 | ( 7 | "massFlowProperties", 8 | runTime.constant(), 9 | mesh, 10 | IOobject::MUST_READ, 11 | IOobject::NO_WRITE 12 | ) 13 | ); 14 | 15 | wordList inletPatches(massFlowDict.lookup("inletPatches")); 16 | wordList outletPatches(massFlowDict.lookup("outletPatches")); 17 | 18 | fileName path = runTime.caseName(); 19 | 20 | OFstream outInfo ("outInfo.case"); 21 | 22 | outInfo << "time " 23 | << "m_in " 24 | << "v_in " 25 | << "H_in " 26 | << "m_out " 27 | << "v_out " 28 | << "H_out " 29 | << "m_net " 30 | << "v_net " 31 | << "H_net " 32 | << endl; 33 | -------------------------------------------------------------------------------- /libs/thermophysicalModels/basic/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | $(OPENFOAM_VERSION) \ 3 | $(DEVVERSION) \ 4 | -I$(BOOST_LIBRARY_PATH)/include \ 5 | -I$(EIGEN_LIBRARY_PATH) \ 6 | -I$(RAPIDXML_LIBRARY_PATH) \ 7 | -I../../../solvers/openSMOKEpp4flameletSMOKE/ \ 8 | -I$(MKL_PATH)/include \ 9 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 10 | -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ 11 | -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ 12 | -I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \ 13 | -I$(LIB_SRC)/transportModels/compressible/lnInclude \ 14 | -I$(LIB_SRC)/meshTools/lnInclude \ 15 | -I$(realpath ../flameletExtraction/flamelets/turbulent/lnInclude) \ 16 | -I$(realpath ../flameletExtraction/common/lnInclude) 17 | 18 | 19 | LIB_LIBS = \ 20 | -lfiniteVolume 21 | 22 | -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/UEqn.H: -------------------------------------------------------------------------------- 1 | // Solve the Momentum equation 2 | 3 | #if OPENFOAM_VERSION < 40 4 | 5 | tmp UEqn 6 | ( 7 | fvm::div(phi, U) 8 | + turbulence->divDevRhoReff(U) 9 | == 10 | rho*g 11 | + fvOptions(rho, U) 12 | ); 13 | 14 | UEqn().relax(); 15 | 16 | fvOptions.constrain(UEqn()); 17 | 18 | solve(UEqn() == -fvc::grad(p)); 19 | 20 | fvOptions.correct(U); 21 | 22 | #else 23 | 24 | MRF.correctBoundaryVelocity(U); 25 | 26 | tmp tUEqn 27 | ( 28 | fvm::div(phi, U) 29 | + MRF.DDt(rho, U) 30 | + turbulence->divDevRhoReff(U) 31 | == 32 | rho*g + 33 | fvOptions(rho, U) 34 | ); 35 | fvVectorMatrix& UEqn = tUEqn.ref(); 36 | 37 | UEqn.relax(); 38 | 39 | fvOptions.constrain(UEqn); 40 | 41 | solve(UEqn == -fvc::grad(p)); 42 | 43 | fvOptions.correct(U); 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /mybashrc.minimalist: -------------------------------------------------------------------------------- 1 | #OpenFOAM VERSION (22, 23, 24, 40, 50, 60) 2 | #OpenFOAM-dev is equivalent to 60 3 | export OPENFOAM_VERSION='-DOPENFOAM_VERSION=50' 4 | 5 | #This must be equal to 1 if 5.x, 6.x or dev versions are used 6 | export DEVVERSION='-DDEVVERSION=1' 7 | 8 | #Shared libraries (please select according to the OpenFOAM version) 9 | #OpenFOAM <=30 10 | #export OF_SHARED_LIBS=' -lspecie -lcompressibleTurbulenceModel -lcompressibleRASModels ' 11 | #OpenFOAM >=40 12 | export OF_SHARED_LIBS=' -lturbulenceModels -lcompressibleTurbulenceModels -lspecie -lcompressibleTransportModels ' 13 | 14 | #Compulsory path 15 | export EIGEN_LIBRARY_PATH=/software/chimica2/libraries/eigen/eigen-3.3.3 16 | export BOOST_LIBRARY_PATH=/software/chimica2/libraries/boost/boost-1.69.0-gcc-4.8.5 17 | export RAPIDXML_LIBRARY_PATH=/software/chimica2/libraries/rapidxml/rapidxml-1.13 18 | 19 | #Options 20 | export MKL_SUPPORT='-DOPENSMOKE_USE_MKL=0' 21 | 22 | #Only if the OPENSMOKE_USE_MKL is turned on 23 | export MKL_PATH= 24 | export MKL_LIBS= 25 | 26 | -------------------------------------------------------------------------------- /solvers/flameletPisoSMOKE/HEqn.H: -------------------------------------------------------------------------------- 1 | { 2 | if (adiabaticMode == true) 3 | { 4 | fvScalarMatrix hEqn 5 | ( 6 | fvm::ddt(rho, H) 7 | + fvm::div(phi, H) 8 | - fvm::laplacian(turbulence->muEff()/sigmat, H) 9 | ); 10 | 11 | hEqn.solve(mesh.solver("H")); 12 | } 13 | 14 | else 15 | { 16 | if (radiationMode == true) 17 | { 18 | Qrad = 4. * sigmaSB * as * (pow(thermo.T(),4) - pow(Tenv,4)); 19 | } 20 | 21 | else if(radiationMode == false && switchQoff == false) 22 | { 23 | Qrad = 0 * 4. * sigmaSB * as * (pow(thermo.T(),4) - pow(Tenv,4)); 24 | switchQoff = true; 25 | } 26 | 27 | fvScalarMatrix hEqn 28 | ( 29 | fvm::ddt(rho,H) 30 | + fvm::div(phi, H) 31 | - fvm::laplacian(turbulence->muEff()/sigmat, H) + Qrad 32 | ); 33 | 34 | hEqn.solve(mesh.solver("H")); 35 | } 36 | 37 | thermo.correct(); 38 | 39 | Info<< " * Tgas min/max = " << min(thermo.T()).value() << ", " << max(thermo.T()).value() << endl; 40 | } 41 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | 20 | value ( 0 0 0 ); 21 | 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | 20 | value ( 0 0 0 ); 21 | 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | 20 | value ( 0 0 0 ); 21 | 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | 20 | value ( 0 -9.81 0 ); 21 | 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/constant/g: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | 20 | value ( 0 -9.81 0 ); 21 | 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/constant/massFlowProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: http://www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object massFlowProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | //- Specify the inlets 19 | inletPatches 20 | ( 21 | inletfuel 22 | inletair 23 | ); 24 | 25 | //- Specify the outlet 26 | outletPatches 27 | ( 28 | outlet 29 | ); 30 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/constant/massFlowProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: http://www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object massFlowProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | //- Specify the inlets 19 | inletPatches 20 | ( 21 | inletfuel 22 | inletair 23 | ); 24 | 25 | //- Specify the outlet 26 | outletPatches 27 | ( 28 | outlet 29 | ); 30 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/constant/massFlowProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: http://www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object massFlowProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | //- Specify the inlets 19 | inletPatches 20 | ( 21 | inletfuel 22 | inletair 23 | ); 24 | 25 | //- Specify the outlet 26 | outletPatches 27 | ( 28 | outlet 29 | ); 30 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/constant/massFlowProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: http://www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object massFlowProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | //- Specify the inlets 19 | inletPatches 20 | ( 21 | inletfuel 22 | inletair 23 | ); 24 | 25 | //- Specify the outlet 26 | outletPatches 27 | ( 28 | outlet 29 | ); 30 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/constant/massFlowProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: http://www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object massFlowProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | //- Specify the inlets 19 | inletPatches 20 | ( 21 | inletfuel 22 | inletair 23 | ); 24 | 25 | //- Specify the outlet 26 | outletPatches 27 | ( 28 | outlet 29 | ); 30 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/UEqn.H: -------------------------------------------------------------------------------- 1 | // Solve the Momentum equation 2 | 3 | #if OPENFOAM_VERSION < 40 4 | 5 | tmp UEqn 6 | ( 7 | fvm::ddt(rho, U) 8 | + fvm::div(phi, U) 9 | + turbulence->divDevRhoReff(U) 10 | == 11 | rho*g 12 | + fvOptions(rho, U) 13 | ); 14 | 15 | UEqn().relax(); 16 | 17 | fvOptions.constrain(UEqn()); 18 | 19 | if (pimple.momentumPredictor()) 20 | { 21 | solve(UEqn() == -fvc::grad(p)); 22 | 23 | fvOptions.correct(U); 24 | K = 0.5*magSqr(U); 25 | } 26 | 27 | #else 28 | 29 | MRF.correctBoundaryVelocity(U); 30 | 31 | tmp tUEqn 32 | ( 33 | fvm::ddt(rho, U) + fvm::div(phi, U) 34 | + MRF.DDt(rho, U) 35 | + turbulence->divDevRhoReff(U) 36 | == 37 | rho*g + 38 | fvOptions(rho, U) 39 | ); 40 | fvVectorMatrix& UEqn = tUEqn.ref(); 41 | 42 | UEqn.relax(); 43 | 44 | fvOptions.constrain(UEqn); 45 | 46 | if (pimple.momentumPredictor()) 47 | { 48 | solve(UEqn == -fvc::grad(p)); 49 | 50 | fvOptions.correct(U); 51 | K = 0.5*magSqr(U); 52 | } 53 | 54 | #endif 55 | 56 | -------------------------------------------------------------------------------- /solvers/flameletPisoSMOKE/ZEqn.H: -------------------------------------------------------------------------------- 1 | //- Solving equation of variance of mixture fraction 2 | fvScalarMatrix ZEqn 3 | ( 4 | ( 5 | fvm::ddt(rho, Z) 6 | + fvm::div(phi, Z) 7 | - fvm::laplacian(turbulence->muEff()/sigmat, Z) 8 | ) 9 | ); 10 | 11 | ZEqn.solve(mesh.solver("Z")); 12 | 13 | if (varianceEquation == false) 14 | { 15 | //- Solving equation of variance of mixture fraction 16 | fvScalarMatrix ZvarEqn 17 | ( 18 | ( 19 | fvm::ddt(rho, Zvar) 20 | + fvm::div(phi, Zvar) 21 | - fvm::laplacian(turbulence->mut()/sigmat, Zvar) 22 | - Cg*turbulence->mut()*magSqr(fvc::grad(Z)) 23 | + Cd*rho*turbulence->epsilon()/(turbulence->k()+k_small)*Zvar 24 | ) 25 | ); 26 | 27 | ZvarEqn.solve(mesh.solver("Zvar")); 28 | } 29 | else 30 | { 31 | Info << "Algebraic equation for Zvar" << endl; 32 | scalarField& ZvarCells = Zvar.internalField(); 33 | ZvarCells = Cg*turbulence->mut()*magSqr(fvc::grad(Z))*turbulence->k()/(Cd*rho*(turbulence->epsilon()+epsilon_small)); 34 | } 35 | 36 | //- Updating stoichiometric scalar dissipation rate 37 | chi_st=Cx*turbulence->epsilon()/(turbulence->k()+k_small)*Zvar; 38 | 39 | 40 | -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/HEqn.H: -------------------------------------------------------------------------------- 1 | { 2 | if (adiabaticMode == true) 3 | { 4 | fvScalarMatrix hEqn 5 | ( 6 | fvm::div(phi, H) 7 | - fvm::laplacian(turbulence->muEff()/sigmat, H) 8 | ); 9 | 10 | hEqn.relax(); 11 | #if OPENFOAM_VERSION >=60 12 | hEqn.solve("H"); 13 | #else 14 | hEqn.solve(mesh.solver("H")); 15 | #endif 16 | } 17 | 18 | else 19 | { 20 | if (radiationMode == true) 21 | { 22 | Qrad = 4. * sigmaSB * as * (pow(thermo.T(),4) - pow(Tenv,4)); 23 | } 24 | 25 | else if(radiationMode == false && switchQoff == false) 26 | { 27 | Qrad = 0 * 4. * sigmaSB * as * (pow(thermo.T(),4) - pow(Tenv,4)); 28 | switchQoff = true; 29 | } 30 | 31 | fvScalarMatrix hEqn 32 | ( 33 | fvm::div(phi, H) 34 | - fvm::laplacian(turbulence->muEff()/sigmat, H) + Qrad 35 | ); 36 | 37 | hEqn.relax(); 38 | #if OPENFOAM_VERSION >=60 39 | hEqn.solve("H"); 40 | #else 41 | hEqn.solve(mesh.solver("H")); 42 | #endif 43 | } 44 | 45 | thermo.correct(); 46 | 47 | Info<< " * Tgas min/max = " << min(thermo.T()).value() << ", " << max(thermo.T()).value() << endl; 48 | } 49 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: dev | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType RAS; 19 | 20 | RAS 21 | { 22 | RASModel kEpsilon; 23 | 24 | turbulence on; 25 | 26 | printCoeffs on; 27 | } 28 | 29 | 30 | // ************************************************************************* // 31 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: dev | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType RAS; 19 | 20 | RAS 21 | { 22 | RASModel kEpsilon; 23 | 24 | turbulence on; 25 | 26 | printCoeffs on; 27 | } 28 | 29 | 30 | // ************************************************************************* // 31 | -------------------------------------------------------------------------------- /mybashrc.minimalist.mkl: -------------------------------------------------------------------------------- 1 | #OpenFOAM VERSION (22, 23, 24, 40, 50, 60) 2 | #OpenFOAM-dev is equivalent to 60 3 | export OPENFOAM_VERSION='-DOPENFOAM_VERSION=50' 4 | 5 | #This must be equal to 1 is 5.x, 6.x or dev versions are used 6 | export DEVVERSION='-DDEVVERSION=1' 7 | 8 | #Shared libraries (please select according to the OpenFOAM version) 9 | #OpenFOAM <=30 10 | #export OF_SHARED_LIBS=' -lspecie -lcompressibleTurbulenceModel -lcompressibleRASModels ' 11 | #OpenFOAM >=40 12 | export OF_SHARED_LIBS=' -lturbulenceModels -lcompressibleTurbulenceModels -lspecie -lcompressibleTransportModels ' 13 | 14 | #Compulsory path 15 | export EIGEN_LIBRARY_PATH=/software/chimica2/libraries/eigen/eigen-3.3.3 16 | export BOOST_LIBRARY_PATH=/software/chimica2/libraries/boost/boost-1.69.0-gcc-4.8.5 17 | export RAPIDXML_LIBRARY_PATH=/software/chimica2/libraries/rapidxml/rapidxml-1.13 18 | 19 | #Options 20 | export MKL_SUPPORT='-DOPENSMOKE_USE_MKL=1' 21 | 22 | #Only if the OPENSMOKE_USE_MKL is turned on 23 | export MKL_PATH=$HOME/intel/mkl 24 | export MKL_LIBS='-Wl,--start-group $(MKL_PATH)/lib/intel64/libmkl_intel_lp64.a $(MKL_PATH)/lib/intel64/libmkl_core.a $(MKL_PATH)/lib/intel64/libmkl_sequential.a -Wl,--end-group -lpthread -lm' 25 | 26 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/HEqn.H: -------------------------------------------------------------------------------- 1 | { 2 | if (adiabaticMode == true) 3 | { 4 | fvScalarMatrix hEqn 5 | ( 6 | fvm::ddt(rho, H) 7 | + fvm::div(phi, H) 8 | - fvm::laplacian(turbulence->muEff()/sigmat, H) 9 | ); 10 | 11 | 12 | hEqn.relax(); 13 | fvOptions.constrain(hEqn); 14 | #if OPENFOAM_VERSION >=60 15 | hEqn.solve("H"); 16 | #else 17 | hEqn.solve(mesh.solver("H")); 18 | #endif 19 | } 20 | 21 | else 22 | { 23 | if (radiationMode == true) 24 | { 25 | Qrad = 4. * sigmaSB * as * (pow(thermo.T(),4) - pow(Tenv,4)); 26 | } 27 | 28 | else if(radiationMode == false && switchQoff == false) 29 | { 30 | Qrad = 0 * 4. * sigmaSB * as * (pow(thermo.T(),4) - pow(Tenv,4)); 31 | switchQoff = true; 32 | } 33 | 34 | fvScalarMatrix hEqn 35 | ( 36 | fvm::ddt(rho,H) 37 | + fvm::div(phi, H) 38 | - fvm::laplacian(turbulence->muEff()/sigmat, H) + Qrad 39 | ); 40 | 41 | hEqn.relax(); 42 | fvOptions.constrain(hEqn); 43 | #if OPENFOAM_VERSION >=60 44 | hEqn.solve("H"); 45 | #else 46 | hEqn.solve(mesh.solver("H")); 47 | #endif 48 | } 49 | 50 | thermo.correct(); 51 | 52 | Info<< " * Tgas min/max = " << min(thermo.T()).value() << ", " << max(thermo.T()).value() << endl; 53 | } 54 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | $(OPENFOAM_VERSION) \ 3 | $(DEVVERSION) \ 4 | -I$(BOOST_LIBRARY_PATH)/include \ 5 | -I$(EIGEN_LIBRARY_PATH) \ 6 | -I$(RAPIDXML_LIBRARY_PATH) \ 7 | -I$(MKL_PATH)/include \ 8 | -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ 9 | -I$(LIB_SRC)/turbulenceModels \ 10 | -I$(LIB_SRC)/turbulenceModels/compressible/RAS/RASModel \ 11 | -I$(LIB_SRC)/finiteVolume/cfdTools \ 12 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 13 | -I$(LIB_SRC)/sampling/lnInclude \ 14 | -I$(LIB_SRC)/meshTools/lnInclude \ 15 | -I$(LIB_SRC)/fvOptions/lnInclude \ 16 | -I$(LIB_SRC)/transportModels/compressible/lnInclude \ 17 | -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ 18 | -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \ 19 | -I$(realpath ../../libs/thermophysicalModels/basic/flameletSMOKEThermo/) 20 | 21 | EXE_LIBS = \ 22 | -L$(FOAM_USER_LIBBIN) \ 23 | -L$(BOOST_LIBRARY_PATH)/lib \ 24 | $(MKL_LIBS) \ 25 | -lflameletSMOKEThermophysicalModels \ 26 | -lfiniteVolume \ 27 | $(OF_SHARED_LIBS) \ 28 | -lsampling \ 29 | -lmeshTools \ 30 | -lfvOptions \ 31 | -lgfortran \ 32 | $(MKL_LIBS) \ 33 | -lboost_date_time \ 34 | -lboost_filesystem \ 35 | -lboost_system \ 36 | -lboost_regex 37 | -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | $(OPENFOAM_VERSION) \ 3 | $(DEVVERSION) \ 4 | -I$(BOOST_LIBRARY_PATH)/include \ 5 | -I$(EIGEN_LIBRARY_PATH) \ 6 | -I$(RAPIDXML_LIBRARY_PATH) \ 7 | -I$(MKL_PATH)/include \ 8 | -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ 9 | -I$(LIB_SRC)/turbulenceModels \ 10 | -I$(LIB_SRC)/turbulenceModels/compressible/RAS/RASModel \ 11 | -I$(LIB_SRC)/finiteVolume/cfdTools \ 12 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 13 | -I$(LIB_SRC)/sampling/lnInclude \ 14 | -I$(LIB_SRC)/meshTools/lnInclude \ 15 | -I$(LIB_SRC)/fvOptions/lnInclude \ 16 | -I$(LIB_SRC)/transportModels/compressible/lnInclude \ 17 | -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ 18 | -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \ 19 | -I$(realpath ../../libs/thermophysicalModels/basic/flameletSMOKEThermo/) 20 | 21 | EXE_LIBS = \ 22 | -L$(FOAM_USER_LIBBIN) \ 23 | -L$(BOOST_LIBRARY_PATH)/lib \ 24 | $(MKL_LIBS) \ 25 | -lflameletSMOKEThermophysicalModels \ 26 | $(OF_SHARED_LIBS) \ 27 | -lfiniteVolume \ 28 | -lsampling \ 29 | -lmeshTools \ 30 | -lfvOptions \ 31 | -lgfortran \ 32 | $(MKL_LIBS) \ 33 | -lboost_date_time \ 34 | -lboost_filesystem \ 35 | -lboost_system \ 36 | -lboost_regex 37 | -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/ZEqn.H: -------------------------------------------------------------------------------- 1 | //- Solving equation of variance of mixture fraction 2 | fvScalarMatrix ZEqn 3 | ( 4 | ( 5 | fvm::div(phi, Z) 6 | // - fvm::Sp(fvc::div(phi), Z) 7 | - fvm::laplacian(turbulence->muEff()/sigmat, Z) 8 | ) 9 | ); 10 | 11 | ZEqn.relax(); 12 | #if OPENFOAM_VERSION >=60 13 | ZEqn.solve("Z"); 14 | #else 15 | ZEqn.solve(mesh.solver("Z")); 16 | #endif 17 | 18 | if (varianceEquation == false) 19 | { 20 | //- Solving equation of variance of mixture fraction 21 | fvScalarMatrix ZvarEqn 22 | ( 23 | ( 24 | fvm::div(phi, Zvar) 25 | // - fvm::Sp(fvc::div(phi), Zvar) 26 | - fvm::laplacian(turbulence->mut()/sigmat, Zvar) 27 | - Cg*turbulence->mut()*magSqr(fvc::grad(Z)) 28 | + Cd*rho*turbulence->epsilon()/(turbulence->k()+k_small)*Zvar 29 | ) 30 | ); 31 | 32 | ZvarEqn.relax(); 33 | #if OPENFOAM_VERSION >=60 34 | ZvarEqn.solve("Zvar"); 35 | #else 36 | ZvarEqn.solve(mesh.solver("Zvar")); 37 | #endif 38 | } 39 | else 40 | { 41 | Info << "Algebraic equation for Zvar" << endl; 42 | scalarField& ZvarCells = Zvar.ref(); 43 | ZvarCells = Cg*turbulence->mut()*magSqr(fvc::grad(Z))*turbulence->k()/(Cd*rho*(turbulence->epsilon()+epsilon_small)); 44 | } 45 | 46 | //- Updating stoichiometric scalar dissipation rate 47 | chi_st=Cx*turbulence->epsilon()/(turbulence->k()+k_small)*Zvar; 48 | 49 | 50 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/system/decomposeParDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2 11 | format ascii; 12 | class dictionary; 13 | object decomposeParDict; 14 | } 15 | 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 5; 19 | 20 | method hierarchical; 21 | // method ptscotch; 22 | 23 | simpleCoeffs 24 | { 25 | n (8 1 1); 26 | delta 0.001; 27 | } 28 | 29 | hierarchicalCoeffs 30 | { 31 | n (1 5 1); 32 | delta 0.001; 33 | order xyz; 34 | } 35 | 36 | manualCoeffs 37 | { 38 | dataFile "cellDecomposition"; 39 | } 40 | 41 | 42 | // ************************************************************************* // 43 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/system/decomposeParDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2 11 | format ascii; 12 | class dictionary; 13 | object decomposeParDict; 14 | } 15 | 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 5; 19 | 20 | method hierarchical; 21 | // method ptscotch; 22 | 23 | simpleCoeffs 24 | { 25 | n (8 1 1); 26 | delta 0.001; 27 | } 28 | 29 | hierarchicalCoeffs 30 | { 31 | n (1 5 1); 32 | delta 0.001; 33 | order xyz; 34 | } 35 | 36 | manualCoeffs 37 | { 38 | dataFile "cellDecomposition"; 39 | } 40 | 41 | 42 | // ************************************************************************* // 43 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/system/decomposeParDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2 11 | format ascii; 12 | class dictionary; 13 | object decomposeParDict; 14 | } 15 | 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 5; 19 | 20 | method hierarchical; 21 | // method ptscotch; 22 | 23 | simpleCoeffs 24 | { 25 | n (8 1 1); 26 | delta 0.001; 27 | } 28 | 29 | hierarchicalCoeffs 30 | { 31 | n (1 5 1); 32 | delta 0.001; 33 | order xyz; 34 | } 35 | 36 | manualCoeffs 37 | { 38 | dataFile "cellDecomposition"; 39 | } 40 | 41 | 42 | // ************************************************************************* // 43 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/system/decomposeParDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2 11 | format ascii; 12 | class dictionary; 13 | object decomposeParDict; 14 | } 15 | 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 5; 19 | 20 | method hierarchical; 21 | // method ptscotch; 22 | 23 | simpleCoeffs 24 | { 25 | n (8 1 1); 26 | delta 0.001; 27 | } 28 | 29 | hierarchicalCoeffs 30 | { 31 | n (1 5 1); 32 | delta 0.001; 33 | order xyz; 34 | } 35 | 36 | manualCoeffs 37 | { 38 | dataFile "cellDecomposition"; 39 | } 40 | 41 | 42 | // ************************************************************************* // 43 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/system/decomposeParDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2 11 | format ascii; 12 | class dictionary; 13 | object decomposeParDict; 14 | } 15 | 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 5; 19 | 20 | method hierarchical; 21 | // method ptscotch; 22 | 23 | simpleCoeffs 24 | { 25 | n (8 1 1); 26 | delta 0.001; 27 | } 28 | 29 | hierarchicalCoeffs 30 | { 31 | n (1 5 1); 32 | delta 0.001; 33 | order xyz; 34 | } 35 | 36 | manualCoeffs 37 | { 38 | dataFile "cellDecomposition"; 39 | } 40 | 41 | 42 | // ************************************************************************* // 43 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/ZEqn.H: -------------------------------------------------------------------------------- 1 | //- Solving equation of variance of mixture fraction 2 | fvScalarMatrix ZEqn 3 | ( 4 | ( 5 | fvm::ddt(rho, Z) 6 | + fvm::div(phi, Z) 7 | - fvm::laplacian(turbulence->muEff()/sigmat, Z) 8 | ) 9 | ); 10 | 11 | ZEqn.relax(); 12 | fvOptions.constrain(ZEqn); 13 | #if OPENFOAM_VERSION >=60 14 | ZEqn.solve("Z"); 15 | #else 16 | ZEqn.solve(mesh.solver("Z")); 17 | #endif 18 | 19 | 20 | if (varianceEquation == false) 21 | { 22 | //- Solving equation of variance of mixture fraction 23 | fvScalarMatrix ZvarEqn 24 | ( 25 | ( 26 | fvm::ddt(rho, Zvar) 27 | + fvm::div(phi, Zvar) 28 | - fvm::laplacian(turbulence->mut()/sigmat, Zvar) 29 | - Cg*turbulence->mut()*magSqr(fvc::grad(Z)) 30 | + Cd*rho*turbulence->epsilon()/(turbulence->k()+k_small)*Zvar 31 | ) 32 | ); 33 | 34 | ZvarEqn.relax(); 35 | fvOptions.constrain(ZvarEqn); 36 | #if OPENFOAM_VERSION >=60 37 | ZvarEqn.solve("Zvar"); 38 | #else 39 | ZvarEqn.solve(mesh.solver("Zvar")); 40 | #endif 41 | } 42 | else 43 | { 44 | Info << "Algebraic equation for Zvar" << endl; 45 | scalarField& ZvarCells = Zvar.ref(); 46 | ZvarCells = Cg*turbulence->mut()*magSqr(fvc::grad(Z))*turbulence->k()/(Cd*rho*(turbulence->epsilon()+epsilon_small)); 47 | } 48 | 49 | //- Updating stoichiometric scalar dissipation rate 50 | chi_st=Cx*turbulence->epsilon()/(turbulence->k()+k_small)*Zvar; 51 | 52 | 53 | -------------------------------------------------------------------------------- /solvers/flameletPisoSMOKE/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | $(OPENFOAM_VERSION) \ 3 | $(DEVVERSION) \ 4 | -I$(BOOST_LIBRARY_PATH)/include \ 5 | -I$(EIGEN_LIBRARY_PATH) \ 6 | -I$(RAPIDXML_LIBRARY_PATH) \ 7 | -I$(MKL_PATH)/include \ 8 | -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ 9 | -I$(LIB_SRC)/turbulenceModels \ 10 | -I$(LIB_SRC)/turbulenceModels/compressible/RAS/RASModel \ 11 | -I$(LIB_SRC)/finiteVolume/cfdTools \ 12 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 13 | -I$(LIB_SRC)/sampling/lnInclude \ 14 | -I$(LIB_SRC)/meshTools/lnInclude \ 15 | -I$(LIB_SRC)/fvOptions/lnInclude \ 16 | -I$(LIB_SRC)/transportModels/compressible/lnInclude \ 17 | -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ 18 | -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \ 19 | -I$(realpath ../../libs/thermophysicalModels/basic/flameletSMOKEThermo/) 20 | 21 | EXE_LIBS = \ 22 | -L$(FOAM_USER_LIBBIN) \ 23 | -L$(BOOST_LIBRARY_PATH)/lib \ 24 | $(MKL_LIBS) \ 25 | -lflameletSMOKEThermophysicalModels \ 26 | -lspecie \ 27 | -lcompressibleTurbulenceModel \ 28 | -lcompressibleRASModels \ 29 | -lfiniteVolume \ 30 | -lsampling \ 31 | -lmeshTools \ 32 | -lfvOptions \ 33 | -lgfortran \ 34 | $(MKL_LIBS) \ 35 | -lboost_date_time \ 36 | -lboost_filesystem \ 37 | -lboost_system \ 38 | -lboost_regex 39 | -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/pEqn.2x.H: -------------------------------------------------------------------------------- 1 | { 2 | //- Modified for flamelet 3 | 4 | //- Equation from libOpenSmoke 5 | 6 | rho = thermo.rho(); 7 | rho = max(rho, rhoMin); 8 | rho = min(rho, rhoMax); 9 | 10 | volScalarField AU = UEqn().A(); 11 | U = UEqn().H()/AU; 12 | UEqn.clear(); 13 | phi = fvc::interpolate(rho*U) & mesh.Sf(); 14 | bool closedVolume = adjustPhi(phi, U, p); 15 | 16 | for (int nonOrth=0; nonOrth<=simple.nNonOrthCorr(); nonOrth++) 17 | { 18 | fvScalarMatrix pEqn 19 | ( 20 | fvm::laplacian(rho/AU, p) == fvc::div(phi) 21 | ); 22 | 23 | pEqn.setReference(pRefCell, pRefValue); 24 | 25 | pEqn.solve(); 26 | 27 | if (nonOrth == simple.nNonOrthCorr()) 28 | { 29 | phi -= pEqn.flux(); 30 | } 31 | } 32 | 33 | #include "incompressible/continuityErrs.H" 34 | 35 | // Explicitly relax pressure for momentum corrector 36 | p.relax(); 37 | 38 | U -= fvc::grad(p)/AU; 39 | U.correctBoundaryConditions(); 40 | 41 | bound(p, pMin); 42 | 43 | // For closed-volume cases adjust the pressure and density levels 44 | // to obey overall mass continuity 45 | if (closedVolume) 46 | { 47 | p += (initialMass - fvc::domainIntegrate(thermo.psi()*p))/fvc::domainIntegrate(thermo.psi()); 48 | } 49 | 50 | rho = thermo.rho(); 51 | rho.relax(); 52 | 53 | if(monitoring != true) 54 | { 55 | Info<< "rho max/min : " << max(rho).value() << " " << min(rho).value() << endl; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application flameletSimpleFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 20000; 27 | 28 | deltaT 1; 29 | 30 | writeControl timeStep; 31 | 32 | writeInterval 1000; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 6; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | graphFormat raw; 47 | 48 | runTimeModifiable true; 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application flameletSimpleFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 20000; 27 | 28 | deltaT 1; 29 | 30 | writeControl timeStep; 31 | 32 | writeInterval 1000; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 6; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | graphFormat raw; 47 | 48 | runTimeModifiable true; 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /cases/lookUpTableGeneration/Sandia_COH2N2/library/input.dic: -------------------------------------------------------------------------------- 1 | //-----------------------------------------------------------------// 2 | // ____ ______ __ __ ____ _ ________ // 3 | // / __ \ / ___ | \/ |/ __ \| |/ / ____| // 4 | // | | | |_ __ ___ _ __ | (___ | \ / | | | | ' /| |__ // 5 | // | | | | '_ \ / _ \ '_ \ \___ \| |\/| | | | | < | __| // 6 | // | |__| | |_) | __/ | | |____) | | | | |__| | . \| |____ // 7 | // \____/| .__/ \___|_| |_|______/|_| |_|\____/|_|\_\______| // 8 | // | | // 9 | // |_| // 10 | // // 11 | // http://www.opensmoke.polimi.it/ // 12 | // http://creckmodeling.chem.polimi.it/ // 13 | //-----------------------------------------------------------------// 14 | 15 | Dictionary LookUpTables 16 | { 17 | @KineticsPreProcessor KineticMechanism; 18 | 19 | @Input /home/chimica2/cuoci/OpenFOAM/cuoci-3.0.x/mySolvers/flameletSMOKE/cases/lookUpTableGeneration/Sandia_COH2N2/flamelets/Output; 20 | @OutputASCII Output; 21 | @OutputLookUpTable OutputXML; 22 | } 23 | 24 | Dictionary KineticMechanism 25 | { 26 | @Kinetics ../kinetics/POLIMI_H2CO_1412.CKI; 27 | @Thermodynamics ../kinetics/POLIMI_TOT_NOX_1412.CKT; 28 | @Transport ../kinetics/POLIMI_TOT_NOX_1412.TRC; 29 | 30 | @Output kinetics; 31 | } 32 | -------------------------------------------------------------------------------- /solvers/openSMOKEpp4flameletSMOKE/math/OpenSMOKEStdInclude.hpp: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (C) 2011 by Alberto Cuoci * 3 | * alberto.cuoci@polimi.it * 4 | * * 5 | * This program is free software; you can redistribute it and/or modify * 6 | * it under the terms of the GNU General Public License as published by * 7 | * the Free Software Foundation; either version 2 of the License, or * 8 | * (at your option) any later version. * 9 | * * 10 | * This program is distributed in the hope that it will be useful, * 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 13 | * GNU General Public License for more details. * 14 | * * 15 | * You should have received a copy of the GNU General Public License * 16 | * along with this program; if not, write to the * 17 | * Free Software Foundation, Inc., * 18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 19 | ***************************************************************************/ 20 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM Extend Project: Open Source CFD | 4 | | \\ / O peration | Version: 1.6-ext | 5 | | \\ / A nd | Web: www.extend-project.de | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application flameletPimpleSMOKE; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 0.55; 27 | 28 | deltaT 1e-7; 29 | 30 | writeControl adjustableRunTime; 31 | 32 | writeInterval 5.e-3; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 6; 39 | 40 | writeCompression uncompressed; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable yes; 47 | 48 | adjustTimeStep yes; 49 | 50 | maxCo 0.5; 51 | 52 | maxDeltaT 1e-5; 53 | 54 | // ************************************************************************* // 55 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM Extend Project: Open Source CFD | 4 | | \\ / O peration | Version: 1.6-ext | 5 | | \\ / A nd | Web: www.extend-project.de | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application flameletPimpleSMOKE; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 0.55; 27 | 28 | deltaT 1e-7; 29 | 30 | writeControl adjustableRunTime; 31 | 32 | writeInterval 5.e-3; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 6; 39 | 40 | writeCompression uncompressed; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable yes; 47 | 48 | adjustTimeStep yes; 49 | 50 | maxCo 0.5; 51 | 52 | maxDeltaT 1e-5; 53 | 54 | // ************************************************************************* // 55 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM Extend Project: Open Source CFD | 4 | | \\ / O peration | Version: 1.6-ext | 5 | | \\ / A nd | Web: www.extend-project.de | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application flameletPisoSMOKE; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 0.70; 27 | 28 | deltaT 1e-7; 29 | 30 | writeControl adjustableRunTime; 31 | 32 | writeInterval 5.e-3; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 6; 39 | 40 | writeCompression uncompressed; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable yes; 47 | 48 | adjustTimeStep yes; 49 | 50 | maxCo 0.5; 51 | 52 | maxDeltaT 1e-5; 53 | 54 | // ************************************************************************* // 55 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/constant/thermophysicalProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object thermophysicalProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | thermoType 19 | { 20 | type pdfFlameletSMOKEThermo; 21 | mixture pureMixture; 22 | transport sutherland; 23 | thermo hConst; 24 | equationOfState perfectGas; 25 | specie specie; 26 | energy sensibleEnthalpy; 27 | } 28 | 29 | mixture 30 | { 31 | specie 32 | { 33 | nMoles 1; 34 | molWeight 28.9; 35 | } 36 | thermodynamics 37 | { 38 | Cp 1005; 39 | Hf 0; 40 | } 41 | transport 42 | { 43 | As 1.4792e-06; 44 | Ts 116; 45 | } 46 | } 47 | 48 | 49 | // ************************************************************************* // 50 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/constant/thermophysicalProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object thermophysicalProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | thermoType 19 | { 20 | type pdfFlameletSMOKEThermo; 21 | mixture pureMixture; 22 | transport sutherland; 23 | thermo hConst; 24 | equationOfState perfectGas; 25 | specie specie; 26 | energy sensibleEnthalpy; 27 | } 28 | 29 | mixture 30 | { 31 | specie 32 | { 33 | nMoles 1; 34 | molWeight 28.9; 35 | } 36 | thermodynamics 37 | { 38 | Cp 1005; 39 | Hf 0; 40 | } 41 | transport 42 | { 43 | As 1.4792e-06; 44 | Ts 116; 45 | } 46 | } 47 | 48 | 49 | // ************************************************************************* // 50 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/constant/thermophysicalProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object thermophysicalProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | thermoType 19 | { 20 | type pdfFlameletSMOKEThermo; 21 | mixture pureMixture; 22 | transport sutherland; 23 | thermo hConst; 24 | equationOfState perfectGas; 25 | specie specie; 26 | energy sensibleEnthalpy; 27 | } 28 | 29 | mixture 30 | { 31 | specie 32 | { 33 | nMoles 1; 34 | molWeight 28.9; 35 | } 36 | thermodynamics 37 | { 38 | Cp 1005; 39 | Hf 0; 40 | } 41 | transport 42 | { 43 | As 1.4792e-06; 44 | Ts 116; 45 | } 46 | } 47 | 48 | 49 | // ************************************************************************* // 50 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/constant/thermophysicalProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object thermophysicalProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | thermoType 19 | { 20 | type pdfFlameletSMOKEThermo; 21 | mixture pureMixture; 22 | transport sutherland; 23 | thermo hConst; 24 | equationOfState perfectGas; 25 | specie specie; 26 | energy sensibleEnthalpy; 27 | } 28 | 29 | mixture 30 | { 31 | specie 32 | { 33 | nMoles 1; 34 | molWeight 28.9; 35 | } 36 | thermodynamics 37 | { 38 | Cp 1005; 39 | Hf 0; 40 | } 41 | transport 42 | { 43 | As 1.4792e-06; 44 | Ts 116; 45 | } 46 | } 47 | 48 | 49 | // ************************************************************************* // 50 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/constant/thermophysicalProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object thermophysicalProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | thermoType 19 | { 20 | type pdfFlameletSMOKEThermo; 21 | mixture pureMixture; 22 | transport sutherland; 23 | thermo hConst; 24 | equationOfState perfectGas; 25 | specie specie; 26 | energy sensibleEnthalpy; 27 | } 28 | 29 | thermoProperties 30 | { 31 | kineticMechanism "kinetics"; 32 | } 33 | 34 | mixture 35 | { 36 | specie 37 | { 38 | nMoles 1; 39 | molWeight 28.9; 40 | } 41 | thermodynamics 42 | { 43 | Cp 1005; 44 | Hf 0; 45 | } 46 | transport 47 | { 48 | As 1.4792e-06; 49 | Ts 116; 50 | } 51 | } 52 | 53 | 54 | // ************************************************************************* // 55 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/Z: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class volScalarField; 13 | location "0"; 14 | object csi; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 1; 28 | } 29 | inletair 30 | { 31 | type fixedValue; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type zeroGradient; 37 | } 38 | axis 39 | { 40 | type empty; 41 | } 42 | sidewall 43 | { 44 | type zeroGradient; 45 | } 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | front 51 | { 52 | type wedge; 53 | } 54 | back 55 | { 56 | type wedge; 57 | } 58 | } 59 | 60 | 61 | // ************************************************************************* // 62 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/Z: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class volScalarField; 13 | location "0"; 14 | object csi; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 1; 28 | } 29 | inletair 30 | { 31 | type fixedValue; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type zeroGradient; 37 | } 38 | axis 39 | { 40 | type empty; 41 | } 42 | sidewall 43 | { 44 | type zeroGradient; 45 | } 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | front 51 | { 52 | type wedge; 53 | } 54 | back 55 | { 56 | type wedge; 57 | } 58 | } 59 | 60 | 61 | // ************************************************************************* // 62 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/Z: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class volScalarField; 13 | location "0"; 14 | object csi; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 1; 28 | } 29 | inletair 30 | { 31 | type fixedValue; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type zeroGradient; 37 | } 38 | axis 39 | { 40 | type empty; 41 | } 42 | sidewall 43 | { 44 | type zeroGradient; 45 | } 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | front 51 | { 52 | type wedge; 53 | } 54 | back 55 | { 56 | type wedge; 57 | } 58 | } 59 | 60 | 61 | // ************************************************************************* // 62 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/0/Z: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class volScalarField; 13 | location "0"; 14 | object csi; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 1; 28 | } 29 | inletair 30 | { 31 | type fixedValue; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type zeroGradient; 37 | } 38 | axis 39 | { 40 | type empty; 41 | } 42 | sidewall 43 | { 44 | type zeroGradient; 45 | } 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | front 51 | { 52 | type wedge; 53 | } 54 | back 55 | { 56 | type wedge; 57 | } 58 | } 59 | 60 | 61 | // ************************************************************************* // 62 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/0/Z: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class volScalarField; 13 | location "0"; 14 | object csi; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 1; 28 | } 29 | inletair 30 | { 31 | type fixedValue; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type zeroGradient; 37 | } 38 | axis 39 | { 40 | type empty; 41 | } 42 | sidewall 43 | { 44 | type zeroGradient; 45 | } 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | front 51 | { 52 | type wedge; 53 | } 54 | back 55 | { 56 | type wedge; 57 | } 58 | } 59 | 60 | 61 | // ************************************************************************* // 62 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 0 0 0 1 0 0 0 ]; 19 | 20 | internalField uniform 290; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 292; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform 290; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 0 0 0 1 0 0 0 ]; 19 | 20 | internalField uniform 290; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 292; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform 290; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/0/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 0 0 0 1 0 0 0 ]; 19 | 20 | internalField uniform 290; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 292; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform 290; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 0 0 0 1 0 0 0 ]; 19 | 20 | internalField uniform 290; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 292; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform 290; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/0/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 0 0 0 1 0 0 0 ]; 19 | 20 | internalField uniform 290; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 292; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform 290; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/H: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object H; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 0 2 -2 0 0 0 0 ]; 19 | 20 | internalField uniform -1.078418e+05; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform -2.195775e+06; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform -1.078418e+05; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/H: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object H; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 0 2 -2 0 0 0 0 ]; 19 | 20 | internalField uniform -1.078418e+05; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform -2.195775e+06; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform -1.078418e+05; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/0/H: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object H; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 0 2 -2 0 0 0 0 ]; 19 | 20 | internalField uniform -1.078418e+05; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform -2.195775e+06; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform -1.078418e+05; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/H: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object H; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 0 2 -2 0 0 0 0 ]; 19 | 20 | internalField uniform -1.078418e+05; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform -2.195775e+06; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform -1.078418e+05; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/0/H: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object H; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 0 2 -2 0 0 0 0 ]; 19 | 20 | internalField uniform -1.078418e+05; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform -2.195775e+06; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform -1.078418e+05; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/Zvar: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object csiv2; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 0; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform 0; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | 66 | // ************************************************************************* // 67 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/Zvar: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object csiv2; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 0; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform 0; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | 66 | // ************************************************************************* // 67 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/Zvar: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object csiv2; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 0; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform 0; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | 66 | // ************************************************************************* // 67 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/0/Zvar: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object csiv2; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 0; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform 0; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | 66 | // ************************************************************************* // 67 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/0/Zvar: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object csiv2; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform 0; 28 | } 29 | 30 | inletair 31 | { 32 | type fixedValue; 33 | value uniform 0; 34 | } 35 | 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | 41 | sidewall 42 | { 43 | type zeroGradient; 44 | } 45 | 46 | burnerwall 47 | { 48 | type zeroGradient; 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | // ************************************************************************* // 67 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/p: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 1 -1 -2 0 0 0 0 ]; 19 | 20 | internalField uniform 101325; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | inletair 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | "outlet|sidewall" 35 | { 36 | type totalPressure; 37 | p0 $internalField; 38 | phi phi; 39 | U U; 40 | psi none; 41 | gamma 0; 42 | value $internalField; 43 | } 44 | 45 | burnerwall 46 | { 47 | type zeroGradient; 48 | } 49 | 50 | front 51 | { 52 | type wedge; 53 | } 54 | 55 | back 56 | { 57 | type wedge; 58 | } 59 | 60 | axis 61 | { 62 | type empty; 63 | } 64 | } 65 | 66 | 67 | // ************************************************************************* // 68 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/p: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 1 -1 -2 0 0 0 0 ]; 19 | 20 | internalField uniform 101325; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | inletair 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | "outlet|sidewall" 35 | { 36 | type totalPressure; 37 | p0 $internalField; 38 | phi phi; 39 | U U; 40 | psi none; 41 | gamma 0; 42 | value $internalField; 43 | } 44 | 45 | burnerwall 46 | { 47 | type zeroGradient; 48 | } 49 | 50 | front 51 | { 52 | type wedge; 53 | } 54 | 55 | back 56 | { 57 | type wedge; 58 | } 59 | 60 | axis 61 | { 62 | type empty; 63 | } 64 | } 65 | 66 | 67 | // ************************************************************************* // 68 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/0/p: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 1 -1 -2 0 0 0 0 ]; 19 | 20 | internalField uniform 101325; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | inletair 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | "outlet|sidewall" 35 | { 36 | type totalPressure; 37 | p0 $internalField; 38 | phi phi; 39 | U U; 40 | psi none; 41 | gamma 0; 42 | value $internalField; 43 | } 44 | 45 | burnerwall 46 | { 47 | type zeroGradient; 48 | } 49 | 50 | front 51 | { 52 | type wedge; 53 | } 54 | 55 | back 56 | { 57 | type wedge; 58 | } 59 | 60 | axis 61 | { 62 | type empty; 63 | } 64 | } 65 | 66 | 67 | // ************************************************************************* // 68 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/p: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 1 -1 -2 0 0 0 0 ]; 19 | 20 | internalField uniform 101325; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | inletair 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | "outlet|sidewall" 35 | { 36 | type totalPressure; 37 | p0 $internalField; 38 | phi phi; 39 | U U; 40 | psi none; 41 | gamma 0; 42 | value $internalField; 43 | } 44 | 45 | burnerwall 46 | { 47 | type zeroGradient; 48 | } 49 | 50 | front 51 | { 52 | type wedge; 53 | } 54 | 55 | back 56 | { 57 | type wedge; 58 | } 59 | 60 | axis 61 | { 62 | type empty; 63 | } 64 | } 65 | 66 | 67 | // ************************************************************************* // 68 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/0/p: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [ 1 -1 -2 0 0 0 0 ]; 19 | 20 | internalField uniform 101325; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | inletair 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | "outlet|sidewall" 35 | { 36 | type totalPressure; 37 | p0 $internalField; 38 | phi phi; 39 | U U; 40 | psi none; 41 | gamma 0; 42 | value $internalField; 43 | } 44 | 45 | burnerwall 46 | { 47 | type zeroGradient; 48 | } 49 | 50 | front 51 | { 52 | type wedge; 53 | } 54 | 55 | back 56 | { 57 | type wedge; 58 | } 59 | 60 | axis 61 | { 62 | type empty; 63 | } 64 | } 65 | 66 | 67 | // ************************************************************************* // 68 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/U: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volVectorField; 13 | location "0"; 14 | object U; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -1 0 0 0 0]; 19 | 20 | internalField uniform (0 0.75 0); 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform (0 76 0); 28 | } 29 | inletair 30 | { 31 | type fixedValue; 32 | value uniform (0 0.75 0); 33 | } 34 | 35 | outlet 36 | { 37 | type zeroGradient; 38 | } 39 | 40 | sidewall 41 | { 42 | type zeroGradient; 43 | } 44 | 45 | burnerwall 46 | { 47 | type fixedValue; 48 | value uniform (0 0 0); 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/U: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volVectorField; 13 | location "0"; 14 | object U; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -1 0 0 0 0]; 19 | 20 | internalField uniform (0 0.75 0); 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform (0 76 0); 28 | } 29 | inletair 30 | { 31 | type fixedValue; 32 | value uniform (0 0.75 0); 33 | } 34 | 35 | outlet 36 | { 37 | type zeroGradient; 38 | } 39 | 40 | sidewall 41 | { 42 | type zeroGradient; 43 | } 44 | 45 | burnerwall 46 | { 47 | type fixedValue; 48 | value uniform (0 0 0); 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/0/U: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volVectorField; 13 | location "0"; 14 | object U; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -1 0 0 0 0]; 19 | 20 | internalField uniform (0 0.75 0); 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform (0 76 0); 28 | } 29 | inletair 30 | { 31 | type fixedValue; 32 | value uniform (0 0.75 0); 33 | } 34 | 35 | outlet 36 | { 37 | type zeroGradient; 38 | } 39 | 40 | sidewall 41 | { 42 | type zeroGradient; 43 | } 44 | 45 | burnerwall 46 | { 47 | type fixedValue; 48 | value uniform (0 0 0); 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/U: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volVectorField; 13 | location "0"; 14 | object U; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -1 0 0 0 0]; 19 | 20 | internalField uniform (0 0.75 0); 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform (0 76 0); 28 | } 29 | inletair 30 | { 31 | type fixedValue; 32 | value uniform (0 0.75 0); 33 | } 34 | 35 | outlet 36 | { 37 | type zeroGradient; 38 | } 39 | 40 | sidewall 41 | { 42 | type zeroGradient; 43 | } 44 | 45 | burnerwall 46 | { 47 | type fixedValue; 48 | value uniform (0 0 0); 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/0/U: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class volVectorField; 13 | location "0"; 14 | object U; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -1 0 0 0 0]; 19 | 20 | internalField uniform (0 0.75 0); 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type fixedValue; 27 | value uniform (0 76 0); 28 | } 29 | inletair 30 | { 31 | type fixedValue; 32 | value uniform (0 0.75 0); 33 | } 34 | 35 | outlet 36 | { 37 | type zeroGradient; 38 | } 39 | 40 | sidewall 41 | { 42 | type zeroGradient; 43 | } 44 | 45 | burnerwall 46 | { 47 | type fixedValue; 48 | value uniform (0 0 0); 49 | } 50 | 51 | front 52 | { 53 | type wedge; 54 | } 55 | 56 | back 57 | { 58 | type wedge; 59 | } 60 | 61 | axis 62 | { 63 | type empty; 64 | } 65 | } 66 | 67 | 68 | // ************************************************************************* // 69 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default steadyState; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default cellLimited Gauss linear 1; 26 | } 27 | 28 | divSchemes 29 | { 30 | div(phi,U) bounded Gauss limitedLinear 1; 31 | div(phi,epsilon) bounded Gauss upwind; 32 | div(phi,k) bounded Gauss upwind; 33 | 34 | div(phi,H) bounded Gauss limitedLinear 1; 35 | div(phi,Z) bounded Gauss limitedLimitedLinear 1 0 1; 36 | div(phi,Zvar) bounded Gauss limitedLimitedLinear 1 0 0.25; 37 | 38 | div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; 39 | } 40 | 41 | laplacianSchemes 42 | { 43 | default Gauss linear corrected; 44 | } 45 | 46 | interpolationSchemes 47 | { 48 | default linear; 49 | } 50 | 51 | snGradSchemes 52 | { 53 | default corrected; 54 | } 55 | 56 | fluxRequired 57 | { 58 | default no; 59 | p ; 60 | } 61 | 62 | 63 | // ************************************************************************* // 64 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/k.old: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class volScalarField; 13 | location "0"; 14 | object k; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -2 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type turbulentIntensityKineticEnergyInlet; 27 | intensity 0.2; 28 | value uniform 346.56; 29 | 30 | } 31 | 32 | inletair 33 | { 34 | type turbulentIntensityKineticEnergyInlet; 35 | intensity 0.05; 36 | value uniform 0.0021; 37 | 38 | } 39 | 40 | outlet 41 | { 42 | type zeroGradient; 43 | } 44 | 45 | axis 46 | { 47 | type empty; 48 | } 49 | 50 | sidewall 51 | { 52 | type zeroGradient; 53 | } 54 | 55 | burnerwall 56 | { 57 | type compressible::kqRWallFunction; 58 | value uniform 0.0021; 59 | } 60 | 61 | front 62 | { 63 | type wedge; 64 | } 65 | 66 | back 67 | { 68 | type wedge; 69 | } 70 | } 71 | 72 | 73 | // ************************************************************************* // 74 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/k.old: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class volScalarField; 13 | location "0"; 14 | object k; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -2 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type turbulentIntensityKineticEnergyInlet; 27 | intensity 0.2; 28 | value uniform 346.56; 29 | 30 | } 31 | 32 | inletair 33 | { 34 | type turbulentIntensityKineticEnergyInlet; 35 | intensity 0.05; 36 | value uniform 0.0021; 37 | 38 | } 39 | 40 | outlet 41 | { 42 | type zeroGradient; 43 | } 44 | 45 | axis 46 | { 47 | type empty; 48 | } 49 | 50 | sidewall 51 | { 52 | type zeroGradient; 53 | } 54 | 55 | burnerwall 56 | { 57 | type compressible::kqRWallFunction; 58 | value uniform 0.0021; 59 | } 60 | 61 | front 62 | { 63 | type wedge; 64 | } 65 | 66 | back 67 | { 68 | type wedge; 69 | } 70 | } 71 | 72 | 73 | // ************************************************************************* // 74 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/k.old: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class volScalarField; 13 | location "0"; 14 | object k; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -2 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type turbulentIntensityKineticEnergyInlet; 27 | intensity 0.2; 28 | value uniform 346.56; 29 | 30 | } 31 | 32 | inletair 33 | { 34 | type turbulentIntensityKineticEnergyInlet; 35 | intensity 0.05; 36 | value uniform 0.0021; 37 | 38 | } 39 | 40 | outlet 41 | { 42 | type zeroGradient; 43 | } 44 | 45 | axis 46 | { 47 | type empty; 48 | } 49 | 50 | sidewall 51 | { 52 | type zeroGradient; 53 | } 54 | 55 | burnerwall 56 | { 57 | type compressible::kqRWallFunction; 58 | value uniform 0.0021; 59 | } 60 | 61 | front 62 | { 63 | type wedge; 64 | } 65 | 66 | back 67 | { 68 | type wedge; 69 | } 70 | } 71 | 72 | 73 | // ************************************************************************* // 74 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default bounded Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | } 27 | 28 | divSchemes 29 | { 30 | div(phi,U) bounded Gauss limitedLinearV 1; 31 | div(phi,epsilon) bounded Gauss limitedLinear 1; 32 | div(phi,k) bounded Gauss limitedLinear 1; 33 | div(phiU,p) bounded Gauss limitedLinear 1; 34 | 35 | div(phi,H) bounded Gauss limitedLinear 1; 36 | div(phi,Z) bounded Gauss limitedLimitedLinear 1 0 1; 37 | div(phi,Zvar) bounded Gauss limitedLimitedLinear 1 0 0.25; 38 | 39 | div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; 40 | } 41 | 42 | laplacianSchemes 43 | { 44 | default Gauss linear corrected; 45 | } 46 | 47 | interpolationSchemes 48 | { 49 | default linear; 50 | } 51 | 52 | snGradSchemes 53 | { 54 | default corrected; 55 | } 56 | 57 | fluxRequired 58 | { 59 | default no; 60 | p ; 61 | } 62 | 63 | 64 | // ************************************************************************* // 65 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/k: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object k; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -2 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type turbulentIntensityKineticEnergyInlet; 27 | intensity 0.2; 28 | value uniform 346.56; 29 | } 30 | inletair 31 | { 32 | type turbulentIntensityKineticEnergyInlet; 33 | intensity 0.05; 34 | value uniform 0.0021; 35 | } 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | axis 41 | { 42 | type empty; 43 | } 44 | sidewall 45 | { 46 | type kqRWallFunction; 47 | value uniform 1; 48 | } 49 | burnerwall 50 | { 51 | type kqRWallFunction; 52 | value uniform 1; 53 | } 54 | front 55 | { 56 | type wedge; 57 | } 58 | back 59 | { 60 | type wedge; 61 | } 62 | } 63 | 64 | 65 | // ************************************************************************* // 66 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/k: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object k; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -2 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type turbulentIntensityKineticEnergyInlet; 27 | intensity 0.2; 28 | value uniform 346.56; 29 | } 30 | inletair 31 | { 32 | type turbulentIntensityKineticEnergyInlet; 33 | intensity 0.05; 34 | value uniform 0.0021; 35 | } 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | axis 41 | { 42 | type empty; 43 | } 44 | sidewall 45 | { 46 | type kqRWallFunction; 47 | value uniform 1; 48 | } 49 | burnerwall 50 | { 51 | type kqRWallFunction; 52 | value uniform 1; 53 | } 54 | front 55 | { 56 | type wedge; 57 | } 58 | back 59 | { 60 | type wedge; 61 | } 62 | } 63 | 64 | 65 | // ************************************************************************* // 66 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/0/alphat: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object alphat; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -1 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type calculated; 27 | value uniform 0; 28 | } 29 | inletair 30 | { 31 | type calculated; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type calculated; 37 | value uniform 0; 38 | } 39 | axis 40 | { 41 | type empty; 42 | } 43 | sidewall 44 | { 45 | type compressible::alphatWallFunction; 46 | Prt 0.85; 47 | value uniform 0; 48 | } 49 | burnerwall 50 | { 51 | type compressible::alphatWallFunction; 52 | Prt 0.85; 53 | value uniform 0; 54 | } 55 | front 56 | { 57 | type wedge; 58 | } 59 | back 60 | { 61 | type wedge; 62 | } 63 | } 64 | 65 | 66 | // ************************************************************************* // 67 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/alphat: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object alphat; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -1 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type calculated; 27 | value uniform 0; 28 | } 29 | inletair 30 | { 31 | type calculated; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type calculated; 37 | value uniform 0; 38 | } 39 | axis 40 | { 41 | type empty; 42 | } 43 | sidewall 44 | { 45 | type compressible::alphatWallFunction; 46 | Prt 0.85; 47 | value uniform 0; 48 | } 49 | burnerwall 50 | { 51 | type compressible::alphatWallFunction; 52 | Prt 0.85; 53 | value uniform 0; 54 | } 55 | front 56 | { 57 | type wedge; 58 | } 59 | back 60 | { 61 | type wedge; 62 | } 63 | } 64 | 65 | 66 | // ************************************************************************* // 67 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/0/alphat: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object alphat; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -1 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type calculated; 27 | value uniform 0; 28 | } 29 | inletair 30 | { 31 | type calculated; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type calculated; 37 | value uniform 0; 38 | } 39 | axis 40 | { 41 | type empty; 42 | } 43 | sidewall 44 | { 45 | type compressible::alphatWallFunction; 46 | Prt 0.85; 47 | value uniform 0; 48 | } 49 | burnerwall 50 | { 51 | type compressible::alphatWallFunction; 52 | Prt 0.85; 53 | value uniform 0; 54 | } 55 | front 56 | { 57 | type wedge; 58 | } 59 | back 60 | { 61 | type wedge; 62 | } 63 | } 64 | 65 | 66 | // ************************************************************************* // 67 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/0/k: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object k; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -2 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type turbulentIntensityKineticEnergyInlet; 27 | intensity 0.2; 28 | value uniform 346.56; 29 | } 30 | inletair 31 | { 32 | type turbulentIntensityKineticEnergyInlet; 33 | intensity 0.05; 34 | value uniform 0.0021; 35 | } 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | axis 41 | { 42 | type empty; 43 | } 44 | sidewall 45 | { 46 | type compressible::kqRWallFunction; 47 | value uniform 1; 48 | } 49 | burnerwall 50 | { 51 | type compressible::kqRWallFunction; 52 | value uniform 1; 53 | } 54 | front 55 | { 56 | type wedge; 57 | } 58 | back 59 | { 60 | type wedge; 61 | } 62 | } 63 | 64 | 65 | // ************************************************************************* // 66 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/k: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object k; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -2 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type turbulentIntensityKineticEnergyInlet; 27 | intensity 0.2; 28 | value uniform 346.56; 29 | } 30 | inletair 31 | { 32 | type turbulentIntensityKineticEnergyInlet; 33 | intensity 0.05; 34 | value uniform 0.0021; 35 | } 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | axis 41 | { 42 | type empty; 43 | } 44 | sidewall 45 | { 46 | type compressible::kqRWallFunction; 47 | value uniform 1; 48 | } 49 | burnerwall 50 | { 51 | type compressible::kqRWallFunction; 52 | value uniform 1; 53 | } 54 | front 55 | { 56 | type wedge; 57 | } 58 | back 59 | { 60 | type wedge; 61 | } 62 | } 63 | 64 | 65 | // ************************************************************************* // 66 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/0/k: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object k; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -2 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type turbulentIntensityKineticEnergyInlet; 27 | intensity 0.2; 28 | value uniform 346.56; 29 | } 30 | inletair 31 | { 32 | type turbulentIntensityKineticEnergyInlet; 33 | intensity 0.05; 34 | value uniform 0.0021; 35 | } 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | axis 41 | { 42 | type empty; 43 | } 44 | sidewall 45 | { 46 | type compressible::kqRWallFunction; 47 | value uniform 1; 48 | } 49 | burnerwall 50 | { 51 | type compressible::kqRWallFunction; 52 | value uniform 1; 53 | } 54 | front 55 | { 56 | type wedge; 57 | } 58 | back 59 | { 60 | type wedge; 61 | } 62 | } 63 | 64 | 65 | // ************************************************************************* // 66 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/epsilon.old: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class volScalarField; 13 | location "0"; 14 | object epsilon; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -3 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type compressible::turbulentMixingLengthDissipationRateInlet; 27 | mixingLength 0.0003206; 28 | value uniform 3.337e6; 29 | } 30 | 31 | inletair 32 | { 33 | type compressible::turbulentMixingLengthDissipationRateInlet; 34 | mixingLength 0.021; 35 | value uniform 0.00041; 36 | 37 | } 38 | 39 | outlet 40 | { 41 | type zeroGradient; 42 | } 43 | 44 | axis 45 | { 46 | type empty; 47 | } 48 | 49 | sidewall 50 | { 51 | type zeroGradient; 52 | } 53 | 54 | burnerwall 55 | { 56 | type compressible::epsilonWallFunction; 57 | value uniform 0.00041; 58 | } 59 | 60 | front 61 | { 62 | type wedge; 63 | } 64 | 65 | back 66 | { 67 | type wedge; 68 | } 69 | } 70 | 71 | 72 | // ************************************************************************* // 73 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/system/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | p 21 | { 22 | solver GAMG; 23 | tolerance 1e-10; 24 | relTol 0.05; 25 | smoother GaussSeidel; 26 | cacheAgglomeration off; 27 | nCellsInCoarsestLevel 20; 28 | agglomerator faceAreaPair; 29 | mergeLevels 1; 30 | } 31 | 32 | U 33 | { 34 | solver PBiCG; 35 | preconditioner DILU; 36 | tolerance 1e-08; 37 | relTol 0.1; 38 | } 39 | 40 | "(k|epsilon|H|Z|Zvar)" 41 | { 42 | solver PBiCG; 43 | preconditioner DILU; 44 | tolerance 1e-09; 45 | relTol 0.1; 46 | } 47 | } 48 | 49 | PISO 50 | { 51 | nNonOrthogonalCorrectors 0; 52 | 53 | residualControl 54 | { 55 | p 1e-5; 56 | U 1e-6; 57 | H 1e-6; 58 | 59 | // possibly check turbulence fields 60 | "(k|epsilon|omega)" 1e-3; 61 | } 62 | } 63 | 64 | 65 | // ************************************************************************* // 66 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/mut: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object mut; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -1 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type calculated; 27 | value uniform 0; 28 | } 29 | inletair 30 | { 31 | type calculated; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type calculated; 37 | value uniform 0; 38 | } 39 | axis 40 | { 41 | type empty; 42 | } 43 | sidewall 44 | { 45 | type mutkWallFunction; 46 | Cmu 0.09; 47 | kappa 0.41; 48 | E 9.8; 49 | value uniform 0; 50 | } 51 | burnerwall 52 | { 53 | type mutkWallFunction; 54 | Cmu 0.09; 55 | kappa 0.41; 56 | E 9.8; 57 | value uniform 0; 58 | } 59 | front 60 | { 61 | type wedge; 62 | } 63 | back 64 | { 65 | type wedge; 66 | } 67 | } 68 | 69 | 70 | // ************************************************************************* // 71 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/mut: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object mut; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -1 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type calculated; 27 | value uniform 0; 28 | } 29 | inletair 30 | { 31 | type calculated; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type calculated; 37 | value uniform 0; 38 | } 39 | axis 40 | { 41 | type empty; 42 | } 43 | sidewall 44 | { 45 | type mutkWallFunction; 46 | Cmu 0.09; 47 | kappa 0.41; 48 | E 9.8; 49 | value uniform 0; 50 | } 51 | burnerwall 52 | { 53 | type mutkWallFunction; 54 | Cmu 0.09; 55 | kappa 0.41; 56 | E 9.8; 57 | value uniform 0; 58 | } 59 | front 60 | { 61 | type wedge; 62 | } 63 | back 64 | { 65 | type wedge; 66 | } 67 | } 68 | 69 | 70 | // ************************************************************************* // 71 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/0/mut: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object mut; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -1 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type calculated; 27 | value uniform 0; 28 | } 29 | inletair 30 | { 31 | type calculated; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type calculated; 37 | value uniform 0; 38 | } 39 | axis 40 | { 41 | type empty; 42 | } 43 | sidewall 44 | { 45 | type mutkWallFunction; 46 | Cmu 0.09; 47 | kappa 0.41; 48 | E 9.8; 49 | value uniform 0; 50 | } 51 | burnerwall 52 | { 53 | type mutkWallFunction; 54 | Cmu 0.09; 55 | kappa 0.41; 56 | E 9.8; 57 | value uniform 0; 58 | } 59 | front 60 | { 61 | type wedge; 62 | } 63 | back 64 | { 65 | type wedge; 66 | } 67 | } 68 | 69 | 70 | // ************************************************************************* // 71 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/mut: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object mut; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -1 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type calculated; 27 | value uniform 0; 28 | } 29 | inletair 30 | { 31 | type calculated; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type calculated; 37 | value uniform 0; 38 | } 39 | axis 40 | { 41 | type empty; 42 | } 43 | sidewall 44 | { 45 | type mutkWallFunction; 46 | Cmu 0.09; 47 | kappa 0.41; 48 | E 9.8; 49 | value uniform 0; 50 | } 51 | burnerwall 52 | { 53 | type mutkWallFunction; 54 | Cmu 0.09; 55 | kappa 0.41; 56 | E 9.8; 57 | value uniform 0; 58 | } 59 | front 60 | { 61 | type wedge; 62 | } 63 | back 64 | { 65 | type wedge; 66 | } 67 | } 68 | 69 | 70 | // ************************************************************************* // 71 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/0/mut: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object mut; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -1 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type calculated; 27 | value uniform 0; 28 | } 29 | inletair 30 | { 31 | type calculated; 32 | value uniform 0; 33 | } 34 | outlet 35 | { 36 | type calculated; 37 | value uniform 0; 38 | } 39 | axis 40 | { 41 | type empty; 42 | } 43 | sidewall 44 | { 45 | type mutkWallFunction; 46 | Cmu 0.09; 47 | kappa 0.41; 48 | E 9.8; 49 | value uniform 0; 50 | } 51 | burnerwall 52 | { 53 | type mutkWallFunction; 54 | Cmu 0.09; 55 | kappa 0.41; 56 | E 9.8; 57 | value uniform 0; 58 | } 59 | front 60 | { 61 | type wedge; 62 | } 63 | back 64 | { 65 | type wedge; 66 | } 67 | } 68 | 69 | 70 | // ************************************************************************* // 71 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/constant/flameletsProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class dictionary; 13 | location "constant"; 14 | object flameletsProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | //- Path to flamelet library 19 | libraryPath "../../lookUpTableGeneration/Sandia_COH2N2/library/OutputXML"; 20 | 21 | //- Adiabatic mode 22 | adiabaticMode off; 23 | 24 | //- Transport equation for mixture fraction variance 25 | varianceEquation off; 26 | 27 | //- Equation constants 28 | sigmat 0.85; // default: 0.85 29 | Cg 2.86; // default: 2.86 30 | Cd 2.00; // default: 2.00 31 | Cx 2.00; // default: 2.00 32 | 33 | //- PDF of scalar dissipation rate: dirac | logNormal 34 | pdf "dirac"; 35 | sigma 1.31; // scale factor for the log-normal: default 1.31 36 | 37 | //- LookUpTable extraction after iterations 38 | propertyUpdate 5; 39 | massFractionsUpdate 50; 40 | species "H2O"; 41 | 42 | //- Output modes 43 | showFlamelet off; 44 | showFlameletLibrary off; 45 | monitoring off; 46 | 47 | //- Radiation model (only for free stream flames) 48 | radiationMode on; 49 | Tenv Tenv [0 0 0 1 0 0 0] 292.15; 50 | 51 | //- Turbulence: k-e model 52 | k_small k_small [0 2 -2 0 0 0 0] 1.e-6; 53 | epsilon_small epsilon_small [0 2 -3 0 0 0 0] 1.e-6; 54 | 55 | // ************************************************************************* // 56 | 57 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/constant/flameletsProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class dictionary; 13 | location "constant"; 14 | object flameletsProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | //- Path to flamelet library 19 | libraryPath "../../lookUpTableGeneration/Sandia_COH2N2/library/OutputXML"; 20 | 21 | //- Adiabatic mode 22 | adiabaticMode off; 23 | 24 | //- Transport equation for mixture fraction variance 25 | varianceEquation off; 26 | 27 | //- Equation constants 28 | sigmat 0.85; // default: 0.85 29 | Cg 2.86; // default: 2.86 30 | Cd 2.00; // default: 2.00 31 | Cx 2.00; // default: 2.00 32 | 33 | //- PDF of scalar dissipation rate: dirac | logNormal 34 | pdf "dirac"; 35 | sigma 1.31; // scale factor for the log-normal: default 1.31 36 | 37 | //- LookUpTable extraction after iterations 38 | propertyUpdate 5; 39 | massFractionsUpdate 50; 40 | species "H2O"; 41 | 42 | //- Output modes 43 | showFlamelet off; 44 | showFlameletLibrary off; 45 | monitoring off; 46 | 47 | //- Radiation model (only for free stream flames) 48 | radiationMode on; 49 | Tenv Tenv [0 0 0 1 0 0 0] 292.15; 50 | 51 | //- Turbulence: k-e model 52 | k_small k_small [0 2 -2 0 0 0 0] 1.e-6; 53 | epsilon_small epsilon_small [0 2 -3 0 0 0 0] 1.e-6; 54 | 55 | // ************************************************************************* // 56 | 57 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/constant/flameletsProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class dictionary; 13 | location "constant"; 14 | object flameletsProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | //- Path to flamelet library 19 | libraryPath "../../lookUpTableGeneration/Sandia_COH2N2/library/OutputXML"; 20 | 21 | //- Adiabatic mode 22 | adiabaticMode off; 23 | 24 | //- Transport equation for mixture fraction variance 25 | varianceEquation off; 26 | 27 | //- Equation constants 28 | sigmat 0.85; // default: 0.85 29 | Cg 2.86; // default: 2.86 30 | Cd 2.00; // default: 2.00 31 | Cx 2.00; // default: 2.00 32 | 33 | //- PDF of scalar dissipation rate: dirac | logNormal 34 | pdf "logNormal"; 35 | sigma 1.31; // scale factor for the log-normal: default 1.31 36 | 37 | //- LookUpTable extraction after iterations 38 | propertyUpdate 5; 39 | massFractionsUpdate 50; 40 | species "H2O"; 41 | 42 | //- Output modes 43 | showFlamelet off; 44 | showFlameletLibrary off; 45 | monitoring off; 46 | 47 | //- Radiation model (only for free stream flames) 48 | radiationMode on; 49 | Tenv Tenv [0 0 0 1 0 0 0] 292.15; 50 | 51 | //- Turbulence: k-e model 52 | k_small k_small [0 2 -2 0 0 0 0] 1.e-6; 53 | epsilon_small epsilon_small [0 2 -3 0 0 0 0] 1.e-6; 54 | 55 | // ************************************************************************* // 56 | 57 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/constant/flameletsProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class dictionary; 13 | location "constant"; 14 | object flameletsProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | //- Path to flamelet library 19 | libraryPath "../../lookUpTableGeneration/Sandia_COH2N2/library/OutputXML"; 20 | 21 | //- Adiabatic mode 22 | adiabaticMode off; 23 | 24 | //- Transport equation for mixture fraction variance 25 | varianceEquation off; 26 | 27 | //- Equation constants 28 | sigmat 0.85; // default: 0.85 29 | Cg 2.86; // default: 2.86 30 | Cd 2.00; // default: 2.00 31 | Cx 2.00; // default: 2.00 32 | 33 | //- PDF of scalar dissipation rate: dirac | logNormal 34 | pdf "dirac"; 35 | sigma 1.31; // scale factor for the log-normal: default 1.31 36 | 37 | //- LookUpTable extraction after iterations 38 | propertyUpdate 5; 39 | massFractionsUpdate 50; 40 | species "H2O"; 41 | 42 | //- Output modes 43 | showFlamelet off; 44 | showFlameletLibrary off; 45 | monitoring off; 46 | 47 | //- Radiation model (only for free stream flames) 48 | radiationMode on; 49 | Tenv Tenv [0 0 0 1 0 0 0] 292.15; 50 | 51 | //- Turbulence: k-e model 52 | k_small k_small [0 2 -2 0 0 0 0] 1.e-6; 53 | epsilon_small epsilon_small [0 2 -3 0 0 0 0] 1.e-6; 54 | 55 | // ************************************************************************* // 56 | 57 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/constant/flameletsProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format binary; 12 | class dictionary; 13 | location "constant"; 14 | object flameletsProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | //- Path to flamelet library 19 | libraryPath "../../lookUpTableGeneration/Sandia_COH2N2/library/OutputXML"; 20 | 21 | //- Adiabatic mode 22 | adiabaticMode off; 23 | 24 | //- Transport equation for mixture fraction variance 25 | varianceEquation off; 26 | 27 | //- Equation constants 28 | sigmat 0.85; // default: 0.85 29 | Cg 2.86; // default: 2.86 30 | Cd 2.00; // default: 2.00 31 | Cx 2.00; // default: 2.00 32 | 33 | //- PDF of scalar dissipation rate: dirac | logNormal 34 | pdf "logNormal"; 35 | sigma 1.31; // scale factor for the log-normal: default 1.31 36 | 37 | //- LookUpTable extraction after iterations 38 | propertyUpdate 5; 39 | massFractionsUpdate 50; 40 | species "H2O"; 41 | 42 | //- Output modes 43 | showFlamelet off; 44 | showFlameletLibrary off; 45 | monitoring off; 46 | 47 | //- Radiation model (only for free stream flames) 48 | radiationMode on; 49 | Tenv Tenv [0 0 0 1 0 0 0] 292.15; 50 | 51 | //- Turbulence: k-e model 52 | k_small k_small [0 2 -2 0 0 0 0] 1.e-6; 53 | epsilon_small epsilon_small [0 2 -3 0 0 0 0] 1.e-6; 54 | 55 | // ************************************************************************* // 56 | 57 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/nut: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: dev | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object nut; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -1 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type calculated; 27 | value uniform 0; 28 | } 29 | 30 | inletair 31 | { 32 | type calculated; 33 | value uniform 0; 34 | } 35 | 36 | outlet 37 | { 38 | type calculated; 39 | value uniform 0; 40 | } 41 | 42 | sidewall 43 | { 44 | type nutkWallFunction; 45 | Cmu 0.09; 46 | kappa 0.41; 47 | E 9.8; 48 | value uniform 0; 49 | } 50 | 51 | burnerwall 52 | { 53 | type nutkWallFunction; 54 | Cmu 0.09; 55 | kappa 0.41; 56 | E 9.8; 57 | value uniform 0; 58 | } 59 | 60 | front 61 | { 62 | type wedge; 63 | } 64 | 65 | back 66 | { 67 | type wedge; 68 | } 69 | 70 | axis 71 | { 72 | type empty; 73 | } 74 | } 75 | 76 | 77 | // ************************************************************************* // 78 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/nut: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: dev | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object nut; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -1 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type calculated; 27 | value uniform 0; 28 | } 29 | 30 | inletair 31 | { 32 | type calculated; 33 | value uniform 0; 34 | } 35 | 36 | outlet 37 | { 38 | type calculated; 39 | value uniform 0; 40 | } 41 | 42 | sidewall 43 | { 44 | type nutkWallFunction; 45 | Cmu 0.09; 46 | kappa 0.41; 47 | E 9.8; 48 | value uniform 0; 49 | } 50 | 51 | burnerwall 52 | { 53 | type nutkWallFunction; 54 | Cmu 0.09; 55 | kappa 0.41; 56 | E 9.8; 57 | value uniform 0; 58 | } 59 | 60 | front 61 | { 62 | type wedge; 63 | } 64 | 65 | back 66 | { 67 | type wedge; 68 | } 69 | 70 | axis 71 | { 72 | type empty; 73 | } 74 | } 75 | 76 | 77 | // ************************************************************************* // 78 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/0/epsilon: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object epsilon; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -3 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type turbulentMixingLengthDissipationRateInlet; 27 | mixingLength 0.0003206; 28 | value uniform 3.337e+06; 29 | } 30 | inletair 31 | { 32 | type turbulentMixingLengthDissipationRateInlet; 33 | mixingLength 0.021; 34 | value uniform 0.00041; 35 | } 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | axis 41 | { 42 | type empty; 43 | } 44 | sidewall 45 | { 46 | type epsilonWallFunction; 47 | Cmu 0.09; 48 | kappa 0.41; 49 | E 9.8; 50 | value uniform 1; 51 | } 52 | burnerwall 53 | { 54 | type epsilonWallFunction; 55 | Cmu 0.09; 56 | kappa 0.41; 57 | E 9.8; 58 | value uniform 1; 59 | } 60 | front 61 | { 62 | type wedge; 63 | } 64 | back 65 | { 66 | type wedge; 67 | } 68 | } 69 | 70 | 71 | // ************************************************************************* // 72 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/0/epsilon: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object epsilon; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -3 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type turbulentMixingLengthDissipationRateInlet; 27 | mixingLength 0.0003206; 28 | value uniform 3.337e+06; 29 | } 30 | inletair 31 | { 32 | type turbulentMixingLengthDissipationRateInlet; 33 | mixingLength 0.021; 34 | value uniform 0.00041; 35 | } 36 | outlet 37 | { 38 | type zeroGradient; 39 | } 40 | axis 41 | { 42 | type empty; 43 | } 44 | sidewall 45 | { 46 | type epsilonWallFunction; 47 | Cmu 0.09; 48 | kappa 0.41; 49 | E 9.8; 50 | value uniform 1; 51 | } 52 | burnerwall 53 | { 54 | type epsilonWallFunction; 55 | Cmu 0.09; 56 | kappa 0.41; 57 | E 9.8; 58 | value uniform 1; 59 | } 60 | front 61 | { 62 | type wedge; 63 | } 64 | back 65 | { 66 | type wedge; 67 | } 68 | } 69 | 70 | 71 | // ************************************************************************* // 72 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/pEqn.22.H: -------------------------------------------------------------------------------- 1 | rho = thermo.rho(); 2 | 3 | volScalarField rAU(1.0/UEqn().A()); 4 | volVectorField HbyA("HbyA", U); 5 | HbyA = rAU*UEqn().H(); 6 | 7 | if (pimple.transonic()) 8 | { 9 | surfaceScalarField phid 10 | ( 11 | "phid", 12 | fvc::interpolate(psi) 13 | *( 14 | (fvc::interpolate(HbyA) & mesh.Sf()) 15 | + fvc::ddtPhiCorr(rAU, rho, U, phi) 16 | ) 17 | ); 18 | 19 | fvOptions.relativeFlux(fvc::interpolate(psi), phid); 20 | 21 | while (pimple.correctNonOrthogonal()) 22 | { 23 | fvScalarMatrix pEqn 24 | ( 25 | fvm::ddt(psi, p) 26 | + fvm::div(phid, p) 27 | - fvm::laplacian(rho*rAU, p) 28 | == 29 | fvOptions(psi, p, rho.name()) 30 | ); 31 | 32 | fvOptions.constrain(pEqn); 33 | 34 | pEqn.solve(mesh.solver(p.select(pimple.finalInnerIter()))); 35 | 36 | if (pimple.finalNonOrthogonalIter()) 37 | { 38 | phi == pEqn.flux(); 39 | } 40 | } 41 | } 42 | else 43 | { 44 | surfaceScalarField phiHbyA 45 | ( 46 | "phiHbyA", 47 | fvc::interpolate(rho) 48 | *( 49 | (fvc::interpolate(HbyA) & mesh.Sf()) 50 | + fvc::ddtPhiCorr(rAU, rho, U, phi) 51 | ) 52 | ); 53 | 54 | fvOptions.relativeFlux(fvc::interpolate(rho), phiHbyA); 55 | 56 | while (pimple.correctNonOrthogonal()) 57 | { 58 | fvScalarMatrix pEqn 59 | ( 60 | fvm::ddt(psi, p) 61 | + fvc::div(phiHbyA) 62 | - fvm::laplacian(rho*rAU, p) 63 | == 64 | fvOptions(psi, p, rho.name()) 65 | ); 66 | 67 | fvOptions.constrain(pEqn); 68 | 69 | pEqn.solve(mesh.solver(p.select(pimple.finalInnerIter()))); 70 | 71 | if (pimple.finalNonOrthogonalIter()) 72 | { 73 | phi = phiHbyA + pEqn.flux(); 74 | } 75 | } 76 | } 77 | 78 | #include "rhoEqn.H" 79 | #include "compressibleContinuityErrs.H" 80 | 81 | U = HbyA - rAU*fvc::grad(p); 82 | U.correctBoundaryConditions(); 83 | fvOptions.correct(U); 84 | K = 0.5*magSqr(U); 85 | 86 | if (thermo.dpdt()) 87 | { 88 | dpdt = fvc::ddt(p); 89 | } 90 | -------------------------------------------------------------------------------- /cases/lookUpTableGeneration/Sandia_COH2N2/flamelets/input.dic: -------------------------------------------------------------------------------- 1 | //-----------------------------------------------------------------// 2 | // ____ ______ __ __ ____ _ ________ // 3 | // / __ \ / ___ | \/ |/ __ \| |/ / ____| // 4 | // | | | |_ __ ___ _ __ | (___ | \ / | | | | ' /| |__ // 5 | // | | | | '_ \ / _ \ '_ \ \___ \| |\/| | | | | < | __| // 6 | // | |__| | |_) | __/ | | |____) | | | | |__| | . \| |____ // 7 | // \____/| .__/ \___|_| |_|______/|_| |_|\____/|_|\_\______| // 8 | // | | // 9 | // |_| // 10 | // // 11 | // http://www.opensmoke.polimi.it/ // 12 | // http://creckmodeling.chem.polimi.it/ // 13 | //-----------------------------------------------------------------// 14 | 15 | Dictionary LaminarFlamelets 16 | { 17 | @KineticsPreProcessor kinetics; 18 | 19 | @FuelSide fuel-side; 20 | @OxidizerSide oxidizer-side; 21 | @StoichiometricScalarDissipationRates 1e-5 1e-4 1e-3 1e-2 1e-1 1 2 3 5 8 10 20 30 50 75 100 150 200 300 400 Hz; 22 | @EnthalpyDefects 5 10 15 30 50 80 100 150 250 500 kJ/kg; 23 | 24 | @Grid grid; 25 | 26 | @Output Output; 27 | 28 | @UseOdeSolver true; 29 | @UseNlsSolver false; 30 | } 31 | 32 | Dictionary kinetics 33 | { 34 | @Output kinetics; 35 | 36 | @Kinetics ../kinetics/POLIMI_H2CO_1412.CKI; 37 | @Thermodynamics ../kinetics/POLIMI_TOT_NOX_1412.CKT; 38 | @Transport ../kinetics/POLIMI_TOT_NOX_1412.TRC; 39 | } 40 | 41 | Dictionary fuel-side 42 | { 43 | @MoleFractions CO 0.4 H2 0.3 N2 0.3; 44 | @Temperature 292.15 K; 45 | @Pressure 1 atm; 46 | } 47 | 48 | Dictionary oxidizer-side 49 | { 50 | @MoleFractions O2 0.2075098 N2 0.7806324 H2O 0.0118577; 51 | @Temperature 290.15 K; 52 | @Pressure 1 atm; 53 | } 54 | 55 | Dictionary grid 56 | { 57 | @Length 1 m; 58 | @InitialPoints 50; 59 | @Type equispaced; 60 | 61 | @MaxPoints 500; 62 | @MaxAdaptivePoints 15; 63 | @GradientCoefficient 0.1; 64 | @CurvatureCoefficient 1; 65 | } 66 | 67 | -------------------------------------------------------------------------------- /solvers/flameletPisoSMOKE/pEqn.H: -------------------------------------------------------------------------------- 1 | rho = thermo.rho(); 2 | 3 | volScalarField rUA = 1.0/UEqn.A(); 4 | U = rUA*UEqn.H(); 5 | 6 | if (transonic) 7 | { 8 | 9 | surfaceScalarField phid 10 | ( 11 | "phid", 12 | fvc::interpolate(psi) 13 | *( 14 | (fvc::interpolate(U) & mesh.Sf()) 15 | #if OPENFOAM_VERSION == 22 16 | + fvc::ddtPhiCorr(rUA, rho, U, phi) 17 | #elif OPENFOAM_VERSION == 23 18 | + fvc::interpolate(rUA)*fvc::ddtCorr(rho, U, phi) 19 | #elif OPENFOAM_VERSION == 24 20 | + fvc::interpolate(rUA)*fvc::ddtCorr(rho, U, phi) 21 | #else 22 | Compilation_Error_You_Did_Not_Define_The_OPENFOAM_VERSION_Macro 23 | #endif 24 | ) 25 | ); 26 | 27 | for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++) 28 | { 29 | fvScalarMatrix pEqn 30 | ( 31 | fvm::ddt(psi, p) 32 | + fvm::div(phid, p) 33 | - fvm::laplacian(rho*rUA, p) 34 | ); 35 | 36 | pEqn.solve(); 37 | 38 | if (nonOrth == nNonOrthCorr) 39 | { 40 | phi == pEqn.flux(); 41 | } 42 | } 43 | } 44 | else 45 | { 46 | phi = 47 | fvc::interpolate(rho)* 48 | ( 49 | (fvc::interpolate(U) & mesh.Sf()) 50 | #if OPENFOAM_VERSION == 22 51 | + fvc::ddtPhiCorr(rUA, rho, U, phi) 52 | #elif OPENFOAM_VERSION == 23 53 | + fvc::interpolate(rUA)*fvc::ddtCorr(rho, U, phi) 54 | #elif OPENFOAM_VERSION == 24 55 | + fvc::interpolate(rUA)*fvc::ddtCorr(rho, U, phi) 56 | #else 57 | Compilation_Error_You_Did_Not_Define_The_OPENFOAM_VERSION_Macro 58 | #endif 59 | ); 60 | 61 | for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++) 62 | { 63 | fvScalarMatrix pEqn 64 | ( 65 | fvm::ddt(psi, p) 66 | + fvc::div(phi) 67 | - fvm::laplacian(rho*rUA, p) 68 | ); 69 | 70 | pEqn.solve(); 71 | 72 | if (nonOrth == nNonOrthCorr) 73 | { 74 | phi += pEqn.flux(); 75 | } 76 | } 77 | } 78 | 79 | //#include "rhoEqn.H" 80 | #include "compressibleContinuityErrs.H" 81 | 82 | U -= rUA*fvc::grad(p); 83 | U.correctBoundaryConditions(); 84 | 85 | dpdt = fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p); 86 | -------------------------------------------------------------------------------- /solvers/openSMOKEpp4flameletSMOKE/math/OpenSMOKEBaseClass.hpp: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (C) 2011 by Alberto Cuoci * 3 | * alberto.cuoci@polimi.it * 4 | * * 5 | * This program is free software; you can redistribute it and/or modify * 6 | * it under the terms of the GNU General Public License as published by * 7 | * the Free Software Foundation; either version 2 of the License, or * 8 | * (at your option) any later version. * 9 | * * 10 | * This program is distributed in the hope that it will be useful, * 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 13 | * GNU General Public License for more details. * 14 | * * 15 | * You should have received a copy of the GNU General Public License * 16 | * along with this program; if not, write to the * 17 | * Free Software Foundation, Inc., * 18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 19 | ***************************************************************************/ 20 | 21 | #include 22 | #include 23 | #include 24 | #include "math/OpenSMOKEBaseClass.h" 25 | 26 | namespace OpenSMOKE 27 | { 28 | 29 | void OpenSMOKEBaseClass::ErrorMessage(const std::string message) const 30 | { 31 | std::cout << "Class: " << typeid(OpenSMOKEBaseClass).name() << std::endl; 32 | std::cout << "Index: " << whoAmI_ << "/" << count_ << std::endl; 33 | std::cout << "Message: " << message << std::endl; 34 | std::cout << "Press enter to continue..." << std::endl; 35 | getchar(); 36 | exit(OPENSMOKE_FATAL_ERROR_EXIT); 37 | } 38 | 39 | unsigned int OpenSMOKEBaseClass::count_ = 0; 40 | 41 | unsigned int OpenSMOKEBaseClass::countInScope_ = 0; 42 | 43 | } 44 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2/system/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | p 21 | { 22 | solver GAMG; 23 | tolerance 1e-10; 24 | relTol 0.05; 25 | smoother GaussSeidel; 26 | cacheAgglomeration off; 27 | nCellsInCoarsestLevel 20; 28 | agglomerator faceAreaPair; 29 | mergeLevels 1; 30 | } 31 | 32 | U 33 | { 34 | solver PBiCG; 35 | preconditioner DILU; 36 | tolerance 1e-08; 37 | relTol 0.1; 38 | } 39 | 40 | "(k|epsilon|H|Z|Zvar)" 41 | { 42 | $U; 43 | tolerance 1e-09; 44 | relTol 0.1; 45 | } 46 | } 47 | 48 | SIMPLE 49 | { 50 | nNonOrthogonalCorrectors 0; 51 | pMinFactor 0.4; 52 | pMaxFactor 1.5; 53 | 54 | residualControl 55 | { 56 | p 1e-5; 57 | U 1e-6; 58 | H 1e-6; 59 | 60 | // possibly check turbulence fields 61 | "(k|epsilon|omega)" 1e-3; 62 | } 63 | } 64 | 65 | relaxationFactors 66 | { 67 | fields 68 | { 69 | p 0.1; 70 | rho 0.5; 71 | } 72 | equations 73 | { 74 | U 0.2; 75 | "(k|epsilon)" 0.3; 76 | Z 0.3; 77 | Zvar 0.1; 78 | H 0.3; 79 | } 80 | } 81 | 82 | 83 | // ************************************************************************* // 84 | -------------------------------------------------------------------------------- /solvers/flameletPisoSMOKE/writeMassFlow.H: -------------------------------------------------------------------------------- 1 | { 2 | scalar m_in, m_out; 3 | scalar v_in, v_out; 4 | scalar H_in, H_out; 5 | 6 | m_in = 0.; 7 | v_in = 0.; 8 | H_in = 0.; 9 | m_out = 0.; 10 | v_out = 0.; 11 | H_out = 0.; 12 | 13 | outInfo << runTime.value() << "\t"; 14 | 15 | forAll(mesh.boundary(), patchi) 16 | { 17 | 18 | forAll(inletPatches, iP) 19 | { 20 | if(mesh.boundary()[patchi].name() == inletPatches[iP]) 21 | { 22 | scalar flow = 23 | sum 24 | ( 25 | ( 26 | rho.boundaryField()[patchi] 27 | * U.boundaryField()[patchi] 28 | & mesh.boundary()[patchi].Sf() 29 | ) 30 | ); 31 | 32 | scalar Hflow = 33 | sum 34 | ( 35 | ( 36 | rho.boundaryField()[patchi] 37 | * H.boundaryField()[patchi] 38 | * U.boundaryField()[patchi] 39 | & mesh.boundary()[patchi].Sf() 40 | ) 41 | ); 42 | 43 | scalar volFlow = 44 | sum 45 | ( 46 | ( 47 | U.boundaryField()[patchi] 48 | & mesh.boundary()[patchi].Sf() 49 | ) 50 | ); 51 | 52 | m_in += mag(flow); 53 | v_in += mag(volFlow); 54 | H_in += mag(Hflow); 55 | } 56 | } 57 | 58 | forAll(outletPatches, oP) 59 | { 60 | if(mesh.boundary()[patchi].name() == outletPatches[oP]) 61 | { 62 | scalar flow = 63 | sum 64 | ( 65 | ( 66 | rho.boundaryField()[patchi] 67 | * U.boundaryField()[patchi] 68 | & mesh.boundary()[patchi].Sf() 69 | ) 70 | ); 71 | 72 | scalar Hflow = 73 | sum 74 | ( 75 | ( 76 | rho.boundaryField()[patchi] * H.boundaryField()[patchi] 77 | * U.boundaryField()[patchi] 78 | & mesh.boundary()[patchi].Sf() 79 | ) 80 | ); 81 | 82 | scalar volFlow = 83 | sum 84 | ( 85 | ( 86 | U.boundaryField()[patchi] 87 | & mesh.boundary()[patchi].Sf() 88 | ) 89 | ); 90 | 91 | m_out += mag(flow); 92 | v_out += mag(volFlow); 93 | H_out += mag(Hflow); 94 | } 95 | } 96 | } 97 | 98 | outInfo << m_in << "\t" << v_in << "\t" << H_in << "\t"; 99 | outInfo << m_out << "\t" << v_out << "\t" << H_out << "\t"; 100 | outInfo << m_out-m_in << "\t" << v_out-v_in << "\t" << H_out-H_in << "\t"; 101 | outInfo << endl; 102 | } 103 | -------------------------------------------------------------------------------- /solvers/flameletPimpleSMOKE/writeMassFlow.H: -------------------------------------------------------------------------------- 1 | { 2 | scalar m_in, m_out; 3 | scalar v_in, v_out; 4 | scalar H_in, H_out; 5 | 6 | m_in = 0.; 7 | v_in = 0.; 8 | H_in = 0.; 9 | m_out = 0.; 10 | v_out = 0.; 11 | H_out = 0.; 12 | 13 | outInfo << runTime.value() << "\t"; 14 | 15 | forAll(mesh.boundary(), patchi) 16 | { 17 | 18 | forAll(inletPatches, iP) 19 | { 20 | if(mesh.boundary()[patchi].name() == inletPatches[iP]) 21 | { 22 | scalar flow = 23 | sum 24 | ( 25 | ( 26 | rho.boundaryField()[patchi] 27 | * U.boundaryField()[patchi] 28 | & mesh.boundary()[patchi].Sf() 29 | ) 30 | ); 31 | 32 | scalar Hflow = 33 | sum 34 | ( 35 | ( 36 | rho.boundaryField()[patchi] 37 | * H.boundaryField()[patchi] 38 | * U.boundaryField()[patchi] 39 | & mesh.boundary()[patchi].Sf() 40 | ) 41 | ); 42 | 43 | scalar volFlow = 44 | sum 45 | ( 46 | ( 47 | U.boundaryField()[patchi] 48 | & mesh.boundary()[patchi].Sf() 49 | ) 50 | ); 51 | 52 | m_in += mag(flow); 53 | v_in += mag(volFlow); 54 | H_in += mag(Hflow); 55 | } 56 | } 57 | 58 | forAll(outletPatches, oP) 59 | { 60 | if(mesh.boundary()[patchi].name() == outletPatches[oP]) 61 | { 62 | scalar flow = 63 | sum 64 | ( 65 | ( 66 | rho.boundaryField()[patchi] 67 | * U.boundaryField()[patchi] 68 | & mesh.boundary()[patchi].Sf() 69 | ) 70 | ); 71 | 72 | scalar Hflow = 73 | sum 74 | ( 75 | ( 76 | rho.boundaryField()[patchi] * H.boundaryField()[patchi] 77 | * U.boundaryField()[patchi] 78 | & mesh.boundary()[patchi].Sf() 79 | ) 80 | ); 81 | 82 | scalar volFlow = 83 | sum 84 | ( 85 | ( 86 | U.boundaryField()[patchi] 87 | & mesh.boundary()[patchi].Sf() 88 | ) 89 | ); 90 | 91 | m_out += mag(flow); 92 | v_out += mag(volFlow); 93 | H_out += mag(Hflow); 94 | } 95 | } 96 | } 97 | 98 | outInfo << m_in << "\t" << v_in << "\t" << H_in << "\t"; 99 | outInfo << m_out << "\t" << v_out << "\t" << H_out << "\t"; 100 | outInfo << m_out-m_in << "\t" << v_out-v_in << "\t" << H_out-H_in << "\t"; 101 | outInfo << endl; 102 | } 103 | -------------------------------------------------------------------------------- /solvers/flameletSimpleSMOKE/writeMassFlow.H: -------------------------------------------------------------------------------- 1 | { 2 | scalar m_in, m_out; 3 | scalar v_in, v_out; 4 | scalar H_in, H_out; 5 | 6 | m_in = 0.; 7 | v_in = 0.; 8 | H_in = 0.; 9 | m_out = 0.; 10 | v_out = 0.; 11 | H_out = 0.; 12 | 13 | outInfo << runTime.value() << "\t"; 14 | 15 | forAll(mesh.boundary(), patchi) 16 | { 17 | 18 | forAll(inletPatches, iP) 19 | { 20 | if(mesh.boundary()[patchi].name() == inletPatches[iP]) 21 | { 22 | scalar flow = 23 | sum 24 | ( 25 | ( 26 | rho.boundaryField()[patchi] 27 | * U.boundaryField()[patchi] 28 | & mesh.boundary()[patchi].Sf() 29 | ) 30 | ); 31 | 32 | scalar Hflow = 33 | sum 34 | ( 35 | ( 36 | rho.boundaryField()[patchi] 37 | * H.boundaryField()[patchi] 38 | * U.boundaryField()[patchi] 39 | & mesh.boundary()[patchi].Sf() 40 | ) 41 | ); 42 | 43 | scalar volFlow = 44 | sum 45 | ( 46 | ( 47 | U.boundaryField()[patchi] 48 | & mesh.boundary()[patchi].Sf() 49 | ) 50 | ); 51 | 52 | m_in += mag(flow); 53 | v_in += mag(volFlow); 54 | H_in += mag(Hflow); 55 | } 56 | } 57 | 58 | forAll(outletPatches, oP) 59 | { 60 | if(mesh.boundary()[patchi].name() == outletPatches[oP]) 61 | { 62 | scalar flow = 63 | sum 64 | ( 65 | ( 66 | rho.boundaryField()[patchi] 67 | * U.boundaryField()[patchi] 68 | & mesh.boundary()[patchi].Sf() 69 | ) 70 | ); 71 | 72 | scalar Hflow = 73 | sum 74 | ( 75 | ( 76 | rho.boundaryField()[patchi] * H.boundaryField()[patchi] 77 | * U.boundaryField()[patchi] 78 | & mesh.boundary()[patchi].Sf() 79 | ) 80 | ); 81 | 82 | scalar volFlow = 83 | sum 84 | ( 85 | ( 86 | U.boundaryField()[patchi] 87 | & mesh.boundary()[patchi].Sf() 88 | ) 89 | ); 90 | 91 | m_out += mag(flow); 92 | v_out += mag(volFlow); 93 | H_out += mag(Hflow); 94 | } 95 | } 96 | } 97 | 98 | outInfo << m_in << "\t" << v_in << "\t" << H_in << "\t"; 99 | outInfo << m_out << "\t" << v_out << "\t" << H_out << "\t"; 100 | outInfo << m_out-m_in << "\t" << v_out-v_in << "\t" << H_out-H_in << "\t"; 101 | outInfo << endl; 102 | } 103 | -------------------------------------------------------------------------------- /cases/flameletSimpleSMOKE/Sandia_COH2N2.oldOF/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default steadyState; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default cellLimited Gauss linear 1; 26 | } 27 | 28 | divSchemes 29 | { 30 | div(phi,U) bounded Gauss limitedLinear 1; 31 | div(phi,epsilon) bounded Gauss upwind; 32 | div(phi,k) bounded Gauss upwind; 33 | 34 | div(phi,H) bounded Gauss limitedLinear 1; 35 | div(phi,Z) bounded Gauss limitedLimitedLinear 1 0 1; 36 | div(phi,Zvar) bounded Gauss limitedLimitedLinear 1 0 0.25; 37 | 38 | div((muEff*dev2(T(grad(U))))) Gauss linear; 39 | } 40 | 41 | laplacianSchemes 42 | { 43 | 44 | laplacian(muEff,U) Gauss linear corrected; 45 | laplacian((rho*(1|A(U))),p) Gauss linear corrected; 46 | laplacian(DkEff,k) Gauss linear corrected; 47 | 48 | laplacian((rho|A(U)),p) Gauss linear corrected; 49 | 50 | laplacian(DepsilonEff,epsilon) Gauss linear corrected; 51 | laplacian((muEff|sigmat),Z) Gauss linear corrected; 52 | laplacian((muEff|sigmat),H) Gauss linear corrected; 53 | laplacian((mut|sigmat),Zvar) Gauss linear corrected; 54 | } 55 | 56 | interpolationSchemes 57 | { 58 | default linear; 59 | } 60 | 61 | snGradSchemes 62 | { 63 | default corrected; 64 | } 65 | 66 | fluxRequired 67 | { 68 | default no; 69 | p ; 70 | } 71 | 72 | 73 | // ************************************************************************* // 74 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2/system/fvSchemes.old: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default bounded Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear 1; 26 | } 27 | 28 | divSchemes 29 | { 30 | div(phi,U) bounded Gauss limitedLinear 1; 31 | div(phi,epsilon) bounded Gauss upwind; 32 | div(phi,k) bounded Gauss upwind; 33 | div(phiU,p) bounded Gauss upwind; 34 | 35 | div(phi,H) bounded Gauss limitedLinear 1; 36 | div(phi,Z) bounded Gauss limitedLimitedLinear 1 0 1; 37 | div(phi,Zvar) bounded Gauss limitedLimitedLinear 1 0 0.25; 38 | 39 | div((muEff*dev2(T(grad(U))))) Gauss linear; 40 | } 41 | 42 | laplacianSchemes 43 | { 44 | 45 | laplacian(muEff,U) Gauss linear corrected; 46 | laplacian((rho*(1|A(U))),p) Gauss linear corrected; 47 | laplacian(DkEff,k) Gauss linear corrected; 48 | 49 | laplacian((rho|A(U)),p) Gauss linear corrected; 50 | 51 | laplacian(DepsilonEff,epsilon) Gauss linear corrected; 52 | laplacian((muEff|sigmat),Z) Gauss linear corrected; 53 | laplacian((muEff|sigmat),H) Gauss linear corrected; 54 | laplacian((mut|sigmat),Zvar) Gauss linear corrected; 55 | } 56 | 57 | interpolationSchemes 58 | { 59 | default linear; 60 | } 61 | 62 | snGradSchemes 63 | { 64 | default corrected; 65 | } 66 | 67 | fluxRequired 68 | { 69 | default no; 70 | p ; 71 | } 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/system/fvSchemes.old: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default bounded Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear 1; 26 | } 27 | 28 | divSchemes 29 | { 30 | div(phi,U) bounded Gauss limitedLinear 1; 31 | div(phi,epsilon) bounded Gauss upwind; 32 | div(phi,k) bounded Gauss upwind; 33 | div(phiU,p) bounded Gauss upwind; 34 | 35 | div(phi,H) bounded Gauss limitedLinear 1; 36 | div(phi,Z) bounded Gauss limitedLimitedLinear 1 0 1; 37 | div(phi,Zvar) bounded Gauss limitedLimitedLinear 1 0 0.25; 38 | 39 | div((muEff*dev2(T(grad(U))))) Gauss linear; 40 | } 41 | 42 | laplacianSchemes 43 | { 44 | 45 | laplacian(muEff,U) Gauss linear corrected; 46 | laplacian((rho*(1|A(U))),p) Gauss linear corrected; 47 | laplacian(DkEff,k) Gauss linear corrected; 48 | 49 | laplacian((rho|A(U)),p) Gauss linear corrected; 50 | 51 | laplacian(DepsilonEff,epsilon) Gauss linear corrected; 52 | laplacian((muEff|sigmat),Z) Gauss linear corrected; 53 | laplacian((muEff|sigmat),H) Gauss linear corrected; 54 | laplacian((mut|sigmat),Zvar) Gauss linear corrected; 55 | } 56 | 57 | interpolationSchemes 58 | { 59 | default linear; 60 | } 61 | 62 | snGradSchemes 63 | { 64 | default corrected; 65 | } 66 | 67 | fluxRequired 68 | { 69 | default no; 70 | p ; 71 | } 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/system/fvSchemes.old: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default bounded Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear 1; 26 | } 27 | 28 | divSchemes 29 | { 30 | div(phi,U) bounded Gauss limitedLinear 1; 31 | div(phi,epsilon) bounded Gauss upwind; 32 | div(phi,k) bounded Gauss upwind; 33 | div(phiU,p) bounded Gauss upwind; 34 | 35 | div(phi,H) bounded Gauss limitedLinear 1; 36 | div(phi,Z) bounded Gauss limitedLimitedLinear 1 0 1; 37 | div(phi,Zvar) bounded Gauss limitedLimitedLinear 1 0 0.25; 38 | 39 | div((muEff*dev2(T(grad(U))))) Gauss linear; 40 | } 41 | 42 | laplacianSchemes 43 | { 44 | 45 | laplacian(muEff,U) Gauss linear corrected; 46 | laplacian((rho*(1|A(U))),p) Gauss linear corrected; 47 | laplacian(DkEff,k) Gauss linear corrected; 48 | 49 | laplacian((rho|A(U)),p) Gauss linear corrected; 50 | 51 | laplacian(DepsilonEff,epsilon) Gauss linear corrected; 52 | laplacian((muEff|sigmat),Z) Gauss linear corrected; 53 | laplacian((muEff|sigmat),H) Gauss linear corrected; 54 | laplacian((mut|sigmat),Zvar) Gauss linear corrected; 55 | } 56 | 57 | interpolationSchemes 58 | { 59 | default linear; 60 | } 61 | 62 | snGradSchemes 63 | { 64 | default corrected; 65 | } 66 | 67 | fluxRequired 68 | { 69 | default no; 70 | p ; 71 | } 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /solvers/openSMOKEpp4flameletSMOKE/math/OpenSMOKEClass.hpp: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (C) 2011 by Alberto Cuoci * 3 | * alberto.cuoci@polimi.it * 4 | * * 5 | * This program is free software; you can redistribute it and/or modify * 6 | * it under the terms of the GNU General Public License as published by * 7 | * the Free Software Foundation; either version 2 of the License, or * 8 | * (at your option) any later version. * 9 | * * 10 | * This program is distributed in the hope that it will be useful, * 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 13 | * GNU General Public License for more details. * 14 | * * 15 | * You should have received a copy of the GNU General Public License * 16 | * along with this program; if not, write to the * 17 | * Free Software Foundation, Inc., * 18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 19 | ***************************************************************************/ 20 | 21 | #ifndef OpenSMOKE_OpenSMOKEClass_Hpp 22 | #define OpenSMOKE_OpenSMOKEClass_Hpp 23 | 24 | #include 25 | #include 26 | 27 | namespace OpenSMOKE 28 | { 29 | /** 30 | * This is the OpenSMOKEClass, which is common to every OpenSMOKE class 31 | */ 32 | 33 | class OpenSMOKEClass 34 | { 35 | protected: 36 | 37 | /** 38 | *@brief Return a fatal error message 39 | */ 40 | void ErrorMessage(const std::string className, const std::string message) const 41 | { 42 | std::cout << className << std::endl; 43 | std::cout << "Message: " << message << std::endl; 44 | std::cout << "Press enter to continue..." << std::endl; 45 | getchar(); 46 | exit(OPENSMOKE_FATAL_ERROR_EXIT); 47 | } 48 | }; 49 | 50 | 51 | } 52 | 53 | #endif // OpenSMOKE_OpenSMOKEClass_Hpp 54 | -------------------------------------------------------------------------------- /cases/flameletPimpleSMOKE/Sandia_COH2N2.oldOF/0/epsilon: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object epsilon; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -3 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type compressible::turbulentMixingLengthDissipationRateInlet; 27 | mixingLength 0.0003206; 28 | phi phi; 29 | k k; 30 | value uniform 3.337e+06; 31 | } 32 | inletair 33 | { 34 | type compressible::turbulentMixingLengthDissipationRateInlet; 35 | mixingLength 0.021; 36 | phi phi; 37 | k k; 38 | value uniform 0.00041; 39 | } 40 | outlet 41 | { 42 | type zeroGradient; 43 | } 44 | axis 45 | { 46 | type empty; 47 | } 48 | sidewall 49 | { 50 | type compressible::epsilonWallFunction; 51 | Cmu 0.09; 52 | kappa 0.41; 53 | E 9.8; 54 | value uniform 1; 55 | } 56 | burnerwall 57 | { 58 | type compressible::epsilonWallFunction; 59 | Cmu 0.09; 60 | kappa 0.41; 61 | E 9.8; 62 | value uniform 1; 63 | } 64 | front 65 | { 66 | type wedge; 67 | } 68 | back 69 | { 70 | type wedge; 71 | } 72 | } 73 | 74 | 75 | // ************************************************************************* // 76 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/0/epsilon: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object epsilon; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -3 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | inletfuel 25 | { 26 | type compressible::turbulentMixingLengthDissipationRateInlet; 27 | mixingLength 0.0003206; 28 | phi phi; 29 | k k; 30 | value uniform 3.337e+06; 31 | } 32 | inletair 33 | { 34 | type compressible::turbulentMixingLengthDissipationRateInlet; 35 | mixingLength 0.021; 36 | phi phi; 37 | k k; 38 | value uniform 0.00041; 39 | } 40 | outlet 41 | { 42 | type zeroGradient; 43 | } 44 | axis 45 | { 46 | type empty; 47 | } 48 | sidewall 49 | { 50 | type compressible::epsilonWallFunction; 51 | Cmu 0.09; 52 | kappa 0.41; 53 | E 9.8; 54 | value uniform 1; 55 | } 56 | burnerwall 57 | { 58 | type compressible::epsilonWallFunction; 59 | Cmu 0.09; 60 | kappa 0.41; 61 | E 9.8; 62 | value uniform 1; 63 | } 64 | front 65 | { 66 | type wedge; 67 | } 68 | back 69 | { 70 | type wedge; 71 | } 72 | } 73 | 74 | 75 | // ************************************************************************* // 76 | -------------------------------------------------------------------------------- /cases/flameletPisoSMOKE/Sandia_COH2N2.oldOF/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.x | 5 | | \\ / A nd | Web: www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.2; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default bounded Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | } 27 | 28 | divSchemes 29 | { 30 | div(phi,U) bounded Gauss limitedLinearV 1; 31 | div(phi,epsilon) bounded Gauss limitedLinear 1; 32 | div(phi,k) bounded Gauss limitedLinear 1; 33 | div(phiU,p) bounded Gauss limitedLinear 1; 34 | 35 | div(phi,H) bounded Gauss limitedLinear 1; 36 | div(phi,Z) bounded Gauss limitedLimitedLinear 1 0 1; 37 | div(phi,Zvar) bounded Gauss limitedLimitedLinear 1 0 0.25; 38 | 39 | div((muEff*dev2(T(grad(U))))) Gauss linear; 40 | } 41 | 42 | laplacianSchemes 43 | { 44 | 45 | laplacian(muEff,U) Gauss linear corrected; 46 | laplacian((rho*(1|A(U))),p) Gauss linear corrected; 47 | laplacian(DkEff,k) Gauss linear corrected; 48 | 49 | laplacian((rho|A(U)),p) Gauss linear corrected; 50 | 51 | laplacian(DepsilonEff,epsilon) Gauss linear corrected; 52 | laplacian((muEff|sigmat),Z) Gauss linear corrected; 53 | laplacian((muEff|sigmat),H) Gauss linear corrected; 54 | laplacian((mut|sigmat),Zvar) Gauss linear corrected; 55 | } 56 | 57 | interpolationSchemes 58 | { 59 | default linear; 60 | } 61 | 62 | snGradSchemes 63 | { 64 | default corrected; 65 | } 66 | 67 | fluxRequired 68 | { 69 | default no; 70 | p ; 71 | } 72 | 73 | 74 | // ************************************************************************* // 75 | --------------------------------------------------------------------------------