[86] | 1 | SUBROUTINE dustlift(ngrid,nlay,nq,rho, |
---|
| 2 | $ pcdh_true,pcdh,co2ice, |
---|
[38] | 3 | $ dqslift) |
---|
| 4 | IMPLICIT NONE |
---|
| 5 | |
---|
| 6 | c======================================================================= |
---|
| 7 | c |
---|
| 8 | c Dust lifting by surface winds |
---|
| 9 | c Computing flux to the middle of the first layer |
---|
| 10 | c (Called by vdifc) |
---|
| 11 | c |
---|
| 12 | c======================================================================= |
---|
| 13 | |
---|
| 14 | c----------------------------------------------------------------------- |
---|
| 15 | c declarations: |
---|
| 16 | c ------------- |
---|
| 17 | |
---|
| 18 | #include "dimensions.h" |
---|
| 19 | #include "dimphys.h" |
---|
| 20 | #include "comcstfi.h" |
---|
| 21 | #include "tracer.h" |
---|
| 22 | |
---|
| 23 | c |
---|
| 24 | c arguments: |
---|
| 25 | c ---------- |
---|
| 26 | |
---|
| 27 | c INPUT |
---|
| 28 | integer ngrid, nlay, nq |
---|
| 29 | real rho(ngrid) ! density (kg.m-3) at surface |
---|
| 30 | real pcdh_true(ngrid) ! Cd |
---|
| 31 | real pcdh(ngrid) ! Cd * |V| |
---|
| 32 | real co2ice(ngrid) |
---|
| 33 | |
---|
| 34 | c OUTPUT |
---|
| 35 | real dqslift(ngrid,nq) !surface dust flux to mid-layer (<0 when lifing) |
---|
| 36 | c real pb(ngrid,nlay) ! diffusion to surface coeff. |
---|
| 37 | |
---|
| 38 | c local: |
---|
| 39 | c ------ |
---|
| 40 | INTEGER ig,iq |
---|
| 41 | REAL fhoriz(ngridmx) ! Horizontal dust flux |
---|
| 42 | REAL ust,us |
---|
| 43 | REAL stress_seuil |
---|
| 44 | SAVE stress_seuil |
---|
| 45 | DATA stress_seuil/0.0225/ ! stress seuil soulevement (N.m2) |
---|
| 46 | |
---|
[86] | 47 | #ifdef MESOSCALE |
---|
| 48 | !!!! AS: In the mesoscale model we'd like to easily set |
---|
| 49 | !!!! AS: ... stress for lifting |
---|
| 50 | !!!! AS: you have to compile with -DMESOSCALE to do so |
---|
| 51 | REAL alpha |
---|
[310] | 52 | REAL r0_lift |
---|
[86] | 53 | INTEGER ierr |
---|
[310] | 54 | REAL ulim |
---|
[86] | 55 | OPEN(99,file='stress.def',status='old',form='formatted' |
---|
| 56 | . ,iostat=ierr) |
---|
| 57 | !!! no file => default values |
---|
| 58 | IF(ierr.EQ.0) THEN |
---|
[310] | 59 | READ(99,*) ulim !ulim = sqrt(stress_seuil/rho) avec rho = 0.02. |
---|
| 60 | !prendre ulim = 1.061 m/s pour avoir stress_seuil = 0.0225 |
---|
[86] | 61 | READ(99,*) alpha |
---|
[310] | 62 | stress_seuil = 0.02 * ulim * ulim |
---|
[86] | 63 | write(*,*) 'USER-DEFINED threshold: ', stress_seuil, alpha |
---|
| 64 | CLOSE(99) |
---|
[310] | 65 | alpha_lift(igcm_dust_mass) = alpha |
---|
| 66 | r0_lift = radius(igcm_dust_mass) / ref_r0 |
---|
| 67 | alpha_lift(igcm_dust_number)=r3n_q* |
---|
| 68 | & alpha_lift(igcm_dust_mass)/r0_lift**3 |
---|
| 69 | write(*,*) 'set dust number: ', alpha_lift(igcm_dust_number) |
---|
[86] | 70 | ENDIF |
---|
| 71 | #endif |
---|
[38] | 72 | |
---|
| 73 | c --------------------------------- |
---|
| 74 | c Computing horizontal flux: fhoriz |
---|
| 75 | c --------------------------------- |
---|
| 76 | |
---|
| 77 | do ig=1,ngrid |
---|
| 78 | fhoriz(ig) = 0. ! initialisation |
---|
| 79 | |
---|
| 80 | c Selection of points where surface dust is available |
---|
| 81 | c ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 82 | c if (latid(ig).ge.80.) goto 99 ! N permanent polar caps |
---|
| 83 | c if (latid(ig).le.-80.) goto 99 ! S polar deposits |
---|
| 84 | c if ((longd(ig).ge.-141. .and. longd(ig).le.-127.) |
---|
| 85 | c & .and.(latid(ig).ge.12. .and. latid(ig).le.23.))goto 99 ! olympus |
---|
| 86 | c if ((longd(ig).ge.-125. .and. longd(ig).le.-118.) |
---|
| 87 | c & .and.(latid(ig).ge.-12. .and. latid(ig).le.-6.))goto 99 ! Arsia |
---|
| 88 | c if ((longd(ig).ge.-116. .and. longd(ig).le.-109.) |
---|
| 89 | c & .and.(latid(ig).ge.-5. .and. latid(ig).le. 5.))goto 99 ! pavonis |
---|
| 90 | c if ((longd(ig).ge.-109. .and. longd(ig).le.-100.) |
---|
| 91 | c & .and.(latid(ig).ge. 7. .and. latid(ig).le. 16.))goto 99 ! ascraeus |
---|
| 92 | c if ((longd(ig).ge. 61. .and. longd(ig).le. 63.) |
---|
| 93 | c & .and.(latid(ig).ge. 63. .and. latid(ig).le. 64.))goto 99 !weird point |
---|
| 94 | if (co2ice(ig).gt.0.) goto 99 |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | c Is the wind strong enough ? |
---|
| 98 | c ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 99 | ust = sqrt(stress_seuil/rho(ig)) |
---|
| 100 | us = pcdh(ig) / sqrt(pcdh_true(ig)) ! ustar=cd*v /sqrt(cd) |
---|
| 101 | if (us.gt.ust) then |
---|
| 102 | c If lifting ? |
---|
| 103 | c Calcul du flux suivant Marticorena ( en fait white (1979)) |
---|
| 104 | |
---|
| 105 | fhoriz(ig) = 2.61*(rho(ig)/g) * |
---|
| 106 | & (us -ust) * (us + ust)**2 |
---|
| 107 | end if |
---|
| 108 | 99 continue |
---|
| 109 | end do |
---|
| 110 | |
---|
| 111 | c ------------------------------------- |
---|
| 112 | c Computing vertical flux and diffusion |
---|
| 113 | c ------------------------------------- |
---|
| 114 | |
---|
| 115 | do iq=1,nq |
---|
| 116 | do ig=1,ngrid |
---|
| 117 | dqslift(ig,iq)= -alpha_lift(iq)* fhoriz(ig) |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | cc le flux vertical remplace le terme de diffusion turb. qui est mis a zero |
---|
| 121 | c zb(ig,1) = 0. |
---|
| 122 | cc If surface deposition by turbulence diffusion (impaction...) |
---|
| 123 | cc if(fhoriz(ig).ne.0) then |
---|
| 124 | cc zb(ig,1) = zcdh(ig)*zb0(ig,1) |
---|
| 125 | cc AMount of Surface deposition ! |
---|
| 126 | cc pdqs_dif(ig,iq)=pdqs_dif(ig,iq) + |
---|
| 127 | cc & zb(ig,1)*zq(ig,1,iq)/ptimestep |
---|
| 128 | cc write(*,*) 'zb(1) = ' , zb(ig,1),zcdh(ig),zb0(ig,1) |
---|
| 129 | cc |
---|
| 130 | |
---|
| 131 | enddo |
---|
| 132 | enddo |
---|
| 133 | |
---|
| 134 | RETURN |
---|
| 135 | END |
---|
| 136 | |
---|