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

Periodic B.C or Inlet/Outlet B.C

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

Like Tree7Likes
  • 1 Post By ar_mofidi
  • 5 Post By wenterodt
  • 1 Post By Thomas Baumann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2010, 07:41
Question Periodic B.C or Inlet/Outlet B.C
  #1
New Member
 
alireza
Join Date: Apr 2009
Location: iran
Posts: 11
Rep Power: 17
ar_mofidi is on a distinguished road
Hi guys

I want to know that, how can I use icoFoam for the laminar microchannel and which of the boundary condition need to use, periodic or inlet/outlet.

Thanks,
Luttappy likes this.
ar_mofidi is offline   Reply With Quote

Old   February 25, 2010, 01:19
Default
  #2
New Member
 
Tammo Wenterodt
Join Date: Mar 2009
Posts: 24
Rep Power: 17
wenterodt is on a distinguished road
If you want to simulate a fully developed channel flow in constant cross sections or in a periodically repeating geometry, the cyclic boundary condition for the U-field is what you need. The easiest way to prescribe a pressure drop between inlet and outlet is to use the fan-boundary condition. I.e. in constant/polyMesh/blockMeshDict use e.g.
Code:
cyclic inout
  (
    (4 7 3 0)
    (6 5 1 2)
  )
Then in 0/U
Code:
  inout
  {
    type cyclic;
    value uniform (0 0 0);
  }
In 0/p write
Code:
inout
  {
    type fan;
    patchType cyclic;
    f List<scalar> 1(-0.005); // p_OF = p_real / rho
    value uniform 0;
  }
and mind that the OpenFOAM pressure is divided by the density in incompressible flow. The pressure drop (here 0.005*rho) that is needed for a certain mean velocity can be calculated by the Poisseuille number (if available) or must be guessed and then corrected. (Yes, I know there is channelFoam, but I cannot recommand that for various reasons.)
Here the "value"-entries are only used for the first iteration (and to prevent paraFoam from crashing) and are then overwritten.
Good luck!
sunliming, arvindpj, mgg and 2 others like this.
wenterodt is offline   Reply With Quote

Old   February 25, 2010, 03:58
Default
  #3
Senior Member
 
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 103
Rep Power: 17
Thomas Baumann is on a distinguished road
Hi,

an other way is to use mapped boundary condtions.

http://www.cfd-online.com/Forums/ope...condition.html

Regards Thomas
sunliming likes this.
Thomas Baumann is offline   Reply With Quote

Old   February 27, 2010, 03:36
Default
  #4
New Member
 
alireza
Join Date: Apr 2009
Location: iran
Posts: 11
Rep Power: 17
ar_mofidi is on a distinguished road
Quote:
Originally Posted by wenterodt View Post
If you want to simulate a fully developed channel flow in constant cross sections or in a periodically repeating geometry, the cyclic boundary condition for the U-field is what you need. The easiest way to prescribe a pressure drop between inlet and outlet is to use the fan-boundary condition. I.e. in constant/polyMesh/blockMeshDict use e.g.
Code:
cyclic inout
  (
    (4 7 3 0)
    (6 5 1 2)
  )
Then in 0/U
Code:
  inout
  {
    type cyclic;
    value uniform (0 0 0);
  }
In 0/p write
Code:
inout
  {
    type fan;
    patchType cyclic;
    f List<scalar> 1(-0.005); // p_OF = p_real / rho
    value uniform 0;
  }
and mind that the OpenFOAM pressure is divided by the density in incompressible flow. The pressure drop (here 0.005*rho) that is needed for a certain mean velocity can be calculated by the Poisseuille number (if available) or must be guessed and then corrected. (Yes, I know there is channelFoam, but I cannot recommand that for various reasons.)
Here the "value"-entries are only used for the first iteration (and to prevent paraFoam from crashing) and are then overwritten.
Good luck!
Dear Tammo

thanks for your help. but, I have some other questions. could you tell me, what is the Fan-boundary condition and is it possible to use this B.C in icoFoam. also, I want to know for laminar channel flow, can I use icoFoam?
ar_mofidi 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
Why can't I make the boundaries periodic? Alina FLUENT 5 April 12, 2012 14:06
Must periodic oscillation give periodic results? zonexo Main CFD Forum 6 May 13, 2007 15:36
periodic b.c. nick FLUENT 0 September 1, 2006 09:46
SYMMETRY + PERIODIC B.C....I need Help! JB FLUENT 6 January 14, 2005 07:03
About UDF of Inlet and Periodic B.C. JI Lucheng FLUENT 2 December 28, 2001 19:18


All times are GMT -4. The time now is 23:35.