CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Implementing Boundary Conditions for Pressure Driven Atmospheric Flow (https://www.cfd-online.com/Forums/main/162365-implementing-boundary-conditions-pressure-driven-atmospheric-flow.html)

amir.a.aliabadi November 8, 2015 18:37

Implementing Boundary Conditions for Pressure Driven Atmospheric Flow
 
Hello Dear Foamers,

I am simulating atmospheric flow over an urban canyon (i.e. cavity). The only boundaries at the atmosphere are inlet, outlet, and topLid. Everything else are walls (i.e. roofs, walls, and street). I want to drive flow over this canyon by a horizontal pressure difference of 1000Pa above it, i.e. through inlet, outlet, and topLid. I have compiled a boussinesq, pimple, LES solver and have successfully used it before. However, now in this application, I cannot initiate flow in the domain. I guess problem is with my BC conditions, especially in inlet and outlet. Would you please help me out? here are the relevant BC files:

0/U

...
topLid
{
type zeroGradient;
}
inlet
{
type pressureInletOutletVelocity;
value uniform (0 0 0)
}
outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}
...

0/p
...
internalField uniform 0;
...
topLid
{
type zeroGradient;
}
inlet
{
type totalPressure;
p0 1000;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 1000;
}
outlet
{
type zeroGradient;
}
...

Thank You


All times are GMT -4. The time now is 13:15.