Changes between Initial Version and Version 1 of Ticket #2445
- Timestamp:
- 2020-04-20T19:02:26+02:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2445 – Description
initial v1 17 17 In 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: 18 18 19 {{{#!f 19 20 zhsro(:,:) = rn_frac_hs * hsw(:,:) ! (rn_frac_hs=1.6 see Eq. (5) of Rascle et al. 2008 ) 21 }}} 20 22 21 23 could be substituted by: 22 24 25 {{{#!f 23 26 zhsro(:,:) = MAX(rn_frac_hs * hsw(:,:), rn_hsro) ! (rn_frac_hs=1.6 see Eq. (5) of Rascle et al. 2008 ) 27 }}} 24 28 25 29 I have already tested this modification and it solves the instability and segmentation fault problems, at the same time providing sensible results.