CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Accessing wall clock time from Scheme or UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2005, 18:24
Default Accessing wall clock time from Scheme or UDF
  #1
Angelo Sozzi
Guest
 
Posts: n/a
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
  Reply With Quote

Old   February 26, 2017, 17:31
Default
  #2
Senior Member
 
SinaJ
Join Date: Nov 2009
Posts: 136
Rep Power: 16
sina_mech is on a distinguished road
-- deleted message --
sina_mech is offline   Reply With Quote

Old   February 23, 2018, 05:03
Default
  #3
New Member
 
Mikhail O.
Join Date: Feb 2018
Posts: 2
Rep Power: 0
MikhO is on a distinguished road
Hello! I am also interested in this question.

How can one obtain a real time during computations?
There is a way to get a so-called CPU-time by typing in the Console:
(solver-cpu-time)
Is there something similar to this command?

Another question, how to use a value get by "(solver-cpu-time)" in UDFs?
Angelo Sozzi, did you solve the problem?

Thank you.
MikhO is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing wall shear stress using UDF Robert Fluent UDF and Scheme Programming 2 July 31, 2013 08:34
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03
Free Stream & Wall Temp UDF jww FLUENT 0 October 2, 2009 09:37
Time spent on FV scheme rothan Main CFD Forum 1 January 20, 2000 11:39


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