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] Scripting: How to set topology tolerance in a script (https://www.cfd-online.com/Forums/ansys-meshing/143587-scripting-how-set-topology-tolerance-script.html)

macfly October 28, 2014 12:17

Scripting: How to set topology tolerance in a script
 
Hi,

At some point in my script I had to create surfaces (ic_surface 4pts ...) that are very small (surface side length ~0.001 m) compared to the other ones. Icem CFD would refuse to create the surfaces: Surface sides are too small. Check topology tolerance.

I looked for hours for a scripting command (thanks to the awesome Icem CFD Programmer's Guide...) that sets the topology tolerance once and for all at the beginning of my script. I found nothing in the guide but after a lot of clicks in the GUI and looking at the generated commands in the Replay Control window, I finally found what I was looking for:

ic_set_global geo_cad 1e-4 toler

Very convenient command that is not described in the Programmer's Guide. Hope it helps!


All times are GMT -4. The time now is 09:54.