CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Accessing wall clock time from Scheme or UDF (http://www.cfd-online.com/Forums/fluent/37178-accessing-wall-clock-time-scheme-udf.html)

Angelo Sozzi July 6, 2005 18:24

Accessing wall clock time from Scheme or UDF
 
I am currently trying to simulate a process in real time. But for synchronization I would like to somehow access the current time (as in wall clock time).

Does anybody know how to do this? The CURRENT_TIME macro accesses only the current simulated time.

I might be able to use (cpu-time) as this seems to be the time fluent has been open and running (windows). But how do I access this time from within a UDF? RP_Get_Real(cpu-time) does not seem to work.

Any help is appreciated, thanks


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