|
[Sponsors] |
How to monitor elapsed wall clock time in a transient simulation? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 23, 2018, 16:36 |
How to monitor elapsed wall clock time in a transient simulation?
|
#1 |
Member
Join Date: Oct 2017
Posts: 89
Rep Power: 8 |
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. |
|
January 24, 2018, 04:31 |
|
#2 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
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 |
|
January 24, 2018, 10:28 |
|
#3 |
Member
Join Date: Oct 2017
Posts: 89
Rep Power: 8 |
(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? |
|
January 24, 2018, 11:02 |
|
#4 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
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 |
|
January 24, 2018, 14:28 |
|
#5 |
Member
Join Date: Oct 2017
Posts: 89
Rep Power: 8 |
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. |
|
January 24, 2018, 15:59 |
|
#6 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27 |
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? |
|
January 24, 2018, 16:16 |
|
#7 |
Member
Join Date: Oct 2017
Posts: 89
Rep Power: 8 |
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) ? |
|
January 24, 2018, 16:25 |
|
#8 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27 |
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. |
|
January 24, 2018, 16:58 |
|
#9 |
Member
Join Date: Oct 2017
Posts: 89
Rep Power: 8 |
Ok, thanks for your help!
|
|
|
|
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 |