ntimes

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
nma

ntimes

#1 Unread post by nma »

hi,

there is something strange with my model's time set-up. Log file shows ntimes=1:

1 ntimes Number of timesteps for 3-D equations.
900.000 dt Timestep size (s) for 3-D equations.

and as a result, it stops after first time-step:

STEP Day HH:MM:SS KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME
C => (i,j,k) Cu Cv Cw Max Speed

0 40149 24:00:00 0.000000E+00 2.082790E+04 2.082790E+04 1.023564E+17
(000,000,00) 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00
1 40150 00:15:00 4.998644E-05 2.082760E+04 2.082760E+04 1.023545E+17
(105,071,32) 1.173968E-02 1.603742E-02 0.000000E+00 4.677915E-01
Elapsed CPU time (seconds):

Thread # 0 CPU: 25.681
Total: 25.681


Although in ocean.in file, I specified
! Time-Stepping parameters.

NTIMES == 3854400
DT == 900.0d0
NDTFAST == 30.0d0

the ocean_time I used is 3468960000 (s) (ref. time wrt. 1850-01-01)
tstart=40150 days

What am I missing!

Thanks.

User avatar
wilkin
Posts: 879
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: ntimes

#2 Unread post by wilkin »

In wikiroms http://www.myroms.org/wiki a search on "ntimes" gives this link: https://www.myroms.org/wiki/index.php/ntimes which shows that "Note that ntimes determines the timestep on which the run will end. "

So if your initial conditions time is 40150 days, or 3468960000 seconds, and you request to run until ntimes*dt = 3854400*900 = 3468960000, then you end precisely when you start.

There are very good reasons why NTIMES is the number of the timestep on which to end the simulation. They are noted at https://www.myroms.org/wiki/index.php/ntimes
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Post Reply