127 lines
2.8 KiB
C++
127 lines
2.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object changeDictionaryDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dictionaryReplacement
|
|
{
|
|
boundary
|
|
{
|
|
minX
|
|
{
|
|
type wall;
|
|
}
|
|
maxX
|
|
{
|
|
type wall;
|
|
}
|
|
}
|
|
|
|
U
|
|
{
|
|
internalField uniform (0.01 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type fixedValue;
|
|
value uniform (0 0 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
T
|
|
{
|
|
internalField uniform 300;
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
"bottomAir_to_.*"
|
|
{
|
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
|
neighbourFieldName T;
|
|
K basicThermo;
|
|
KName none;
|
|
value uniform 300;
|
|
}
|
|
}
|
|
}
|
|
|
|
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
|
|
{
|
|
".*"
|
|
{
|
|
type compressible::epsilonWallFunction;
|
|
value uniform 0.01;
|
|
}
|
|
}
|
|
}
|
|
|
|
k
|
|
{
|
|
internalField uniform 0.1;
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type compressible::kqRWallFunction;
|
|
value uniform 0.1;
|
|
}
|
|
}
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
internalField uniform 1e5;
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type buoyantPressure;
|
|
value uniform 1e5;
|
|
}
|
|
}
|
|
}
|
|
|
|
p
|
|
{
|
|
internalField uniform 1e5;
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type calculated;
|
|
value uniform 1e5;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|