|
[Sponsors] |
Different Boundary Conditions for Velocity Components |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 1, 2011, 13:38 |
Different Boundary Conditions for Velocity Components
|
#1 |
New Member
Fatemeh
Join Date: Apr 2011
Location: Boston
Posts: 9
Rep Power: 15 |
Hi everybody,
I want to specify the boundary conditions in 0 directory files but I’ve got some problems. I have a fixedWalls boundaryField in my 0/U file and I want to assign a zeroGradient boundary condition for Ux and a fixedValue for Uy, but I do not know how to do it. This is what I have written already: fixedWalls { U.component(0) ( type zeroGradient; ) U.component(1) ( type fixedValue; value uniform 0; ) } Thanks in advance for your help. fpmhadi |
|
May 2, 2011, 11:00 |
|
#2 |
Member
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 89
Rep Power: 17 |
Hi,
have a look at the slip boundary conditon http://www.openfoam.com/docs/user/boundaries.php gregor |
|
May 2, 2011, 11:17 |
|
#3 |
New Member
Fatemeh
Join Date: Apr 2011
Location: Boston
Posts: 9
Rep Power: 15 |
Hi,
Thank you very much Gregor. I was reading that article to fix the problems in my cyclic boundaries! I tried theses lines, however I am not sure about it: fixedWalls { field U.component(0) type zeroGradient field U.component(1) type fixedValue value uniform 0; } Cheers, fpmhadi |
|
May 2, 2011, 12:28 |
|
#4 |
Member
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 89
Rep Power: 17 |
||
May 2, 2011, 14:43 |
|
#5 |
New Member
Fatemeh
Join Date: Apr 2011
Location: Boston
Posts: 9
Rep Power: 15 |
No, I was speaking about my two other boundary conditions.
My geometry is a square with two fixedWalls on top and bottom and two cyclic patches on left and right. Until now I could fix the cyclic problem. code: patches ( cyclic inletoutlet ( (0 4 7 3) (2 6 5 1) ) wall fixedWalls ( (3 7 6 2) (0 4 5 1) ) empty frontAndBack ( (0 3 2 1) (4 5 6 7) ) ); However I really appreciate your help. fpmhadi |
|
|
|
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 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
Impinging Jet Boundary Conditions | Anindya | Main CFD Forum | 25 | February 27, 2016 13:58 |
[Netgen] boundary conditions and mesh exporting | vaina74 | OpenFOAM Meshing & Mesh Conversion | 2 | May 27, 2010 10:38 |
A problem about setting boundary conditions | lyang | Main CFD Forum | 0 | September 19, 1999 19:29 |