CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Periodic boundary condition in spanwise direction (https://www.cfd-online.com/Forums/main/195024-periodic-boundary-condition-spanwise-direction.html)

mostanad October 29, 2017 12:44

Periodic boundary condition in spanwise direction
 
Hello, my friends,
I have a CFD question about periodic boundary condition in the spanwise direction. As we know, the periodic boundary condition can set for streamwise direction, so the quantities can replace from outlet to inlet and vice versa. also, in this direction, we should do a pressure correction to find the pressure drop. now, I wanna know the differences of implementing this BC in spanwise and streamwise direction.
Hope to help me.

FMDenaro October 29, 2017 13:11

Quote:

Originally Posted by mostanad (Post 669629)
Hello, my friends,
I have a CFD question about periodic boundary condition in the spanwise direction. As we know, the periodic boundary condition can set for streamwise direction, so the quantities can replace from outlet to inlet and vice versa. also, in this direction, we should do a pressure correction to find the pressure drop. now, I wanna know the differences of implementing this BC in spanwise and streamwise direction.
Hope to help me.

I suppose you are considering the flow in a planar channel flow. There is no difference in the streamwise and spanwise direction on both a mathematical and numerical aspects. The only difference is that the constant forcing term (the pressure gradient) acts only in streamwise direction but that does not enter in the BC.s setting.

mostanad October 29, 2017 13:41

1 Attachment(s)
Quote:

Originally Posted by FMDenaro (Post 669634)
I suppose you are considering the flow in a planar channel flow. There is no difference in the streamwise and spanwise direction on both a mathematical and numerical aspects. The only difference is that the constant forcing term (the pressure gradient) acts only in streamwise direction but that does not enter in the BC.s setting.

Thank you, Prof, Denaro
my case is a channel with a 3d cavity on its wall. this cavity is far from spanwise walls (z direction). the channel figure is attached. my big problem is that I found in literature the periodic BC for spanwise. what is the problem for symmetry BC in spanwise?

FMDenaro October 29, 2017 13:48

Quote:

Originally Posted by mostanad (Post 669635)
Thank you, Prof, Denaro
my case is a channel with a 3d cavity on its wall. this cavity is far from spanwise walls (z direction). the channel figure is attached. my big problem is that I found in literature the periodic BC for spanwise. what is the problem for symmetry BC in spanwise?

As happens in the streamwise direction, periodic BC.s in spanwise direction implies that the cavity repeats itself indefinitely therefore you need to prescribe a lenght of periodicity that is suitable for your flow problem.

mostanad October 29, 2017 13:58

Quote:

Originally Posted by FMDenaro (Post 669636)
As happens in the streamwise direction, periodic BC.s in spanwise direction implies that the cavity repeats itself indefinitely therefore you need to prescribe a lenght of periodicity that is suitable for your flow problem.

And the symmetry BC cannot be applied, anymore?

FMDenaro October 29, 2017 14:06

Quote:

Originally Posted by mostanad (Post 669638)
And the symmetry BC cannot be applied, anymore?

In general, you can set any BC.s that get a mathematycally well posed problem, but you have to set only the type of BC.s that physically fulfill your flow problem...

mostanad October 29, 2017 14:27

Quote:

Originally Posted by FMDenaro (Post 669639)
In general, you can set any BC.s that get a mathematycally well posed problem, but you have to set only the type of BC.s that physically fulfill your flow problem...

When I posed symmetry BC, I get some strange circulation in my cavity. is the reason, small length in spanwise direction for symmetry BC?

FMDenaro October 29, 2017 14:33

Quote:

Originally Posted by mostanad (Post 669644)
When I posed symmetry BC, I get some strange circulation in my cavity. is the reason, small length in spanwise direction for symmetry BC?

I cannot say. It could also be a bug. Try to extend the domain in spanwise direction.

mostanad October 29, 2017 14:42

Quote:

Originally Posted by FMDenaro (Post 669646)
I cannot say. It could also be a bug. Try to extend the domain in spanwise direction.

are these two cases equal? periodic in spanwise with usual length, symmetry in spanwise with large length?

FMDenaro October 29, 2017 15:17

Formally, symmetry BC implies a mirror symmetry, periodic BC implies that the solution repeats itself after a proper lenght

mostanad October 29, 2017 15:28

Quote:

Originally Posted by FMDenaro (Post 669652)
Formally, symmetry BC implies a mirror symmetry, periodic BC implies that the solution repeats itself after a proper lenght

But, normally if the length in my proble be sufficient, these BCs are the same, actually?

FMDenaro October 29, 2017 15:51

Quote:

Originally Posted by mostanad (Post 669653)
But, normally if the length in my proble be sufficient, these BCs are the same, actually?

A wide extension of the domain in spanwise direction should driven to similar solutions. But the BC.s are not exactly the same.

mostanad October 29, 2017 17:07

Thank you
My last problem. You said we dont need pressure modification for periodic BC in spanwise direction. Can you say how we implement the pressure periodic BC in spanwise direction?


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