├── fireFoam ├── packages │ ├── lagrangian │ │ └── intermediate │ │ │ └── lnInclude │ │ │ └── uptodate │ └── CMakeLists.txt ├── solver │ ├── solidRegionDiffusionNo.H │ ├── createPyrolysisModel.H │ ├── createFieldRefs.H │ ├── gitVersion.H │ ├── createSurfaceFilmModel.H │ ├── createClouds.H │ ├── createRegionControls.H │ ├── printVersion.H │ ├── UEqn.H │ ├── include │ │ └── infoOutput.H │ └── phrghEqn.H ├── CMakeLists.txt └── lib │ └── CMakeLists.txt ├── tutorials ├── .gitignore ├── gasBurner │ ├── 0 │ │ ├── N2 │ │ ├── p │ │ ├── IDefault │ │ ├── nut │ │ ├── alphat │ │ ├── k │ │ ├── ph_rgh.orig │ │ ├── T │ │ ├── p_rgh │ │ ├── U │ │ ├── CH4 │ │ ├── O2 │ │ └── Ydefault │ ├── README │ ├── Allclean │ ├── Allrun.pre │ ├── constant │ │ ├── regionProperties │ │ ├── hRef │ │ ├── additionalControls │ │ ├── fuelCloudProperties │ │ ├── g │ │ ├── pRef │ │ ├── pyrolysisZones │ │ ├── suppressionCloudProperties │ │ ├── suppressionFilmProperties │ │ ├── boundaryRadiationProperties │ │ ├── combustionProperties │ │ ├── reactions │ │ ├── turbulenceProperties │ │ ├── radiationProperties │ │ └── thermophysicalProperties │ └── system │ │ ├── decomposeParDict.primary │ │ ├── createPatchDict.default │ │ └── topoSetDict.burner ├── pyrolysisOneDim │ ├── 0 │ │ ├── fuelRegion │ │ │ ├── v │ │ │ ├── p │ │ │ ├── qr │ │ │ ├── Ydefault │ │ │ ├── Y0Default │ │ │ └── T │ │ ├── N2 │ │ ├── p │ │ ├── IDefault │ │ ├── nut │ │ ├── alphat │ │ ├── T │ │ ├── CH4 │ │ ├── O2 │ │ ├── U │ │ ├── Ydefault │ │ ├── k │ │ ├── ph_rgh.orig │ │ └── p_rgh │ ├── constant │ │ ├── fuelRegion │ │ │ ├── polyMesh │ │ │ │ ├── faces │ │ │ │ ├── owner │ │ │ │ ├── points │ │ │ │ ├── neighbour │ │ │ │ ├── faceToPatchEdgeAddressing │ │ │ │ ├── faceToPatchFaceAddressing │ │ │ │ ├── cellZones │ │ │ │ ├── faceZones │ │ │ │ └── pointZones │ │ │ ├── thermo.gas │ │ │ ├── chemistryProperties │ │ │ └── reactions │ │ ├── additionalControls │ │ ├── fuelCloudProperties │ │ ├── hRef │ │ ├── g │ │ ├── pRef │ │ ├── regionProperties │ │ ├── suppressionCloudProperties │ │ ├── suppressionFilmProperties │ │ ├── boundaryRadiationProperties │ │ ├── combustionProperties │ │ ├── reactions │ │ ├── radiationProperties │ │ ├── turbulenceProperties │ │ ├── pyrolysisZones │ │ └── thermophysicalProperties │ ├── Allclean │ ├── README │ ├── Allrun.pre │ └── system │ │ ├── extrudeToRegionMeshDict.fuelRegion │ │ ├── topoSetDict.pyrolysis │ │ └── fuelRegion │ │ └── fvSolution ├── facade │ ├── 0 │ │ ├── Facade_WallRegion │ │ │ ├── p │ │ │ ├── v │ │ │ ├── Y0Default │ │ │ └── Ydefault │ │ ├── Chamber_WallRegion │ │ │ ├── p │ │ │ ├── v │ │ │ ├── Y0Default │ │ │ └── Ydefault │ │ └── smoke │ ├── README │ ├── constant │ │ ├── Chamber_WallRegion │ │ │ ├── reactions │ │ │ ├── chemistryProperties │ │ │ └── radiationProperties │ │ ├── Facade_WallRegion │ │ │ ├── reactions │ │ │ └── chemistryProperties │ │ ├── regionProperties │ │ ├── QcWallFunctionDict │ │ ├── fuelCloudProperties │ │ ├── g │ │ ├── hRef │ │ ├── pRef │ │ └── additionalControls │ ├── Allclean │ ├── Allrun.pre │ └── system │ │ ├── changeDictionaryDict │ │ ├── Chamber_WallRegion │ │ └── decomposeParDict │ │ ├── Facade_WallRegion │ │ └── decomposeParDict │ │ ├── decomposeParDict │ │ ├── extrudeToRegionMeshDict.ChamberWall │ │ └── extrudeToRegionMeshDict.FacadeWall ├── burningBoxesSuppression │ ├── 0 │ │ └── solidFuelRegion │ │ │ ├── p │ │ │ ├── v │ │ │ ├── Y0Default │ │ │ └── Ydefault │ ├── constant │ │ ├── reactions │ │ ├── regionProperties │ │ ├── solidFuelRegion │ │ │ └── reactions │ │ ├── coneInjectionDict │ │ ├── hRef │ │ ├── pRef │ │ ├── fuelCloudProperties │ │ ├── g │ │ ├── additionalControls │ │ └── combustionProperties │ ├── Allclean │ ├── system │ │ ├── decomposeParDict │ │ ├── filmRegion │ │ │ ├── decomposeParDict │ │ │ └── changeDictionaryDict │ │ ├── solidFuelRegion │ │ │ └── decomposeParDict │ │ ├── fvOptions │ │ ├── extrudeToRegionMeshDict.solidFuel │ │ ├── extrudeToRegionMeshDict.film │ │ └── topoSetDict.pyrolysis │ └── Allrun.pre └── parallelPanel │ ├── 8-ft-panel-inert │ ├── 0 │ │ └── fuelRegion │ │ │ ├── p │ │ │ ├── inert │ │ │ ├── Ydefault │ │ │ └── Y0Default │ ├── constant │ │ ├── reactions │ │ ├── fuelRegion │ │ │ ├── reactions │ │ │ ├── chemistryProperties │ │ │ └── thermo.solid │ │ ├── regionProperties │ │ ├── hRef │ │ ├── fuelCloudProperties │ │ ├── pRef │ │ ├── suppressionCloudProperties │ │ ├── g │ │ ├── additionalControls │ │ ├── boundaryRadiationProperties │ │ └── combustionProperties │ ├── README │ ├── Allrun.pre │ ├── Allclean │ └── system │ │ ├── decomposeParDict.decomp │ │ ├── decomposeParDict.snappy │ │ └── topoSetDict.pyrolysis │ └── 8-ft-panel-pmma │ ├── 0 │ └── fuelRegion │ │ ├── p │ │ ├── v │ │ ├── Y0Default │ │ └── Ydefault │ ├── constant │ ├── reactions │ ├── fuelRegion │ │ ├── reactions │ │ ├── chemistryProperties │ │ └── thermo.solid │ ├── regionProperties │ ├── hRef │ ├── fuelCloudProperties │ ├── pRef │ ├── suppressionCloudProperties │ ├── g │ ├── additionalControls │ ├── boundaryRadiationProperties │ └── combustionProperties │ ├── README │ ├── Allrun.pre │ ├── Allclean │ └── system │ ├── decomposeParDict.decomp │ ├── decomposeParDict.snappy │ └── topoSetDict.pyrolysis ├── .gitignore └── cmake └── git_version.H.in /fireFoam/packages/lagrangian/intermediate/lnInclude/uptodate: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fireFoam/solver/solidRegionDiffusionNo.H: -------------------------------------------------------------------------------- 1 | scalar DiNum = pyrolysis.solidRegionDiffNo(); 2 | -------------------------------------------------------------------------------- /fireFoam/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(packages) 2 | add_subdirectory(lib) 3 | add_subdirectory(solver) 4 | -------------------------------------------------------------------------------- /tutorials/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !*/ 3 | !**/**/tmp.txt 4 | !**/constant/ 5 | !**/system/ 6 | !**/0/ 7 | !**/**/All* 8 | !**/**/*.py -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .devcontainer/ 2 | .vscode/ 3 | lnInclude 4 | git_version.H 5 | build/ 6 | OpenFOAM/ 7 | fireFoam/packages/lagrangian/ 8 | -------------------------------------------------------------------------------- /cmake/git_version.H.in: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define BUILD_GIT_REVISION "@_build_version@" 4 | #define BUILD_TIME_STAMP "@_time_stamp@" 5 | -------------------------------------------------------------------------------- /fireFoam/packages/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(regionModels/surfaceFilmModels) 2 | 3 | add_subdirectory(lagrangian/intermediate) 4 | 5 | -------------------------------------------------------------------------------- /tutorials/gasBurner/README: -------------------------------------------------------------------------------- 1 | - Simple gas burner 3D case 2 | - Square-shaped inlet at ground level injecting fuel 3 | - Fuel mlr controlled by 0/U BC 4 | -------------------------------------------------------------------------------- /fireFoam/solver/createPyrolysisModel.H: -------------------------------------------------------------------------------- 1 | Info<< "Creating pyrolysis model" << endl; 2 | 3 | regionModels::pyrolysisModels::pyrolysisModelCollection pyrolysis(mesh); 4 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/faces: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fmglobal/fireFoam/HEAD/tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/faces -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/owner: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fmglobal/fireFoam/HEAD/tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/owner -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/points: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fmglobal/fireFoam/HEAD/tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/points -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/neighbour: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fmglobal/fireFoam/HEAD/tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/neighbour -------------------------------------------------------------------------------- /fireFoam/solver/createFieldRefs.H: -------------------------------------------------------------------------------- 1 | const volScalarField& psi = thermo.psi(); 2 | const volScalarField& T = thermo.T(); 3 | regionModels::surfaceFilmModel& surfaceFilm = tsurfaceFilm(); 4 | -------------------------------------------------------------------------------- /fireFoam/solver/gitVersion.H: -------------------------------------------------------------------------------- 1 | #ifndef gitVersion_H 2 | #define gitVersion_H 3 | 4 | extern const char* const build_git_sha; 5 | extern const char* const build_git_time; 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/faceToPatchEdgeAddressing: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fmglobal/fireFoam/HEAD/tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/faceToPatchEdgeAddressing -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/faceToPatchFaceAddressing: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fmglobal/fireFoam/HEAD/tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/faceToPatchFaceAddressing -------------------------------------------------------------------------------- /fireFoam/solver/createSurfaceFilmModel.H: -------------------------------------------------------------------------------- 1 | Info<< "\nConstructing surface film model" << endl; 2 | 3 | autoPtr tsurfaceFilm 4 | ( 5 | regionModels::surfaceFilmModel::New(mesh, g) 6 | ); 7 | -------------------------------------------------------------------------------- /tutorials/gasBurner/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd ${0%/*} || exit 1 4 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 5 | cleanCase 6 | rm -rf liquidFuelWrites sprinklerPostProcessing 7 | rm -rf postProcessing 8 | rm -rf processor* 9 | rm -f log.* outFlameHeight* 10 | foamCleanPolyMesh 11 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd ${0%/*} || exit 1 4 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 5 | cleanCase 6 | rm -rf liquidFuelWrites sprinklerPostProcessing 7 | rm -rf postProcessing 8 | rm -rf processor* 9 | rm -f log.* outFlameHeight* 10 | foamCleanPolyMesh 11 | -------------------------------------------------------------------------------- /tutorials/facade/README: -------------------------------------------------------------------------------- 1 | - Facade fire geometry approximating that in DOI: 10.1002/fam.2923 2 | * Gas burner in a room with a window opening and external facade 3 | * Mass flow rate of burner adjustable in 0/U boundary condition file 4 | * Chamber and external walls modeled as insulating, not combustible construction 5 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/constant/reactions: -------------------------------------------------------------------------------- 1 | species 2 | ( 3 | O2 4 | H2O 5 | CO2 6 | N2 7 | C2H4 8 | ); 9 | 10 | reactions 11 | { 12 | propaneReaction 13 | { 14 | type irreversibleinfiniteReaction; 15 | reaction "C2H4 + 3O2 + 11.28N2 = 2CO2 + 2H2O + 11.28N2"; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/reactions: -------------------------------------------------------------------------------- 1 | species 2 | ( 3 | O2 4 | H2O 5 | C3H8 6 | CO2 7 | N2 8 | ); 9 | 10 | reactions 11 | { 12 | propaneReaction 13 | { 14 | type irreversibleinfiniteReaction; 15 | reaction "C3H8 + 5O2 + 18.8N2 = 3CO2 + 4H2O + 18.8N2"; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/reactions: -------------------------------------------------------------------------------- 1 | species 2 | ( 3 | O2 4 | H2O 5 | C3H8 6 | CO2 7 | N2 8 | ); 9 | 10 | reactions 11 | { 12 | propaneReaction 13 | { 14 | type irreversibleinfiniteReaction; 15 | reaction "C3H8 + 5O2 + 18.8N2 = 3CO2 + 4H2O + 18.8N2"; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /fireFoam/solver/createClouds.H: -------------------------------------------------------------------------------- 1 | Info<< "\nConstructing reacting cloud" << endl; 2 | basicReactingCloud suppressionParcels 3 | ( 4 | "suppressionCloud", 5 | rho, 6 | U, 7 | g, 8 | slgThermo 9 | ); 10 | basicReactingCloud fuelParcels 11 | ( 12 | "fuelCloud", 13 | rho, 14 | U, 15 | g, 16 | slgThermo 17 | ); 18 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/constant/regionProperties: -------------------------------------------------------------------------------- 1 | FoamFile 2 | { 3 | version 2.0; 4 | format ascii; 5 | class dictionary; 6 | location "constant/"; 7 | object regionProperties; 8 | } 9 | 10 | regions ( 11 | fluid (region0) 12 | solid (solidFuelRegion) 13 | film (filmRegion) 14 | ); 15 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/README: -------------------------------------------------------------------------------- 1 | - Parallel panel test with inert panel surfaces. 2 | - Panels are 8' (2.4m) tall x 2' (0.6m) wide, spaced 1' (0.3m) apart 3 | - Setup is based on FM Approvals Standard 4910 4 | - Data outputs are useful for comparison to MaCFP-3 Workshop data, see https://github.com/MaCFP/macfp-db/tree/master/Fire_Growth/NIST_Parallel_Panel/Documentation 5 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/README: -------------------------------------------------------------------------------- 1 | - Parallel panel test with 7mm-thick PMMA panel surfaces. 2 | - Panels are 8' (2.4m) tall x 2' (0.6m) wide, spaced 1' (0.3m) apart 3 | - Setup is based on FM Approvals Standard 4910 4 | - Data outputs are useful for comparison to MaCFP-3 Workshop data, see https://github.com/MaCFP/macfp-db/tree/master/Fire_Growth/NIST_Parallel_Panel/Documentation 5 | -------------------------------------------------------------------------------- /fireFoam/lib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(thermophysicalModels/combustionModels) 2 | add_subdirectory(thermophysicalModels/radiation/derivedFvPatchFields) 3 | add_subdirectory(thermophysicalModels/radiation/submodels/absorptionEmissionModel) 4 | add_subdirectory(fvPatchFields) 5 | add_subdirectory(fvPatchFieldsPyrolysis) 6 | add_subdirectory(regionCoupling) 7 | add_subdirectory(regionModels/pyrolysisModels) 8 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/README: -------------------------------------------------------------------------------- 1 | - One dimensional pyrolysis configuration based on FPA configuration, e.g., DOI: 10.3801/IAFSS.FSS.11-165 2 | - Gas-phase solution de-acativated 3 | - Heat flux imposed at solid-gas interface in 0/fuelRegion/T BC 4 | - Sample thickness set in system/extrudeToRegionMeshDic.fuelRegion and constant/pyrolysisZones 5 | - runtime post-processing provides mass, mlr, and surface temperature traces 6 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/fuelRegion/reactions: -------------------------------------------------------------------------------- 1 | species 2 | ( 3 | inert 4 | ); 5 | 6 | gaseousSpecies 7 | ( 8 | dummy 9 | ); 10 | 11 | reactions 12 | { 13 | charReaction 14 | { 15 | type irreversibleArrheniusSolidReaction; 16 | reaction "inert = inert"; 17 | A 0.0; 18 | Ta 1.0e10; 19 | Tcrit 1.0e10; 20 | } 21 | } 22 | 23 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/fuelRegion/reactions: -------------------------------------------------------------------------------- 1 | species 2 | ( 3 | v 4 | ); 5 | 6 | gaseousSpecies 7 | ( 8 | gas 9 | ); 10 | 11 | reactions 12 | { 13 | charReaction // From RW000181 14 | { 15 | type irreversibleArrheniusSolidReaction; 16 | reaction "v = gas"; 17 | A 1.59e+14; 18 | Ta 22131.3; 19 | Tcrit 400.0; 20 | } 21 | } 22 | 23 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/constant/solidFuelRegion/reactions: -------------------------------------------------------------------------------- 1 | species 2 | ( 3 | v 4 | char 5 | ); 6 | 7 | gaseousSpecies 8 | ( 9 | gas 10 | ); 11 | 12 | reactions 13 | { 14 | charReaction 15 | { 16 | type irreversibleArrheniusSolidReaction; 17 | reaction "v^1.2579892 = char + gas"; 18 | A 3.238963e+10; 19 | Ta 15725.35963; 20 | Tcrit 400; 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /tutorials/facade/constant/Chamber_WallRegion/reactions: -------------------------------------------------------------------------------- 1 | species 2 | ( 3 | v 4 | char 5 | ); 6 | 7 | gaseousSpecies 8 | ( 9 | gas 10 | ); 11 | 12 | reactions 13 | { 14 | charReaction 15 | { 16 | type irreversibleArrheniusSolidReaction; 17 | reaction "v^1.2579892 = char + gas"; 18 | A 0.0; //3.238963e+10; 19 | Ta 30000; //15725.35963; //1.31e5/8.314 20 | Tcrit 400; 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /tutorials/facade/constant/Facade_WallRegion/reactions: -------------------------------------------------------------------------------- 1 | species 2 | ( 3 | v 4 | char 5 | ); 6 | 7 | gaseousSpecies 8 | ( 9 | gas 10 | ); 11 | 12 | reactions 13 | { 14 | charReaction 15 | { 16 | type irreversibleArrheniusSolidReaction; 17 | reaction "v^1.2579892 = char + gas"; 18 | A 0.0; //3.238963e+10; 19 | Ta 30000; //15725.35963; //1.31e5/8.314 20 | Tcrit 400; 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Source tutorial run functions 4 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 5 | # Source tutorial clean functions 6 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 7 | 8 | cleanCase 9 | 10 | runApplication foamCleanPolyMesh 11 | rm -fr constant/*Region/polyMesh 12 | rm -fr log* 13 | rm -fr *.obj 14 | rm -rf VTK 15 | rm -fr postProcessing 16 | 17 | # ----------------------------------------------------------------------------- 18 | -------------------------------------------------------------------------------- /tutorials/facade/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Source tutorial run functions 4 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 5 | # Source tutorial clean functions 6 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 7 | 8 | cleanCase 9 | 10 | runApplication foamCleanPolyMesh 11 | mv log.foamCleanPolyMesh log.foamCleanPolyMesh.gasPhase 12 | 13 | rm -fr log* 14 | rm -fr *.obj 15 | rm -rf VTK 16 | rm -rf patch* 17 | rm -rf fieldMimMax HRR probes 18 | rm -fr fieldMinMax 19 | rm -fr postProcessing 20 | 21 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/Allrun.pre: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd ${0%/*} || exit 1 # run from this directory 4 | 5 | # Source tutorial run functions 6 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 7 | 8 | ./Allclean 9 | runApplication -s default blockMesh -dict system/blockMeshDict.default 10 | 11 | runApplication -s pyrolysis topoSet -dict system/topoSetDict.pyrolysis 12 | 13 | runApplication -s fuelRegion extrudeToRegionMesh -overwrite -dict system/extrudeToRegionMeshDict.fuelRegion 14 | 15 | cp -f 0/ph_rgh.orig 0/ph_rgh 16 | 17 | -------------------------------------------------------------------------------- /fireFoam/solver/createRegionControls.H: -------------------------------------------------------------------------------- 1 | IOdictionary additionalControlsDict 2 | ( 3 | IOobject 4 | ( 5 | "additionalControls", 6 | runTime.constant(), 7 | mesh, 8 | IOobject::MUST_READ_IF_MODIFIED, 9 | IOobject::NO_WRITE 10 | ) 11 | ); 12 | 13 | bool solvePrimaryRegion 14 | ( 15 | additionalControlsDict.lookupOrDefault("solvePrimaryRegion", true) 16 | ); 17 | 18 | bool solvePyrolysisRegion 19 | ( 20 | additionalControlsDict.lookupOrDefault("solvePyrolysisRegion", true) 21 | ); 22 | 23 | scalar maxDi = pyrolysis.maxDiff(); 24 | 25 | -------------------------------------------------------------------------------- /tutorials/gasBurner/Allrun.pre: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd ${0%/*} || exit 1 # run from this directory 4 | 5 | # Source tutorial run functions 6 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 7 | 8 | ./Allclean 9 | runApplication -s default blockMesh -dict system/blockMeshDict.default 10 | 11 | runApplication -s default snappyHexMesh -overwrite -dict system/snappyHexMeshDict.default 12 | 13 | runApplication -s burner topoSet -dict system/topoSetDict.burner 14 | 15 | runApplication -s default createPatch -overwrite -dict system/createPatchDict.default 16 | 17 | cp -f 0/ph_rgh.orig 0/ph_rgh 18 | 19 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/thermo.gas: -------------------------------------------------------------------------------- 1 | gas 2 | { 3 | specie 4 | { 5 | nMoles 1; 6 | molWeight 18.0153; 7 | } 8 | thermodynamics 9 | { 10 | Tlow 200; 11 | Thigh 5000; 12 | Tcommon 1000; 13 | highCpCoeffs ( 2.67215 0.00305629 -8.73026e-07 1.20100e-10 -6.39162e-15 -29899.2 6.86282 ); 14 | lowCpCoeffs ( 3.38684 0.00347498 -6.35470e-06 6.96858e-09 -2.50659e-12 -30208.1 2.59023 ); 15 | } 16 | transport 17 | { 18 | As 1.67212e-06; 19 | Ts 170.672; 20 | } 21 | } -------------------------------------------------------------------------------- /tutorials/facade/Allrun.pre: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 4 | cd $DIR 5 | 6 | # Source tutorial run functions 7 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 8 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 9 | 10 | runApplication blockMesh 11 | runApplication snappyHexMesh -overwrite 12 | runApplication createPatch -overwrite 13 | runApplication topoSet 14 | runApplication -s facade extrudeToRegionMesh -dict system/extrudeToRegionMeshDict.FacadeWall -overwrite 15 | runApplication -s chamber extrudeToRegionMesh -dict system/extrudeToRegionMeshDict.ChamberWall -overwrite 16 | 17 | cp 0/ph_rgh.org 0/ph_rgh 18 | -------------------------------------------------------------------------------- /fireFoam/solver/printVersion.H: -------------------------------------------------------------------------------- 1 | #include "stdio.h" 2 | 3 | #ifdef CMAKE_VERSION_PRINT 4 | #include "git_version.H" 5 | #else 6 | #include "gitVersion.H" 7 | #endif 8 | 9 | if (Pstream::master()){ 10 | 11 | #ifdef CMAKE_VERSION_PRINT 12 | printf("FireFOAM Build Version: "); 13 | printf("%10s\n",BUILD_GIT_REVISION); 14 | printf("FireFOAM Build Time Stamp: "); 15 | printf("%10s\n",BUILD_TIME_STAMP); 16 | #else 17 | printf("FireFOAM Build Version: "); 18 | printf("%10s\n",build_git_sha); 19 | printf("FireFOAM Build Time Stamp: "); 20 | printf("%10s\n",build_git_time); 21 | #endif 22 | printf("****************************************************\n"); 23 | } 24 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/Allrun.pre: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 4 | cd $DIR 5 | 6 | # Source tutorial run functions 7 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 8 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 9 | 10 | ./Allclean 11 | 12 | runApplication blockMesh 13 | runApplication snappyHexMesh -overwrite 14 | runApplication -s burner topoSet -dict system/topoSetDict.burner 15 | runApplication createPatch -overwrite 16 | runApplication -s pyrolysis topoSet -dict system/topoSetDict.pyrolysis 17 | transformPoints -scale '(0.0254 0.0254 0.0254)' 18 | runApplication extrudeToRegionMesh -dict system/extrudeToRegionMeshDict.fuel -overwrite 19 | cp 0/ph_rgh.org 0/ph_rgh 20 | 21 | exit; 22 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/Allrun.pre: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 4 | cd $DIR 5 | 6 | # Source tutorial run functions 7 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 8 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 9 | 10 | ./Allclean 11 | 12 | runApplication blockMesh 13 | runApplication snappyHexMesh -overwrite 14 | runApplication -s burner topoSet -dict system/topoSetDict.burner 15 | runApplication createPatch -overwrite 16 | 17 | runApplication -s pyrolysis topoSet -dict system/topoSetDict.pyrolysis 18 | 19 | transformPoints -scale '(0.0254 0.0254 0.0254)' 20 | 21 | runApplication extrudeToRegionMesh -dict system/extrudeToRegionMeshDict.fuel -overwrite 22 | 23 | cp 0/ph_rgh.org 0/ph_rgh 24 | 25 | exit; 26 | -------------------------------------------------------------------------------- /fireFoam/solver/UEqn.H: -------------------------------------------------------------------------------- 1 | MRF.correctBoundaryVelocity(U); 2 | 3 | fvVectorMatrix UEqn 4 | ( 5 | fvm::ddt(rho, U) + fvm::div(phi, U) 6 | + MRF.DDt(rho, U) 7 | + turbulence->divDevRhoReff(U) 8 | == 9 | suppressionParcels.SU(U) 10 | + fuelParcels.SU(U) 11 | + fvOptions(rho, U) 12 | ); 13 | 14 | UEqn.relax(); 15 | 16 | fvOptions.constrain(UEqn); 17 | 18 | if (pimple.momentumPredictor()) 19 | { 20 | solve 21 | ( 22 | UEqn 23 | == 24 | fvc::reconstruct 25 | ( 26 | ( 27 | - ghf*fvc::snGrad(rho) 28 | - fvc::snGrad(p_rgh) 29 | )*mesh.magSf() 30 | ) 31 | ); 32 | 33 | fvOptions.correct(U); 34 | K = 0.5*magSqr(U); 35 | } 36 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/constant/coneInjectionDict: -------------------------------------------------------------------------------- 1 | coneInjection 2 | { 3 | type coneInjection; 4 | SOI 30.000; 5 | duration 150.000; 6 | positionAxis 7 | ( 8 | (( 0.0 0.0 3.0) ( 0 0 -1 )) //-No. 0 9 | ); 10 | 11 | massTotal 30.0; // kg over 100 s; 12 | 13 | parcelsPerInjector 3e6; 14 | parcelBasisType mass; 15 | flowRateProfile constant 1; 16 | Umag constant 4.0; 17 | thetaInner constant 0; 18 | thetaOuter constant 60; 19 | 20 | sizeDistribution 21 | { 22 | type uniform; 23 | uniformDistribution 24 | { 25 | minValue 0.001; 26 | maxValue 0.002; 27 | d ( 7.5e-04 ); 28 | n ( 0.5 ); 29 | } 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /tutorials/facade/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.2 | 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 regionProperties; 15 | } 16 | 17 | regions 18 | ( 19 | fluid (region0) 20 | solid (Facade_WallRegion Chamber_WallRegion) 21 | ); 22 | -------------------------------------------------------------------------------- /fireFoam/solver/include/infoOutput.H: -------------------------------------------------------------------------------- 1 | //- Convective heat flux 2 | convectiveHeatFlux_T = 3 | - fvc::interpolate(turbulence->alphaEff())*fvc::interpolate(thermo.Cp())*fvc::snGrad(T); 4 | 5 | convectiveHeatFlux_L = 6 | - fvc::interpolate(turbulence->alpha())*fvc::interpolate(thermo.Cp())*fvc::snGrad(T); 7 | 8 | 9 | //- Solid mass loss rate 10 | forAll(mlrSolid.boundaryField(), patchi) 11 | { 12 | if (mesh.boundary()[patchi].type() == "mappedWall") 13 | { 14 | mlrSolid.boundaryFieldRef()[patchi] = 15 | ( 16 | - phi.boundaryField()[patchi] 17 | /mesh.boundary()[patchi].magSf() 18 | ); 19 | } 20 | } 21 | 22 | //- For flame visualization 23 | if (thermo.composition().contains("O2")) 24 | { 25 | ft = (fu*s-O2+YO2Inf)/(s+YO2Inf); 26 | } 27 | else 28 | { 29 | ft = fu; 30 | } 31 | 32 | ft.max(0.0); 33 | ft.min(1.0); 34 | 35 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.2 | 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 regionProperties; 15 | } 16 | 17 | regions 18 | ( 19 | fluid (region0) 20 | solid (fuelRegion) 21 | ); 22 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Source tutorial run functions 4 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 5 | # Source tutorial clean functions 6 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 7 | 8 | cleanCase 9 | 10 | runApplication foamCleanPolyMesh 11 | mv log.foamCleanPolyMesh log.foamCleanPolyMesh.gasPhase 12 | runApplication foamCleanPolyMesh -region fuelRegion 13 | mv log.foamCleanPolyMesh log.foamCleanPolyMesh.fuel 14 | 15 | rm -rf log.* 16 | rm -fr *.obj 17 | rm -rf VTK 18 | rm -rf patch* 19 | rm -rf fieldMimMax HRR probes 20 | rm -fr fieldMinMax 21 | rm -fr postProcessing 22 | rm -rf 0/ph_rgh 23 | rm -rf 0/ph_rgh.gz 24 | rm -rf outFlameHeight_0 25 | rm -rf reconstructed_fields 26 | rm -rf **/**/polyMesh 27 | rm system/decomposeParDict 28 | rm system/topoSetDict 29 | rm system/extrudeToRegionMeshDict 30 | 31 | # ----------------------------------------------------------------------------- 32 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.2.2 | 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 regionProperties; 15 | } 16 | 17 | regions 18 | ( 19 | fluid (region0) 20 | solid (fuelRegion) 21 | ); 22 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/Allclean: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Source tutorial run functions 4 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 5 | # Source tutorial clean functions 6 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 7 | 8 | cleanCase 9 | 10 | runApplication foamCleanPolyMesh 11 | mv log.foamCleanPolyMesh log.foamCleanPolyMesh.gasPhase 12 | runApplication foamCleanPolyMesh -region fuelRegion 13 | mv log.foamCleanPolyMesh log.foamCleanPolyMesh.fuel 14 | 15 | rm -rf log.* 16 | rm -fr *.obj 17 | rm -rf VTK 18 | rm -rf patch* 19 | rm -rf fieldMimMax HRR probes 20 | rm -fr fieldMinMax 21 | rm -fr postProcessing 22 | rm -rf 0/ph_rgh 23 | rm -rf 0/ph_rgh.gz 24 | rm -rf outFlameHeight_0 25 | rm -rf reconstructed_fields 26 | rm -rf **/**/polyMesh 27 | rm system/decomposeParDict 28 | rm system/topoSetDict 29 | rm system/extrudeToRegionMeshDict 30 | 31 | # ----------------------------------------------------------------------------- 32 | -------------------------------------------------------------------------------- /tutorials/facade/constant/QcWallFunctionDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.6 | 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 QcWallFunctionDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | QcFlame 21000; 19 | QcThreshold 400; 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object regionProperties; 18 | } 19 | 20 | regions 21 | ( 22 | fluid (region0) 23 | ); 24 | -------------------------------------------------------------------------------- /tutorials/facade/constant/fuelCloudProperties: -------------------------------------------------------------------------------- 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.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object fuelCloudProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solution 19 | { 20 | active false; 21 | } 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/hRef: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class uniformDimensionedScalarField; 16 | location "constant/"; 17 | object hRef; 18 | } 19 | 20 | dimensions [0 1 0 0 0 0 0]; 21 | 22 | value 3; 23 | 24 | -------------------------------------------------------------------------------- /tutorials/facade/constant/g: -------------------------------------------------------------------------------- 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 uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | value (0 0 -9.81); 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/facade/constant/hRef: -------------------------------------------------------------------------------- 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 uniformDimensionedScalarField; 13 | location "constant"; 14 | object hRef; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 0 0 0 0 0]; 19 | value 6.0; 20 | 21 | // ************************************************************************* // 22 | 23 | -------------------------------------------------------------------------------- /tutorials/facade/constant/pRef: -------------------------------------------------------------------------------- 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 uniformDimensionedScalarField; 13 | location "constant"; 14 | object pRef; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -2 0 0 0 0]; 19 | value 101325; 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/additionalControls: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object additionalControls; 18 | } 19 | 20 | solvePrimaryRegion yes; 21 | infoOutputControl timeStep; -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/fuelCloudProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object fuelCloudProperties; 18 | } 19 | 20 | solution 21 | { 22 | active no; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/g: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class uniformDimensionedVectorField; 16 | location "constant/"; 17 | object g; 18 | } 19 | 20 | dimensions [0 1 -2 0 0 0 0]; 21 | 22 | value (0 0 -9.81); 23 | 24 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/constant/hRef: -------------------------------------------------------------------------------- 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 uniformDimensionedScalarField; 13 | location "constant"; 14 | object hRef; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 0 0 0 0 0]; 19 | value 6.096; 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/pRef: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class uniformDimensionedScalarField; 16 | location "constant/"; 17 | object pRef; 18 | } 19 | 20 | dimensions [1 -1 -2 0 0 0 0]; 21 | 22 | value 101325; 23 | 24 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/additionalControls: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object additionalControls; 18 | } 19 | 20 | solvePrimaryRegion no; 21 | infoOutputControl timeStep; -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelCloudProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object fuelCloudProperties; 18 | } 19 | 20 | solution 21 | { 22 | active no; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/hRef: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class uniformDimensionedScalarField; 16 | location "constant/"; 17 | object hRef; 18 | } 19 | 20 | dimensions [0 1 0 0 0 0 0]; 21 | 22 | value 1; 23 | 24 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/system/decomposeParDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 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 "system"; 14 | object decomposeParDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 4; 19 | 20 | method scotch; 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/hRef: -------------------------------------------------------------------------------- 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 uniformDimensionedScalarField; 13 | location "constant"; 14 | object hRef; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 0 0 0 0 0]; 19 | value 5.08; 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/g: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class uniformDimensionedVectorField; 16 | location "constant/"; 17 | object g; 18 | } 19 | 20 | dimensions [0 1 -2 0 0 0 0]; 21 | 22 | value (0 0 -9.81); 23 | 24 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/pRef: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class uniformDimensionedScalarField; 16 | location "constant/"; 17 | object pRef; 18 | } 19 | 20 | dimensions [1 -1 -2 0 0 0 0]; 21 | 22 | value 101325; 23 | 24 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/constant/pRef: -------------------------------------------------------------------------------- 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 uniformDimensionedScalarField; 13 | location "constant"; 14 | object pRef; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -2 0 0 0 0]; 19 | value 101325; 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/pyrolysisZones: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object pyrolysisZones; 18 | } 19 | 20 | pyrolysis 21 | { 22 | active no; 23 | pyrolysisModel none; 24 | } 25 | 26 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/suppressionCloudProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object suppressionCloudProperties; 18 | } 19 | 20 | solution 21 | { 22 | active no; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/suppressionFilmProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object suppressionFilmProperties; 18 | } 19 | 20 | active no; 21 | 22 | surfaceFilmModel none; 23 | 24 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/hRef: -------------------------------------------------------------------------------- 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 uniformDimensionedScalarField; 13 | location "constant"; 14 | object hRef; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 0 0 0 0 0]; 19 | value 5.08; 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object regionProperties; 18 | } 19 | 20 | regions 21 | ( 22 | fluid (region0) 23 | solid (fuel) 24 | ); 25 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/system/filmRegion/decomposeParDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 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 "system"; 14 | object decomposeParDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 4; 19 | 20 | method scotch; 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/fuelCloudProperties: -------------------------------------------------------------------------------- 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.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object fuelCloudProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solution 19 | { 20 | active false; 21 | } 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/fuelCloudProperties: -------------------------------------------------------------------------------- 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.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object fuelCloudProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solution 19 | { 20 | active false; 21 | } 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/suppressionCloudProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object suppressionCloudProperties; 18 | } 19 | 20 | solution 21 | { 22 | active no; 23 | } 24 | 25 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/suppressionFilmProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object suppressionFilmProperties; 18 | } 19 | 20 | active no; 21 | 22 | surfaceFilmModel none; 23 | 24 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/pRef: -------------------------------------------------------------------------------- 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 uniformDimensionedScalarField; 13 | location "constant"; 14 | object pRef; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -2 0 0 0 0]; 19 | value 101325; 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/pRef: -------------------------------------------------------------------------------- 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 uniformDimensionedScalarField; 13 | location "constant"; 14 | object pRef; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -2 0 0 0 0]; 19 | value 101325; 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/cellZones: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2306 | 5 | | \\ / A nd | Website: www.openfoam.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format binary; 12 | arch "LSB;label=32;scalar=64"; 13 | class regIOobject; 14 | location "constant/fuelRegion/polyMesh"; 15 | object cellZones; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 0() 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/faceZones: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2306 | 5 | | \\ / A nd | Website: www.openfoam.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format binary; 12 | arch "LSB;label=32;scalar=64"; 13 | class regIOobject; 14 | location "constant/fuelRegion/polyMesh"; 15 | object faceZones; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 0() 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/polyMesh/pointZones: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2306 | 5 | | \\ / A nd | Website: www.openfoam.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format binary; 12 | arch "LSB;label=32;scalar=64"; 13 | class regIOobject; 14 | location "constant/fuelRegion/polyMesh"; 15 | object pointZones; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 0() 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/system/solidFuelRegion/decomposeParDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 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 "system"; 14 | object decomposeParDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 4; 19 | 20 | method scotch; 21 | 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/suppressionCloudProperties: -------------------------------------------------------------------------------- 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.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object suppressionCloudProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solution 19 | { 20 | active false; 21 | } 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/suppressionCloudProperties: -------------------------------------------------------------------------------- 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.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object suppressionCloudProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solution 19 | { 20 | active false; 21 | } 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/constant/fuelCloudProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1806 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object reactingCloud1Properties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solution 19 | { 20 | active false; 21 | } 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/constant/g: -------------------------------------------------------------------------------- 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 uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | //value (0 0 0); 20 | value (0 0 -9.80665); 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/g: -------------------------------------------------------------------------------- 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 uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | //value (0 0 0); 20 | value (0 0 -9.80665); 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/g: -------------------------------------------------------------------------------- 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 uniformDimensionedVectorField; 13 | location "constant"; 14 | object g; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -2 0 0 0 0]; 19 | //value (0 0 0); 20 | value (0 0 -9.80665); 21 | 22 | // ************************************************************************* // 23 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/Allrun.pre: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd ${0%/*} || exit 1 # run from this directory 4 | 5 | # Source tutorial run functions 6 | . $WM_PROJECT_DIR/bin/tools/RunFunctions 7 | . $WM_PROJECT_DIR/bin/tools/CleanFunctions 8 | 9 | ./Allclean 10 | 11 | runApplication blockMesh 12 | 13 | runApplication snappyHexMesh -overwrite 14 | 15 | runApplication -s burner topoSet -dict system/topoSetDict.burner 16 | 17 | runApplication createPatch -overwrite 18 | 19 | runApplication -s pyrolysis topoSet -dict system/topoSetDict.pyrolysis 20 | 21 | transformPoints -scale '(0.0254 0.0254 0.0254)' 22 | 23 | runApplication -s film extrudeToRegionMesh -overwrite -dict system/extrudeToRegionMeshDict.film 24 | 25 | sed -i 's/samplePatch region0_to_filmRegion_solidFuel;/samplePatch region0_to_solidFuelRegion_solidFuel;/g' constant/filmRegion/polyMesh/boundary 26 | 27 | runApplication -s solidFuel extrudeToRegionMesh -overwrite -dict system/extrudeToRegionMeshDict.solidFuel 28 | 29 | cp 0/ph_rgh.orig 0/ph_rgh 30 | 31 | runApplication decomposePar -allRegions 32 | 33 | exit; 34 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/boundaryRadiationProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object boundaryRadiationProperties; 18 | } 19 | 20 | ".*" 21 | { 22 | type lookup; 23 | emissivity 1.0; 24 | absorptivity 0.0; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/boundaryRadiationProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object boundaryRadiationProperties; 18 | } 19 | 20 | ".*" 21 | { 22 | type lookup; 23 | emissivity 1.0; 24 | absorptivity 0.0; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/constant/additionalControls: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 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 additionalControls; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvePrimaryRegion true; 19 | solvePyrolysisRegion true; 20 | infoOutputControl timeStep; 21 | writeFlameHeights false; 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /tutorials/gasBurner/system/decomposeParDict.primary: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location ""; 17 | object decomposeParDict; 18 | } 19 | 20 | numberOfSubdomains 8; 21 | 22 | method scotch; 23 | 24 | 25 | scotchCoeffs 26 | { 27 | } 28 | 29 | constraints 30 | { 31 | } 32 | 33 | -------------------------------------------------------------------------------- /tutorials/facade/constant/additionalControls: -------------------------------------------------------------------------------- 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 additionalControls; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvePrimaryRegion true; 19 | solvePyrolysisRegion true; 20 | writeFlameHeights false; 21 | infoOutputControl timeStep; 22 | verboseInfoOuput true; 23 | 24 | // ************************************************************************* // 25 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/fuelRegion/v: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/fuelRegion"; 17 | object v; 18 | } 19 | 20 | dimensions [0 0 0 0 0 0 0]; 21 | 22 | internalField uniform 1; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type zeroGradient; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/fuelRegion/p: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/fuelRegion"; 17 | object p; 18 | } 19 | 20 | dimensions [1 -1 -2 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type zeroGradient; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/fuelRegion/qr: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/fuelRegion"; 17 | object qr; 18 | } 19 | 20 | dimensions [1 0 -3 0 0 0 0]; 21 | 22 | internalField uniform 0.0; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type zeroGradient; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /tutorials/gasBurner/0/N2: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object N2; 18 | } 19 | 20 | dimensions [0 0 0 0 0 0 0]; 21 | 22 | internalField uniform 0.76699; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type calculated; 29 | value $internalField; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /tutorials/gasBurner/0/p: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object p; 18 | } 19 | 20 | dimensions [1 -1 -2 0 0 0 0]; 21 | 22 | internalField uniform 101325; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type calculated; 29 | value $internalField; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/combustionProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object combustionProperties; 18 | } 19 | 20 | combustionModel eddyDissipationModel; 21 | eddyDissipationModelCoeffs { 22 | semiImplicit no; 23 | C_EDC 4.0; 24 | C_Diff 0; 25 | C_Stiff 1; 26 | } -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/N2: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object N2; 18 | } 19 | 20 | dimensions [0 0 0 0 0 0 0]; 21 | 22 | internalField uniform 0.76699; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type calculated; 29 | value $internalField; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/fuelRegion/Ydefault: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/fuelRegion"; 17 | object Ydefault; 18 | } 19 | 20 | dimensions [0 0 0 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type zeroGradient; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/p: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object p; 18 | } 19 | 20 | dimensions [1 -1 -2 0 0 0 0]; 21 | 22 | internalField uniform 101325; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type calculated; 29 | value $internalField; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/combustionProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object combustionProperties; 18 | } 19 | 20 | combustionModel eddyDissipationModel; 21 | eddyDissipationModelCoeffs { 22 | semiImplicit no; 23 | C_EDC 4.0; 24 | C_Diff 0; 25 | C_Stiff 1; 26 | } -------------------------------------------------------------------------------- /tutorials/facade/0/Facade_WallRegion/p: -------------------------------------------------------------------------------- 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 p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -2 0 0 0 0]; 19 | 20 | internalField uniform 0; //1e5; 21 | 22 | boundaryField 23 | { 24 | ".*" 25 | { 26 | type zeroGradient; 27 | } 28 | } 29 | // ************************************************************************* // 30 | 31 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/fuelRegion/Y0Default: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/fuelRegion"; 17 | object Y0Default; 18 | } 19 | 20 | dimensions [0 0 0 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type zeroGradient; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /tutorials/facade/0/Chamber_WallRegion/p: -------------------------------------------------------------------------------- 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 p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -2 0 0 0 0]; 19 | 20 | internalField uniform 0; //1e5; 21 | 22 | boundaryField 23 | { 24 | ".*" 25 | { 26 | type zeroGradient; 27 | } 28 | } 29 | // ************************************************************************* // 30 | 31 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/reactions: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object reactions; 18 | } 19 | 20 | species (CH4 O2 N2 CO2 H2O); 21 | reactions { 22 | methaneReaction { 23 | type irreversibleinfiniteReaction; 24 | reaction "CH4 + 2O2 + 7.52N2 = CO2 + 2H2O + 7.52N2"; 25 | } 26 | } -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/additionalControls: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 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 additionalControls; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvePrimaryRegion true; 19 | solvePyrolysisRegion true; 20 | writeFlameHeights true; 21 | infoOutputControl timeStep; 22 | verboseInfoOuput true; 23 | 24 | 25 | // ************************************************************************* // 26 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/additionalControls: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 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 additionalControls; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvePrimaryRegion true; 19 | solvePyrolysisRegion true; 20 | writeFlameHeights true; 21 | infoOutputControl timeStep; 22 | verboseInfoOuput true; 23 | 24 | 25 | // ************************************************************************* // 26 | -------------------------------------------------------------------------------- /tutorials/gasBurner/system/createPatchDict.default: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location ""; 17 | object createPatchDict; 18 | } 19 | 20 | pointSync no; 21 | 22 | patches 23 | ( 24 | { 25 | name burner; 26 | patchInfo { 27 | type patch; 28 | } 29 | constructFrom set; 30 | set inlet; 31 | } 32 | 33 | ); 34 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/reactions: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object reactions; 18 | } 19 | 20 | species (CH4 O2 N2 CO2 H2O); 21 | reactions { 22 | methaneReaction { 23 | type irreversibleinfiniteReaction; 24 | reaction "CH4 + 2O2 + 7.52N2 = CO2 + 2H2O + 7.52N2"; 25 | } 26 | } -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/0/solidFuelRegion/p: -------------------------------------------------------------------------------- 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 p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -2 0 0 0 0]; 19 | 20 | internalField uniform 0; //1e5; 21 | 22 | boundaryField 23 | { 24 | ".*" 25 | { 26 | type zeroGradient; 27 | } 28 | } 29 | // ************************************************************************* // 30 | 31 | -------------------------------------------------------------------------------- /tutorials/facade/0/smoke: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0"; 14 | object smoke; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | ".*" 25 | { 26 | type fixedValue; 27 | value uniform 0; 28 | } 29 | } 30 | // ************************************************************************* // 31 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/0/fuelRegion/p: -------------------------------------------------------------------------------- 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 p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -2 0 0 0 0]; 19 | 20 | internalField uniform 0; //1e5; 21 | 22 | boundaryField 23 | { 24 | ".*" 25 | { 26 | type zeroGradient; 27 | } 28 | } 29 | // ************************************************************************* // 30 | 31 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/0/fuelRegion/p: -------------------------------------------------------------------------------- 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 p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [1 -1 -2 0 0 0 0]; 19 | 20 | internalField uniform 0; //1e5; 21 | 22 | boundaryField 23 | { 24 | ".*" 25 | { 26 | type zeroGradient; 27 | } 28 | } 29 | // ************************************************************************* // 30 | 31 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/boundaryRadiationProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object boundaryRadiationProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | "(wall|ground|side|HFgauge|outlet|burner|Radgauge)" 19 | { 20 | type lookup; 21 | absorptivity 1.0; 22 | emissivity 1.0; 23 | } 24 | 25 | // ************************************************************************* // 26 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/boundaryRadiationProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: plus | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object boundaryRadiationProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | "(wall|ground|side|HFgauge|outlet|burner|Radgauge)" 19 | { 20 | type lookup; 21 | absorptivity 1.0; 22 | emissivity 1.0; 23 | } 24 | 25 | // ************************************************************************* // 26 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/system/filmRegion/changeDictionaryDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.7.1 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | object changeDictionaryDict; 14 | } 15 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 16 | 17 | dictionaryReplacement 18 | { 19 | boundary 20 | { 21 | coupledWall 22 | { 23 | samplePatch region0_to_pyrolysisRegion_coupledWall; 24 | } 25 | } 26 | } 27 | 28 | 29 | // ************************************************************************* // 30 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/radiationProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object radiationProperties; 18 | } 19 | 20 | radiation no; 21 | radiationModel none; 22 | noneCoeffs { 23 | dummy none; 24 | } 25 | solverFreq 50; 26 | absorptionEmissionModel none; 27 | scatterModel none; 28 | transmissivityModel none; -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/constant/combustionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1806 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object combustionProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | combustionModel eddyDissipationModel; 19 | 20 | eddyDissipationModelCoeffs 21 | { 22 | semiImplicit no; 23 | C_EDC 4.0; 24 | C_Diff 4.0; 25 | C_Stiff 1.0; 26 | } 27 | // ************************************************************************* // 28 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/combustionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 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 combustionProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | combustionModel eddyDissipationModel; 19 | 20 | eddyDissipationModelCoeffs 21 | { 22 | semiImplicit no; 23 | C_EDC 4.0; 24 | C_Diff 4; 25 | C_Stiff 1; 26 | } 27 | // ************************************************************************* // 28 | -------------------------------------------------------------------------------- /tutorials/gasBurner/0/IDefault: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object IDefault; 18 | } 19 | 20 | dimensions [1 0 -3 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type greyDiffusiveRadiation; 29 | T T; 30 | emissivity uniform 1; 31 | value uniform 0; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /tutorials/gasBurner/system/topoSetDict.burner: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location ""; 17 | object topoSetDict; 18 | } 19 | 20 | actions 21 | ( 22 | \\ burner 23 | { 24 | name inlet; 25 | type faceSet; 26 | action new; 27 | source boxToFace; 28 | sourceInfo { 29 | box (-0.15 -0.15 -0.001) (0.15 0.15 0.001); 30 | } 31 | } 32 | 33 | ); 34 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/combustionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 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 combustionProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | combustionModel eddyDissipationModel; 19 | 20 | eddyDissipationModelCoeffs 21 | { 22 | semiImplicit no; 23 | C_EDC 4.0; 24 | C_Diff 4; 25 | C_Stiff 1; 26 | } 27 | // ************************************************************************* // 28 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/IDefault: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object IDefault; 18 | } 19 | 20 | dimensions [1 0 -3 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | ".*" 27 | { 28 | type greyDiffusiveRadiation; 29 | T T; 30 | emissivity uniform 1; 31 | value uniform 0; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /tutorials/facade/system/changeDictionaryDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1912 | 5 | | \\ / A nd | Website: www.openfoam.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | object changeDictionaryDict; 14 | } 15 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 16 | 17 | dictionaryReplacement 18 | { 19 | boundary 20 | { 21 | Room_Wall 22 | { 23 | type wall; 24 | } 25 | Facade_Wall 26 | { 27 | type wall; 28 | } 29 | } 30 | } 31 | 32 | // ************************************************************************* // 33 | 34 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/chemistryProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/fuelRegion"; 17 | object chemistryProperties; 18 | } 19 | 20 | chemistry yes; 21 | chemistryType { 22 | chemistrySolver ode; 23 | chemistryThermo pyrolysis; 24 | } 25 | initialChemicalTimeStep 1e-07; 26 | odeCoeffs { 27 | solver SIBS; 28 | eps 0.05; 29 | } -------------------------------------------------------------------------------- /tutorials/gasBurner/0/nut: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object nut; 18 | } 19 | 20 | dimensions [0 2 -1 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type zeroGradient; 29 | } 30 | 31 | "(ground.*|burner)" 32 | { 33 | type fixedValue; 34 | value $internalField; 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/nut: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object nut; 18 | } 19 | 20 | dimensions [0 2 -1 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type zeroGradient; 29 | } 30 | 31 | "region0_to_.*" 32 | { 33 | type fixedValue; 34 | value $internalField; 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /tutorials/gasBurner/0/alphat: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object alphat; 18 | } 19 | 20 | dimensions [1 -1 -1 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type zeroGradient; 29 | } 30 | 31 | "(ground.*|burner)" 32 | { 33 | type fixedValue; 34 | value $internalField; 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/alphat: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object alphat; 18 | } 19 | 20 | dimensions [1 -1 -1 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type zeroGradient; 29 | } 30 | 31 | "region0_to_.*" 32 | { 33 | type fixedValue; 34 | value $internalField; 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object turbulenceProperties; 18 | } 19 | 20 | simulationType LES; 21 | 22 | LES 23 | { 24 | LESModel kEqn; 25 | delta cubeRootVol; 26 | turbulence yes; 27 | printCoeffs yes; 28 | kEqnCoeffs { 29 | Ck 0.03; 30 | Prt 1; 31 | } 32 | cubeRootVolCoeffs { 33 | deltaCoeff 1; 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/fuelRegion/reactions: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/fuelRegion"; 17 | object reactions; 18 | } 19 | 20 | species (v char); 21 | gaseousSpecies (gas); 22 | reactions { 23 | charReaction { 24 | type irreversibleArrheniusSolidReaction; 25 | reaction "v^1.2579892 = char + gas"; 26 | A 31620000000.0; 27 | Ta 15725.35963; 28 | Tcrit 400; 29 | } 30 | } -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/T: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object T; 18 | } 19 | 20 | dimensions [0 0 0 1 0 0 0]; 21 | 22 | internalField uniform 298.15; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type inletOutlet; 29 | inletValue $internalField; 30 | value $internalField; 31 | } 32 | 33 | "region0_to_.*" 34 | { 35 | type zeroGradient; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object turbulenceProperties; 18 | } 19 | 20 | simulationType LES; 21 | 22 | LES 23 | { 24 | LESModel kEqn; 25 | delta cubeRootVol; 26 | turbulence yes; 27 | printCoeffs yes; 28 | kEqnCoeffs { 29 | Ck 0.03; 30 | Prt 1; 31 | } 32 | cubeRootVolCoeffs { 33 | deltaCoeff 1; 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/CH4: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object CH4; 18 | } 19 | 20 | dimensions [0 0 0 0 0 0 0]; 21 | 22 | internalField uniform 0.0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type inletOutlet; 29 | inletValue $internalField; 30 | value $internalField; 31 | } 32 | 33 | "region0_to_.*" 34 | { 35 | type zeroGradient; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/O2: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object O2; 18 | } 19 | 20 | dimensions [0 0 0 0 0 0 0]; 21 | 22 | internalField uniform 0.23301; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type inletOutlet; 29 | inletValue $internalField; 30 | value $internalField; 31 | } 32 | 33 | "region0_to_.*" 34 | { 35 | type zeroGradient; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/U: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volVectorField; 16 | location "0/"; 17 | object U; 18 | } 19 | 20 | dimensions [0 1 -1 0 0 0 0]; 21 | 22 | internalField uniform (0 0 0); 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type pressureInletOutletVelocity; 29 | value $internalField; 30 | inletValue $internalField; 31 | } 32 | 33 | "region0_to_.*" 34 | { 35 | type noSlip; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/Ydefault: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object Ydefault; 18 | } 19 | 20 | dimensions [0 0 0 0 0 0 0]; 21 | 22 | internalField uniform 0.0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type inletOutlet; 29 | inletValue $internalField; 30 | value $internalField; 31 | } 32 | 33 | "region0_to_.*" 34 | { 35 | type zeroGradient; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/system/extrudeToRegionMeshDict.fuelRegion: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location ""system""; 17 | object extrudeToRegionMesh; 18 | } 19 | 20 | region fuelRegion; 21 | faceZones (fuel); 22 | oneD yes; 23 | sampleMode nearestPatchFace; 24 | extrudeModel linearNormal; 25 | oneDPolyPatchType empty; 26 | nLayers 228.0; 27 | expansionRatio 1; 28 | adaptMesh yes; 29 | linearNormalCoeffs { 30 | thickness 0.02286; 31 | } -------------------------------------------------------------------------------- /tutorials/gasBurner/0/k: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object k; 18 | } 19 | 20 | dimensions [0 2 -2 0 0 0 0]; 21 | 22 | internalField uniform 1e-05; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type inletOutlet; 29 | inletValue $internalField; 30 | value $internalField; 31 | } 32 | 33 | "(ground.*|burner)" 34 | { 35 | type fixedValue; 36 | value $internalField; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/k: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object k; 18 | } 19 | 20 | dimensions [0 2 -2 0 0 0 0]; 21 | 22 | internalField uniform 1e-05; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type inletOutlet; 29 | inletValue $internalField; 30 | value $internalField; 31 | } 32 | 33 | "region0_to_.*" 34 | { 35 | type fixedValue; 36 | value $internalField; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/fuelRegion/chemistryProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.7.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format binary; 12 | class dictionary; 13 | location "constant"; 14 | object chemistryProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | chemistryType 19 | { 20 | chemistrySolver ode; 21 | chemistryThermo pyrolysis; 22 | } 23 | 24 | chemistry off; 25 | 26 | initialChemicalTimeStep 1e-07; 27 | 28 | odeCoeffs 29 | { 30 | solver SIBS; 31 | eps 0.05; 32 | } 33 | 34 | // ************************************************************************* // 35 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/constant/fuelRegion/chemistryProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.7.0 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format binary; 12 | class dictionary; 13 | location "constant"; 14 | object chemistryProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | chemistryType 19 | { 20 | chemistrySolver ode; 21 | chemistryThermo pyrolysis; 22 | } 23 | 24 | chemistry on; 25 | 26 | initialChemicalTimeStep 1e-07; 27 | 28 | odeCoeffs 29 | { 30 | solver SIBS; 31 | eps 0.05; 32 | } 33 | 34 | // ************************************************************************* // 35 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/system/fvOptions: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1912 | 5 | | \\ / A nd | Website: www.openfoam.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | object fvOptions; 14 | } 15 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 16 | 17 | limitT 18 | { 19 | type limitTemperature; 20 | active yes; 21 | 22 | selectionMode all; 23 | min 293; 24 | max 2500; 25 | } 26 | //--limit max velocity magnitude 27 | limitU 28 | { 29 | type limitVelocity; 30 | active yes; 31 | 32 | selectionMode all; 33 | max 100.; 34 | } 35 | //************************************************************************** // 36 | -------------------------------------------------------------------------------- /tutorials/gasBurner/0/ph_rgh.orig: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object ph_rgh.orig; 18 | } 19 | 20 | dimensions [1 -1 -2 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type fixedValue; 29 | value $internalField; 30 | } 31 | 32 | "(ground.*|burner)" 33 | { 34 | type fixedFluxPressure; 35 | value $internalField; 36 | gradient $internalField; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/ph_rgh.orig: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object ph_rgh.orig; 18 | } 19 | 20 | dimensions [1 -1 -2 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type fixedValue; 29 | value $internalField; 30 | } 31 | 32 | "region0_to_.*" 33 | { 34 | type fixedFluxPressure; 35 | value $internalField; 36 | gradient $internalField; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/system/topoSetDict.pyrolysis: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location ""; 17 | object topoSetDict; 18 | } 19 | 20 | actions 21 | ( 22 | { 23 | name fuel; 24 | type faceSet; 25 | action new; 26 | source patchToFace; 27 | sourceInfo { 28 | patch ground; 29 | } 30 | } 31 | 32 | { 33 | name fuel; 34 | type faceZoneSet; 35 | action new; 36 | source setToFaceZone; 37 | sourceInfo { 38 | faceSet fuel; 39 | } 40 | } 41 | 42 | ); 43 | -------------------------------------------------------------------------------- /tutorials/facade/system/Chamber_WallRegion/decomposeParDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.7 | 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 "system"; 14 | object decomposeParDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 16; 19 | 20 | method scotch; 21 | //method simple; 22 | 23 | simpleCoeffs 24 | { 25 | n ( 2 1 1 ); 26 | delta 0.001; 27 | } 28 | 29 | hierarchicalCoeffs 30 | { 31 | } 32 | 33 | manualCoeffs 34 | { 35 | } 36 | 37 | metisCoeffs 38 | { 39 | } 40 | 41 | 42 | // ************************************************************************* // 43 | -------------------------------------------------------------------------------- /tutorials/facade/system/Facade_WallRegion/decomposeParDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.7 | 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 "system"; 14 | object decomposeParDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 16; 19 | 20 | method scotch; 21 | //method simple; 22 | 23 | simpleCoeffs 24 | { 25 | n ( 2 1 1 ); 26 | delta 0.001; 27 | } 28 | 29 | hierarchicalCoeffs 30 | { 31 | } 32 | 33 | manualCoeffs 34 | { 35 | } 36 | 37 | metisCoeffs 38 | { 39 | } 40 | 41 | 42 | // ************************************************************************* // 43 | -------------------------------------------------------------------------------- /tutorials/facade/system/decomposeParDict: -------------------------------------------------------------------------------- 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 "system"; 14 | object decomposeParDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | numberOfSubdomains 16; 19 | 20 | //method hierarchical; 21 | //method simple; 22 | method scotch; 23 | 24 | simpleCoeffs 25 | { 26 | n (2 2 2); 27 | delta 0.001; 28 | } 29 | 30 | hierarchicalCoeffs 31 | { 32 | } 33 | 34 | manualCoeffs 35 | { 36 | } 37 | 38 | metisCoeffs 39 | { 40 | } 41 | 42 | 43 | // ************************************************************************* // 44 | -------------------------------------------------------------------------------- /tutorials/gasBurner/0/T: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object T; 18 | } 19 | 20 | dimensions [0 0 0 1 0 0 0]; 21 | 22 | internalField uniform 298.15; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type inletOutlet; 29 | inletValue $internalField; 30 | value $internalField; 31 | } 32 | 33 | "ground.*" 34 | { 35 | type zeroGradient; 36 | } 37 | 38 | burner 39 | { 40 | type fixedValue; 41 | value $internalField; 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /tutorials/gasBurner/0/p_rgh: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object p_rgh; 18 | } 19 | 20 | dimensions [1 -1 -2 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type prghTotalHydrostaticPressure; 29 | p0 $internalField; 30 | value $internalField; 31 | } 32 | 33 | "(ground.*|burner)" 34 | { 35 | type fixedFluxPressure; 36 | value $internalField; 37 | gradient $internalField; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/0/p_rgh: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object p_rgh; 18 | } 19 | 20 | dimensions [1 -1 -2 0 0 0 0]; 21 | 22 | internalField uniform 0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type prghTotalHydrostaticPressure; 29 | p0 $internalField; 30 | value $internalField; 31 | } 32 | 33 | "region0_to_.*" 34 | { 35 | type fixedFluxPressure; 36 | value $internalField; 37 | gradient $internalField; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/0/fuelRegion/v: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 5 | | \\ / A nd | Web: http://www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/pyrolysisRegion"; 14 | object v; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | fuel_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_fuelRegion_fuel 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | fuel_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/0/fuelRegion/inert: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 5 | | \\ / A nd | Web: http://www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/pyrolysisRegion"; 14 | object inert; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | fuel_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_fuelRegion_fuel 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | fuel_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/facade/0/Facade_WallRegion/v: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 5 | | \\ / A nd | Web: http://www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/pyrolysisRegion"; 14 | object v; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | Facade_Wall_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_Facade_WallRegion_Facade_Wall 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | Facade_Wall_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/0/fuelRegion/Ydefault: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.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/pyrolysisRegion"; 14 | object Ydefault; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | fuel_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_fuelRegion_fuel 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | fuel_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/0/fuelRegion/Y0Default: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.7 | 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/pyrolysisRegion"; 14 | object Ydefault; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | fuel_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_fuelRegion_fuel 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | fuel_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-pmma/0/fuelRegion/Ydefault: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.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/pyrolysisRegion"; 14 | object Ydefault; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | fuel_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_fuelRegion_fuel 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | fuel_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/0/solidFuelRegion/v: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 5 | | \\ / A nd | Web: http://www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/pyrolysisRegion"; 14 | object v; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | solidFuel_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_solidFuelRegion_solidFuel 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | solidFuel_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/facade/0/Chamber_WallRegion/v: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 5 | | \\ / A nd | Web: http://www.OpenFOAM.org | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/pyrolysisRegion"; 14 | object v; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 1; 21 | 22 | boundaryField 23 | { 24 | Chamber_Wall_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_Chamber_WallRegion_Chamber_Wall 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | Chamber_Wall_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/0/fuelRegion/Y0Default: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.7 | 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/pyrolysisRegion"; 14 | object Ydefault; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | fuel_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_fuelRegion_fuel 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | fuel_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/system/extrudeToRegionMeshDict.solidFuel: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | object extrudeToRegionMeshDict; 14 | } 15 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 16 | 17 | region solidFuelRegion; 18 | 19 | faceZones (solidFuel); 20 | 21 | oneD true; 22 | 23 | sampleMode nearestPatchFace; 24 | 25 | extrudeModel linearNormal; 26 | 27 | oneDPolyPatchType empty; 28 | 29 | nLayers 20; 30 | 31 | expansionRatio 1; 32 | 33 | adaptMesh true; 34 | 35 | linearNormalCoeffs 36 | { 37 | thickness 0.02286; 38 | } 39 | 40 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 41 | -------------------------------------------------------------------------------- /tutorials/facade/0/Facade_WallRegion/Y0Default: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.7 | 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/pyrolysisRegion"; 14 | object Ydefault; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | Facade_Wall_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_Facade_WallRegion_Facade_Wall 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | Facade_Wall_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/facade/0/Facade_WallRegion/Ydefault: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.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/pyrolysisRegion"; 14 | object Ydefault; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | Facade_Wall_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_Facade_WallRegion_Facade_Wall 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | Facade_Wall_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/gasBurner/constant/radiationProperties: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object radiationProperties; 18 | } 19 | 20 | radiation yes; 21 | radiationModel fvDOM; 22 | fvDOMCoeffs { 23 | nPhi 2; 24 | nTheta 2; 25 | tolerance 1e-3; 26 | maxIter 1; 27 | } 28 | solverFreq 50; 29 | absorptionEmissionModel constRadFractionEmission; 30 | constRadFractionEmissionCoeffs { 31 | EhrrCoeff 0.27; 32 | radScaling no; 33 | patch1 (); 34 | patch2 (); 35 | } 36 | scatterModel none; 37 | transmissivityModel none; -------------------------------------------------------------------------------- /tutorials/pyrolysisOneDim/constant/pyrolysisZones: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 4e942a4 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class dictionary; 16 | location "constant/"; 17 | object pyrolysisZones; 18 | } 19 | 20 | fuel 21 | { 22 | active yes; 23 | pyrolysisModel reactingOneDimFF; 24 | region fuelRegion; 25 | pyrolysisRegion fuelRegion; 26 | infoOutput yes; 27 | reactingOneDimFFCoeffs { 28 | gasHSource no; 29 | qrHSource no; 30 | radFluxName Qr; 31 | moveMesh no; 32 | minimumDelta 1e-06; 33 | filmCoupled no; 34 | useChemistrySolvers false; 35 | thickness 0.02286; 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/0/solidFuelRegion/Y0Default: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.7 | 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/pyrolysisRegion"; 14 | object Ydefault; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | solidFuel_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_solidFuelRegion_solidFuel 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | solidFuel_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/0/solidFuelRegion/Ydefault: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.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/pyrolysisRegion"; 14 | object Ydefault; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | solidFuel_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_solidFuelRegion_solidFuel 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | solidFuel_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/facade/0/Chamber_WallRegion/Y0Default: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 1.7 | 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/pyrolysisRegion"; 14 | object Ydefault; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | Chamber_Wall_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_Chamber_WallRegion_Chamber_Wall 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | Chamber_Wall_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/facade/0/Chamber_WallRegion/Ydefault: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.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/pyrolysisRegion"; 14 | object Ydefault; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | internalField uniform 0; 21 | 22 | boundaryField 23 | { 24 | Chamber_Wall_top 25 | { 26 | type zeroGradient; 27 | } 28 | 29 | region0_to_Chamber_WallRegion_Chamber_Wall 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | Chamber_Wall_side 35 | { 36 | type empty; 37 | } 38 | } 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/gasBurner/0/U: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volVectorField; 16 | location "0/"; 17 | object U; 18 | } 19 | 20 | dimensions [0 1 -1 0 0 0 0]; 21 | 22 | internalField uniform (0 0 0); 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type pressureInletOutletVelocity; 29 | value $internalField; 30 | inletValue $internalField; 31 | } 32 | 33 | burner 34 | { 35 | type flowRateInletVelocity; 36 | massFlowRate 0.001159; 37 | value $internalField; 38 | } 39 | 40 | "ground.*" 41 | { 42 | type noSlip; 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /tutorials/burningBoxesSuppression/system/extrudeToRegionMeshDict.film: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: 2.4.x | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | object extrudeToRegionMeshDict; 14 | } 15 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 16 | 17 | region filmRegion; 18 | 19 | faceZones ( 20 | solidFuel 21 | ); 22 | 23 | oneD false; 24 | 25 | sampleMode nearestPatchFace; 26 | 27 | extrudeModel linearNormal; 28 | 29 | nLayers 1; 30 | 31 | expansionRatio 1; 32 | 33 | adaptMesh false; // directMapped for both 34 | 35 | linearNormalCoeffs 36 | { 37 | thickness 0.001; 38 | } 39 | 40 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 41 | -------------------------------------------------------------------------------- /tutorials/parallelPanel/8-ft-panel-inert/constant/fuelRegion/thermo.solid: -------------------------------------------------------------------------------- 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.0; 11 | format binary; 12 | class dictionary; 13 | location "constant"; 14 | object thermo.solid; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | inert 19 | { 20 | specie 21 | { 22 | nMoles 1; 23 | molWeight 100; //?? how this is used? 24 | } 25 | transport 26 | { 27 | kappa 0.12; 28 | } 29 | thermodynamics 30 | { 31 | Cp 1256.0; 32 | Hf 0.0; 33 | } 34 | equationOfState 35 | { 36 | rho 737.0; 37 | } 38 | }; 39 | // ************************************************************************* // 40 | -------------------------------------------------------------------------------- /tutorials/gasBurner/0/CH4: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object CH4; 18 | } 19 | 20 | dimensions [0 0 0 0 0 0 0]; 21 | 22 | internalField uniform 0.0; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type inletOutlet; 29 | inletValue $internalField; 30 | value $internalField; 31 | } 32 | 33 | "ground.*" 34 | { 35 | type zeroGradient; 36 | } 37 | 38 | burner 39 | { 40 | type totalFlowRateAdvectiveDiffusive; 41 | massFluxFraction 1; 42 | phi phi; 43 | rho rho; 44 | value uniform 1; 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /tutorials/gasBurner/0/O2: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------*\ 2 | | ************** ******* | Automatically Generated FOAM File | 3 | | **************** ********* | | 4 | | *********** **** | URL: https://dev.azure.com/fmglobal/Research | 5 | | *********** ******* **** | Repo: fireFoam.newCaseConfiguration | 6 | | *********** **** **** | Commit: 3e06c04 | 7 | | **** **** | Created by: krismana | 8 | | **** **** | Created on: 2024 Sep 02 | 9 | \*----------------------------------------------------------------------------*/ 10 | 11 | FoamFile 12 | { 13 | version 2.0; 14 | format ascii; 15 | class volScalarField; 16 | location "0/"; 17 | object O2; 18 | } 19 | 20 | dimensions [0 0 0 0 0 0 0]; 21 | 22 | internalField uniform 0.23301; 23 | 24 | boundaryField 25 | { 26 | "(top|sides)" 27 | { 28 | type inletOutlet; 29 | inletValue $internalField; 30 | value $internalField; 31 | } 32 | 33 | "ground.*" 34 | { 35 | type zeroGradient; 36 | } 37 | 38 | burner 39 | { 40 | type totalFlowRateAdvectiveDiffusive; 41 | massFluxFraction 0; 42 | phi phi; 43 | rho rho; 44 | value uniform 0; 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /fireFoam/solver/phrghEqn.H: -------------------------------------------------------------------------------- 1 | if (pimple.dict().lookupOrDefault("hydrostaticInitialization", false)) 2 | { 3 | 4 | if (equal(runTime.value(), 0)) 5 | { 6 | p = ph_rgh + rho*gh + pRef; 7 | thermo.correct(); 8 | rho = thermo.rho(); 9 | 10 | label nCorr 11 | ( 12 | pimple.dict().lookupOrDefault