ENH: add -dict option for mirrorMesh

This commit is contained in:
Mark Olesen
2018-12-17 09:51:29 +01:00
parent c4ec41218b
commit 54ac451bf5
8 changed files with 74 additions and 50 deletions

View File

@ -5,13 +5,8 @@ cd ${0%/*} || exit 1 # Run from this directory
runApplication blockMesh
runApplication transformPoints -scale '(1.6666 1 1)'
runApplication changeDictionary -instance system -dict system/changeDictionaryDict.X
runApplication mirrorMesh -overwrite
rm -f log.mirrorMesh
rm -f log.changeDictionary
runApplication changeDictionary -instance system -dict system/changeDictionaryDict.Y
runApplication mirrorMesh -overwrite
runApplication -s xplane mirrorMesh -dict system/mirrorMeshDict.X -overwrite
runApplication -s yplane mirrorMesh -dict system/mirrorMeshDict.Y -overwrite
restore0Dir

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object mirrorMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,10 +19,9 @@ planeType pointAndNormal;
pointAndNormalDict
{
point (0 0 0);
normal (0 -1 0);
normal (0 0 -1);
}
planeTolerance 1e-06;
planeTolerance 1e-6;
// ************************************************************************* //

View File

@ -10,17 +10,18 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
object changeDictionaryDict;
object mirrorMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
mirrorMeshDict
planeType pointAndNormal;
pointAndNormalDict
{
pointAndNormalDict
{
point (0 0 0);
normal (-1 0 0);
}
point (0 0 0);
normal (-1 0 0);
}
planeTolerance 1e-6;
// ************************************************************************* //

View File

@ -10,17 +10,18 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
object changeDictionaryDict;
object mirrorMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
mirrorMeshDict
planeType pointAndNormal;
pointAndNormalDict
{
pointAndNormalDict
{
point (0 0 0);
normal (0 -1 0);
}
point (0 0 0);
normal (0 -1 0);
}
planeTolerance 1e-6;
// ************************************************************************* //