STYLE: tutorials: topoSet instead of setSet

This commit is contained in:
mattijs
2011-11-25 08:30:22 +00:00
parent 1555efd387
commit cd93ba899c
2 changed files with 73 additions and 2 deletions

View File

@ -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

View File

@ -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);
}
}
);
// ************************************************************************* //