diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire2D/0/omega b/tutorials/combustion/fireFoam/les/smallPoolFire2D/0/omega new file mode 100644 index 0000000000..e806605630 --- /dev/null +++ b/tutorials/combustion/fireFoam/les/smallPoolFire2D/0/omega @@ -0,0 +1,53 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object omega; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [1 -2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + outlet + { + type inletOutlet; + inletValue uniform 0; + value uniform 0; + } + sides + { + type inletOutlet; + inletValue uniform 0; + value uniform 0; + } + base + { + type zeroGradient; + } + inlet + { + type fixedValue; + value uniform 0.0; + } + frontBack + { + type empty; + } + +} + +// ************************************************************************* // diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire2D/constant/polyMesh/boundary b/tutorials/combustion/fireFoam/les/smallPoolFire2D/constant/polyMesh/boundary index c056cb28ee..3adde43e11 100644 --- a/tutorials/combustion/fireFoam/les/smallPoolFire2D/constant/polyMesh/boundary +++ b/tutorials/combustion/fireFoam/les/smallPoolFire2D/constant/polyMesh/boundary @@ -15,31 +15,37 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -4 +5 ( base { type patch; - nFaces 150; + nFaces 134; startFace 44700; } outlet { type patch; nFaces 150; - startFace 44850; + startFace 44834; } sides { type patch; nFaces 300; - startFace 45000; + startFace 44984; } frontAndBack { type empty; nFaces 45000; - startFace 45300; + startFace 45284; + } + inlet + { + type patch; + nFaces 16; + startFace 90284; } ) diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/fvSchemes b/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/fvSchemes index 5c8063431d..793ef97237 100644 --- a/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/fvSchemes +++ b/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/fvSchemes @@ -40,7 +40,9 @@ divSchemes hs limitedLinear 1; }; div((muEff*dev2(T(grad(U))))) Gauss linear; + div(phi,omega) Gauss limitedLinear 1; div(phiU,p) Gauss linear; + div(U) Gauss linear; div(Ji,Ii_h) Gauss upwind; } diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/fvSolution b/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/fvSolution index 5a7b7a980a..0168ed308e 100644 --- a/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/fvSolution +++ b/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/fvSolution @@ -53,7 +53,7 @@ solvers }; - "(U|Yi|k|hs)" + "(U|Yi|k|hs|omega)" { solver PBiCG; preconditioner DILU; @@ -62,7 +62,7 @@ solvers nSweeps 1; }; - "(U|Yi|k|hs)Final" + "(U|Yi|k|hs|omega)Final" { $U; tolerance 1e-7; diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire3D/constant/combustionProperties b/tutorials/combustion/fireFoam/les/smallPoolFire3D/constant/combustionProperties index f528cf3e12..07b7a2a489 100644 --- a/tutorials/combustion/fireFoam/les/smallPoolFire3D/constant/combustionProperties +++ b/tutorials/combustion/fireFoam/les/smallPoolFire3D/constant/combustionProperties @@ -16,7 +16,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//combustionModel infinitelyFastChemistry; +combustionModel infinitelyFastChemistry; active on; diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/patchify.setSet b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/patchify.setSet new file mode 100644 index 0000000000..bbfd5e0b24 --- /dev/null +++ b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/patchify.setSet @@ -0,0 +1,30 @@ +faceSet cubeFaces clear +faceSet cubeFaces add boxToFace (0.399 0.099 0.299) (0.601 0.301 0.301) +faceSet cubeFaces add boxToFace (0.599 0.099 0.099) (0.601 0.301 0.301) +faceSet cubeFaces add boxToFace (0.399 0.099 0.099) (0.601 0.301 0.101) +faceSet cubeFaces add boxToFace (0.399 0.099 0.099) (0.401 0.301 0.301) +faceSet cubeFaces add boxToFace (0.399 0.299 0.099) (0.601 0.301 0.301) +faceSet cubeFaces add boxToFace (0.399 0.099 0.099) (0.601 0.101 0.301) +faceSet cubeFaces add boxToFace (0.399 0.099 0.599) (0.601 0.301 0.601) +faceSet cubeFaces add boxToFace (0.599 0.099 0.399) (0.601 0.301 0.601) +faceSet cubeFaces add boxToFace (0.399 0.099 0.399) (0.601 0.301 0.401) +faceSet cubeFaces add boxToFace (0.399 0.099 0.399) (0.401 0.301 0.601) +faceSet cubeFaces add boxToFace (0.399 0.299 0.399) (0.601 0.301 0.601) +faceSet cubeFaces add boxToFace (0.399 0.099 0.399) (0.601 0.101 0.601) +faceSet cubeFaces add boxToFace (0.399 0.399 0.299) (0.601 0.601 0.301) +faceSet cubeFaces add boxToFace (0.599 0.399 0.099) (0.601 0.601 0.301) +faceSet cubeFaces add boxToFace (0.399 0.399 0.099) (0.601 0.601 0.101) +faceSet cubeFaces add boxToFace (0.399 0.399 0.099) (0.401 0.601 0.301) +faceSet cubeFaces add boxToFace (0.399 0.599 0.099) (0.601 0.601 0.301) +faceSet cubeFaces add boxToFace (0.399 0.399 0.099) (0.601 0.401 0.301) +faceSet cubeFaces add boxToFace (0.399 0.399 0.599) (0.601 0.601 0.601) +faceSet cubeFaces add boxToFace (0.599 0.399 0.399) (0.601 0.601 0.601) +faceSet cubeFaces add boxToFace (0.399 0.399 0.399) (0.601 0.601 0.401) +faceSet cubeFaces add boxToFace (0.399 0.399 0.399) (0.401 0.601 0.601) +faceSet cubeFaces add boxToFace (0.399 0.599 0.399) (0.601 0.601 0.601) +faceSet cubeFaces add boxToFace (0.399 0.399 0.399) (0.601 0.401 0.601) +cellSet cubeFacesCells new faceToCell cubeFaces owner +faceZoneSet cubeFaces new setsToFaceZone cubeFaces cubeFacesCells +faceSet floorFaces new boxToFace (-0.001 -0.001 -0.001) (1.001 1.001 0.001) +cellSet floorCells new faceToCell floorFaces owner +faceZoneSet floorFaces new setsToFaceZone floorFaces floorCells