Skip to content
Snippets Groups Projects
Commit 8cd8cd58 authored by VIE Benoît's avatar VIE Benoît
Browse files

Bugfix lambda computation for rain in case NMOM_R=1

parent eb463759
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,7 @@ XLBEXC = 1.0/XBC ...@@ -166,7 +166,7 @@ XLBEXC = 1.0/XBC
IF (NMOM_R.EQ.1) THEN IF (NMOM_R.EQ.1) THEN
XCCR = 8.E6 XCCR = 8.E6
XCXR = -1. XCXR = -1.
XLBEXR = 1.0/XBR XLBEXR = 1.0/(XCXR-XBR)
XLBR = ( XAR*XCCR*MOMG(XALPHAR,XNUR,XBR) )**(-XLBEXR) XLBR = ( XAR*XCCR*MOMG(XALPHAR,XNUR,XBR) )**(-XLBEXR)
ELSE ELSE
XLBR = XAR*ZGAMR(2) XLBR = XAR*ZGAMR(2)
......
...@@ -150,8 +150,7 @@ ELSE ...@@ -150,8 +150,7 @@ ELSE
! !
! Compute the function G(T) ! Compute the function G(T)
! !
ZZW2(:) = 1. / ( XRHOLW*((((PLV(:)/PT(:))**2)/(XTHCO*XRV)) + & ! G ZZW2(:) = 1. / ( XRHOLW*((((PLV(:)/PT(:))**2)/(XTHCO*XRV)) + (XRV*PT(:))/(XDIVA*PEVSAT(:)))) !G
(XRV*PT(:))/(XDIVA*PEVSAT(:))))
! !
! Compute the evaporation tendency ! Compute the evaporation tendency
! !
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment