About how to apply artificial time-dependent VISC2

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
lijunlu1010
Posts: 1
Joined: Thu Aug 22, 2019 1:56 pm
Location: Hong Kong University of Science and Technology

About how to apply artificial time-dependent VISC2

#1 Post by lijunlu1010 » Thu Aug 22, 2019 2:10 pm

Hi all, is there any way to apply time-dependent VISC2 parameter into the model? For example, a linear decreasing of VISC2=200 in day 1 to VISC2=10 in day 100.
I have tried to change the code in hmixing.F file but I could not figure out which is the variable that represents the model time or time step. It seems that the model only keeps 3 time steps in its calculation. As a result, I cannot create a horizontal viscosity as a function of time (or time step) of the model. Is there any suggestions to solve this problem? Thank you very much!

dlebars
Posts: 5
Joined: Fri Oct 02, 2015 2:24 pm
Location: KNMI, The Netherlands
Contact:

Re: About how to apply artificial time-dependent VISC2

#2 Post by dlebars » Mon Aug 26, 2019 9:20 am

Hi. This might not be a satisfying answer but I would solve this problem in a simple way. I would not modify the code. That is taking the risk of including bugs and it makes it difficult to move to newer code version in the future. I would instead make a bash or python script that runs the model for 10 days with visc2 = 200, then use the restart and run the model with visc2 = 180 for 10 days and again...

Post Reply