Page 1 of 1

print in probes_files at each time step ?

Posted: Fri Mar 15, 2013 11:25 am
by rezki
Hello,

I run a simulation from 50000 to 300000 iterations (time step number) with 57 probes, and I set "nthist" at one. Simulation is at the 117000 iteration number but only the first ten iterations are printed in tmp files (from 50001 to 50010).

Is there a solution (with "nhist") to print results regularly in probes_files ?!
Regards.

Rezki

Re: print in probes_files at each time step ?

Posted: Fri Mar 15, 2013 1:27 pm
by JamesMcNaughton
You can type the following to print to the listing every 100 time steps.

Code: Select all

nthsav = 100
By default it will do the first 10 and then every 1/4 of the calculation.

Also I think the file is rewritten not appended to, so don't do this too often for big calculations or you'll waste a lot of time.

Re: print in probes_files at each time step ?

Posted: Fri Mar 15, 2013 2:59 pm
by rezki
OK thanks for your help.

So I think that I can change this default value in "caltri" and print results every 1/10 of the calculation for example.

Code: Select all

 nthdef = (ntmabs-ntpabs)/4
 nthdef = (ntmabs-ntpabs)/10
Regards.

Rezki

Re: print in probes_files at each time step ?

Posted: Fri Mar 15, 2013 4:59 pm
by JamesMcNaughton
You can change it in usini1, anywhere in the usipes subroutine. So a good place is the line below where nthist is.

But yes if you wanted to override the default then change in caltri.