Correspondance param(85) in latest version

10 views
Skip to first unread message

Alexandre Tlili

unread,
May 26, 2026, 11:16:16 AM (8 days ago) May 26
to Nek5000
Dear Nek community,

I would like to restart a simulation with varied parameters. I was advised to restart it with a small initial timestep, and to gradually increase it over time, until it reaches the CFL-based value. 

Apparently, it used to be possible to set this feature in previous versions using the .rea file (p84=1e-08 and p85=1.2 for instance, with initialDT of 1e-08, increasing geometrically with rate 1.2), but the p85 parameter does not seem to be accessible in the .par file.

Do you know how to reproduce this feature in the latest versions? I am currently using version 20.0-dev.

Thank you for your help.
Best regards

Alexandre Tlili

YuHsiang Lan

unread,
May 26, 2026, 11:29:20 AM (8 days ago) May 26
to Nek5000
Hi Alexandre,

The param(85) is still used in setdt (subs1.f). Currently, there is no par-key to set it from par file.
However, you can always set "param(85)=1.2" manually in places like usrdat.

      else IF (PARAM(84).NE.0.0) THEN
         if (dtold.eq.0.0) then
            dt   =param(84)
            dtold=param(84)
            dtopf=param(84)
            return
         else
            dtold=dt
            dtopf=dt
            dt=dtopf*param(85)
            dt=min(dt,param(12))
         endif
      endif

Hope this helps,
Yu-Hsiang
--

Donkiss Boss

unread,
May 29, 2026, 6:43:49 PM (5 days ago) May 29
to Nek5000
Licensed Pharmaceuticals And Psychedelics Online Store
Buy the best Pharmaceuticals And Psychedelics products in our website with safe and guaranteed shipping and delivery Worldwide
Check out our website below if interested in our products.
https://shorturl.at/BvDVf
https://shorturl.at/ITBJW
https://shorturl.at/wCGS4
https://shorturl.at/RnP0b
https://shorturl.at/GTr8Q
Reply all
Reply to author
Forward
0 new messages