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

How to find the nearest vertices for specified coordinates in User Fortran

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2020, 09:35
Smile How to find the nearest vertices for specified coordinates in User Fortran
  #1
New Member
 
Hu
Join Date: Jan 2014
Posts: 22
Rep Power: 12
hcs129 is on a distinguished road
Dear all,
In my simulation I want to quickly locate the nearest vertices or owner mesh element for specified coordinates. For example, at t=0s, there're three points ((0,0,0),(0,1,0),(0,2,0)). How to find their nearest vertices (the array number of vertices in the MMS so I can access other flow variables). These points will move and the number of points changes during the simulaiton. I tried the subroutine CAL_MESHMAP but it didn't work. Any one can help?
hcs129 is offline   Reply With Quote

Reply


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
CFX User Fortran: Particle User Sources hustxinxin CFX 0 March 8, 2012 08:31
Comparison between C/C++ and Fortran? rick Main CFD Forum 45 September 6, 2011 00:52
Where to find airfoils with more coordinates pts? KB Main CFD Forum 2 March 23, 2008 23:18
Best Code for User Fortran worth Main CFD Forum 4 November 14, 2003 10:21
Saving variables on a user patch with physical coordinates Zoltan Turzo CFX 2 April 20, 2000 15:05


All times are GMT -4. The time now is 19:58.