changeDictionary: Simplified by removing the need for the superfluous dictionaryReplacement sub-dictionary

Added the option '-subDict' to specify a sub-dictionary if multiple
replacement sets are present in the same file.  This also provides
backward compatibility by setting '-subDict dictionaryReplacement'
This commit is contained in:
Henry Weller
2016-06-15 09:03:05 +01:00
parent 344f435f54
commit 3d98d6e5c6
25 changed files with 1653 additions and 1711 deletions

View File

@ -14,15 +14,13 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement
mirrorMeshDict
{
mirrorMeshDict
pointAndNormalDict
{
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 -1 0);
}
basePoint (0 0 0);
normalVector (0 -1 0);
}
}
// ************************************************************************* //

View File

@ -14,15 +14,13 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement
mirrorMeshDict
{
mirrorMeshDict
pointAndNormalDict
{
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (-1 0 0);
}
basePoint (0 0 0);
normalVector (-1 0 0);
}
}
// ************************************************************************* //

View File

@ -14,15 +14,13 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement
mirrorMeshDict
{
mirrorMeshDict
pointAndNormalDict
{
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 -1 0);
}
basePoint (0 0 0);
normalVector (0 -1 0);
}
}
// ************************************************************************* //