CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Calculate distance from given point to face

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

LinkBack Thread Tools Display Modes
Old   March 28, 2014, 15:23
Question Calculate distance from given point to face
New Member
Join Date: Apr 2011
Posts: 11
Rep Power: 8
D.R. is on a distinguished road
I am trying to calculate the distance from some point in a cell, to the closest face, some distance d from dmax = cell centre to zero where the point is on the face. Is there a function which returns the distance from a point to the nearest face? i have tried using interpolationCellPointFace but i am not sure if this does what i am looking for.
D.R. is offline   Reply With Quote


distance, face

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
Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Native Meshers: blockMesh 51 May 30, 2016 10:51
Internal walls of zero thickness anger OpenFOAM Native Meshers: blockMesh 22 December 15, 2015 03:06
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
block-structured mesh for t-junction Robert@cfd ANSYS Meshing & Geometry 20 November 11, 2011 05:59
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36

All times are GMT -4. The time now is 04:34.