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

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -33,8 +33,6 @@ Description
\em Walls a zeroGradient boundary condition, the \em Walls a zeroGradient boundary condition, the
\c system/changeDictionaryDict would contain the following: \c system/changeDictionaryDict would contain the following:
\verbatim \verbatim
dictionaryReplacement
{
p // field to change p // field to change
{ {
boundaryField boundaryField
@ -50,23 +48,25 @@ Description
} }
} }
} }
}
\endverbatim \endverbatim
Replacement entries starting with '~' will remove the entry. Replacement entries starting with '~' will remove the entry.
Usage Usage
- changeDictionary [OPTION] changeDictionary [OPTION]
\param -subDict \n
Specify the subDict name of the replacements dictionary.
\param -literalRE \n \param -literalRE \n
Do not interpret regular expressions or patchGroups; Do not interpret regular expressions or patchGroups; treat them as any
treat them as any other keyword. other keyword.
\param -enableFunctionEntries \n \param -enableFunctionEntries \n
By default all dictionary preprocessing of fields is disabled Enable function entries (default: disabled)
\param -disablePatchGroups \n \param -disablePatchGroups \n
By default all keys are also checked for being patchGroups Disable the default checking for keys being patchGroups
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -89,7 +89,7 @@ namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Extract groupPatch (= shortcut) info from boundary file info // Extract groupPatch info from boundary file info
HashTable<wordList, word> extractPatchGroups(const dictionary& boundaryDict) HashTable<wordList, word> extractPatchGroups(const dictionary& boundaryDict)
{ {
HashTable<wordList, word> groupToPatch; HashTable<wordList, word> groupToPatch;
@ -268,7 +268,6 @@ bool merge
if (entryPtr) if (entryPtr)
{ {
// Mark thisDict entry as having been match for wildcard // Mark thisDict entry as having been match for wildcard
// handling later on. // handling later on.
thisKeysSet.erase(entryPtr->keyword()); thisKeysSet.erase(entryPtr->keyword());
@ -386,6 +385,12 @@ int main(int argc, char *argv[])
{ {
#include "addDictOption.H" #include "addDictOption.H"
argList::addOption argList::addOption
(
"subDict",
"name",
"specify the subDict name of the replacements dictionary"
);
argList::addOption
( (
"instance", "instance",
"name", "name",
@ -479,7 +484,16 @@ int main(int argc, char *argv[])
#include "setSystemMeshDictionaryIO.H" #include "setSystemMeshDictionaryIO.H"
IOdictionary dict(dictIO); IOdictionary dict(dictIO);
const dictionary& replaceDicts = dict.subDict("dictionaryReplacement"); const dictionary* replaceDictsPtr = &dict;
if (args.optionFound("subDict"))
{
word subDictName(args.optionLookup("subDict")());
replaceDictsPtr = &dict.subDict(subDictName);
}
const dictionary& replaceDicts = *replaceDictsPtr;
Info<< "Read dictionary " << dict.name() Info<< "Read dictionary " << dict.name()
<< " with replacements for dictionaries " << " with replacements for dictionaries "
<< replaceDicts.toc() << endl; << replaceDicts.toc() << endl;
@ -514,6 +528,7 @@ int main(int argc, char *argv[])
) )
); );
const_cast<word&>(IOPtrList<entry>::typeName) = oldTypeName; const_cast<word&>(IOPtrList<entry>::typeName) = oldTypeName;
// Fake type back to what was in field // Fake type back to what was in field
const_cast<word&>(dictList.type()) = dictList.headerClassName(); const_cast<word&>(dictList.type()) = dictList.headerClassName();
@ -632,6 +647,7 @@ int main(int argc, char *argv[])
); );
const_cast<word&>(IOdictionary::typeName) = oldTypeName; const_cast<word&>(IOdictionary::typeName) = oldTypeName;
// Fake type back to what was in field // Fake type back to what was in field
const_cast<word&>(fieldDict.type()) = fieldDict.headerClassName(); const_cast<word&>(fieldDict.type()) = fieldDict.headerClassName();
@ -652,9 +668,7 @@ int main(int argc, char *argv[])
entry::disableFunctionEntries = oldFlag; entry::disableFunctionEntries = oldFlag;
Info<< endl; Info<< "\nEnd\n" << endl;
Info<< "End\n" << endl;
return 0; return 0;
} }

View File

