2010-11-24 23:08:12 +00:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
|
|
|
| ========= | |
|
2013-12-11 16:09:41 +00:00
|
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
2018-05-29 07:35:20 +00:00
|
|
|
| \\ / O peration | Version: 4.1 |
|
2015-05-17 13:55:59 +00:00
|
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
2010-11-24 23:08:12 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object changeDictionaryDict;
|
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
dictionaryReplacement
|
|
|
|
{
|
|
|
|
U
|
|
|
|
{
|
|
|
|
internalField uniform ( 0.01 0 0 );
|
|
|
|
boundaryField
|
|
|
|
{
|
|
|
|
minX
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value uniform (0.01 0 0);
|
|
|
|
}
|
|
|
|
maxX
|
|
|
|
{
|
|
|
|
type inletOutlet;
|
|
|
|
inletValue uniform (0 0 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
maxY
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value uniform (0 0 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
minZ
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value uniform (0 0 0);
|
|
|
|
}
|
|
|
|
maxZ
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value uniform (0 0 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
topAir_to_leftSolid
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value uniform (0 0 0);
|
|
|
|
|
|
|
|
}
|
|
|
|
topAir_to_heater
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value uniform (0 0 0);
|
|
|
|
}
|
|
|
|
topAir_to_rightSolid
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value uniform (0 0 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
T
|
|
|
|
{
|
|
|
|
internalField uniform 300;
|
|
|
|
|
|
|
|
boundaryField
|
|
|
|
{
|
|
|
|
maxY
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
minX
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
maxX
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
minZ
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
maxZ
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
topAir_to_leftSolid
|
|
|
|
{
|
|
|
|
type solidWallMixedTemperatureCoupled;
|
|
|
|
neighbourFieldName T;
|
2015-08-05 11:34:57 +00:00
|
|
|
Kappa Kappa;
|
2010-11-24 23:08:12 +00:00
|
|
|
value $internalField;
|
|
|
|
|
|
|
|
}
|
|
|
|
topAir_to_heater
|
|
|
|
{
|
|
|
|
type solidWallMixedTemperatureCoupled;
|
|
|
|
neighbourFieldName T;
|
2015-08-05 11:34:57 +00:00
|
|
|
Kappa Kappa;
|
2010-11-24 23:08:12 +00:00
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
topAir_to_rightSolid
|
|
|
|
{
|
|
|
|
type solidWallMixedTemperatureCoupled;
|
|
|
|
neighbourFieldName T;
|
2015-08-05 11:34:57 +00:00
|
|
|
Kappa Kappa;
|
2010-11-24 23:08:12 +00:00
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
epsilon
|
|
|
|
{
|
|
|
|
// Set the value on all bc to non-zero. Not used in simulation
|
|
|
|
// since zeroGradient; only used in initialisation.
|
|
|
|
boundaryField
|
|
|
|
{
|
|
|
|
minX
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
maxX
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
minY
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
maxY
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
minZ
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
maxZ
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
topAir_to_leftSolid
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
topAir_to_heater
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
topAir_to_rightSolid
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
k
|
|
|
|
{
|
|
|
|
internalField uniform 0.1;
|
|
|
|
boundaryField
|
|
|
|
{
|
|
|
|
minX
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
maxX
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
maxY
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
minZ
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
maxZ
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
topAir_to_leftSolid
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
topAir_to_heater
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
topAir_to_rightSolid
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p
|
|
|
|
{
|
|
|
|
internalField uniform 1E5;
|
|
|
|
|
|
|
|
boundaryField
|
|
|
|
{
|
|
|
|
minX
|
|
|
|
{
|
|
|
|
type buoyantPressure;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
maxX
|
|
|
|
{
|
|
|
|
type waveTransmissive;
|
|
|
|
field p;
|
|
|
|
inletOutlet off;
|
|
|
|
correctSupercritical off;
|
|
|
|
phi phi;
|
|
|
|
rho rho;
|
|
|
|
psi psi;
|
|
|
|
gamma 1.4; // cp/cv
|
|
|
|
fieldInf 1e5;
|
|
|
|
lInf 0.40; // double length of domain
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
maxY
|
|
|
|
{
|
|
|
|
type buoyantPressure;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
minZ
|
|
|
|
{
|
|
|
|
type buoyantPressure;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
maxZ
|
|
|
|
{
|
|
|
|
type buoyantPressure;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
|
|
|
|
topAir_to_leftSolid
|
|
|
|
{
|
|
|
|
type buoyantPressure;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
topAir_to_heater
|
|
|
|
{
|
|
|
|
type buoyantPressure;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
topAir_to_rightSolid
|
|
|
|
{
|
|
|
|
type buoyantPressure;
|
|
|
|
value $internalField;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-21 12:50:08 +00:00
|
|
|
|
2010-11-24 23:08:12 +00:00
|
|
|
// ************************************************************************* //
|