151 lines
3.7 KiB
C++
151 lines
3.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object changeDictionaryDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dictionaryReplacement
|
|
{
|
|
U
|
|
{
|
|
internalField uniform (0.01 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type fixedValue;
|
|
value uniform (0 0 0);
|
|
}
|
|
minX
|
|
{
|
|
type fixedValue;
|
|
value uniform ( 0.01 0 0 );
|
|
}
|
|
maxX
|
|
{
|
|
type inletOutlet;
|
|
inletValue uniform ( 0 0 0 );
|
|
value uniform ( 0 0 0 );
|
|
}
|
|
}
|
|
}
|
|
|
|
T
|
|
{
|
|
internalField uniform 300;
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
minX
|
|
{
|
|
type fixedValue;
|
|
value uniform 300;
|
|
}
|
|
maxX
|
|
{
|
|
type inletOutlet;
|
|
inletValue uniform 300;
|
|
value uniform 300;
|
|
}
|
|
|
|
"topAir_to_.*"
|
|
{
|
|
type compressible::turbulentTemperatureCoupledBaffle;
|
|
neighbourFieldName T;
|
|
Kappa Kappa;
|
|
value uniform 300;
|
|
}
|
|
}
|
|
}
|
|
|
|
epsilon
|
|
{
|
|
internalField uniform 0.01;
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type compressible::epsilonWallFunction;
|
|
value uniform 0.01;
|
|
}
|
|
|
|
minX
|
|
{
|
|
type fixedValue;
|
|
value uniform 0.01;
|
|
}
|
|
maxX
|
|
{
|
|
type inletOutlet;
|
|
inletValue uniform 0.01;
|
|
value uniform 0.01;
|
|
}
|
|
}
|
|
}
|
|
|
|
k
|
|
{
|
|
internalField uniform 0.1;
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type compressible::kqRWallFunction;
|
|
value uniform 0.1;
|
|
}
|
|
|
|
minX
|
|
{
|
|
type fixedValue;
|
|
value uniform 0.1;
|
|
}
|
|
maxX
|
|
{
|
|
type inletOutlet;
|
|
inletValue uniform 0.1;
|
|
value uniform 0.1;
|
|
}
|
|
}
|
|
}
|
|
|
|
p
|
|
{
|
|
internalField uniform 100000;
|
|
|
|
boundaryField
|
|
{
|
|
".*"
|
|
{
|
|
type buoyantPressure;
|
|
value 1e5;
|
|
}
|
|
|
|
maxX
|
|
{
|
|
type fixedValue;
|
|
value uniform 100000;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|