let ICEM compute the number of nodes on an edge
Hello, everyone!
I'm using ICEM for some time. But I have a problem: In Hexa meshing, is it possible to specify the bunching law (spacing 1, ratio1, spacing 2, ratio 2) and let ICEM to compute the number of nodes required on an edge? I'm using scripting to automatically generate hexa mesh for different geometry, and the edge length will change according to different geometry. Therefore, if I specify the constant number of nodes in the script file, it will produce very dense mesh for the short edges and sparse mesh for the long ones. This should be avoided in my case. Can anyone give some help for me? Any solutions, whether direct or indirect, as long as they shed some light on this problem, will be highly appreciated :) Thank you very much! Regards to all motorbean 
I usually deal with this problem by setting a size on the surface and then initialize the blocking sizes from that... if the edge length is greater, it will be over more surface and a larger number of nodes will be assigned automatically... Then I adjust the initial spacing, etc. in my script.
Anyway, assuming that is not enough, I asked around and found some workarounds... Basically, there is no way to float the number of nodes, but you can script to get the length of the edge and then use a calculation to work out how many nodes you need... Here are some snipits of the suggestions I got... Quote:

Or you could use these older commands...
set mparams [ic_hex_mesh_params 14 17] set edge_len [lindex $mparams 5] 
One of the Tech support guys (Matt M.) agreed with my initial suggestion. He also suggested this more advanced way of doing things...
Quote:

Thank you so much for such an detail answer. The solutions are very inspiring. I will give a try.
Regards, motorbean 
All times are GMT 4. The time now is 02:12. 