From cd93ba899c257ab425fb3fc58f3bcafeeb4fc346 Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 25 Nov 2011 08:30:22 +0000 Subject: [PATCH] STYLE: tutorials: topoSet instead of setSet --- .../hotBoxes/Allrun.pre | 3 +- .../hotBoxes/system/topoSetDict | 72 +++++++++++++++++++ 2 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/system/topoSetDict diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun.pre b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun.pre index b5423180b6..e2e3a1f1bf 100755 --- a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun.pre +++ b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun.pre @@ -10,8 +10,7 @@ cp -rf 0.org 0 runApplication blockMesh # create the set for the obstacles -runApplication setSet -batch createObstacle.setSet -mv log.setSet log.setSet1 +runApplication topoSet # create the obstacles - add obstacle patches to wallFilm patch runApplication subsetMesh c0 -patch wallFilm -overwrite diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/system/topoSetDict b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/system/topoSetDict new file mode 100644 index 0000000000..57fd283dde --- /dev/null +++ b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/system/topoSetDict @@ -0,0 +1,72 @@ +/*--------------------------------*- 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 dictionary; + object topoSetDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +actions +( + { + name c0; + type cellSet; + action clear; + } + { + name c0; + type cellSet; + action invert; + } + { + name c0; + type cellSet; + action delete; + source boxToCell; + sourceInfo + { + box (0.4 0.1 0.1) (0.6 0.3 0.3); + } + } + { + name c0; + type cellSet; + action delete; + source boxToCell; + sourceInfo + { + box (0.4 0.1 0.4) (0.6 0.3 0.6); + } + } + { + name c0; + type cellSet; + action delete; + source boxToCell; + sourceInfo + { + box (0.4 0.4 0.1) (0.6 0.6 0.3); + } + } + { + name c0; + type cellSet; + action delete; + source boxToCell; + sourceInfo + { + box (0.4 0.4 0.4) (0.6 0.6 0.6); + } + } +); + +// ************************************************************************* //