ICEM in batch mode : determinant
Hello,
I'm trying to write a simple script in batch mode which calculates the Determinant min (mesh quality) of a mesh. For the moment I tried: ic_empty_tetin ic_read_external C://[path]/readcgns.exe D:/users/toto/Desktop/test.cgns ic_str_metric Determinant {1 2 3 4 5 6 7 8 9 10 11 12 13 14 15} I launch this through the ICEM batch mode (C:/icemcfd -batch -script myscript.rpl) But it doesn't work. In fact it is not doing anything. I think it calculates the stuff but how can I ask him to print the results or to write it in a file? I am thankful for any help! |
No one can help me please ?
|
You can try this approach:
Code:
set diag [ic_str_metric Determinant {1 2 3 4 5 6 7 8 9 10 11 12 13 14 15}] |
Hi,
Thanks a lot for your help. It works well !! Is there any option to select all the domains in my mesh for the calculation of the determinant instead of writing {1 2 3 4 5 6 7 8 9 10 11 12 13 14 15} ? |
The ICEM Programmer's Guide gives little help for this function:
Code:
ic_str_metric type domains You can build a list of all domains like this: Code:
set doms "" |
In fact it works just with the command : ic_str_list_entities domain.
It builds the list I wanted. Thank you Sune ! |
All times are GMT -4. The time now is 13:22. |