CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   fanPressure BC (https://www.cfd-online.com/Forums/openfoam-solving/126107-fanpressure-bc.html)

pingat November 8, 2013 02:52

fanPressure BC
 
1 Attachment(s)
I'm working on a jet fan in a tunnel. For that i created the geometry with salome and use the pimpleFoam solver.

As in- and outlet of the tunnel i used the uniformTotalPressure BC. The results of that pressure driven flow look nice.

For the jet fan I wanted to use the fanPressure BC. The flow inside the fan looks good but it seems there is no connection to the surrounding mesh. Its more like a small tunnel in my tunnel. You can have a look at the attached picture.

Is it possible to do what I wanted to do with the fanPressure BC?

My p und U file look like that:
Quote:

wall
{
type zeroGradient;
}

inlet
{
type uniformTotalPressure;
rho none;
psi none;
gamma 1;
pressure 0;
value uniform 0;
}
outlet
{
type fixedValue;
value uniform 0;
}

fancase
{
type zeroGradient;
}

fan_in
{
type fanPressure;
//patchType totalPressure;
fileName "./constant/fanCurve"; // Fan curve file name
outOfBounds clamp; // (error|warn|clamp|repeat)
direction in; // Direction of flow through fan
p0 uniform 0; // Environmental total pressure
value uniform 0; // Initial pressure
gamma 1;
}

fan_out
{
type fanPressure;
//patchType totalPressure;
fileName "./constant/fanCurve"; // Fan curve file name
outOfBounds clamp; // (error|warn|clamp|repeat)
direction out; // Direction of flow through fan
p0 uniform 0; // Environmental total pressure
value uniform 0; // Initial pressure
gamma 1;
}
Quote:

fan_in
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
fan_out
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}
my boundary file for the fan is that:
Quote:

fan_in
{
type patch;
nFaces 74;
startFace 50983;
neighbourPatch fan_out;
}
fan_out
{
type patch;
nFaces 72;
startFace 51057;
neighbourPatch fan_in;
}


All times are GMT -4. The time now is 14:26.