Skip to content

Commit

Permalink
ENH: Adding topoSet to tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Ferraris committed Jul 22, 2011
1 parent ded1d36 commit 7467eb7
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ runApplication setFields
unset FOAM_SIGFPE
unset FOAM_SETNAN

# Add cyclic baffles for fan
runApplication setSet -batch selectCyclics.setSet
# Create faceZones for porous baffles
runApplication topoSet

createBaffles cyclicZoneFaces '(porous_half0 porous_half1)' -overwrite > log.createBaffles 2>&1

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object topoSetDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

actions
(
{
name cyclicFaces;
type faceSet;
action new;
source boxToFace;
sourceInfo
{
box (0.3015 0.0493 -1) (0.3069 0.2077 1);
}
}

{
name cyclicFacesSlaveCells;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-1 0 -1) (0.305 0.31 1);
}
}

{
name cyclicZoneFaces;
type faceZoneSet;
action new;
source setsToFaceZone;
sourceInfo
{
faceSet cyclicFaces;
cellSet cyclicFacesSlaveCells;
}
}
);

// ************************************************************************* //

0 comments on commit 7467eb7

Please sign in to comment.