|
[Sponsors] |
[ICEM] Error with tcl script occuring sometimes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 6, 2018, 02:56 |
Error with tcl script occuring sometimes
|
#1 |
Member
Michal
Join Date: May 2017
Posts: 35
Rep Power: 8 |
Hello everybody!
I have some problem with scripting ICEM CFD. My script usually works well without any issues, this problem happens only sometimes on our cluster (on other computer works well all the time). I run CFD using batch command with the *.tcl script. Sometimes while excecuting ICEM crashes with the error (shown below). ICEM version 15.0 or 19.1 - doesn't matter. Screen: https://imgur.com/a/4aGqudU Anybody could suggest how to solve it? Best regards, M |
|
November 6, 2018, 08:21 |
|
#2 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20 |
Hi Michal,
could you share the head of your script, until line 57. Alternatively,share the parts where you set the variable err and the variable ret? So, it seems the variable err is true in your case and tries to raise an error. There might be some command left in the ret variable. Best regards, Sebastian best regards, Sebastian |
|
November 6, 2018, 08:30 |
|
#3 | ||
Member
Michal
Join Date: May 2017
Posts: 35
Rep Power: 8 |
Hi Sebastian
Quote:
Quote:
Best regards, M |
|||
November 6, 2018, 09:34 |
|
#4 | |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20 |
Quote:
I see... So there must be something going wrong with Code:
ic_geo_new_family GEOM It never has been any issue in my work, anyways: do you work in different operating systems, such as windows and linux? Are the issues only occuring on a specific os? By any chance, are you using Notepad++? I could reproduce a similar error when using UTF8-BOM encoding. Plain UTF8 seems to be no problem. Can you try to save your script in UTF8 without BOM Best regards, Sebastian |
||
November 6, 2018, 09:40 |
|
#5 |
Member
Michal
Join Date: May 2017
Posts: 35
Rep Power: 8 |
I work on Windows Server 2012.
The strangest thing is that it usually works and crashes only sometimes. It's a little bit annoying because I run simulations one by one and that issue stops whole process. I use Notepad++. I will try with different oding, thank you for involvement! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Split connectors at their intersection | FOUAD12 | Pointwise & Gridgen | 3 | October 8, 2018 10:42 |
[Workbench] Run ICEM Script in Workbench Script | MIZOR | ANSYS Meshing & Geometry | 9 | April 4, 2018 07:45 |
[ICEM] Tcl script problem : can't insert a list into a blocking command | macfly | ANSYS Meshing & Geometry | 0 | March 5, 2016 11:59 |
CentFOAM Python Script Installation: Error | socon009 | OpenFOAM Installation | 2 | May 26, 2012 09:36 |
Error in Tcl script | Haider | Fidelity CFD | 2 | October 5, 2007 01:44 |