STYLE: tutorials: topoSet instead of setSet

This commit is contained in:
mattijs
2011-11-25 11:38:02 +00:00
parent cd93ba899c
commit 50a14a9cfc
8 changed files with 204 additions and 10 deletions

View File

@ -6,7 +6,8 @@ cd ${0%/*} || exit 1 # run from this directory
cp -r 0.org 0 > /dev/null 2>&1
runApplication blockMesh
runApplication setSet -batch createObstacle.setSet
#runApplication setSet -batch createObstacle.setSet
runApplication topoSet
runApplication subsetMesh -overwrite c0 -patch walls
runApplication setFields
runApplication `getApplication`

View File

@ -21,13 +21,13 @@ FoamFile
{
type patch;
nFaces 1024;
startFace 95232;
startFace 93568;
}
walls
{
type wall;
nFaces 5120;
startFace 96256;
nFaces 5376;
startFace 94592;
}
)

View File

@ -0,0 +1,42 @@
/*--------------------------------*- 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.375 0.375 0) (0.625 0.625 0.25);
}
}
);
// ************************************************************************* //