mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Converted all cellSet/faceSet/pointSet to topoSet.
This commit is contained in:
@ -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
|
||||
|
||||
@ -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 );
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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 ) ;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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 );
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user