ROMS wet/dry mask

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
lanerolle
Posts: 157
Joined: Mon Apr 28, 2003 5:12 pm
Location: NOAA

ROMS wet/dry mask

#1 Post by lanerolle » Mon Mar 29, 2010 3:28 pm

I am running ROMS for AK using wetting-drying and as my run is quite long and I need to use a small time-step, I am doing it in segments using the PERFECT_RESTART CPP option. For non-wetting-drying applications, this CPP option has worked very well.

Now, when a ROMS run is initialized, the field wet_dry_masking (ie. the wetting-drying mask) is all zeros - ie. its dry everywhere and as the run progresses, certain places begin to dry and wet but all of the locations given by mask_rho/mask_u/mask_v remain permanently dry as expect.

I however find that when ROMS does a perfect restart, rather than continuing to evolve the wet_dry_masking from where it stopped at the previous run/segment, the run again begins by setting it all to zeros everywhere.

Is this a bug or was the algorithm designed to do so? If I did a run with 10 run segments (from perfect restarts), can I trust the time-evolution of wet_dry_masking for the total number of segments or should I assume that the wetting-drying within each segment is trustworthy and that the previous/next segment is a totally differnt story?

User avatar
kate
Posts: 3809
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: ROMS wet/dry mask

#2 Post by kate » Mon Mar 29, 2010 4:25 pm

It sounds like you might have to debug PERFECT_RESTART for the wet-dry case. Is it giving the same answer with restart as with running through?

User avatar
arango
Site Admin
Posts: 1131
Joined: Wed Feb 26, 2003 4:41 pm
Location: IMCS, Rutgers University
Contact:

Re: ROMS wet/dry mask

#3 Post by arango » Tue Mar 30, 2010 5:37 pm

Yeah, it is possible that we need to initialize the correct wet/dry masking during restart. I will make a note about this and check when I get the time. Now, I am busy with the ROMS workshop.

turuncu
Posts: 128
Joined: Tue Feb 01, 2005 8:21 pm
Location: Istanbul Technical University (ITU)
Contact:

Re: ROMS wet/dry mask

#4 Post by turuncu » Fri May 24, 2013 8:28 am

Hi,

I have same issue and i just wonder that is this bug fixed or still open? I am using ROMS 3.5 with ice model and it seems that it has still problem. When i try to restart the model with perfect restart option, the wet-dry mask is not correct at the beginning. i think that the problem is in the Nonlinear/ini_fields.F because it does not initialise the wet-dry masking correctly. It just checks the critical depth criteria but in fact that the correct wet-dry mask is in the restart file itself. Anyway, if it is not fixed yet, could you tell me the correct place that i need to modify. I think that it must be done in Nonlinear/ini_fields.F like other variables such as zeta, ubar, vbar etc. but i am not sure.

Regards,

--ufuk

User avatar
kate
Posts: 3809
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: ROMS wet/dry mask

#5 Post by kate » Fri May 24, 2013 4:32 pm

I believe some patches involving the wet-dry mask have come out in the past three years. I have not tried WET_DRY with the ice model in a long time, though, and only recently got PERFECT_RESTART working with the ice at all. I suggest you update and see what needs doing on the most recent code (though I did stop short of the patch taking it to ROMS 3.7 which has nothing to do with this particular issue).

turuncu
Posts: 128
Joined: Tue Feb 01, 2005 8:21 pm
Location: Istanbul Technical University (ITU)
Contact:

Re: ROMS wet/dry mask

#6 Post by turuncu » Fri May 24, 2013 5:53 pm

Thanks Kate. I start to work in this problem. I hope i'll fixed it soon. By the way, i am using ice branch which was retrived in 20-03-2012 (i think that it is based on ROMS 3.5) and i just wonder that did you do any major code change after that. I am getting ice frazzle problem somtimes when i use wet-dry with ice model.

Thans again,

--ufuk

User avatar
kate
Posts: 3809
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: ROMS wet/dry mask

#7 Post by kate » Fri May 24, 2013 6:02 pm

Your code is a year old. In that time I have fixed the ice PERFECT_RESTART and fixed the frazil ice trouble to make it die instead of endlessly complaining. Trouble in frazil ice could be due to negative water depths or to bizarre values of T and S (I've seen both). I doubt I've fixed the source of your troubles.

Post Reply