New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Ticket Diff – NEMO

Changes between Initial Version and Version 1 of Ticket #2445


Ignore:
Timestamp:
2020-04-20T19:02:26+02:00 (4 years ago)
Author:
jcastill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2445 – Description

    initial v1  
    1717In the different formulations for surface roughness length in the GLS scheme, a minimum value is imposed (rn_hsro). It would be enough to simply impose a minimum value also when the nn_z0_met=3 scheme is used. This means that, in the zdfgls.F90 file, the line: 
    1818 
     19{{{#!f 
    1920         zhsro(:,:) = rn_frac_hs * hsw(:,:)   ! (rn_frac_hs=1.6 see Eq. (5) of Rascle et al. 2008 ) 
     21}}} 
    2022 
    2123could be substituted by: 
    2224 
     25{{{#!f 
    2326         zhsro(:,:) = MAX(rn_frac_hs * hsw(:,:), rn_hsro)   ! (rn_frac_hs=1.6 see Eq. (5) of Rascle et al. 2008 ) 
     27}}} 
    2428 
    2529I have already tested this modification and it solves the instability and segmentation fault problems, at the same time providing sensible results.