Changeset 4077 for trunk/LMDZ.GENERIC/libf/phygeneric/aerosol_opacity.F90
- Timestamp:
- Feb 18, 2026, 10:28:23 AM (6 weeks ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phygeneric/aerosol_opacity.F90
r4076 r4077 1 module aero pacity_mod1 module aerosol_opacity_mod 2 2 3 3 implicit none … … 5 5 contains 6 6 7 Subroutine aero pacity(ngrid,nlayer,nq,pplay,pplev,pt,pq,zls, &7 Subroutine aerosol_opacity(ngrid,nlayer,nq,pplay,pplev,pt,pq,zls, & 8 8 aerosol,reffrad,nueffrad, QREFvis3d,QREFir3d,tau_col, & 9 9 cloudfrac,totcloudfrac,clearsky) 10 10 11 11 use radinc_h, only : L_TAUMAX,naerkind 12 use aerosol_ mod, only: iaero_nlay, iaero_generic, &12 use aerosol_global_variables , only: iaero_nlay, iaero_generic, & 13 13 iaero_aurora, iaero_back2lay, iaero_co2, & 14 14 iaero_dust, iaero_h2o, iaero_h2so4, & … … 120 120 IF (firstcall) THEN 121 121 ia =0 122 write(*,*) "Tracers found in aero pacity:"122 write(*,*) "Tracers found in aerosol_opacity:" 123 123 do iq=1,nq 124 124 tracername=noms(iq) … … 135 135 136 136 if (noaero) then 137 print*, "No active aerosols found in aero pacity"137 print*, "No active aerosols found in aerosol_opacity" 138 138 else 139 139 print*, "If you would like to use aerosols, make sure any old" 140 140 print*, "start files are updated in newstart using the option" 141 141 print*, "q=0" 142 write(*,*) "Active aerosols found in aero pacity:"142 write(*,*) "Active aerosols found in aerosol_opacity:" 143 143 endif 144 144 … … 269 269 end do 270 270 271 call abort_physic("aero pacity", "Something wrong happened on water ice liquid opacity calculation",1)271 call abort_physic("aerosol_opacity", "Something wrong happened on water ice liquid opacity calculation",1) 272 272 endif 273 273 … … 276 276 do ig=1, ngrid 277 277 !do l=1,nlayer-1 ! to stop the rad tran bug 278 do l=1,nlayer !JL18 if aerosols are present in the last layer we must account for them. Provides better upper boundary condition in the IR. They must however be put to zero in the sw (see optcv)278 do l=1,nlayer !JL18 if aerosols are present in the last layer we must account for them. Provides better upper boundary condition in the IR. They must however be put to zero in the sw (see rad_correlatedk_opacities_stellar) 279 279 ! same correction should b-probably be done for other aerosol types. 280 280 aerosol(ig,l,iaer) = & !modification by BC … … 294 294 do ig=1, ngrid 295 295 !do l=1,nlayer-1 ! to stop the rad tran bug 296 do l=1,nlayer !JL18 if aerosols are present in the last layer we must account for them. Provides better upper boundary condition in the IR. They must however be put to zero in the sw (see optcv)296 do l=1,nlayer !JL18 if aerosols are present in the last layer we must account for them. Provides better upper boundary condition in the IR. They must however be put to zero in the sw (see rad_correlatedk_opacities_stellar) 297 297 CLFtot = max(totcloudfrac(ig),0.01) 298 298 aerosol(ig,l,iaer)=aerosol(ig,l,iaer)/CLFtot … … 303 303 do ig=1, ngrid 304 304 !do l=1,nlayer-1 ! to stop the rad tran bug 305 do l=1,nlayer !JL18 if aerosols are present in the last layer we must account for them. Provides better upper boundary condition in the IR. They must however be put to zero in the sw (see optcv)305 do l=1,nlayer !JL18 if aerosols are present in the last layer we must account for them. Provides better upper boundary condition in the IR. They must however be put to zero in the sw (see rad_correlatedk_opacities_stellar) 306 306 CLFtot = CLFfixval 307 307 aerosol(ig,l,iaer)=aerosol(ig,l,iaer)/CLFtot … … 1092 1092 ! end do 1093 1093 1094 end subroutine aero pacity1094 end subroutine aerosol_opacity 1095 1095 1096 end module aero pacity_mod1096 end module aerosol_opacity_mod
Note: See TracChangeset
for help on using the changeset viewer.
