# Boundary conditions in OF

 Register Blogs Members List Search Today's Posts Mark Forums Read

 June 10, 2013, 06:48 Boundary conditions in OF #1 Member   James Join Date: May 2013 Posts: 82 Rep Power: 4 Hi everyone, I am trying to simulate internal airflow thorugh a complex geometry using OpenFoam. I think that simpleFoam for stationary, incompressible flow would be enough for the first step. The problem is setting the boundary conditions file. I only have information about the value of pressure at the inlet an outlet (and I use fixedValue on this boundaries), but I donīt have any information about velocity values, except at wall (no slip condition). How can I set up the velocity file for inlet and outlet? And what about pressure at wall? Thanks in advance for the answers Last edited by Tensian; June 24, 2013 at 13:42.

 June 10, 2013, 10:00 #2 New Member   Lorris Join Date: Feb 2013 Posts: 4 Rep Power: 4 Actually you don't have to fix your velocity value for inlets and outlets if you know the pressure values. The motion of the fluid is precisely caused by the pressure difference, so openFoam will calculate the velocity field. The pressure on the walls can be set as zeroGradient. It's derivated from he navier-stokes and continuity equations. You can take a look here if you want to understand why (not my work) And I am interested by your simulation, what hypothesis do you use for you wall friction ? Tensian likes this.

 June 10, 2013, 10:25 #3 Member   James Join Date: May 2013 Posts: 82 Rep Power: 4 Thanks for your fast reply Yunilo. I understand that fluid motion is due to pressure differences. The problem is Iīm a beginner in OpenFoam. There is no doubt about what conditions I have to impose at walls: velocity file, fixed value=(0,0,0) pressure file, zerogradient At the outlet I think that I should write: velocity file, zerogradient pressure file, fixed value But in the inlet I am not sure what I have to suppose, because I know the value (atmospheric pressure, so Gauge pressure=0), so I use fixed value for pressure. What happens with velocity file at inlet? Because I understand that itīs not a zerogradient condition... Now I am realizing that I have written Gauge pressure values (as in Fluent set up). Is that right for OpenFoam? At this first stage, I am using no slip condition at walls, without no roughness and also a rigid wall without deformation. If you need it, I can refer you to some documentation on the web about that issue. Thank you so much. Last edited by Tensian; June 21, 2013 at 06:57.

 June 10, 2013, 11:07 #4 New Member   Lorris Join Date: Feb 2013 Posts: 4 Rep Power: 4 Sorry for not being clear ! Actually you can use zeroGradient velocity condition on both inlet and outlet, as you can consider that on a small distance upstream and downstream there is no section variation. Actually I'm wondering how you manage to simulate the influence of nasale pilosity () as it's a very small geometry. Good luck for your continuation. Tensian likes this.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Anna Tian CFX 1 June 16, 2013 06:28 lost.identity CFX 41 May 22, 2013 07:21 Mavier CFX 5 April 29, 2013 00:00 vaina74 Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 May 27, 2010 09:38 michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15

All times are GMT -4. The time now is 00:27.