Author Topic: Read time from output file  (Read 4998 times)

Arthur

  • New Member
  • *
  • Posts: 4
Read time from output file
« on: September 11, 2013, 10:52:54 AM »
Hi everyone,

I am trying to read the time which was consumed in one tang,,1 step, can anyone tell me which is the right time in following output file? I noticed there are two numbers after each "t=", what do they mean? Thanks

 *Command   1 * pets ON             v:   0.00       0.00       0.00   
                                                           t=     7.69     0.04
  PETSC Solver

 *Command   2 * cont check          v:   0.00       0.00       0.00   
                                                           t=     7.69     0.04
-->Contact check
 *Command   3 * tang                v:   1.00       0.00       0.00   
                                                           t=     7.71     0.04
   Residual norm =     2.5495098E+03    1.0000000E+00      t=    22.93    11.06
   Energy convergence test
    Initial   =    4.364174321892417E+04 Current   =    4.364174321892417E+04
    Relative  =    1.000000000000000E+00 Tolerance =    1.000000000000000E-16
 *End of Solution Execution*                               t=    77.45    11.87

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Read time from output file
« Reply #1 on: September 11, 2013, 11:54:19 AM »
The time reported are determined by etime( ).
The first number is the user time in seconds from the start of the process (from when you start FEAP)
The second number is the system time in seconds from the start of the process.
The sum of the two is number of seconds of runtime from the start of the process.

See your FORTRAN manual's description for etime( ) for further details.

Arthur

  • New Member
  • *
  • Posts: 4
Re: Read time from output file
« Reply #2 on: September 11, 2013, 12:49:25 PM »
Thank you very much.

So in this case,

The runtime of the 'tang,,1' step = (77.45  +  11.87) - (7.71  +  0.04)

right?