From 8924b4ca86a270f364cdd669bf1e41eb6723717e Mon Sep 17 00:00:00 2001 From: sergio <sergio> Date: Mon, 14 Dec 2015 10:02:49 -0800 Subject: [PATCH] BUG: Adding boundaryRadiationProperties in oppositeBurningPanels tutorial Adding decompose boundaryRadiationProperties in constant folder in Allrun for oppositeBurningPanels and smallPoolFire3D --- .../fireFoam/les/oppositeBurningPanels/Allrun | 3 +- .../constant/boundaryRadiationProperties | 38 +++++++++++++++++++ .../fireFoam/les/smallPoolFire3D/Allrun | 2 +- 3 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 tutorials/combustion/fireFoam/les/oppositeBurningPanels/constant/boundaryRadiationProperties diff --git a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun index 5528c96c783..2fe5ebd457e 100755 --- a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun +++ b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun @@ -24,7 +24,8 @@ runApplication topoSet -dict system/fBurner.topoSetDict runApplication createPatch -overwrite -decomposePar -force > log.decomposePar 2>&1 +# Decompose mesh, constant/boundaryRadiationProperties and fields +decomposePar -force -constant > log.decomposePar 2>&1 decomposePar -region panelRegion > log.decomposeParPanelRegion 2>&1 diff --git a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/constant/boundaryRadiationProperties b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/constant/boundaryRadiationProperties new file mode 100644 index 00000000000..f746687ec3a --- /dev/null +++ b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/constant/boundaryRadiationProperties @@ -0,0 +1,38 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object boundaryRadiationProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 0 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + ".*" + { + type boundaryRadiation; + mode lookup; + emissivity uniform 1.0; + value uniform 0; + } + "(region0_to.*)" + { + type boundaryRadiation; + mode solidRadiation; + value uniform 0; + } +} + +// ************************************************************************* // diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire3D/Allrun b/tutorials/combustion/fireFoam/les/smallPoolFire3D/Allrun index ebd159495f7..41634fbe09a 100755 --- a/tutorials/combustion/fireFoam/les/smallPoolFire3D/Allrun +++ b/tutorials/combustion/fireFoam/les/smallPoolFire3D/Allrun @@ -9,7 +9,7 @@ application=`getApplication` runApplication blockMesh runApplication topoSet runApplication createPatch -overwrite -runApplication decomposePar -force +runApplication decomposePar -force -constant # Run runParallel $application 4 -- GitLab