CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ICEM] how to pick up geometries in ICEM cfd in batch mode? (https://www.cfd-online.com/Forums/ansys-meshing/190829-how-pick-up-geometries-icem-cfd-batch-mode.html)

N-S July 23, 2017 23:28

how to pick up geometries in ICEM cfd in batch mode?
 
I‘m writing a code to process a parametric model,whose inlet counts may be 2~5.the geometry is imported from UG in *.x_t format,
since the inlet counts are varying, if I want to pick up all the inlets faces and sort them in different parts. Can anyone tell me how to do this in batch mode?
all the points positions is known.
I have tried the "ic_geo_pick_location" ,but it doesn't work well

bluebase July 24, 2017 04:06

Hi Andrew,

i have used "ic_geo_find_nearest_srf_pnt" succesfully in the past.

"ic_geo_find_nearest_srf_pnt srf.01 pnt.01"

This should also work in batch mode.

With regards,
Sebastian

N-S July 24, 2017 22:25

Hi Sebastian,
Thank you for reply,
" ic_geo_find_nearest_crv_pnt" "ic_geo_find_nearest_srf_pnt " finds parameters of closest point on surface, the return is unitized uv/t coordinates.
I want get the surface /curve name.
Fortunately, I find "ic_geo_nearest_surface_list" RIGHT BELOW "ic_geo_find_nearest_crv_pnt crv pnt" in “Programmers Guide”.
many thanks
Andrew

bluebase July 25, 2017 12:36

Quote:

Originally Posted by N-S (Post 658335)
Fortunately, I find "ic_geo_nearest_surface_list" RIGHT BELOW "ic_geo_find_nearest_crv_pnt crv pnt" in “Programmers Guide”.
many thanks
Andrew

Hi Andrew,
i guess i mixed this up in my notes and just copied it here... i'm glad it still helped somewhat =)
with regards,
Sebastian


All times are GMT -4. The time now is 20:48.