|
[Sponsors] |
May 25, 2007, 05:29 |
journal files and SCHEME
|
#1 |
Guest
Posts: n/a
|
Hi Fluent Users,
Does anyone know how to regain control of Fluent in a journal file after an error has occured? I am calling Fluent repeatedly from another piece of software, with a number of different meshes (running a genetic algorithm). Sometimes the mesh is rubbish, and Fluent either will not calculate, or hangs up after several iterations. In this case the journal file is aborted and Fluent just sits there doing nothing. Does anyone have any suggestions how to avoid this, or to detect it and do something about it? I've two ideas, but I don't know how to implement them in SCHEME: 1) if (fluent detects divergence) then (close fluent) 2) if (fluent is still open after 1000 seconds) then (close fluent) Hoping some-one can help!! Hugo. |
|
June 6, 2007, 11:41 |
Re: journal files and SCHEME
|
#2 |
Guest
Posts: n/a
|
in scheme i think you have access to the actual time by simply typing (time). if it doesn't work you can also make system calls, like (system "batch_command")
i don't know how to detect divergence but you can maybe access the residuals and check if they're above a certain treshold |
|
October 26, 2017, 10:25 |
Try and Catch of Errors
|
#3 |
New Member
Join Date: Jan 2017
Location: Austria
Posts: 20
Rep Power: 9 |
Hi,
you can catch errors in any programming language you want. "Try/Catch" The Fundamentals are here: https://www.researchgate.net/publica...t_and_ParaVIEW Have a nice day! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Journal files - Batch mode | RĂ©mi GOULET | FLUENT | 4 | April 30, 2008 18:06 |
Journal file for for NITA scheme using LES | anindya | FLUENT | 5 | August 6, 2006 12:54 |
journal files | mary | FLUENT | 2 | March 3, 2005 14:22 |
[making animations] fclose fails to close files? | Mika | FLUENT | 0 | March 30, 2001 09:19 |
Experimental Repository for UDFs, Journal Files and Scheme Scripts | Jonas Larsson | FLUENT | 0 | March 5, 2000 16:36 |