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'
72 lines
2.0 KiB
C++
72 lines
2.0 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object changeDictionaryDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
boundary
|
|
{
|
|
minZ
|
|
{
|
|
type patch;
|
|
}
|
|
maxZ
|
|
{
|
|
type patch;
|
|
}
|
|
}
|
|
|
|
T
|
|
{
|
|
internalField uniform 300;
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type zeroGradient;
|
|
value uniform 300;
|
|
}
|
|
|
|
rightSolid_to_topAir
|
|
{
|
|
type compressible::turbulentTemperatureRadCoupledMixed;
|
|
Tnbr T;
|
|
kappaMethod solidThermo;
|
|
QrNbr Qr;
|
|
Qr none;
|
|
value uniform 300;
|
|
}
|
|
|
|
rightSolid_to_bottomAir
|
|
{
|
|
type compressible::turbulentTemperatureRadCoupledMixed;
|
|
Tnbr T;
|
|
kappaMethod solidThermo;
|
|
QrNbr Qr;
|
|
Qr none;
|
|
value uniform 300;
|
|
}
|
|
|
|
"rightSolid_to_.*"
|
|
{
|
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
|
Tnbr T;
|
|
kappaMethod solidThermo;
|
|
value uniform 300;
|
|
}
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|