|
[Sponsors] |
June 10, 2013, 06:48 |
Boundary conditions in OF
|
#1 |
Senior Member
James
Join Date: May 2013
Posts: 116
Rep Power: 12 |
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: 13 |
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 ? |
|
June 10, 2013, 10:25 |
|
#3 |
Senior Member
James
Join Date: May 2013
Posts: 116
Rep Power: 12 |
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: 13 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 06:28 |
symmetry boundary conditions in cfx | lost.identity | CFX | 41 | May 22, 2013 07:21 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 00:00 |
[Netgen] boundary conditions and mesh exporting | vaina74 | OpenFOAM Meshing & Mesh Conversion | 2 | May 27, 2010 09:38 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |