PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
mode_lima_droplets_self_collection.F90
Go to the documentation of this file.
1!MNH_LIC Copyright 2018-2024 CNRS, Meteo-France and Universite Paul Sabatier
2!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
3!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4!MNH_LIC for details. version 1.
5!-------------------------------------------------------------------------------
7 IMPLICIT NONE
8CONTAINS
9! ######################################################################
10 SUBROUTINE lima_droplets_self_collection (LIMAP, LIMAW, KSIZE, ODCOMPUTE, &
11 PRHODREF, &
12 PCCT, PLBDC3, &
13 P_CC_SELF )
14! ######################################################################
15!
16!! PURPOSE
17!! -------
18!! Compute the self-collection of cloud droplets rate
19!!
20!!
21!! AUTHOR
22!! ------
23!! J.-M. Cohard * Laboratoire d'Aerologie*
24!! J.-P. Pinty * Laboratoire d'Aerologie*
25!! S. Berthet * Laboratoire d'Aerologie*
26!! B. Vié * CNRM *
27!!
28!! MODIFICATIONS
29!! -------------
30!! Original 15/03/2018
31!!
32!-------------------------------------------------------------------------------
33!
34!* 0. DECLARATIONS
35! ------------
36!
39USE yomhook, ONLY:lhook, dr_hook, jphook
40!
41IMPLICIT NONE
42!
43!* 0.1 Declarations of dummy arguments :
44!
45INTEGER, INTENT(IN) :: KSIZE
46LOGICAL, DIMENSION(KSIZE),INTENT(IN) :: ODCOMPUTE
47!
48REAL, DIMENSION(KSIZE), INTENT(IN) :: PRHODREF ! Reference Exner function
49!
50REAL, DIMENSION(KSIZE), INTENT(IN) :: PCCT ! Cloud water C. at t
51REAL, DIMENSION(KSIZE), INTENT(IN) :: PLBDC3 !
52!
53REAL, DIMENSION(KSIZE), INTENT(OUT) :: P_CC_SELF
54!
55!* 0.2 Declarations of local variables :
56!
57TYPE(param_lima_warm_t),INTENT(IN)::LIMAW
58TYPE(param_lima_t),INTENT(IN)::LIMAP
59REAL, DIMENSION(SIZE(PCCT)) :: ZW ! work arrays
60REAL(KIND=jphook) :: zhook_handle
61!
62!-------------------------------------------------------------------------------
63!
64!
65!* 1. Cloud droplets self collection
66! ------------------------------
67!
68!
69IF (lhook) CALL dr_hook('LIMA_DROPLETS_SELF_COLLECTION', 0, zhook_handle)
70p_cc_self(:)=0.
71!
72WHERE( pcct(:)>limap%XCTMIN(2) .AND. odcompute(:) )
73 zw(:) = limaw%XSELFC*(pcct(:)/plbdc3(:))**2 * prhodref(:) ! analytical integration
74 p_cc_self(:) = - zw(:)
75END WHERE
76!
77!
78!-------------------------------------------------------------------------------
79!
80IF (lhook) CALL dr_hook('LIMA_DROPLETS_SELF_COLLECTION', 1, zhook_handle)
subroutine lima_droplets_self_collection(limap, limaw, ksize, odcompute, prhodref, pcct, plbdc3, p_cc_self)