CFD Online Logo CFD Online URL
Home > Forums > FLUENT

journal files and SCHEME

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 25, 2007, 04:29
Default journal files and SCHEME
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.

  Reply With Quote

Old   June 6, 2007, 10:41
Default Re: journal files and SCHEME
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
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Journal files - Batch mode RĂ©mi GOULET FLUENT 4 April 30, 2008 17:06
Journal file for for NITA scheme using LES anindya FLUENT 5 August 6, 2006 11:54
journal files mary FLUENT 2 March 3, 2005 14:22
[making animations] fclose fails to close files? Mika FLUENT 0 March 30, 2001 08:19
Experimental Repository for UDFs, Journal Files and Scheme Scripts Jonas Larsson FLUENT 0 March 5, 2000 16:36

All times are GMT -4. The time now is 11:28.