[5144] | 1 | SUBROUTINE evappot(klon, nbsrf, ftsol, pplay, cdragh, & |
---|
| 2 | t_seri, q_seri, u_seri, v_seri, evap_pot) |
---|
| 3 | USE lmdz_yoethf |
---|
[5153] | 4 | |
---|
[5144] | 5 | USE lmdz_yomcst |
---|
[1724] | 6 | |
---|
[5144] | 7 | IMPLICIT NONE |
---|
[5153] | 8 | INCLUDE "FCTTRE.h" |
---|
[1724] | 9 | |
---|
[5144] | 10 | INTEGER :: klon, nbsrf |
---|
| 11 | REAL, DIMENSION(klon, nbsrf) :: ftsol, evap_pot |
---|
| 12 | REAL, DIMENSION(klon) :: pplay, t_seri, wind, q_seri, u_seri, v_seri, cdragh |
---|
[1724] | 13 | |
---|
[5144] | 14 | INTEGER :: nsrf, i |
---|
| 15 | REAL, DIMENSION(klon, nbsrf) :: qsat_ftsol |
---|
| 16 | REAL, DIMENSION(klon) :: rhos, norme_u |
---|
| 17 | REAL :: t_coup |
---|
[1724] | 18 | |
---|
[5144] | 19 | t_coup = 234. ! Quelle horreur !!!!! |
---|
[1724] | 20 | |
---|
[5144] | 21 | DO nsrf = 1, nbsrf |
---|
| 22 | DO i = 1, klon |
---|
| 23 | IF (ftsol(i, nsrf)<t_coup) THEN |
---|
| 24 | qsat_ftsol(i, nsrf) = qsats(ftsol(i, nsrf)) / pplay(i) |
---|
[1724] | 25 | ELSE |
---|
[5144] | 26 | qsat_ftsol(i, nsrf) = qsatl(ftsol(i, nsrf)) / pplay(i) |
---|
[1724] | 27 | ENDIF |
---|
[5144] | 28 | ENDDO |
---|
| 29 | ENDDO |
---|
| 30 | ! ========================================================== c |
---|
| 31 | ! Calcul de l'evaporation Potentielle |
---|
[1724] | 32 | |
---|
[5144] | 33 | rhos(:) = pplay(:) / (RD * t_seri(:)) |
---|
| 34 | norme_u(:) = 1. + sqrt(u_seri(:) * u_seri(:) + v_seri(:) * v_seri(:)) |
---|
| 35 | DO nsrf = 1, nbsrf |
---|
| 36 | evap_pot(:, nsrf) = rhos(:) * cdragh(:) * norme_u(:) * (qsat_ftsol(:, nsrf) - q_seri(:)) |
---|
| 37 | ENDDO |
---|
| 38 | RETURN |
---|
[1724] | 39 | |
---|
| 40 | END |
---|