Eko |
February 19, 2018 10:03 |
chtMultiRegionFoam BC
Hey guys :)
I'm currently working on a convection case using the chtMultiRegionFoam solver. Well the case is running with fixed temperature and velocity U=0.
When I change boundary conditions for T and U it's running but the temperature gets negative (it shouldn't do that) and it aborts later on.
The problem is the U file I guess. T seems to work with U=0 but I don't know why it doesn't work with U=5 (even not with U=0,5).
Do you have any suggestions on how to solve this issue?
If you need more information/input let me know and thanks in advance :)
T
Code:
dimensions [ 0 0 0 1 0 0 0 ];
internalField uniform 291.5;
boundaryField
{
inlet
{
type uniformFixedValue;
uniformValue table ( ( 0 291.95 ) ( 3600 290.35 ) ( 7200 290.15 ) ( 10800 289.35 ) ( 14400 288.15 ) ( 18000 287.95 ) ( 21600 289.65 ) ( 25200 293.15 ) ( 28800 297.25 ) ( 32400 301.35 ) ( 36000 302.95 ) ( 39600 303.65 ) ( 43200 303.55 ) ( 46800 303.85 ) ( 50400 304.15 ) ( 54000 305.25 ) ( 57600 305.65 ) ( 61200 304.75 ) ( 64800 304.15 ) ( 68400 303.25 ) ( 72000 300.55 ) ( 75600 299.25 ) ( 79200 298.05 ) ( 82800 296.05 ) ( 86400 294.85 ) );
value uniform 291.95;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
floor
{
type fixedValue;
value $internalField;
}
ceiling
{
type zeroGradient;
}
frontAndBack
{
type zeroGradient;
}
Umgebung_to_B1600-12
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
value uniform 291.5;
Tnbr T;
kappaMethod fluidThermo;
}
Umgebung_to_Air
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
value uniform 291.5;
Tnbr T;
kappaMethod fluidThermo;
}
}
U
Code:
dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform ( 5 0 0 );
boundaryField
{
inlet
{
type fixedValue;
value uniform ( 5 0 0 );
}
outlet
{
type inletOutlet;
inletValue uniform ( 0 0 0 );
value uniform ( 5 0 0 );
}
floor
{
type noSlip;
}
ceiling
{
type fixedValue;
value uniform ( 0 0 0 );
}
frontAndBack
{
type fixedValue;
value uniform ( 0 0 0 );
}
Umgebung_to_B1600-12
{
type noSlip;
value uniform ( 0 0 0 );
}
Umgebung_to_Air
{
type noSlip;
value uniform ( 0 0 0 );
}
}
Works fine with files below
Code:
dimensions [ 0 0 0 1 0 0 0 ];
internalField uniform 299;
boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
floor
{
type zeroGradient;
}
ceiling
{
type zeroGradient;
}
frontAndBack
{
type zeroGradient;
}
Umgebung_to_B1600-12
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
value uniform 299;
Tnbr T;
kappaMethod fluidThermo;
}
Umgebung_to_Air
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
value uniform 299;
Tnbr T;
kappaMethod fluidThermo;
}
}
Code:
dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform ( 0.01 0 0 );
boundaryField
{
inlet
{
type noSlip;
}
outlet
{
type noSlip;
}
floor
{
type noSlip;
}
ceiling
{
type noSlip;
}
frontAndBack
{
type noSlip;
}
Umgebung_to_B1600-12
{
type noSlip;
value uniform ( 0 0 0 );
}
Umgebung_to_Air
{
type noSlip;
value uniform ( 0 0 0 );
}
}
|