|
[Sponsors] |
How to find the nearest vertices for specified coordinates in User Fortran |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 20, 2020, 10:35 |
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 |
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? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX User Fortran: Particle User Sources | hustxinxin | CFX | 0 | March 8, 2012 09:31 |
Comparison between C/C++ and Fortran? | rick | Main CFD Forum | 45 | September 6, 2011 01:52 |
Where to find airfoils with more coordinates pts? | KB | Main CFD Forum | 2 | March 24, 2008 00:18 |
Best Code for User Fortran | worth | Main CFD Forum | 4 | November 14, 2003 11:21 |
Saving variables on a user patch with physical coordinates | Zoltan Turzo | CFX | 2 | April 20, 2000 16:05 |