Changeset 4996 for LMDZ6/trunk/libf/dyn3d
- Timestamp:
- Jun 27, 2024, 9:27:27 AM (7 months ago)
- Location:
- LMDZ6/trunk/libf/dyn3d
- Files:
-
- 3 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 )
Note: See TracChangeset
for help on using the changeset viewer.