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

zero-diffusion (constant gradient) boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2011, 09:39
Default zero-diffusion (constant gradient) boundary condition
  #1
New Member
 
Tom Witten
Join Date: May 2011
Location: Freiberg
Posts: 10
Rep Power: 15
thomas99 is on a distinguished road
Hi all,

I'm still relatively new to openfoam and despite searching through the tutorials, source code, and this forum have not been able to determine if the zero-diffusion boundary condition is available in openfoam or easily implemented.

Has anyone used this type of boundary condition in openfoam before?

Cheers,
Tom
thomas99 is offline   Reply With Quote

Old   July 26, 2011, 19:01
Default
  #2
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18
Cyp is on a distinguished road
Hi Tom, and welcome on board!

I believe that the BC you are looking for is zeroGradient. You just have to write " type zeroGradient;" within our patch.

@++
Cyp
Cyp is offline   Reply With Quote

Old   July 27, 2011, 05:53
Default
  #3
New Member
 
Tom Witten
Join Date: May 2011
Location: Freiberg
Posts: 10
Rep Power: 15
thomas99 is on a distinguished road
Hi Cyp,

Thanks for the reply! What I'm looking for though is the zero-diffusion outlet boundary condition, not the zero-gradient boundary condition.

A zero-diffusion boundary condition is of the form d^2(phi)/d(n^2) = 0 where phi is a transported variable (e.g. a component of velocity, temperature, viscosity, ...). Typically when this condition is set at an outlet, the value of the node at a particular outlet position is calculated from the interior situated nodes as well as the first derivative which is some constant.

I think both fluent and cfx allow implementation of this boundary condition and wanted to know if openfoam also has this option as I would like to test openfoam for a few studies.

Cheers,
Tom
thomas99 is offline   Reply With Quote

Old   July 27, 2011, 08:35
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Thomas, have a look at this thread: http://www.cfd-online.com/Forums/ope...condition.html
akidess is offline   Reply With Quote

Old   July 29, 2011, 05:59
Default
  #5
New Member
 
Tom Witten
Join Date: May 2011
Location: Freiberg
Posts: 10
Rep Power: 15
thomas99 is on a distinguished road
Thanks akidess, that's what I was looking for
thomas99 is offline   Reply With Quote

Reply

Tags
zero-diffusion


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
inlet velocity boundary condition murali CFX 5 August 3, 2012 09:56
asking for Boundary condition in FLUENT Destry FLUENT 0 July 27, 2010 01:55
wall boundary condition with constant velocity Rogerio Fernandes Brito CFX 0 August 17, 2008 11:01
Abt 'a constant pressure boundary condition' jinwon park Main CFD Forum 3 April 7, 2008 20:36
Calculated gradient boundary condition similar to gammaContactAngle adona058 OpenFOAM Running, Solving & CFD 0 September 26, 2007 16:23


All times are GMT -4. The time now is 18:15.