ENH: Converted all cellSet/faceSet/pointSet to topoSet.

This commit is contained in:
mattijs
2010-05-10 17:17:49 +01:00
parent 49bf24b194
commit c367e07642
58 changed files with 415 additions and 1530 deletions

View File

@ -17,19 +17,19 @@ runRefineMesh()
runApplication blockMesh
i=1
if [ -f log.cellSet ]
if [ -f log.topoSet ]
then
i=3
fi
while [ "$i" -lt 3 ]
do
if [ -f log.cellSet ]
if [ -f log.topoSet ]
then
mv log.cellSet log.cellSet.1
mv log.topoSet log.topoSet.1
fi
cp system/cellSetDict.${i} system/cellSetDict
runApplication cellSet
cp system/topoSetDict.${i} system/topoSetDict
runApplication topoSet
runRefineMesh
cp -r 1e-08/polyMesh/* constant/polyMesh
rm -rf 1e-08

View File

@ -11,15 +11,23 @@ FoamFile
format ascii;
class dictionary;
location "system";
object cellSetDict.2;
object topoSetDict.2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
name c0;
action new;
topoSetSources ( boxToCell { box ( 0 0 -2e-05 ) ( 0.0036 0.0003 2e-05 ) ; } );
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
sourceDict
{
box ( 0 0 -2e-05 ) ( 0.0036 0.0003 2e-05 );
}
}
);
// ************************************************************************* //

View File

@ -11,15 +11,22 @@ FoamFile
format ascii;
class dictionary;
location "system";
object cellSetDict.2;
object topoSetDict.1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
name c0;
action new;
topoSetSources ( boxToCell { box ( 0 0 -2e-05 ) ( 0.0036 0.0003 2e-05 ) ; } );
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
sourceDict
{
box ( 0 0 -2e-05 ) ( 0.0036 0.0008 4e-05 ) ;
}
}
);
// ************************************************************************* //

View File

@ -11,15 +11,23 @@ FoamFile
format ascii;
class dictionary;
location "system";
object cellSetDict.1;
object topoSetDict.2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
name c0;
action new;
topoSetSources ( boxToCell { box ( 0 0 -2e-05 ) ( 0.0036 0.0008 4e-05 ) ; } );
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
sourceDict
{
box ( 0 0 -2e-05 ) ( 0.0036 0.0003 2e-05 );
}
}
);
// ************************************************************************* //