May 6, 2017, 10:24
|
ChangeDictionaryDict in chtMultiRegionSimpleFoam
|
#1
|
New Member
Dmitry Koltashev
Join Date: Feb 2017
Posts: 5
Rep Power: 10
|
Hi, I am a beginner in OpenFoam modelling, so I have a simple question about boundary conditions.
As I know in chtMultiRegionSimpleFoam we can define boundary conditions for U,p,T etc in an each region with ChangeDictionaryDict files.
But we should use files "U","p","T" in "0" folder, like in tutorial "heatTransfer\chtMultiRegionFoam\multiRegionHeater "
And there are boundary fields in these files, what is the sense of in? Is it different conditions? Or maybe it's default conditions for all regions, that are replaced after reading ChangeDictionaryDict
Thank you very much!
Details from tutorial:
"U" file in "0" folder
Quote:
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0.01 0 0);
boundaryField
{
".*"
{
type calculated;
value uniform (0.01 0 0);
}
}
|
U bounary conditions from system/bottomWater/changeDictionaryDict
Quote:
U
{
internalField uniform (0.001 0 0);
boundaryField
{
minX
{
type fixedValue;
value uniform (0.001 0 0);
}
maxX
{
type inletOutlet;
inletValue uniform (0 0 0);
}
".*"
{
type fixedValue;
value uniform (0 0 0);
}
}
}
|
|
|
|