CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Boundary Condition (https://www.cfd-online.com/Forums/openfoam/91389-boundary-condition.html)

 usefkeyghobadi August 9, 2011 10:12

Boundary Condition

1 Attachment(s)
Hi Foamer's
I want Simulate Viscoelastic's fluid in geometry that can see in attach file.
my problem is boundary condition.
my geometry produced by 3 rectangular that can see.
first part and third part have similar B.C's
for the first & third part:
up wall:symmetry plan
bottom wall:fixed wall
inlet for the first part,outlet for third part
and for the right and left wall what should i do?
and for the second part what should i do?(B.C's)
can i set all wall's , Fixed Wall?
Please help me.
Thank you,
Usef

 usefkeyghobadi August 9, 2011 13:49

I'm waiting for your kind response .....

 mturcios777 August 10, 2011 17:31

If there isn't going to be any significant variation in the z-direction, then you can save yourself a lot of time by making the mesh only one cell deep in that direction and making the boundaries whose normal is the z direction into empty boundary conditions. Otherwise the BC will be some kind of zero-gradient conditions depending if you have inflow/outflow.

 usefkeyghobadi August 10, 2011 19:56

Quote:
 Originally Posted by mturcios777 (Post 319655) If there isn't going to be any significant variation in the z-direction, then you can save yourself a lot of time by making the mesh only one cell deep in that direction and making the boundaries whose normal is the z direction into empty boundary conditions. Otherwise the BC will be some kind of zero-gradient conditions depending if you have inflow/outflow.
Thank
But I should solve in 3D,
and for wall Bc's have opinion?
I must See Secondary Flow In Inlet & Outlet,if we Solve 2D, cant!

 mturcios777 August 11, 2011 14:03

I don't know anything about visco-elastic simulations and don't know if there any any special considerations to make at the walls. U=0 on stationary walls and p is zero-gradient.

What do you mean by secondary flow? With more information on what that means physically in your case I might be able to suggest something to you.

 usefkeyghobadi August 12, 2011 09:55

Hi Dear
in fact,I want Simulate Vortex,
then simulation we can see stream line and secondary Flow.
boundary condition for stress,U,P is my problem
and i dont know how can i see vortex and Stream line in Open foam,

 mturcios777 August 12, 2011 12:50

Do you mean you want to simulate the vortex in the square cavity? I think you should still be able to do this in 2D. Did you look at the tutorial for lid-driven cavity flow?

http://www.openfoam.com/docs/user/cavity.php

My suggestions for boundary conditions are.
Your BC's seem fine, just remember that you still need to specify values when you use the inlet, outlet, inletOutlet or outletInlet conditions. You can read more about OpenFOAM's boundary conditions here:

http://www.openfoam.com/docs/user/boundaries.php

Finally, to be able to visualize the vortex and streamlines, you need to use ParaFoam. The lid-driven cavity flow tutorial will give you more information.

 All times are GMT -4. The time now is 01:02.