mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Re-instated BCs in TJunctionFace tutorial
This commit is contained in:
@ -10,6 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
object p;
|
object p;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -23,36 +24,55 @@ boundaryField
|
|||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type uniformTotalPressure;
|
type uniformTotalPressure;
|
||||||
pressure table
|
|
||||||
(
|
|
||||||
(0 10)
|
|
||||||
(1 40)
|
|
||||||
);
|
|
||||||
p0 40; // only used for restarts
|
|
||||||
U U;
|
|
||||||
phi phi;
|
|
||||||
rho none;
|
rho none;
|
||||||
psi none;
|
psi none;
|
||||||
gamma 1;
|
gamma 1;
|
||||||
|
p0 40;
|
||||||
|
pressure table
|
||||||
|
|
||||||
|
2
|
||||||
|
(
|
||||||
|
(0 10)
|
||||||
|
(1 40)
|
||||||
|
)
|
||||||
|
;
|
||||||
value uniform 40;
|
value uniform 40;
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet1
|
outlet1
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 10;
|
value uniform 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet2
|
outlet2
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
baffles
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
fan_half0
|
||||||
|
{
|
||||||
|
type fan;
|
||||||
|
patchType cyclic;
|
||||||
|
jump uniform 0;
|
||||||
|
f 2(100 -0.1);
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
fan_half1
|
||||||
|
{
|
||||||
|
type fan;
|
||||||
|
patchType cyclic;
|
||||||
|
jump uniform 0;
|
||||||
|
f 2(100 -0.1);
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
defaultFaces
|
defaultFaces
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user