CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Unit normal vector of nearest wall

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 3, 2009, 06:17
Default Unit normal vector of nearest wall
  #1
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 345
Rep Power: 12
l_r_mcglashan will become famous soon enough
Hello,

I'm looking to implement a wall lubrication force for multiphase flow. For this I need the unit vector normal of the nearest wall.

I found reflectionVector, and that gives the unit vector normal at the wall. Is there a function to give the unit vector normal of the nearest wall?
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Old   August 4, 2009, 02:40
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,695
Rep Power: 17
hjasak is on a distinguished road
Yes, this is precisely what you need.

It is used in wall reflection terms in Reynolds stress transport turbulence models.

Enjoy,

Hrv
__________________
Hrvoje Jasak
hjasak is offline   Reply With Quote

Old   August 4, 2009, 04:52
Default
  #3
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 345
Rep Power: 12
l_r_mcglashan will become famous soon enough
Ah, wallDistReflection! I somehow missed the fact that it inherits from reflectionVector in the class reference. Thank you for the gentle nudge in the right direction.
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF to Access Wall Normal Concentration Gradient Daniel Tanner Fluent UDF and Scheme Programming 3 May 21, 2012 11:14
Fluent3DMeshToFoam simvun OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 48 May 14, 2012 05:20
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
NACA0012 geometry/design software needed Franny Main CFD Forum 13 July 7, 2007 15:57
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 12:10.