|
[Sponsors] |
August 5, 2011, 06:10 |
boundary values
|
#1 |
New Member
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 17 |
Hello,
can anybody tell me where the boundary values in OpenFOAM are set? Are the specified in the middle of the boundary cells, in the middle of the surfaces or in the boundary points of the boundary cells or ....? And how can I set there the values for the pressure and the velocity? Thanks, Jennifer |
|
August 5, 2011, 07:56 |
|
#2 |
Senior Member
Mohammad
Join Date: Feb 2010
Location: Shiraz, Iran
Posts: 108
Rep Power: 16 |
hi Jennifer,
I dont have enough info about that but I know that values are usually set at boundary faces not cells. however I dont know values are set in boundary nodes or at the middle of boundary faces? I read in a paper that openfoam is cell-based solver. if this is true, values should be set in boundary face centres. cheers, |
|
August 8, 2011, 15:37 |
|
#3 |
Member
Alex
Join Date: Jun 2010
Location: Planet Earth
Posts: 43
Rep Power: 16 |
I am new to openFOAM, but I just wrote a program with some borrowed code from the forum to set up non uniform boundary values.
It is my understanding that the value is stored at the center of each cell face. Hope this helps. |
|
August 9, 2011, 04:43 |
|
#4 |
New Member
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 17 |
Hi,
thanks for your answers, bigbang and m2montazari. Bigband, is there a possibilty to get the code you wrote from you? Jennifer |
|
August 9, 2011, 07:27 |
|
#5 |
Member
Alex
Join Date: Jun 2010
Location: Planet Earth
Posts: 43
Rep Power: 16 |
The thread where I got the code and then troubleshooted it for openfoam 2.0.0 is here:
http://www.cfd-online.com/Forums/ope...tml#post319363 Good luck |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 14:06 |
error when calculating values at boundary using refCast | prabhu | OpenFOAM | 7 | March 12, 2018 09:31 |
inlet velocity boundary condition | murali | CFX | 5 | August 3, 2012 09:56 |
Creating Face in CFD Post and export Values as Boundary Conditions | flow87 | CFX | 2 | June 4, 2011 05:06 |
Turbulence boundary values | lego | Main CFD Forum | 0 | October 24, 2002 14:47 |