scripting BL distribution
this is regarding the scripting capability of ICEM within in WorkBench2.0.
Iīve got a 3D fluid domain, surrounding an airfoil which i have properly meshed in ICEM.
These are the points of interest:
When choosing the new "MeshParameter-Function" from within ICEM when adjusting the edge bunching etc. and creating a workbench input parameter , you can only select one edge at a time, right? Does that imply that i have to create as many parameters with the same number, letīs say 0.001, as i have edges forming my boundary layer?
Or vice versa: Can i force ICEM to check also for the "Copy to all parallel edges" feature?
This brought me to problem number 2#
I tried to set up a simply script.
PSEUDO CODE ON
-load the blocking
-adjust mesh sizing by picking ONE edge (the one with the created parameter known by Workbench!) and apply command with "Copy to all parallel edges"
PSEUDO CODE OFF
When doing this like described, Workbench and ICEM are using different decimal encodings (, vs. .) which stops the script ("Replay failed; syntax error in expression "0,12345*0.001": extra tokens at end of expression") because of 3#.
Even when i choose 0.001 within ICEM to adjust the height in the edgespacing, the created parameter is set to 1, so i have to convert back in the script.
3# and 2# are easy to fix in this case but 1# remains for discussion. Is there a better way? Do i really have to pic ALL edges?
i managed to fix the "encoding" issue via
and forcing the "copy to all" via script and user_defined_parameter.
|All times are GMT -4. The time now is 11:11.|