|
[Sponsors] |
[ICEM] method inpoly for ic_hex_select_nodes, ic_hex_select_super_faces, ic_hex_select_block |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 10, 2020, 03:30 |
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 |
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. |
|
February 11, 2020, 08:51 |
|
#2 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
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 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 Sebastian |
|
February 12, 2020, 03:13 |
|
#3 |
New Member
Join Date: Feb 2020
Posts: 6
Rep Power: 6 |
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 |
|
|
|
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 |