[2560] | 1 | subroutine su_aer_radii(ngrid,nlayer,reffrad,nueffrad) |
---|
| 2 | !================================================================== |
---|
| 3 | ! Purpose |
---|
| 4 | ! ------- |
---|
| 5 | ! Compute the effective radii of liquid and icy water particles |
---|
| 6 | ! |
---|
| 7 | ! Authors |
---|
| 8 | ! ------- |
---|
| 9 | ! Jeremy Leconte (2012) |
---|
| 10 | ! |
---|
| 11 | !================================================================== |
---|
| 12 | use radinc_h, only: naerkind |
---|
| 13 | use aerosol_mod, only: iaero_venus1, iaero_venus2, iaero_venus2p, & |
---|
| 14 | iaero_venus3, iaero_venusUV |
---|
| 15 | |
---|
| 16 | Implicit none |
---|
| 17 | |
---|
| 18 | integer,intent(in) :: ngrid |
---|
| 19 | integer,intent(in) :: nlayer |
---|
| 20 | |
---|
| 21 | real, intent(out) :: reffrad(ngrid,nlayer,naerkind) !aerosols radii (K) |
---|
| 22 | real, intent(out) :: nueffrad(ngrid,nlayer,naerkind) !variance |
---|
| 23 | |
---|
| 24 | logical, save :: firstcall=.true. |
---|
| 25 | !$OMP THREADPRIVATE(firstcall) |
---|
| 26 | integer :: iaer |
---|
| 27 | |
---|
| 28 | ! print*,'enter su_aer_radii' |
---|
| 29 | do iaer=1,naerkind |
---|
| 30 | ! these values will change once the microphysics gets to work |
---|
| 31 | ! UNLESS tracer=.false., in which case we should be working with |
---|
| 32 | ! a fixed aerosol layer, and be able to define reffrad in a |
---|
| 33 | ! .def file. To be improved! |
---|
| 34 | ! |-> Done in th n-layer aerosol case (JVO 20) |
---|
| 35 | |
---|
| 36 | if(iaer.eq.iaero_venus1)then ! Venus cloud, mode 1, Haus13 model |
---|
| 37 | reffrad(1:ngrid,1:nlayer,iaer) = 0.49e-6 |
---|
| 38 | nueffrad(1:ngrid,1:nlayer,iaer) = 0.21 |
---|
| 39 | endif |
---|
| 40 | |
---|
| 41 | if(iaer.eq.iaero_venus2)then ! Venus cloud, mode 2, Haus13 model |
---|
| 42 | reffrad(1:ngrid,1:nlayer,iaer) = 1.23e-6 |
---|
| 43 | nueffrad(1:ngrid,1:nlayer,iaer) = 0.067 |
---|
| 44 | endif |
---|
| 45 | |
---|
| 46 | if(iaer.eq.iaero_venus2p)then ! Venus cloud, mode 2p, Haus13 model |
---|
| 47 | reffrad(1:ngrid,1:nlayer,iaer) = 1.56e-6 |
---|
| 48 | nueffrad(1:ngrid,1:nlayer,iaer) = 0.044 |
---|
| 49 | endif |
---|
| 50 | |
---|
| 51 | if(iaer.eq.iaero_venus3)then ! Venus cloud, mode 3, Haus13 model |
---|
| 52 | reffrad(1:ngrid,1:nlayer,iaer) = 4.25e-6 |
---|
| 53 | nueffrad(1:ngrid,1:nlayer,iaer) = 0.062 |
---|
| 54 | endif |
---|
| 55 | |
---|
| 56 | if(iaer.eq.iaero_venusUV)then ! Venus cloud, UV abs, 1 val as in table |
---|
| 57 | reffrad(1:ngrid,1:nlayer,iaer) = 0.5e-6 |
---|
| 58 | nueffrad(1:ngrid,1:nlayer,iaer) = 0.1 |
---|
| 59 | endif |
---|
| 60 | |
---|
| 61 | enddo |
---|
| 62 | |
---|
| 63 | ! print*,'exit su_aer_radii' |
---|
| 64 | end subroutine su_aer_radii |
---|
| 65 | |
---|
| 66 | |
---|