Changeset 310 for trunk/LMDZ.MARS/libf
- Timestamp:
- Sep 29, 2011, 3:59:01 PM (13 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dustlift.F
r86 r310 50 50 !!!! AS: you have to compile with -DMESOSCALE to do so 51 51 REAL alpha 52 REAL r0_lift 52 53 INTEGER ierr 54 REAL ulim 53 55 OPEN(99,file='stress.def',status='old',form='formatted' 54 56 . ,iostat=ierr) 55 57 !!! no file => default values 56 58 IF(ierr.EQ.0) THEN 57 READ(99,*) stress_seuil 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 58 61 READ(99,*) alpha 62 stress_seuil = 0.02 * ulim * ulim 59 63 write(*,*) 'USER-DEFINED threshold: ', stress_seuil, alpha 60 64 CLOSE(99) 61 alpha_lift(1:nq) = alpha 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) 62 70 ENDIF 63 71 #endif -
trunk/LMDZ.MARS/libf/phymars/vdifc.F
r291 r310 494 494 c Dust lifting: 495 495 if (lifting) then 496 #ifndef MESOSCALE 496 497 if (doubleq.AND.submicron) then 497 498 do ig=1,ngrid … … 522 523 & pdqsdif) 523 524 endif !doubleq.AND.submicron 525 #else 526 call dustlift(ngrid,nlay,nq,rho,zcdh_true,zcdh,co2ice, 527 & pdqsdif) 528 #endif 524 529 else 525 530 pdqsdif(1:ngrid,1:nq) = 0.
Note: See TracChangeset
for help on using the changeset viewer.