ENH: namedDictionary for managing keyword/dictionary combinations

- reworked from the openfoam.org wordAndDictionary version.

Allows, for example, named entries in topoSet.
This commit is contained in:
Mark Olesen
2021-05-18 12:01:04 +02:00
parent c9fda67b5f
commit 2dbabb242b
10 changed files with 471 additions and 31 deletions

View File

@ -17,16 +17,13 @@ FoamFile
actions
(
// Heater
heater
{
name heaterCellSet;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-0.01 29e-3 -1 )(4.77e-3 70e-3 1);
}
box (-0.01 29e-3 -1) (4.77e-3 70e-3 1);
}
{
@ -34,10 +31,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
sourceInfo
{
set heaterCellSet;
}
set heaterCellSet;
}
{
@ -45,10 +39,7 @@ actions
type cellSet;
action new;
source cellToCell;
sourceInfo
{
set heaterCellSet;
}
set heaterCellSet;
}
{
@ -62,10 +53,7 @@ actions
type cellZoneSet;
action new;
source setToCellZone;
sourceInfo
{
set bottomWaterCellSet;
}
set bottomWaterCellSet;
}
);