2010-11-01 15:51:19 +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-01 15:51:19 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
2010-05-12 13:27:55 +00:00
|
|
|
FoamFile
|
|
|
|
{
|
2010-11-01 15:51:19 +00:00
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object changePatchTypeDict;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
{
|
|
|
|
boundaryField
|
|
|
|
{
|
|
|
|
minX
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value uniform 300;
|
|
|
|
}
|
|
|
|
topAir_to_leftSolid
|
|
|
|
{
|
|
|
|
type solidWallMixedTemperatureCoupled;
|
|
|
|
neighbourRegionName leftSolid;
|
|
|
|
neighbourPatchName leftSolid_to_topAir;
|
|
|
|
neighbourFieldName T;
|
2015-08-05 11:34:57 +00:00
|
|
|
Kappa Kappa;
|
2010-05-12 13:27:55 +00:00
|
|
|
value uniform 300;
|
|
|
|
|
|
|
|
}
|
|
|
|
topAir_to_heater
|
|
|
|
{
|
|
|
|
type solidWallMixedTemperatureCoupled;
|
|
|
|
neighbourRegionName heater;
|
|
|
|
neighbourPatchName heater_to_topAir;
|
|
|
|
neighbourFieldName T;
|
2015-08-05 11:34:57 +00:00
|
|
|
Kappa Kappa;
|
2010-05-12 13:27:55 +00:00
|
|
|
value uniform 300;
|
|
|
|
}
|
|
|
|
topAir_to_rightSolid
|
|
|
|
{
|
|
|
|
type solidWallMixedTemperatureCoupled;
|
|
|
|
neighbourRegionName rightSolid;
|
|
|
|
neighbourPatchName rightSolid_to_topAir;
|
|
|
|
neighbourFieldName T;
|
2015-08-05 11:34:57 +00:00
|
|
|
Kappa Kappa;
|
2010-05-12 13:27:55 +00:00
|
|
|
value uniform 300;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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 uniform 0.01;
|
|
|
|
}
|
|
|
|
maxX
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.01;
|
|
|
|
}
|
|
|
|
|
|
|
|
minY
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.01;
|
|
|
|
}
|
|
|
|
maxY
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.01;
|
|
|
|
}
|
|
|
|
|
|
|
|
minZ
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.01;
|
|
|
|
}
|
|
|
|
maxZ
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.01;
|
|
|
|
}
|
|
|
|
topAir_to_leftSolid
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.01;
|
|
|
|
}
|
|
|
|
topAir_to_heater
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.01;
|
|
|
|
}
|
|
|
|
topAir_to_rightSolid
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.01;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
k
|
|
|
|
{
|
|
|
|
internalField uniform 0.1;
|
|
|
|
boundaryField
|
|
|
|
{
|
|
|
|
minX
|
|
|
|
{
|
|
|
|
type fixedValue;
|
|
|
|
value uniform 0.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
maxX
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
minY
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.1;
|
|
|
|
}
|
|
|
|
maxY
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
minZ
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.1;
|
|
|
|
}
|
|
|
|
maxZ
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
topAir_to_leftSolid
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.1;
|
|
|
|
}
|
|
|
|
topAir_to_heater
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.1;
|
|
|
|
}
|
|
|
|
topAir_to_rightSolid
|
|
|
|
{
|
|
|
|
type zeroGradient;
|
|
|
|
value uniform 0.1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-11-01 15:51:19 +00:00
|
|
|
p
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
|
|
|
boundaryField
|
|
|
|
{
|
|
|
|
minX
|
|
|
|
{
|
2010-11-01 15:51:19 +00:00
|
|
|
type buoyantPressure;
|
|
|
|
value uniform 1e+05;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
maxX
|
|
|
|
{
|
|
|
|
type waveTransmissive;
|
|
|
|
field pd;
|
|
|
|
U U;
|
|
|
|
phi phi;
|
|
|
|
rho rho;
|
|
|
|
psi psi;
|
|
|
|
gamma 1.4; // cp/cv
|
|
|
|
fieldInf 0;
|
|
|
|
lInf 0.40; // double length of domain
|
|
|
|
inletOutlet off;
|
|
|
|
correctSupercritical off;
|
2010-11-01 15:51:19 +00:00
|
|
|
value uniform 1e+05;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
minY
|
|
|
|
{
|
2010-11-01 15:51:19 +00:00
|
|
|
type buoyantPressure;
|
|
|
|
value uniform 1e+05;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
minZ
|
|
|
|
{
|
2010-11-01 15:51:19 +00:00
|
|
|
type buoyantPressure;
|
|
|
|
value uniform 1e+05;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
maxZ
|
|
|
|
{
|
2010-11-01 15:51:19 +00:00
|
|
|
type buoyantPressure;
|
|
|
|
value uniform 1e+05;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
topAir_to_leftSolid
|
|
|
|
{
|
2010-11-01 15:51:19 +00:00
|
|
|
type buoyantPressure;
|
|
|
|
value uniform 1e+05;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
topAir_to_heater
|
|
|
|
{
|
2010-11-01 15:51:19 +00:00
|
|
|
type buoyantPressure;
|
|
|
|
value uniform 1e+05;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
topAir_to_rightSolid
|
|
|
|
{
|
2010-11-01 15:51:19 +00:00
|
|
|
type buoyantPressure;
|
|
|
|
value uniform 1e+05;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-06-21 12:50:08 +00:00
|
|
|
|
2010-05-12 13:27:55 +00:00
|
|
|
// ************************************************************************* //
|