CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (http://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ICEM] set workbench parameter in icem cfd script (http://www.cfd-online.com/Forums/ansys-meshing/116767-set-workbench-parameter-icem-cfd-script.html)

nnvoro April 24, 2013 18:57

set workbench parameter in icem cfd script
 
I need to set the Max element in Global Mesh setup as a workbench parameter. Normally while working in ICEM CDF through workbench it is possible just to click in a small window near Element size to set it as workbench parameter. As I'm working in ICEM calling it interactively through ANSYS Meshing I don't have this option.
Does anybody knows what command should I add to script for ICEM CFD to set workbench parameter?

mvoss April 26, 2013 03:39

hey,

i resolved this problem by creating an User Input Parameter for the ICEM container. Overwrite the value for the seed size or whatever you want by recording a script and changing the value to the user parameter after importing the user parameter at the top of the icem script.

Code:

set USER_PARA [ic_wb2_get_parameter user_defined XXX]
with XXX being your user defined parameter in ICEM.
Now you can control the parameter from within the Workbench.
This is only working for the ANSYS 14.5 i guess, since only there you can choose a standalone ICEM container on the project schematic.

Matthias

nnvoro April 28, 2013 14:23

Quote:

Originally Posted by neewbie (Post 423262)
hey,

i resolved this problem by creating an User Input Parameter for the ICEM container. Overwrite the value for the seed size or whatever you want by recording a script and changing the value to the user parameter after importing the user parameter at the top of the icem script.

Code:

set USER_PARA [ic_wb2_get_parameter user_defined XXX]
with XXX being your user defined parameter in ICEM.
Now you can control the parameter from within the Workbench.
This is only working for the ANSYS 14.5 i guess, since only there you can choose a standalone ICEM container on the project schematic.

Matthias

Matthias, thank you very much for your response! I'm not using standalone ICEM container, in ansys 14.5 it is possible to fo to ICEM directly from ansys meshing (from Fluid Flow (Fluent) analysis system in project schematic) by choosing method of meshing. Now I found that it is possible to set some global parameters as workbench parameters in the method in ansys meshing. Thus I set Max elem size and everything works now.
I really appreciate that you answered me. I'm sure your advice will help me in future.


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