@ -14,18 +14,16 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
".*" ".*"
{ {
type mappedPatch; type mappedPatch;
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -41,10 +39,10 @@ dictionaryReplacement
value uniform 500; value uniform 500;
} }
} }
} }
rho rho
{ {
internalField uniform 8000; internalField uniform 8000;
boundaryField boundaryField
@ -55,10 +53,10 @@ dictionaryReplacement
} }
} }
} }
K K
{ {
internalField uniform 80; internalField uniform 80;
boundaryField boundaryField
@ -69,10 +67,10 @@ dictionaryReplacement
} }
} }
} }
cp cp
{ {
internalField uniform 450; internalField uniform 450;
boundaryField boundaryField
@ -83,7 +81,6 @@ dictionaryReplacement
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement p
{ {
p
{
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -37,10 +35,10 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
U U
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -69,10 +67,10 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
epsilon epsilon
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -94,10 +92,10 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
k k
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -119,10 +117,10 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
Su Su
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -142,10 +140,10 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
Xi Xi
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -167,10 +165,10 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
T T
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -192,10 +190,10 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
Tu Tu
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -217,10 +215,10 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
b b
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -242,10 +240,10 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
ft ft
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -266,10 +264,10 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
Aw Aw
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -291,9 +289,9 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
B B
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -315,9 +313,9 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
betav betav
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -339,9 +337,9 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
CR CR
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -363,9 +361,9 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
CT CT
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -387,9 +385,9 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
Nv Nv
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -411,9 +409,9 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
nsv nsv
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -435,9 +433,9 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
} }
Lobs Lobs
{ {
boundaryField boundaryField
{ {
blockedFaces blockedFaces
@ -459,7 +457,6 @@ dictionaryReplacement
type cyclic; type cyclic;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,16 +14,12 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
region0_to_filmRegion_coupledWall region0_to_filmRegion_coupledWall
{ {
samplePatch region0_to_pyrolysisRegion_coupledWall; samplePatch region0_to_pyrolysisRegion_coupledWall;
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement U
{ {
U
{
internalField uniform (0.001 0 0); internalField uniform (0.001 0 0);
boundaryField boundaryField
@ -40,10 +38,10 @@ dictionaryReplacement
value uniform (0 0 0); value uniform (0 0 0);
} }
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -74,10 +72,10 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
} }
epsilon epsilon
{ {
internalField uniform 0.01; internalField uniform 0.01;
boundaryField boundaryField
@ -100,10 +98,10 @@ dictionaryReplacement
value uniform 0.01; value uniform 0.01;
} }
} }
} }
k k
{ {
internalField uniform 0.1; internalField uniform 0.1;
boundaryField boundaryField
@ -126,10 +124,10 @@ dictionaryReplacement
value uniform 0.1; value uniform 0.1;
} }
} }
} }
p_rgh p_rgh
{ {
internalField uniform 0; internalField uniform 0;
boundaryField boundaryField
@ -152,10 +150,10 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
p p
{ {
internalField uniform 0; internalField uniform 0;
boundaryField boundaryField
@ -166,7 +164,6 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minY minY
{ {
type patch; type patch;
@ -30,10 +28,10 @@ dictionaryReplacement
{ {
type patch; type patch;
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -67,7 +65,6 @@ dictionaryReplacement
value uniform 500; value uniform 500;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minZ minZ
{ {
type patch; type patch;
@ -26,10 +24,10 @@ dictionaryReplacement
{ {
type patch; type patch;
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -57,7 +55,6 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minZ minZ
{ {
type patch; type patch;
@ -26,10 +24,10 @@ dictionaryReplacement
{ {
type patch; type patch;
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -47,7 +45,6 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement U
{ {
U
{
internalField uniform (0.1 0 0); internalField uniform (0.1 0 0);
boundaryField boundaryField
@ -39,10 +37,10 @@ dictionaryReplacement
value uniform (0.1 0 0); value uniform (0.1 0 0);
} }
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -72,10 +70,10 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
} }
epsilon epsilon
{ {
internalField uniform 0.01; internalField uniform 0.01;
boundaryField boundaryField
@ -98,10 +96,10 @@ dictionaryReplacement
value uniform 0.01; value uniform 0.01;
} }
} }
} }
k k
{ {
internalField uniform 0.1; internalField uniform 0.1;
boundaryField boundaryField
@ -124,10 +122,10 @@ dictionaryReplacement
value uniform 0.1; value uniform 0.1;
} }
} }
} }
p_rgh p_rgh
{ {
internalField uniform 1e5; internalField uniform 1e5;
boundaryField boundaryField
@ -144,10 +142,10 @@ dictionaryReplacement
value uniform 1e5; value uniform 1e5;
} }
} }
} }
p p
{ {
internalField uniform 1e5; internalField uniform 1e5;
boundaryField boundaryField
@ -164,7 +162,6 @@ dictionaryReplacement
value uniform 1e5; value uniform 1e5;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minX minX
{ {
type wall; type wall;
@ -26,10 +24,10 @@ dictionaryReplacement
{ {
type wall; type wall;
} }
} }
U U
{ {
internalField uniform (0.01 0 0); internalField uniform (0.01 0 0);
boundaryField boundaryField
@ -40,10 +38,10 @@ dictionaryReplacement
value uniform (0 0 0); value uniform (0 0 0);
} }
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -61,10 +59,10 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
} }
epsilon epsilon
{ {
// Set the value on all bc to non-zero. Not used in simulation // Set the value on all bc to non-zero. Not used in simulation
// since zeroGradient; only used in initialisation. // since zeroGradient; only used in initialisation.
internalField uniform 0.01; internalField uniform 0.01;
@ -77,10 +75,10 @@ dictionaryReplacement
value uniform 0.01; value uniform 0.01;
} }
} }
} }
k k
{ {
internalField uniform 0.1; internalField uniform 0.1;
boundaryField boundaryField
@ -91,10 +89,10 @@ dictionaryReplacement
value uniform 0.1; value uniform 0.1;
} }
} }
} }
p_rgh p_rgh
{ {
internalField uniform 1e5; internalField uniform 1e5;
boundaryField boundaryField
@ -105,10 +103,10 @@ dictionaryReplacement
value uniform 1e5; value uniform 1e5;
} }
} }
} }
p p
{ {
internalField uniform 1e5; internalField uniform 1e5;
boundaryField boundaryField
@ -119,7 +117,6 @@ dictionaryReplacement
value uniform 1e5; value uniform 1e5;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minY minY
{ {
type patch; type patch;
@ -30,10 +28,10 @@ dictionaryReplacement
{ {
type patch; type patch;
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -56,7 +54,6 @@ dictionaryReplacement
value uniform 500; value uniform 500;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minZ minZ
{ {
type patch; type patch;
@ -26,10 +24,10 @@ dictionaryReplacement
{ {
type patch; type patch;
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -47,7 +45,6 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minZ minZ
{ {
type patch; type patch;
@ -26,10 +24,10 @@ dictionaryReplacement
{ {
type patch; type patch;
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -47,7 +45,6 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement U
{ {
U
{
internalField uniform (0.1 0 0); internalField uniform (0.1 0 0);
boundaryField boundaryField
@ -39,10 +37,10 @@ dictionaryReplacement
value uniform (0.1 0 0); value uniform (0.1 0 0);
} }
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -72,10 +70,10 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
} }
epsilon epsilon
{ {
internalField uniform 0.01; internalField uniform 0.01;
boundaryField boundaryField
@ -98,10 +96,10 @@ dictionaryReplacement
value uniform 0.01; value uniform 0.01;
} }
} }
} }
k k
{ {
internalField uniform 0.1; internalField uniform 0.1;
boundaryField boundaryField
@ -124,10 +122,10 @@ dictionaryReplacement
value uniform 0.1; value uniform 0.1;
} }
} }
} }
p_rgh p_rgh
{ {
internalField uniform 1e5; internalField uniform 1e5;
boundaryField boundaryField
@ -144,10 +142,10 @@ dictionaryReplacement
value uniform 1e5; value uniform 1e5;
} }
} }
} }
p p
{ {
internalField uniform 1e5; internalField uniform 1e5;
boundaryField boundaryField
@ -164,7 +162,6 @@ dictionaryReplacement
value uniform 1e5; value uniform 1e5;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minX minX
{ {
type wall; type wall;
@ -26,10 +24,10 @@ dictionaryReplacement
{ {
type wall; type wall;
} }
} }
U U
{ {
internalField uniform (0.01 0 0); internalField uniform (0.01 0 0);
boundaryField boundaryField
{ {
@ -39,10 +37,10 @@ dictionaryReplacement
value uniform (0 0 0); value uniform (0 0 0);
} }
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
{ {
@ -61,10 +59,10 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
} }
epsilon epsilon
{ {
internalField uniform 0.01; internalField uniform 0.01;
boundaryField boundaryField
{ {
@ -74,10 +72,10 @@ dictionaryReplacement
value uniform 0.01; value uniform 0.01;
} }
} }
} }
k k
{ {
internalField uniform 0.1; internalField uniform 0.1;
boundaryField boundaryField
{ {
@ -87,10 +85,10 @@ dictionaryReplacement
value uniform 0.1; value uniform 0.1;
} }
} }
} }
p_rgh p_rgh
{ {
internalField uniform 1e5; internalField uniform 1e5;
boundaryField boundaryField
{ {
@ -100,10 +98,10 @@ dictionaryReplacement
value uniform 1e5; value uniform 1e5;
} }
} }
} }
p p
{ {
internalField uniform 1e5; internalField uniform 1e5;
boundaryField boundaryField
{ {
@ -113,10 +111,10 @@ dictionaryReplacement
value uniform 1e5; value uniform 1e5;
} }
} }
} }
Qr Qr
{ {
internalField uniform 0; internalField uniform 0;
boundaryField boundaryField
{ {
@ -137,10 +135,10 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
G G
{ {
internalField uniform 0; internalField uniform 0;
boundaryField boundaryField
{ {
@ -159,10 +157,10 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
IDefault IDefault
{ {
internalField uniform 0; internalField uniform 0;
boundaryField boundaryField
{ {
@ -181,9 +179,6 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minY minY
{ {
type patch; type patch;
@ -30,10 +28,10 @@ dictionaryReplacement
{ {
type patch; type patch;
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -77,7 +75,6 @@ dictionaryReplacement
value uniform 500; value uniform 500;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minZ minZ
{ {
type patch; type patch;
@ -26,10 +24,10 @@ dictionaryReplacement
{ {
type patch; type patch;
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -68,7 +66,6 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement boundary
{ {
boundary
{
minZ minZ
{ {
type patch; type patch;
@ -26,10 +24,10 @@ dictionaryReplacement
{ {
type patch; type patch;
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
@ -68,7 +66,6 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement U
{ {
U
{
internalField uniform (0.1 0 0); internalField uniform (0.1 0 0);
boundaryField boundaryField
{ {
@ -38,10 +36,10 @@ dictionaryReplacement
value uniform (0.1 0 0); value uniform (0.1 0 0);
} }
} }
} }
T T
{ {
internalField uniform 300; internalField uniform 300;
boundaryField boundaryField
{ {
@ -72,10 +70,10 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
} }
epsilon epsilon
{ {
internalField uniform 0.01; internalField uniform 0.01;
boundaryField boundaryField
{ {
@ -97,10 +95,10 @@ dictionaryReplacement
value uniform 0.01; value uniform 0.01;
} }
} }
} }
k k
{ {
internalField uniform 0.1; internalField uniform 0.1;
boundaryField boundaryField
{ {
@ -122,10 +120,10 @@ dictionaryReplacement
value uniform 0.1; value uniform 0.1;
} }
} }
} }
p_rgh p_rgh
{ {
internalField uniform 1e5; internalField uniform 1e5;
boundaryField boundaryField
{ {
@ -141,10 +139,10 @@ dictionaryReplacement
value uniform 1e5; value uniform 1e5;
} }
} }
} }
p p
{ {
internalField uniform 1e5; internalField uniform 1e5;
boundaryField boundaryField
{ {
@ -160,10 +158,10 @@ dictionaryReplacement
value uniform 1e5; value uniform 1e5;
} }
} }
} }
Qr Qr
{ {
internalField uniform 0; internalField uniform 0;
boundaryField boundaryField
{ {
@ -184,10 +182,10 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
G G
{ {
internalField uniform 0; internalField uniform 0;
boundaryField boundaryField
{ {
@ -206,10 +204,10 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
IDefault IDefault
{ {
internalField uniform 0; internalField uniform 0;
boundaryField boundaryField
{ {
@ -228,7 +226,6 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

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

View File

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

View File

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

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement T
{ {
T
{
boundaryField boundaryField
{ {
wallFilm wallFilm
@ -29,10 +27,10 @@ dictionaryReplacement
value uniform 300; value uniform 300;
} }
} }
} }
U U
{ {
boundaryField boundaryField
{ {
wallFilm wallFilm
@ -44,10 +42,10 @@ dictionaryReplacement
value uniform (0 0 0); value uniform (0 0 0);
} }
} }
} }
"nut" "nut"
{ {
boundaryField boundaryField
{ {
wallFilm wallFilm
@ -55,10 +53,10 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
"alphat" "alphat"
{ {
boundaryField boundaryField
{ {
wallFilm wallFilm
@ -66,7 +64,6 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement alphat
{ {
alphat
{
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -31,9 +29,9 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
epsilon epsilon
{ {
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -47,9 +45,9 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
G G
{ {
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -63,9 +61,9 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
H2O H2O
{ {
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -79,9 +77,9 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
k k
{ {
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -95,9 +93,9 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
nut nut
{ {
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -111,9 +109,9 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
N2 N2
{ {
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -127,9 +125,9 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
O2 O2
{ {
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -143,9 +141,9 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
p p
{ {
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -159,9 +157,9 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
T T
{ {
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -175,9 +173,9 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
} }
U U
{ {
boundaryField boundaryField
{ {
cycLeft cycLeft
@ -191,7 +189,6 @@ dictionaryReplacement
value uniform (0 0 0); value uniform (0 0 0);
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -14,10 +14,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement p_rgh
{ {
p_rgh
{
boundaryField boundaryField
{ {
porous_half0 porous_half0
@ -41,7 +39,6 @@ dictionaryReplacement
value uniform 0; value uniform 0;
} }
} }
}
} }
// ************************************************************************* // // ************************************************************************* //