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

[ICEM] method inpoly for ic_hex_select_nodes, ic_hex_select_super_faces, ic_hex_select_block

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2020, 03:30
Default method inpoly for ic_hex_select_nodes, ic_hex_select_super_faces, ic_hex_select_block
  #1
New Member
 
Join Date: Feb 2020
Posts: 6
Rep Power: 6
flar.t is on a distinguished road
Hello,


accoring to the "Programmer's Guide", section "Blocking Commands", there are two alternative methods for the selection of nodes, faces or blocks: "all, or inpoly p1 p2 p3 p4, where each p is the xyz of a point". When I use "ic_hex_select_nodes 1 all m FLUID node_numbers" the program gives me a "Result: 21 37 25 41 22 38 26 42". But using "ic_hex_select_nodes 1 inpoly { 0.01 0.0 0.0 } { 0.01 0.005 0.0 } { 0.01 0.005 0.005 } { 0.01 0.0 0.005 } m FLUID node_numbers" results in "Usage: select_nodes max_nodes [i|j|k min max] [surface] [ text t1 t2 ... ] [ edge_nodes ] [ m m1 m2 m3 ... ] [ node_numbers ]". The Parameters here seem to be different to what is written in the "Programmer's Guide". Unfortunatelly I couldn't find any example for the usage of this option and no remarks on how the points p1..p4 have to be choosen or specified. Could anyone please give me an advise on how to use these commands?


Thanks in advance.
flar.t is offline   Reply With Quote

Old   February 11, 2020, 08:51
Default
  #2
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Hi flar.t

there is an old thread with the same problem: [problem] ICEM Scripting Loop to create points and Curves

There is an undocumented alternative mentioned to the stated list inpoly p1 p2 p3 p4.
You'll need to specify how many points and then sequentiall write the coordinates: #numberofpoints x1 y1 z1 x2 y2 z2 ...

The syntax looks like:
Code:
ic_hex_select_nodes 1 inpoly #numberofpoints x1 y1 z1 x2 y2 z2 .... m Parts node_numbers
And your example would probably read:
Code:
ic_hex_select_nodes 1 inpoly 4 0.01 0.0 0.0 0.01 0.005 0.0 0.01 0.005 0.005 0.01 0.0 0.005  m FLUID node_numbers
Best,
Sebastian
bluebase is offline   Reply With Quote

Old   February 12, 2020, 03:13
Default
  #3
New Member
 
Join Date: Feb 2020
Posts: 6
Rep Power: 6
flar.t is on a distinguished road
Hello Sebastian


thank you very much for your reply.

I saw that old thread before posting but unfortunately there is no explanation for the parameters at all. Now I understand how to use that option for the selection commands.



Best regards,
flar.t
flar.t 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
Inaccurate gradient results from continuous Adjoint method Yminjo SU2 1 January 11, 2014 22:08
multiphaseEulerFoam: method mag(...) withing method solveAlphase() maybee OpenFOAM Programming & Development 0 December 21, 2013 10:13
Help about the preconditioner in gmres method Dan Gao Main CFD Forum 3 July 5, 2008 01:18
About flowfield-dependent variation(FDV) method? Jinwon Main CFD Forum 1 December 4, 2007 21:13
tidal flow simulation using finite volume method Jason Qiu Main CFD Forum 0 October 20, 2002 02:34


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