Changeset 4380 for palm/trunk/SOURCE/salsa_mod.f90
- Timestamp:
- Jan 17, 2020 11:39:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/salsa_mod.f90
r4364 r4380 26 26 ! ----------------- 27 27 ! $Id$ 28 ! - Error in saving the surface fluxes in an array that is applied in the 29 ! deposition scheme 30 ! - Corrections in the header: aerosol bin diameters and lower bin limits not 31 ! printed correctly 32 ! 33 ! 4364 2020-01-08 02:12:31Z monakurppa 28 34 ! Set time coordinate in the input data relative to origin_time rather than to 29 35 ! 00:00:00 UTC … … 1281 1287 IF ( lspartition ) WRITE( io, 11 ) 1282 1288 IF ( nldepo ) WRITE( io, 12 ) nldepo_pcm, nldepo_surf 1283 WRITE( io, 13 ) reglim, nbin, bin_low_limits 1289 WRITE( io, 13 ) reglim, nbin, ( aero(:)%vlolim / api6 )**0.33333333_wp 1290 WRITE( io, 25 ) aero(:)%dmid 1284 1291 IF ( init_aerosol_type == 0 ) WRITE( io, 14 ) nsect 1285 1292 WRITE( io, 15 ) ncc, listspec, mass_fracs_a, mass_fracs_b … … 1310 1317 3 FORMAT (/' Timestep: dt_salsa = ', F6.2, ' s') 1311 1318 4 FORMAT (/' Array shape (z,y,x,bins):'/ & 1312 ' aerosol_number: ', 4(I 3))1313 5 FORMAT (/' aerosol_mass: ', 4(I 3),/ &1319 ' aerosol_number: ', 4(I5)) 1320 5 FORMAT (/' aerosol_mass: ', 4(I5),/ & 1314 1321 ' (advect_particle_water = ', L1, ')') 1315 6 FORMAT (' salsa_gas: ', 4(I 3),/ &1322 6 FORMAT (' salsa_gas: ', 4(I5),/ & 1316 1323 ' (salsa_gases_from_chem = ', L1, ')') 1317 1324 7 FORMAT (/' Aerosol dynamic processes included: ') … … 1323 1330 13 FORMAT (/' Aerosol bin subrange limits (in metres): ', 3(ES10.2E3), / & 1324 1331 ' Number of size bins for each aerosol subrange: ', 2I3,/ & 1325 ' Aerosol bin limits (in metres): ', 9(ES10.2E3)) 1332 ' Aerosol bin lower limits (in metres): ', 12(ES10.2E3)) 1333 25 FORMAT (/' Bin geometric mean diameters (in metres): ', 12(ES10.2E3)) 1326 1334 14 FORMAT (' Initial number concentration in bins at the lowest level (#/m**3):', 9(ES10.2E3)) 1327 1335 15 FORMAT (/' Number of chemical components used: ', I1,/ & … … 9331 9339 !-- Save number fluxes in the end 9332 9340 surface%answs(m,ib) = surface%answs(m,ib) + source_array(j,i,ib) * rho_air_zw(k-1) 9333 aerosol_number(ib)%source(j,i) = aerosol_number(ib)%source(j,i) +surface%answs(m,ib)9341 aerosol_number(ib)%source(j,i) = surface%answs(m,ib) 9334 9342 9335 9343 ENDDO ! ib … … 9377 9385 surface%amsws(surf_num,ic) = surface%amsws(surf_num,ic) + mass_frac * nsource * & 9378 9386 aero(ib)%core * prho * rho_air_zw(k-1) 9379 aerosol_mass(ic)%source(j,i) = aerosol_mass(ic)%source(j,i) +surface%amsws(surf_num,ic)9387 aerosol_mass(ic)%source(j,i) = surface%amsws(surf_num,ic) 9380 9388 9381 9389 END SUBROUTINE set_mass_flux
Note: See TracChangeset
for help on using the changeset viewer.