Changeset 3910 for trunk/LMDZ.PLUTO/libf/phypluto
- Timestamp:
- Sep 3, 2025, 11:19:36 PM (6 months ago)
- Location:
- trunk/LMDZ.PLUTO/libf/phypluto
- Files:
-
- 6 edited
-
condense_n2.F90 (modified) (3 diffs)
-
phyetat0_mod.F90 (modified) (3 diffs)
-
phyredem.F90 (modified) (3 diffs)
-
phys_state_var_mod.F90 (modified) (3 diffs)
-
physiq_mod.F90 (modified) (2 diffs)
-
surfdat_h.F90 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/condense_n2.F90
r3668 r3910 4 4 picen2,psolaralb,pemisurf, & 5 5 pdtc,pdtsrfc,pdpsrf,pduc,pdvc, & 6 pdqc,pdicen2 )6 pdqc,pdicen2,n2frac) 7 7 8 8 use comgeomfi_h … … 71 71 REAL pdtsrfc(klon),pdpsrf(klon) 72 72 REAL picen2(klon),psolaralb(klon),pemisurf(klon) 73 REAL n2frac(klon) 73 74 74 75 … … 370 371 371 372 pdtsrfc(ig) = (ztcondsol(ig) - ztsrf(ig))/subtimestep 373 374 zcondices(ig) = zcondices(ig)*n2frac(ig) !N2frac added as ponderation 372 375 373 376 ! partial sublimation of N2 ice -
trunk/LMDZ.PLUTO/libf/phypluto/phyetat0_mod.F90
r3772 r3910 23 23 use tabfi_mod, only: tabfi,ini_tab_controle_dyn_xios,tab_cntrl_mod 24 24 USE tracer_h, ONLY: noms 25 USE surfdat_h, only: phisfi, albedodat, zmea, zstd, zsig, zgam, zthe 25 USE surfdat_h, only: phisfi, albedodat, zmea, zstd, zsig, zgam, zthe, n2frac 26 26 use iostart, only: nid_start, open_startphy, close_startphy, & 27 27 get_field, get_var, inquire_field, & … … 91 91 ! 92 92 IF (.not. ALLOCATED(albedodat)) ALLOCATE(albedodat(ngrid)) 93 IF (.not. ALLOCATED(n2frac)) ALLOCATE(n2frac(ngrid)) 93 94 IF (.not. ALLOCATED(phisfi)) ALLOCATE(phisfi(ngrid)) 94 95 IF (.not. ALLOCATED(zmea)) ALLOCATE(zmea(ngrid)) … … 140 141 if (is_master) write(*,*) "phyetat0: Bare ground albedo <albedodat> range:", & 141 142 minval(albedodat), maxval(albedodat) 143 144 !n2frac 145 146 if (startphy_file) then 147 ! Load bare ground albedo: 148 call get_field(nid_start,"n2frac",n2frac,found) 149 if (.not.found) then 150 call abort_physic(modname,"Failed loading <n2frac>",1) 151 endif 152 else 153 ! If no startfi file, use fixed value to test 154 n2frac(:)=1 155 endif ! of if (startphy_file) 156 if (is_master) write(*,*) "phyetat0: n2 fraction of ice <n2frac> range:", & 157 minval(n2frac), maxval(n2frac) 142 158 143 159 ! ZMEA -
trunk/LMDZ.PLUTO/libf/phypluto/phyredem.F90
r3748 r3910 173 173 subroutine physdem1(filename,nsoil,ngrid,nlay,nq, & 174 174 phystep,time,tsurf,tsoil,inertiesoil, & 175 emis,alb,q2,qsurf )175 emis,alb,q2,qsurf,n2frac) 176 176 ! write time-dependent variable to restart file 177 177 use iostart, only : open_restartphy, close_restartphy, & … … 192 192 real,intent(in) :: emis(ngrid) 193 193 real,intent(in) :: alb(ngrid) 194 real,intent(in) :: n2frac(ngrid) 194 195 real,intent(in) :: inertiesoil(ngrid,nsoil) 195 196 real,intent(in) :: q2(ngrid,nlay+1) … … 219 220 ! Albedo of the surface 220 221 call put_field(nid_restart,"albedodat","Albedo of bare ground",alb) 222 223 !n2 fraction on the surface 224 call put_field(nid_restart,"n2frac","N2 ice fraction on the surface",n2frac) 221 225 222 226 ! Planetary Boundary Layer -
trunk/LMDZ.PLUTO/libf/phypluto/phys_state_var_mod.F90
r3754 r3910 14 14 use radcommon_h, only: glat 15 15 USE radinc_h, only : L_NSPECTI, L_NSPECTV,naerkind 16 use surfdat_h, only: phisfi, albedodat, &16 use surfdat_h, only: phisfi, albedodat, n2frac, & 17 17 zmea, zstd, zsig, zgam, zthe 18 18 use turb_mod, only: q2,sensibFlux,wstar,ustar,tstar,hfmax_th,zmax_th … … 127 127 ALLOCATE(albedo_n2_ice_SPECTV(L_NSPECTV)) 128 128 ALLOCATE(albedo_bareground(klon)) 129 ALLOCATE(n2frac(klon)) 129 130 ALLOCATE(emis(klon)) 130 131 ALLOCATE(dtrad(klon,klev)) … … 251 252 DEALLOCATE(phisfi) 252 253 DEALLOCATE(albedodat) 254 DEALLOCATE(n2frac) 253 255 DEALLOCATE(zmea) 254 256 DEALLOCATE(zstd) -
trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90
r3894 r3910 1397 1397 qsurf(1,igcm_n2),albedo,emis, & 1398 1398 zdtc,zdtsurfc,pdpsrf,zduc,zdvc, & 1399 zdqc,zdqsc(1,igcm_n2) )1399 zdqc,zdqsc(1,igcm_n2),n2frac) 1400 1400 1401 1401 pdt(1:ngrid,1:nlayer) = pdt(1:ngrid,1:nlayer)+zdtc(1:ngrid,1:nlayer) … … 2140 2140 call physdem1("restartfi.nc",nsoilmx,ngrid,nlayer,nq, & 2141 2141 ptimestep,ztime_restart,tsurf, & 2142 tsoil,therm_inertia,emis,albedo,q2,qsurf )2142 tsoil,therm_inertia,emis,albedo,q2,qsurf,n2frac) 2143 2143 endif ! ngrid 2144 2144 endif ! is_omp_master -
trunk/LMDZ.PLUTO/libf/phypluto/surfdat_h.F90
r3455 r3910 3 3 4 4 implicit none 5 6 real,allocatable,dimension(:) :: n2frac ! n2 fraction of ice at the surfacestocked in startfi.nc file. 7 !$OMP THREADPRIVATE(n2frac) 5 8 6 9 real,allocatable,dimension(:) :: albedodat ! albedo of bare ground stocked in startfi.nc file.
Note: See TracChangeset
for help on using the changeset viewer.
