mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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,21 +33,18 @@ 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
|
".*Wall" // entry to change
|
||||||
{
|
{
|
||||||
".*Wall" // entry to change
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type zeroGradient;
|
movingWall // entry to change
|
||||||
}
|
{
|
||||||
movingWall // entry to change
|
type fixedValue;
|
||||||
{
|
value uniform 123.45;
|
||||||
type fixedValue;
|
|
||||||
value uniform 123.45;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -56,17 +53,20 @@ Description
|
|||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,76 +14,73 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
".*"
|
||||||
|
{
|
||||||
|
type mappedPatch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
".*"
|
".*"
|
||||||
{
|
{
|
||||||
type mappedPatch;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
T
|
minY
|
||||||
{
|
|
||||||
internalField uniform 300;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type fixedValue;
|
||||||
{
|
value uniform 500;
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
minY
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 500;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
rho
|
|
||||||
{
|
|
||||||
internalField uniform 8000;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
".*"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
K
|
|
||||||
{
|
|
||||||
internalField uniform 80;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
".*"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
cp
|
|
||||||
{
|
|
||||||
internalField uniform 450;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
".*"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rho
|
||||||
|
{
|
||||||
|
internalField uniform 8000;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
K
|
||||||
|
{
|
||||||
|
internalField uniform 80;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
cp
|
||||||
|
{
|
||||||
|
internalField uniform 450;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -14,450 +14,447 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
p
|
||||||
{
|
{
|
||||||
p
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type zeroGradient;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type zeroGradient;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
U
|
U
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type fixedValue;
|
||||||
{
|
value uniform (0 0 0);
|
||||||
type fixedValue;
|
}
|
||||||
value uniform (0 0 0);
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type activePressureForceBaffleVelocity;
|
||||||
{
|
cyclicPatch baffleCyclic_half0;
|
||||||
type activePressureForceBaffleVelocity;
|
orientation 1;
|
||||||
cyclicPatch baffleCyclic_half0;
|
openingTime 0.01;
|
||||||
orientation 1;
|
maxOpenFractionDelta 0.1;
|
||||||
openingTime 0.01;
|
openFraction 0;
|
||||||
maxOpenFractionDelta 0.1;
|
minThresholdValue 8000;
|
||||||
openFraction 0;
|
forceBased 0;
|
||||||
minThresholdValue 8000;
|
value uniform (0 0 0);
|
||||||
forceBased 0;
|
}
|
||||||
value uniform (0 0 0);
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
epsilon
|
epsilon
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type epsilonWallFunction;
|
||||||
{
|
value uniform 0.1;
|
||||||
type epsilonWallFunction;
|
}
|
||||||
value uniform 0.1;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type epsilonWallFunction;
|
||||||
{
|
value uniform 1e-5;
|
||||||
type epsilonWallFunction;
|
}
|
||||||
value uniform 1e-5;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
k
|
k
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type kqRWallFunction;
|
||||||
{
|
value uniform 1.5;
|
||||||
type kqRWallFunction;
|
}
|
||||||
value uniform 1.5;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type kqRWallFunction;
|
||||||
{
|
value uniform 1.5;
|
||||||
type kqRWallFunction;
|
}
|
||||||
value uniform 1.5;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Su
|
Su
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type zeroGradient;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type zeroGradient;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Xi
|
Xi
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform 1;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 1;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform 1;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 1;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
T
|
T
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform 300;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 300;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform 300;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 300;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Tu
|
Tu
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform 300;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 300;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform 300;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 300;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
b
|
b
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform 1;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 1;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform 1;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 1;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ft
|
ft
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type zeroGradient;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform 0.06024096;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 0.06024096;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Aw
|
Aw
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform 0.0;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 0.0;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform 0.0;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 0.0;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
B
|
}
|
||||||
|
B
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform (0 0 0 0 0 0);
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform (0 0 0 0 0 0);
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform (0 0 0 0 0 0);
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform (0 0 0 0 0 0);
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
betav
|
}
|
||||||
|
betav
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform 0;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 0;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform 0;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 0;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CR
|
}
|
||||||
|
CR
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform (0 0 0 0 0 0);
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform (0 0 0 0 0 0);
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform (0 0 0 0 0 0);
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform (0 0 0 0 0 0);
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CT
|
}
|
||||||
|
CT
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform (0 0 0 0 0 0);
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform (0 0 0 0 0 0);
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform (0 0 0 0 0 0);
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform (0 0 0 0 0 0);
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Nv
|
}
|
||||||
|
Nv
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform 0;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 0;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform 0;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 0;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nsv
|
}
|
||||||
|
nsv
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform (0 0 0 0 0 0);
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform (0 0 0 0 0 0);
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform (0 0 0 0 0 0);
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform (0 0 0 0 0 0);
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Lobs
|
}
|
||||||
|
Lobs
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
blockedFaces
|
||||||
{
|
{
|
||||||
blockedFaces
|
type zeroGradient;
|
||||||
{
|
value uniform 0;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 0;
|
baffleWall
|
||||||
}
|
{
|
||||||
baffleWall
|
type zeroGradient;
|
||||||
{
|
value uniform 0;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 0;
|
baffleCyclic_half0
|
||||||
}
|
{
|
||||||
baffleCyclic_half0
|
type cyclic;
|
||||||
{
|
}
|
||||||
type cyclic;
|
baffleCyclic_half1
|
||||||
}
|
{
|
||||||
baffleCyclic_half1
|
type cyclic;
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -14,157 +14,154 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
U
|
||||||
{
|
{
|
||||||
U
|
internalField uniform (0.001 0 0);
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform (0.001 0 0);
|
minX
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
minX
|
type fixedValue;
|
||||||
{
|
value uniform (0.001 0 0);
|
||||||
type fixedValue;
|
}
|
||||||
value uniform (0.001 0 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform (0 0 0);
|
inletValue uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
".*"
|
".*"
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
T
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
minX
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
minX
|
type fixedValue;
|
||||||
{
|
value uniform 300;
|
||||||
type fixedValue;
|
}
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 300;
|
inletValue uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
".*"
|
".*"
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
"bottomWater_to_.*"
|
"bottomWater_to_.*"
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod fluidThermo;
|
kappaMethod fluidThermo;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
epsilon
|
epsilon
|
||||||
|
{
|
||||||
|
internalField uniform 0.01;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.01;
|
minX
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
minX
|
type fixedValue;
|
||||||
{
|
value uniform 0.01;
|
||||||
type fixedValue;
|
}
|
||||||
value uniform 0.01;
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 0.01;
|
inletValue uniform 0.01;
|
||||||
}
|
}
|
||||||
|
|
||||||
".*"
|
".*"
|
||||||
{
|
{
|
||||||
type epsilonWallFunction;
|
type epsilonWallFunction;
|
||||||
value uniform 0.01;
|
value uniform 0.01;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
k
|
k
|
||||||
|
{
|
||||||
|
internalField uniform 0.1;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.1;
|
minX
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
minX
|
type inletOutlet;
|
||||||
{
|
inletValue uniform 0.1;
|
||||||
type inletOutlet;
|
}
|
||||||
inletValue uniform 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
value uniform 0.1;
|
value uniform 0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
".*"
|
".*"
|
||||||
{
|
{
|
||||||
type kqRWallFunction;
|
type kqRWallFunction;
|
||||||
value uniform 0.1;
|
value uniform 0.1;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p_rgh
|
p_rgh
|
||||||
|
{
|
||||||
|
internalField uniform 0;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0;
|
minX
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
minX
|
type zeroGradient;
|
||||||
{
|
value uniform 0;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
".*"
|
".*"
|
||||||
{
|
{
|
||||||
type fixedFluxPressure;
|
type fixedFluxPressure;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p
|
p
|
||||||
|
{
|
||||||
|
internalField uniform 0;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type calculated;
|
||||||
{
|
value uniform 0;
|
||||||
type calculated;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,58 +14,55 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minY
|
||||||
{
|
{
|
||||||
|
type patch;
|
||||||
|
}
|
||||||
|
minZ
|
||||||
|
{
|
||||||
|
type patch;
|
||||||
|
}
|
||||||
|
maxZ
|
||||||
|
{
|
||||||
|
type patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
value uniform 300;
|
||||||
|
}
|
||||||
|
"heater_to_.*"
|
||||||
|
{
|
||||||
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
|
Tnbr T;
|
||||||
|
kappaMethod solidThermo;
|
||||||
|
value uniform 300;
|
||||||
|
}
|
||||||
|
|
||||||
|
heater_to_leftSolid
|
||||||
|
{
|
||||||
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
|
Tnbr T;
|
||||||
|
kappaMethod solidThermo;
|
||||||
|
thicknessLayers (1e-3);
|
||||||
|
kappaLayers (5e-4);
|
||||||
|
value uniform 300;
|
||||||
|
}
|
||||||
|
|
||||||
minY
|
minY
|
||||||
{
|
{
|
||||||
type patch;
|
type fixedValue;
|
||||||
}
|
value uniform 500;
|
||||||
minZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
maxZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
T
|
|
||||||
{
|
|
||||||
internalField uniform 300;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
".*"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
"heater_to_.*"
|
|
||||||
{
|
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
|
||||||
Tnbr T;
|
|
||||||
kappaMethod solidThermo;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
heater_to_leftSolid
|
|
||||||
{
|
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
|
||||||
Tnbr T;
|
|
||||||
kappaMethod solidThermo;
|
|
||||||
thicknessLayers (1e-3);
|
|
||||||
kappaLayers (5e-4);
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
minY
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 500;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,48 +14,45 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minZ
|
||||||
{
|
{
|
||||||
minZ
|
type patch;
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
maxZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
maxZ
|
||||||
T
|
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
type patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
boundaryField
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
value uniform 300;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 300;
|
"leftSolid_to_.*"
|
||||||
}
|
{
|
||||||
"leftSolid_to_.*"
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
{
|
Tnbr T;
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
kappaMethod solidThermo;
|
||||||
Tnbr T;
|
value uniform 300;
|
||||||
kappaMethod solidThermo;
|
}
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
leftSolid_to_heater
|
leftSolid_to_heater
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod solidThermo;
|
kappaMethod solidThermo;
|
||||||
thicknessLayers (1e-3);
|
thicknessLayers (1e-3);
|
||||||
kappaLayers (5e-4);
|
kappaLayers (5e-4);
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,38 +14,35 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minZ
|
||||||
{
|
{
|
||||||
minZ
|
type patch;
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
maxZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
maxZ
|
||||||
T
|
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
type patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
boundaryField
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
value uniform 300;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 300;
|
"rightSolid_to_.*"
|
||||||
}
|
{
|
||||||
"rightSolid_to_.*"
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
{
|
Tnbr T;
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
kappaMethod solidThermo;
|
||||||
Tnbr T;
|
value uniform 300;
|
||||||
kappaMethod solidThermo;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,155 +14,152 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
U
|
||||||
{
|
{
|
||||||
U
|
internalField uniform (0.1 0 0);
|
||||||
{
|
|
||||||
internalField uniform (0.1 0 0);
|
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
{
|
{
|
||||||
".*"
|
type fixedValue;
|
||||||
{
|
value uniform (0 0 0);
|
||||||
type fixedValue;
|
}
|
||||||
value uniform (0 0 0);
|
minX
|
||||||
}
|
{
|
||||||
minX
|
type fixedValue;
|
||||||
{
|
value uniform (0.1 0 0);
|
||||||
type fixedValue;
|
}
|
||||||
value uniform (0.1 0 0);
|
maxX
|
||||||
}
|
{
|
||||||
maxX
|
type inletOutlet;
|
||||||
{
|
inletValue uniform (0 0 0);
|
||||||
type inletOutlet;
|
value uniform (0.1 0 0);
|
||||||
inletValue uniform (0 0 0);
|
|
||||||
value uniform (0.1 0 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
T
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
minX
|
minX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 300;
|
inletValue uniform 300;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
"topAir_to_.*"
|
"topAir_to_.*"
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod fluidThermo;
|
kappaMethod fluidThermo;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
epsilon
|
epsilon
|
||||||
|
{
|
||||||
|
internalField uniform 0.01;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.01;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type epsilonWallFunction;
|
||||||
{
|
value uniform 0.01;
|
||||||
type epsilonWallFunction;
|
}
|
||||||
value uniform 0.01;
|
|
||||||
}
|
|
||||||
|
|
||||||
minX
|
minX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0.01;
|
value uniform 0.01;
|
||||||
}
|
}
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 0.01;
|
inletValue uniform 0.01;
|
||||||
value uniform 0.01;
|
value uniform 0.01;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
k
|
k
|
||||||
|
{
|
||||||
|
internalField uniform 0.1;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.1;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type kqRWallFunction;
|
||||||
{
|
value uniform 0.1;
|
||||||
type kqRWallFunction;
|
}
|
||||||
value uniform 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
minX
|
minX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0.1;
|
value uniform 0.1;
|
||||||
}
|
}
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 0.1;
|
inletValue uniform 0.1;
|
||||||
value uniform 0.1;
|
value uniform 0.1;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p_rgh
|
p_rgh
|
||||||
|
{
|
||||||
|
internalField uniform 1e5;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 1e5;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type fixedFluxPressure;
|
||||||
{
|
value uniform 1e5;
|
||||||
type fixedFluxPressure;
|
}
|
||||||
value uniform 1e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 1e5;
|
value uniform 1e5;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p
|
p
|
||||||
|
{
|
||||||
|
internalField uniform 1e5;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 1e5;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type calculated;
|
||||||
{
|
value uniform 1e5;
|
||||||
type calculated;
|
}
|
||||||
value uniform 1e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type calculated;
|
type calculated;
|
||||||
value uniform 1e5;
|
value uniform 1e5;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,110 +14,107 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minX
|
||||||
{
|
{
|
||||||
minX
|
type wall;
|
||||||
|
}
|
||||||
|
maxX
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
U
|
||||||
|
{
|
||||||
|
internalField uniform (0.01 0 0);
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
{
|
{
|
||||||
type wall;
|
type fixedValue;
|
||||||
}
|
value uniform (0 0 0);
|
||||||
maxX
|
|
||||||
{
|
|
||||||
type wall;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
U
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform (0.01 0 0);
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type fixedValue;
|
|
||||||
value uniform (0 0 0);
|
"bottomAir_to_.*"
|
||||||
}
|
{
|
||||||
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
|
Tnbr T;
|
||||||
|
kappaMethod fluidThermo;
|
||||||
|
value uniform 300;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
T
|
epsilon
|
||||||
|
{
|
||||||
|
// Set the value on all bc to non-zero. Not used in simulation
|
||||||
|
// since zeroGradient; only used in initialisation.
|
||||||
|
internalField uniform 0.01;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type epsilonWallFunction;
|
||||||
{
|
value uniform 0.01;
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
"bottomAir_to_.*"
|
|
||||||
{
|
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
|
||||||
Tnbr T;
|
|
||||||
kappaMethod fluidThermo;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
epsilon
|
k
|
||||||
|
{
|
||||||
|
internalField uniform 0.1;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
// Set the value on all bc to non-zero. Not used in simulation
|
".*"
|
||||||
// since zeroGradient; only used in initialisation.
|
|
||||||
internalField uniform 0.01;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type kqRWallFunction;
|
||||||
{
|
value uniform 0.1;
|
||||||
type epsilonWallFunction;
|
|
||||||
value uniform 0.01;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
k
|
p_rgh
|
||||||
|
{
|
||||||
|
internalField uniform 1e5;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.1;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type fixedFluxPressure;
|
||||||
{
|
value uniform 1e5;
|
||||||
type kqRWallFunction;
|
|
||||||
value uniform 0.1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p_rgh
|
p
|
||||||
|
{
|
||||||
|
internalField uniform 1e5;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 1e5;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type calculated;
|
||||||
{
|
value uniform 1e5;
|
||||||
type fixedFluxPressure;
|
|
||||||
value uniform 1e5;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
p
|
|
||||||
{
|
|
||||||
internalField uniform 1e5;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
".*"
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
value uniform 1e5;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,47 +14,44 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minY
|
||||||
{
|
{
|
||||||
|
type patch;
|
||||||
|
}
|
||||||
|
minZ
|
||||||
|
{
|
||||||
|
type patch;
|
||||||
|
}
|
||||||
|
maxZ
|
||||||
|
{
|
||||||
|
type patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
value uniform 300;
|
||||||
|
}
|
||||||
|
"heater_to_.*"
|
||||||
|
{
|
||||||
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
|
Tnbr T;
|
||||||
|
kappaMethod solidThermo;
|
||||||
|
value uniform 300;
|
||||||
|
}
|
||||||
minY
|
minY
|
||||||
{
|
{
|
||||||
type patch;
|
type fixedValue;
|
||||||
}
|
value uniform 500;
|
||||||
minZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
maxZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
T
|
|
||||||
{
|
|
||||||
internalField uniform 300;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
".*"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
"heater_to_.*"
|
|
||||||
{
|
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
|
||||||
Tnbr T;
|
|
||||||
kappaMethod solidThermo;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
minY
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 500;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,38 +14,35 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minZ
|
||||||
{
|
{
|
||||||
minZ
|
type patch;
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
maxZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
maxZ
|
||||||
T
|
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
type patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
boundaryField
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
value uniform 300;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 300;
|
"leftSolid_to_.*"
|
||||||
}
|
{
|
||||||
"leftSolid_to_.*"
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
{
|
Tnbr T;
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
kappaMethod solidThermo;
|
||||||
Tnbr T;
|
value uniform 300;
|
||||||
kappaMethod solidThermo;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,38 +14,35 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minZ
|
||||||
{
|
{
|
||||||
minZ
|
type patch;
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
maxZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
maxZ
|
||||||
T
|
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
type patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
boundaryField
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
value uniform 300;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 300;
|
"rightSolid_to_.*"
|
||||||
}
|
{
|
||||||
"rightSolid_to_.*"
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
{
|
Tnbr T;
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
kappaMethod solidThermo;
|
||||||
Tnbr T;
|
value uniform 300;
|
||||||
kappaMethod solidThermo;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,155 +14,152 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
U
|
||||||
{
|
{
|
||||||
U
|
internalField uniform (0.1 0 0);
|
||||||
{
|
|
||||||
internalField uniform (0.1 0 0);
|
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
{
|
{
|
||||||
".*"
|
type fixedValue;
|
||||||
{
|
value uniform (0 0 0);
|
||||||
type fixedValue;
|
}
|
||||||
value uniform (0 0 0);
|
minX
|
||||||
}
|
{
|
||||||
minX
|
type fixedValue;
|
||||||
{
|
value uniform (0.1 0 0);
|
||||||
type fixedValue;
|
}
|
||||||
value uniform (0.1 0 0);
|
maxX
|
||||||
}
|
{
|
||||||
maxX
|
type inletOutlet;
|
||||||
{
|
inletValue uniform (0 0 0);
|
||||||
type inletOutlet;
|
value uniform (0.1 0 0);
|
||||||
inletValue uniform (0 0 0);
|
|
||||||
value uniform (0.1 0 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
T
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
minX
|
minX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 300;
|
inletValue uniform 300;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
"topAir_to_.*"
|
"topAir_to_.*"
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod fluidThermo;
|
kappaMethod fluidThermo;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
epsilon
|
epsilon
|
||||||
|
{
|
||||||
|
internalField uniform 0.01;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.01;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type epsilonWallFunction;
|
||||||
{
|
value uniform 0.01;
|
||||||
type epsilonWallFunction;
|
}
|
||||||
value uniform 0.01;
|
|
||||||
}
|
|
||||||
|
|
||||||
minX
|
minX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0.01;
|
value uniform 0.01;
|
||||||
}
|
}
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 0.01;
|
inletValue uniform 0.01;
|
||||||
value uniform 0.01;
|
value uniform 0.01;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
k
|
k
|
||||||
|
{
|
||||||
|
internalField uniform 0.1;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.1;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type kqRWallFunction;
|
||||||
{
|
value uniform 0.1;
|
||||||
type kqRWallFunction;
|
}
|
||||||
value uniform 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
minX
|
minX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0.1;
|
value uniform 0.1;
|
||||||
}
|
}
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 0.1;
|
inletValue uniform 0.1;
|
||||||
value uniform 0.1;
|
value uniform 0.1;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p_rgh
|
p_rgh
|
||||||
|
{
|
||||||
|
internalField uniform 1e5;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 1e5;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type fixedFluxPressure;
|
||||||
{
|
value uniform 1e5;
|
||||||
type fixedFluxPressure;
|
}
|
||||||
value uniform 1e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 1e5;
|
value uniform 1e5;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p
|
p
|
||||||
|
{
|
||||||
|
internalField uniform 1e5;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 1e5;
|
".*"
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type calculated;
|
||||||
{
|
value uniform 1e5;
|
||||||
type calculated;
|
}
|
||||||
value uniform 1e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type calculated;
|
type calculated;
|
||||||
value uniform 1e5;
|
value uniform 1e5;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,176 +14,171 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minX
|
||||||
{
|
{
|
||||||
minX
|
type wall;
|
||||||
|
}
|
||||||
|
maxX
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
U
|
||||||
|
{
|
||||||
|
internalField uniform (0.01 0 0);
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
{
|
{
|
||||||
type wall;
|
type fixedValue;
|
||||||
}
|
value uniform (0 0 0);
|
||||||
maxX
|
|
||||||
{
|
|
||||||
type wall;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
U
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform (0.01 0 0);
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type fixedValue;
|
|
||||||
value uniform (0 0 0);
|
"bottomAir_to_.*"
|
||||||
}
|
{
|
||||||
|
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||||
|
Tnbr T;
|
||||||
|
kappaMethod fluidThermo;
|
||||||
|
QrNbr none;
|
||||||
|
Qr Qr;
|
||||||
|
value uniform 300;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
T
|
epsilon
|
||||||
|
{
|
||||||
|
internalField uniform 0.01;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type epsilonWallFunction;
|
||||||
{
|
value uniform 0.01;
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
"bottomAir_to_.*"
|
|
||||||
{
|
|
||||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
|
||||||
Tnbr T;
|
|
||||||
kappaMethod fluidThermo;
|
|
||||||
QrNbr none;
|
|
||||||
Qr Qr;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
epsilon
|
k
|
||||||
|
{
|
||||||
|
internalField uniform 0.1;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.01;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type kqRWallFunction;
|
||||||
{
|
value uniform 0.1;
|
||||||
type epsilonWallFunction;
|
|
||||||
value uniform 0.01;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
k
|
p_rgh
|
||||||
|
{
|
||||||
|
internalField uniform 1e5;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.1;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type fixedFluxPressure;
|
||||||
{
|
value uniform 1e5;
|
||||||
type kqRWallFunction;
|
|
||||||
value uniform 0.1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p_rgh
|
p
|
||||||
|
{
|
||||||
|
internalField uniform 1e5;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 1e5;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type calculated;
|
||||||
{
|
value uniform 1e5;
|
||||||
type fixedFluxPressure;
|
|
||||||
value uniform 1e5;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p
|
Qr
|
||||||
|
{
|
||||||
|
internalField uniform 0;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 1e5;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type greyDiffusiveRadiationViewFactor;
|
||||||
{
|
emissivityMode lookup;
|
||||||
type calculated;
|
Qro uniform 0;
|
||||||
value uniform 1e5;
|
emissivity uniform 1.0;
|
||||||
}
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
"bottomAir_to_.*"
|
||||||
|
{
|
||||||
|
type greyDiffusiveRadiationViewFactor;
|
||||||
|
emissivityMode solidRadiation;
|
||||||
|
Qro uniform 0;
|
||||||
|
value uniform 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Qr
|
G
|
||||||
|
{
|
||||||
|
internalField uniform 0;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type MarshakRadiation;
|
||||||
{
|
emissivityMode lookup;
|
||||||
type greyDiffusiveRadiationViewFactor;
|
emissivity uniform 1.0;
|
||||||
emissivityMode lookup;
|
value uniform 0;
|
||||||
Qro uniform 0;
|
}
|
||||||
emissivity uniform 1.0;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
"bottomAir_to_.*"
|
"bottomAir_to_.*"
|
||||||
{
|
{
|
||||||
type greyDiffusiveRadiationViewFactor;
|
type MarshakRadiation;
|
||||||
emissivityMode solidRadiation;
|
emissivityMode solidRadiation;
|
||||||
Qro uniform 0;
|
value uniform 0;
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
G
|
IDefault
|
||||||
|
{
|
||||||
|
internalField uniform 0;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type greyDiffusiveRadiation;
|
||||||
{
|
emissivityMode lookup;
|
||||||
type MarshakRadiation;
|
emissivity uniform 1.0;
|
||||||
emissivityMode lookup;
|
value uniform 0;
|
||||||
emissivity uniform 1.0;
|
}
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
"bottomAir_to_.*"
|
"bottomAir_to_.*"
|
||||||
{
|
{
|
||||||
type MarshakRadiation;
|
type greyDiffusiveRadiation;
|
||||||
emissivityMode solidRadiation;
|
emissivityMode solidRadiation;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IDefault
|
|
||||||
{
|
|
||||||
internalField uniform 0;
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
".*"
|
|
||||||
{
|
|
||||||
type greyDiffusiveRadiation;
|
|
||||||
emissivityMode lookup;
|
|
||||||
emissivity uniform 1.0;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
"bottomAir_to_.*"
|
|
||||||
{
|
|
||||||
type greyDiffusiveRadiation;
|
|
||||||
emissivityMode solidRadiation;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -14,68 +14,65 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minY
|
||||||
{
|
{
|
||||||
|
type patch;
|
||||||
|
}
|
||||||
|
minZ
|
||||||
|
{
|
||||||
|
type patch;
|
||||||
|
}
|
||||||
|
maxZ
|
||||||
|
{
|
||||||
|
type patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
value uniform 300;
|
||||||
|
}
|
||||||
|
|
||||||
|
heater_to_topAir
|
||||||
|
{
|
||||||
|
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||||
|
Tnbr T;
|
||||||
|
kappaMethod solidThermo;
|
||||||
|
QrNbr Qr;
|
||||||
|
Qr none;
|
||||||
|
value uniform 300;
|
||||||
|
}
|
||||||
|
|
||||||
|
heater_to_bottomAir
|
||||||
|
{
|
||||||
|
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||||
|
Tnbr T;
|
||||||
|
kappaMethod solidThermo;
|
||||||
|
QrNbr Qr;
|
||||||
|
Qr none;
|
||||||
|
value uniform 300;
|
||||||
|
}
|
||||||
|
|
||||||
|
"heater_to_.*"
|
||||||
|
{
|
||||||
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
|
Tnbr T;
|
||||||
|
kappaMethod solidThermo;
|
||||||
|
value uniform 300;
|
||||||
|
}
|
||||||
minY
|
minY
|
||||||
{
|
{
|
||||||
type patch;
|
type fixedValue;
|
||||||
}
|
value uniform 500;
|
||||||
minZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
maxZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
T
|
|
||||||
{
|
|
||||||
internalField uniform 300;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
".*"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
heater_to_topAir
|
|
||||||
{
|
|
||||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
|
||||||
Tnbr T;
|
|
||||||
kappaMethod solidThermo;
|
|
||||||
QrNbr Qr;
|
|
||||||
Qr none;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
heater_to_bottomAir
|
|
||||||
{
|
|
||||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
|
||||||
Tnbr T;
|
|
||||||
kappaMethod solidThermo;
|
|
||||||
QrNbr Qr;
|
|
||||||
Qr none;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
"heater_to_.*"
|
|
||||||
{
|
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
|
||||||
Tnbr T;
|
|
||||||
kappaMethod solidThermo;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
minY
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 500;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,59 +14,56 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minZ
|
||||||
{
|
{
|
||||||
minZ
|
type patch;
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
maxZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
maxZ
|
||||||
T
|
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
type patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
boundaryField
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
value uniform 300;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
leftSolid_to_topAir
|
leftSolid_to_topAir
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod solidThermo;
|
kappaMethod solidThermo;
|
||||||
QrNbr Qr;
|
QrNbr Qr;
|
||||||
Qr none;
|
Qr none;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
leftSolid_to_bottomAir
|
leftSolid_to_bottomAir
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod solidThermo;
|
kappaMethod solidThermo;
|
||||||
QrNbr Qr;
|
QrNbr Qr;
|
||||||
Qr none;
|
Qr none;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
"leftSolid_to_.*"
|
"leftSolid_to_.*"
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod solidThermo;
|
kappaMethod solidThermo;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,59 +14,56 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
boundary
|
||||||
{
|
{
|
||||||
boundary
|
minZ
|
||||||
{
|
{
|
||||||
minZ
|
type patch;
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
maxZ
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
maxZ
|
||||||
T
|
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
type patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
boundaryField
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
".*"
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
value uniform 300;
|
||||||
type zeroGradient;
|
}
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
rightSolid_to_topAir
|
rightSolid_to_topAir
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod solidThermo;
|
kappaMethod solidThermo;
|
||||||
QrNbr Qr;
|
QrNbr Qr;
|
||||||
Qr none;
|
Qr none;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
rightSolid_to_bottomAir
|
rightSolid_to_bottomAir
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod solidThermo;
|
kappaMethod solidThermo;
|
||||||
QrNbr Qr;
|
QrNbr Qr;
|
||||||
Qr none;
|
Qr none;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
"rightSolid_to_.*"
|
"rightSolid_to_.*"
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod solidThermo;
|
kappaMethod solidThermo;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,219 +14,216 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
U
|
||||||
{
|
{
|
||||||
U
|
internalField uniform (0.1 0 0);
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform (0.1 0 0);
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type fixedValue;
|
||||||
{
|
value uniform (0 0 0);
|
||||||
type fixedValue;
|
}
|
||||||
value uniform (0 0 0);
|
minX
|
||||||
}
|
{
|
||||||
minX
|
type fixedValue;
|
||||||
{
|
value uniform (0.1 0 0);
|
||||||
type fixedValue;
|
}
|
||||||
value uniform (0.1 0 0);
|
maxX
|
||||||
}
|
{
|
||||||
maxX
|
type inletOutlet;
|
||||||
{
|
inletValue uniform (0 0 0);
|
||||||
type inletOutlet;
|
value uniform (0.1 0 0);
|
||||||
inletValue uniform (0 0 0);
|
|
||||||
value uniform (0.1 0 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
T
|
T
|
||||||
|
{
|
||||||
|
internalField uniform 300;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 300;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type zeroGradient;
|
||||||
{
|
}
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
minX
|
minX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 300;
|
inletValue uniform 300;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
"topAir_to_.*"
|
"topAir_to_.*"
|
||||||
{
|
{
|
||||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappaMethod fluidThermo;
|
kappaMethod fluidThermo;
|
||||||
QrNbr none;
|
QrNbr none;
|
||||||
Qr Qr;
|
Qr Qr;
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
epsilon
|
epsilon
|
||||||
|
{
|
||||||
|
internalField uniform 0.01;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.01;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type epsilonWallFunction;
|
||||||
{
|
value uniform 0.01;
|
||||||
type epsilonWallFunction;
|
}
|
||||||
value uniform 0.01;
|
|
||||||
}
|
|
||||||
|
|
||||||
minX
|
minX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0.01;
|
value uniform 0.01;
|
||||||
}
|
}
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 0.01;
|
inletValue uniform 0.01;
|
||||||
value uniform 0.01;
|
value uniform 0.01;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
k
|
k
|
||||||
|
{
|
||||||
|
internalField uniform 0.1;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0.1;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type kqRWallFunction;
|
||||||
{
|
value uniform 0.1;
|
||||||
type kqRWallFunction;
|
}
|
||||||
value uniform 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
minX
|
minX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0.1;
|
value uniform 0.1;
|
||||||
}
|
}
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 0.1;
|
inletValue uniform 0.1;
|
||||||
value uniform 0.1;
|
value uniform 0.1;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p_rgh
|
p_rgh
|
||||||
|
{
|
||||||
|
internalField uniform 1e5;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 1e5;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type fixedFluxPressure;
|
||||||
{
|
value uniform 1e5;
|
||||||
type fixedFluxPressure;
|
}
|
||||||
value uniform 1e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 1e5;
|
value uniform 1e5;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p
|
p
|
||||||
|
{
|
||||||
|
internalField uniform 1e5;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 1e5;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type calculated;
|
||||||
{
|
value uniform 1e5;
|
||||||
type calculated;
|
}
|
||||||
value uniform 1e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
maxX
|
maxX
|
||||||
{
|
{
|
||||||
type calculated;
|
type calculated;
|
||||||
value uniform 1e5;
|
value uniform 1e5;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Qr
|
Qr
|
||||||
|
{
|
||||||
|
internalField uniform 0;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type greyDiffusiveRadiationViewFactor;
|
||||||
{
|
emissivityMode lookup;
|
||||||
type greyDiffusiveRadiationViewFactor;
|
Qro uniform 0;
|
||||||
emissivityMode lookup;
|
emissivity uniform 1.0;
|
||||||
Qro uniform 0;
|
value uniform 0;
|
||||||
emissivity uniform 1.0;
|
}
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
"topAir_to_.*"
|
"topAir_to_.*"
|
||||||
{
|
{
|
||||||
type greyDiffusiveRadiationViewFactor;
|
type greyDiffusiveRadiationViewFactor;
|
||||||
emissivityMode solidRadiation;
|
emissivityMode solidRadiation;
|
||||||
Qro uniform 0;
|
Qro uniform 0;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
G
|
G
|
||||||
|
{
|
||||||
|
internalField uniform 0;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type MarshakRadiation;
|
||||||
{
|
emissivityMode lookup;
|
||||||
type MarshakRadiation;
|
emissivity uniform 1.0;
|
||||||
emissivityMode lookup;
|
value uniform 0;
|
||||||
emissivity uniform 1.0;
|
}
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
"topAir_to_.*"
|
"topAir_to_.*"
|
||||||
{
|
{
|
||||||
type MarshakRadiation;
|
type MarshakRadiation;
|
||||||
emissivityMode solidRadiation;
|
emissivityMode solidRadiation;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
IDefault
|
IDefault
|
||||||
|
{
|
||||||
|
internalField uniform 0;
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
internalField uniform 0;
|
".*"
|
||||||
boundaryField
|
|
||||||
{
|
{
|
||||||
".*"
|
type greyDiffusiveRadiation;
|
||||||
{
|
emissivityMode lookup;
|
||||||
type greyDiffusiveRadiation;
|
emissivity uniform 1.0;
|
||||||
emissivityMode lookup;
|
value uniform 0;
|
||||||
emissivity uniform 1.0;
|
}
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
"topAir_to_.*"
|
"topAir_to_.*"
|
||||||
{
|
{
|
||||||
type greyDiffusiveRadiation;
|
type greyDiffusiveRadiation;
|
||||||
emissivityMode solidRadiation;
|
emissivityMode solidRadiation;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -14,57 +14,54 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
T
|
||||||
{
|
{
|
||||||
T
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
wallFilm
|
||||||
{
|
{
|
||||||
wallFilm
|
type mapped;
|
||||||
{
|
field Tsf;
|
||||||
type mapped;
|
average 300;
|
||||||
field Tsf;
|
setAverage no;
|
||||||
average 300;
|
value uniform 300;
|
||||||
setAverage no;
|
|
||||||
value uniform 300;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
U
|
U
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
wallFilm
|
||||||
{
|
{
|
||||||
wallFilm
|
type mapped;
|
||||||
{
|
field Usf;
|
||||||
type mapped;
|
average (0 0 0);
|
||||||
field Usf;
|
setAverage no;
|
||||||
average (0 0 0);
|
value uniform (0 0 0);
|
||||||
setAverage no;
|
|
||||||
value uniform (0 0 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
"nut"
|
"nut"
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
wallFilm
|
||||||
{
|
{
|
||||||
wallFilm
|
value uniform 0;
|
||||||
{
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
"alphat"
|
"alphat"
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
wallFilm
|
||||||
{
|
{
|
||||||
wallFilm
|
value uniform 0;
|
||||||
{
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,182 +14,179 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
alphat
|
||||||
{
|
{
|
||||||
alphat
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
}
|
||||||
value uniform 0;
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
epsilon
|
}
|
||||||
|
epsilon
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
}
|
||||||
value uniform 0;
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
G
|
}
|
||||||
|
G
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
}
|
||||||
value uniform 0;
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
H2O
|
}
|
||||||
|
H2O
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
}
|
||||||
value uniform 0;
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
k
|
}
|
||||||
|
k
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
}
|
||||||
value uniform 0;
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nut
|
}
|
||||||
|
nut
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
}
|
||||||
value uniform 0;
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
N2
|
}
|
||||||
|
N2
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
}
|
||||||
value uniform 0;
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
O2
|
}
|
||||||
|
O2
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
}
|
||||||
value uniform 0;
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
p
|
}
|
||||||
|
p
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
}
|
||||||
value uniform 0;
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
T
|
}
|
||||||
|
T
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
}
|
||||||
value uniform 0;
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform 0;
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
U
|
}
|
||||||
|
U
|
||||||
|
{
|
||||||
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
cycLeft
|
||||||
{
|
{
|
||||||
cycLeft
|
type cyclic;
|
||||||
{
|
value uniform (0 0 0);
|
||||||
type cyclic;
|
}
|
||||||
value uniform (0 0 0);
|
cycRight
|
||||||
}
|
{
|
||||||
cycRight
|
type cyclic;
|
||||||
{
|
value uniform (0 0 0);
|
||||||
type cyclic;
|
|
||||||
value uniform (0 0 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,32 +14,29 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dictionaryReplacement
|
p_rgh
|
||||||
{
|
{
|
||||||
p_rgh
|
boundaryField
|
||||||
{
|
{
|
||||||
boundaryField
|
porous_half0
|
||||||
{
|
{
|
||||||
porous_half0
|
type porousBafflePressure;
|
||||||
{
|
patchType cyclic;
|
||||||
type porousBafflePressure;
|
D 700;
|
||||||
patchType cyclic;
|
I 500;
|
||||||
D 700;
|
length 1.05;
|
||||||
I 500;
|
jump uniform 0;
|
||||||
length 1.05;
|
value uniform 0;
|
||||||
jump uniform 0;
|
}
|
||||||
value uniform 0;
|
porous_half1
|
||||||
}
|
{
|
||||||
porous_half1
|
type porousBafflePressure;
|
||||||
{
|
patchType cyclic;
|
||||||
type porousBafflePressure;
|
D 700;
|
||||||
patchType cyclic;
|
I 500;
|
||||||
D 700;
|
length 1.05;
|
||||||
I 500;
|
jump uniform 0;
|
||||||
length 1.05;
|
value uniform 0;
|
||||||
jump uniform 0;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user