CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   Suspend iterations from UDF (http://www.cfd-online.com/Forums/fluent-udf/88561-suspend-iterations-udf.html)

masins May 20, 2011 04:25

Suspend iterations from UDF
 
Hi,
I have to develope an UDF in Fluent that read an external text file in wich are stored some informations. After this reading I have to perform an "if" statement finalized to put Fluent in pause when a particular condition is reached. This procedure is a part of a syncronization process between codes (Fluent and in-house code).
I've already written the UDF for the first part but now I don't know how to suspend the iterations (for a given time) from the UDF.

What I need is something similar to the command "!sleep 60s" that works succesfully into a journal file but, for what I've seen, is not available in UDFs.

Is not crucial for me to use an UDF but I've tried with an UDF because is the only way that I know to perform a control statement.

Someone can help me?
Best regards.

Massimiliano


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