Changeset 4996 for LMDZ6/trunk/libf
- Timestamp:
- Jun 27, 2024, 9:27:27 AM (7 months ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d/conf_gcm.F90
r4519 r4996 18 18 USE logic_mod, ONLY: fxyhypb, iflag_phys, ok_etat0, ok_gradsfile, & 19 19 ok_guide, ok_limit, ok_strato, purmats, read_start, & 20 ysinus, read_orop 20 ysinus, read_orop, adv_qsat_liq 21 21 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & 22 22 alphax,alphay,taux,tauy … … 606 606 type_trac = 'lmdz' 607 607 CALL getin('type_trac',type_trac) 608 609 610 !Config Key = adv_qsat_liq 611 !Config Desc = option for qsat calculation in the dynamics 612 !Config Def = n 613 !Config Help = controls which phase is considered for qsat calculation 614 !Config 615 adv_qsat_liq = .FALSE. 616 CALL getin('adv_qsat_liq',adv_qsat_liq) 608 617 609 618 !Config Key = ok_dynzon … … 672 681 write(lunout,*)' ok_dyn_ins = ', ok_dyn_ins 673 682 write(lunout,*)' ok_dyn_ave = ', ok_dyn_ave 683 write(lunout,*)' adv_qsat_liq = ', adv_qsat_liq 674 684 ELSE 675 685 !Config Key = clon -
LMDZ6/trunk/libf/dyn3d/logic_mod.F90
r2665 r4996 30 30 LOGICAL hybrid ! vertical coordinate is hybrid if true (sigma otherwise) 31 31 ! (only used if disvert_type==2) 32 LOGICAL adv_qsat_liq ! true if qsat is calculated alwats wrt liquid for 33 ! adapted Van Leer advection scheme 32 34 INTEGER iflag_phys ! type of physics to call: 0 none, 1: phy*** package, 33 35 ! 2: Held & Suarez, 101-200: aquaplanets & terraplanets -
LMDZ6/trunk/libf/dyn3d/vlspltqs.F
r4470 r4996 25 25 26 26 USE comconst_mod, ONLY: cpp 27 27 USE logic_mod, ONLY: adv_qsat_liq 28 28 IMPLICIT NONE 29 29 c … … 92 92 ENDDO 93 93 DO ij = 1, ip1jmp1 94 zdelta = MAX( 0., SIGN(1., rtt - tempe(ij)) ) 94 IF (adv_qsat_liq) THEN 95 zdelta = 0. 96 ELSE 97 zdelta = MAX( 0., SIGN(1., rtt - tempe(ij)) ) 98 ENDIF 95 99 play = 0.5*(p(ij,l)+p(ij,l+1)) 96 100 qsat(ij,l) = MIN(0.5, r2es* FOEEW(tempe(ij),zdelta) / play ) -
LMDZ6/trunk/libf/dyn3dmem/conf_gcm.F90
r4608 r4996 22 22 USE logic_mod, ONLY: fxyhypb, iflag_phys, ok_etat0, ok_gradsfile, & 23 23 ok_guide, ok_limit, ok_strato, purmats, read_start, & 24 ysinus, read_orop 24 ysinus, read_orop, adv_qsat_liq 25 25 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & 26 26 alphax,alphay,taux,tauy … … 660 660 type_trac = 'lmdz' 661 661 CALL getin('type_trac',type_trac) 662 663 664 !Config Key = adv_qsat_liq 665 !Config Desc = option for qsat calculation in the dynamics 666 !Config Def = n 667 !Config Help = controls which phase is considered for qsat calculation 668 !Config 669 adv_qsat_liq = .FALSE. 670 CALL getin('adv_qsat_liq',adv_qsat_liq) 662 671 663 672 !Config Key = ok_dynzon … … 736 745 write(lunout,*)' ok_dyn_ave = ', ok_dyn_ave 737 746 write(lunout,*)' ok_dyn_xios = ', ok_dyn_xios 747 write(lunout,*)' adv_qsat_liq = ', adv_qsat_liq 738 748 else 739 749 !Config Key = clon -
LMDZ6/trunk/libf/dyn3dmem/gcm.F90
r4619 r4996 480 480 !$OMP COPYIN(saison,ecripar,fxyhypb,ysinus,read_start,ok_guide) & 481 481 !$OMP COPYIN(ok_strato,ok_gradsfile,ok_limit,ok_etat0) & 482 !$OMP COPYIN(iflag_phys,iflag_trac )482 !$OMP COPYIN(iflag_phys,iflag_trac,adv_qsat_liq) 483 483 CALL leapfrog_loc(ucov,vcov,teta,ps,masse,phis,q,time_0) 484 484 !$OMP END PARALLEL -
LMDZ6/trunk/libf/dyn3dmem/logic_mod.F90
r2665 r4996 30 30 LOGICAL hybrid ! vertical coordinate is hybrid if true (sigma otherwise) 31 31 ! (only used if disvert_type==2) 32 LOGICAL adv_qsat_liq ! true if qsat is calculated alwats wrt liquid for 33 ! adapted Van Leer advection scheme 32 34 INTEGER iflag_phys ! type of physics to call: 0 none, 1: phy*** package, 33 35 ! 2: Held & Suarez, 101-200: aquaplanets & terraplanets … … 37 39 !$OMP apdiss,apdelq,saison,ecripar,fxyhypb,ysinus, & 38 40 !$OMP read_start,ok_guide,ok_strato,ok_gradsfile, & 39 !$OMP ok_limit,ok_etat0,hybrid )41 !$OMP ok_limit,ok_etat0,hybrid, adv_qsat_liq) 40 42 !$OMP THREADPRIVATE(iflag_phys,iflag_trac) 41 43 -
LMDZ6/trunk/libf/dyn3dmem/vlspltgen_loc.F
r4469 r4996 10 10 c 11 11 c ******************************************************************** 12 c S hema d'advection " pseudo amont " .12 c Schema d'advection " pseudo amont " . 13 13 c + test sur humidite specifique: Q advecte< Qsat aval 14 14 c (F. Codron, 10/99) … … 32 32 USE vlspltgen_mod 33 33 USE comconst_mod, ONLY: cpp 34 USE logic_mod, ONLY: adv_qsat_liq 34 35 IMPLICIT NONE 35 36 … … 108 109 ENDDO 109 110 DO ij = ijb, ije 110 zdelta = MAX( 0., SIGN(1., rtt - tempe(ij)) ) 111 IF (adv_qsat_liq) THEN 112 zdelta = 0. 113 ELSE 114 zdelta = MAX( 0., SIGN(1., rtt - tempe(ij)) ) 115 ENDIF 111 116 play = 0.5*(p(ij,l)+p(ij,l+1)) 112 117 qsat(ij,l) = MIN(0.5, r2es* FOEEW(tempe(ij),zdelta) / play )
Note: See TracChangeset
for help on using the changeset viewer.