CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

What is empty boundary condition?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2009, 10:53
Default What is empty boundary condition?
  #1
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
What on earth does "empty" mean in OpenFOAM?
  1. Say I have a 2D problem (usally N_z = 1), front and back bc are set to empty, is it the same to set them as cyclic? How does OpenFOAM treat "empty" bc?
  2. A N_x \times N_y \times N_z mesh, before mapFields, in order to save the time, I set N_z = 1, the bc in Z-direction that is front and back are set as cyclic, is it right in doing this?
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   May 6, 2009, 13:54
Default
  #2
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Daniel,

OpenFOAM does not have special machinery do deal with 2D domains. Therefore, a 2D mesh has twice as many faces on the front and back as it has cells.

Therefore it is a good idea to do nothing for those faces and that is what "empty" does.

Henrik
henrik is offline   Reply With Quote

Old   May 6, 2009, 20:26
Default
  #3
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Then what if I set them as cyclic boundary, will they have the same effect? Sorry I cannot grasp the machineries, what on earth happens on each cell when Navier-Stokes Eq is solved?

(This is what I am thinking, if cyclic means "Enables two patches to be treated as if they are physically connected", then it (cyclic) is totally meaningless in a 2D case (N_z = 1), with no effect at all, so it would behave just as what empty bc does.) Please correct me if I was wrong. Thank you.
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   May 7, 2009, 04:13
Default
  #4
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Daniel,

the internal workings are not easy to explain in this context and by far off-topic for this thread. I suggest you have a look into Hrvoje's thesis.

Physically there is no z-component in the equations of your 2D problem which brings us intuitively back to "nothing" and "empty".

If it runs, cyclics will probably give you the right answer.

Note that the above applies to 2D domain, not wedges (2.5D domain).

Henrik
henrik is offline   Reply With Quote

Old   May 7, 2009, 04:41
Default
  #5
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Okay, I have found if cyclic bc is used, nonuniform values come out in that patch, how did they come if no z-component in the equations, no interfaces in z-direction. But it seems these values are very small.

Another concern is about mapFields, if I have a 2D result in hand with empty patch for frontAndBack, and I want to map it to a finer grid with gridding in z-direction, cyclic bc for frontAndBack, can I directly change the empty to cyclic and then do mapFields?
Anyway, I tried this, and everything is okay so far.
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   May 7, 2009, 05:05
Default
  #6
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Daniel,

I understand you want to map the results obtained on a coarse 2D grid onto a finer 2D grid.

mapFields will map the cell values from one grid to another. The empty patches remain empty - There are just more empty faces in the fine grid. So what exactly concerns you?

Henrik
henrik is offline   Reply With Quote

Old   May 7, 2009, 05:16
Default
  #7
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
No, I mean map from a coarse 2D grid result onto a finer 3D grid, from 2D-RANS to 3D-RANS to LES. Is the procedure okay??
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Boundary Conditions Thomas P. Abraham Main CFD Forum 20 July 7, 2013 05:05
Axis Boundary Condition..what is it? CFDtoy FLUENT 6 February 13, 2007 05:51
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 11:44
1 and 2 Order Boundary condition at the same place CFD_Flo Main CFD Forum 4 July 11, 2005 11:57
How to resolve boundary condition problem? sam FLUENT 2 July 20, 2003 02:19


All times are GMT -4. The time now is 17:24.