CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Katabatic flow using buoyantboussinesqpisofoam (https://www.cfd-online.com/Forums/openfoam/116412-katabatic-flow-using-buoyantboussinesqpisofoam.html)

tsauter April 18, 2013 10:30

Katabatic flow using buoyantboussinesqpisofoam
 
2 Attachment(s)
Hi all,

I am using a bouyantBoussinesq solver (LES) to model a katabatic wind flow along a slope. The surface temperature (wall) is slightly cooler than the overlying stably stratified atmosphere (see figure 1).

I like to use cyclic boundary conditions for the left and right patch, in order to get a fully developed turbulent wind field. Since the inlet and outlet are not at the same height, this causes a jump of the pressure field (see picture 2).

It is probably not possible to use a cyclic boundary condition here, or is there a way to solve this problem?

The other solution might be to rotate the frame of reference by aligning the x-axis with the slope, but I am not quite sure how to do this.

Thank you in advance
Tobias

nimasam April 19, 2013 03:43

you can use cyclic BC with pressure Jump, pressure Jump can be accessed by fan type BC at inlet-outlet, search in forum about fan BC ;)

tsauter April 19, 2013 04:05

Hi Nima Sam,

Thank you very much for your response. I'll check it out.

Cheers,
Tobias

tsauter April 19, 2013 09:09

Hi Niam,

I have applied the following boundary conditions to the left and right patch, respectively. But the result is still the same. Do I make something wrong?

Code:

   
left
    {
        type            fan;
        patchType    cyclic;
        jump          uniform 0;
        f                2(100 -1.0);
        value          uniform 0;
    }
    right
    {
        type            fan;
        patchType    cyclic;
        jump            uniform 0;
        f                2(100 -1.0);
        value          uniform 0;
    }

Thank you very much.
Tobias


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