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

PatchToPatchInterpolation parameters

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 7, 2011, 13:43
Default PatchToPatchInterpolation parameters
  #1
Member
 
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 91
Rep Power: 8
cliffoi is on a distinguished road
Hi all,
I was wondering if anyone knew exactly what the difference was between the different parameters to patchToPatchInterpolation, i.e. the enumerated types intersection::algorithm and intersection::direction.
I am trying to interpolate from a parallel cyclicPolyPatch to a polyPatch while ensuring that the face normals are pointing in opposite directions (since there are two possible matching faces on the cyclic patch). intersection::VISIBLE seems to work for my simple test case but I need to make sure that this is going to give me consistent results.

Thanks in advance
Ivor
cliffoi is offline   Reply With Quote

Old   March 7, 2011, 14:43
Default
  #2
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 386
Rep Power: 15
deepsterblue will become famous soon enough
I think I can take a guess: The type of algorithm basically gives you a trade-off between robustness and efficiency - a choice that is left to you. Naturally, a VISIBLE option would be more efficient, since only the face-normal direction is considered during intersection calculations in triangle.H. The visible approach would probably be most appropriate for patch-type calculations, but if you have weird geometry situations, you might have to reconsider.

The same applies to the VECTOR / CONTACT_SPHERE options in face.H
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   March 9, 2011, 10:52
Default
  #3
Member
 
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 91
Rep Power: 8
cliffoi is on a distinguished road
Thanks Sandeep,
I'll have a closer look at triangle and see what I can find out.
cliffoi 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
units of geometrical parameters lost SoobY ANSYS Meshing & Geometry 2 January 10, 2011 04:58
Validity EWBM parameters luuk.thielen Main CFD Forum 0 July 13, 2010 03:09
Coal Particle Tracking Parameters Michael FLUENT 1 December 1, 2007 15:51
New to CFX-need explanations about mesh parameters Cyril CFX 3 November 24, 2006 07:33
expert parameters of SST model? David CFX 1 December 2, 2005 07:36


All times are GMT -4. The time now is 14:26.