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

How to monitor elapsed wall clock time in a transient simulation?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2018, 16:36
Default How to monitor elapsed wall clock time in a transient simulation?
  #1
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road
Basically im running a transient simulation of X amount of seconds y i need to know the elapsed wall clock time for Y*X seconds, where 0<Y<1 and for different values of Y.

How can i do that? I search online for CEL expressions for wall clock time but didnt find :/

Greetings.
Guille1811 is offline   Reply With Quote

Old   January 24, 2018, 04:31
Default
  #2
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11
urosgrivc is on a distinguished road
You can monitor elapsed wall clock time

(1) by enabeling time plot in solver manager while solving or
(2) making a graph of y(t) in cfx post
urosgrivc is offline   Reply With Quote

Old   January 24, 2018, 10:28
Default
  #3
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road

(1) by enabeling time plot in solver manager while solving


that time plot is the simulation times (37 seconds in my case). I need the computational time (i dont know the exact technical name), ie the number of hours it took the computer tu run the simulation.

(2) making a graph of y(t) in cfx post

What is y(t) and where is it in cfx post?
Guille1811 is offline   Reply With Quote

Old   January 24, 2018, 11:02
Default
  #4
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11
urosgrivc is on a distinguished road
Total computational and intermidiate times are reported in the solver manager. You can see them later in the output file or in (display monitors).

For charting time dependant variables you can insert a chart in cfx post and set it to transient
urosgrivc is offline   Reply With Quote

Old   January 24, 2018, 14:28
Default
  #5
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road
Intermidiate times reported in the output file (i guess you refer to "CPU seconds" on each iteration) are not the same as conpumtational times and therefore not what im looking (they are like 1 order of magnitude bigger).

Total computational time indeed is in the output file, but that is just of the total simulation and i need to analize along the simulation run.

I tried to do a chart in cfx post as you suggested bv the only variables available to plot are the same as in solver manager (acumulated timestep, current timestep and time), none of which is what im looking for.
Guille1811 is offline   Reply With Quote

Old   January 24, 2018, 15:59
Default
  #6
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
You should divide the CPU seconds by the number of processors that you run your calculation on. If you run on 10 processors, then the order of magnitude difference can be explained.

The wall clock time has nothing to do with the physics that you are solving in CFX. So why are you looking for it as variable to use in Post?
Gert-Jan is offline   Reply With Quote

Old   January 24, 2018, 16:16
Default
  #7
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road
You should divide the CPU seconds by the number of processors that you run your calculation on. If you run on 10 processors, then the order of magnitude difference can be explained.

That make sense and explains the values, thanks. In that case, how can do a plot of CPU seconds v/s timestep (or vs simulation time ideally) ?
Guille1811 is offline   Reply With Quote

Old   January 24, 2018, 16:25
Default
  #8
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
I don't think that is possible in the solver manager. Ask ANSYS. Maybe there is a magic button.
Alternatively import the output file into a spreadsheet, so some filtering and sorting and make your own graph. Or write some python code to extract the data out of the output file.
Gert-Jan is offline   Reply With Quote

Old   January 24, 2018, 16:58
Default
  #9
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road
Ok, thanks for your help!
Guille1811 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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
Problem with an old Simulation FrankW CFX 3 February 8, 2016 04:28
Transient run continues from last time (when startover is desired) bongbang CFX 2 March 22, 2015 23:05
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 07:47


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