(u,v)_visc not writing to diagnostics file

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
ggerbi
Posts: 15
Joined: Thu Jun 12, 2008 6:03 pm
Location: University of Maine

(u,v)_visc not writing to diagnostics file

#1 Unread post by ggerbi »

Using revision 467 I found that the diagnostics were not writing the vertical velocity terms. It looks like this is due to missing code in inp_par.F.

I have added lines at 2767 that seem to have fixed this.

Code: Select all

          ELSE IF (TRIM(KeyWord).eq.'Dout(M3vvis)') THEN
            IF (M3vvis.le.0) THEN
              IF (Master) WRITE (out,280) 'M3vvis'
              exit_flag=5
              RETURN
            END IF
            Npts=load_l(Nval, Cval, Ngrids, Ldiag)
            DO ng=1,Ngrids
              Dout(idDu3d(M3vvis),ng)=Ldiag(ng)
              Dout(idDv3d(M3vvis),ng)=Ldiag(ng)
            END DO
Also, I have not looked at this in detail, but inp_par.F may also be missing a couple lines for M3yvis around 4500 when compared to lines for M3xvis.

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

Re: (u,v)_visc not writing to diagnostics file

#2 Unread post by arango »

Yes, the processing of vertical mixing for momentum diagnostics and reporting Dout(M3yvis) were missing. Thank you for reporting this problem. I corrected the :arrow: repository.

Post Reply