Ignore:
Timestamp:
Apr 5, 2019 9:01:56 AM (6 years ago)
Author:
monakurppa
Message:

major changes in salsa: data input, format and performance

  • Time-dependent emissions enabled: lod=1 for yearly PM emissions that are normalised depending on the time, and lod=2 for preprocessed emissions (similar to the chemistry module).
  • Additionally, 'uniform' emissions allowed. This emission is set constant on all horisontal upward facing surfaces and it is created based on parameters surface_aerosol_flux, aerosol_flux_dpg/sigmag/mass_fracs_a/mass_fracs_b.
  • All emissions are now implemented as surface fluxes! No 3D sources anymore.
  • Update the emission information by calling salsa_emission_update if skip_time_do_salsa >= time_since_reference_point and next_aero_emission_update <= time_since_reference_point
  • Aerosol background concentrations read from PIDS_DYNAMIC. The vertical grid must match the one applied in the model.
  • Gas emissions and background concentrations can be also read in in salsa_mod if the chemistry module is not applied.
  • In deposition, information on the land use type can be now imported from the land use model
  • Use SI units in PARIN, i.e. n_lognorm given in #/m3 and dpg in metres.
  • Apply 100 character line limit
  • Change all variable names from capital to lowercase letter
  • Change real exponents to integer if possible. If not, precalculate the value of exponent
  • Rename in1a to start_subrange_1a, fn2a to end_subrange_1a etc.
  • Rename nbins --> nbins_aerosol, ncc_tot --> ncomponents_mass and ngast --> ngases_salsa
  • Rename ibc to index_bc, idu to index_du etc.
  • Renamed loop indices b, c and sg to ib, ic and ig
  • run_salsa subroutine removed
  • Corrected a bud in salsa_driver: falsely applied ino instead of inh
  • Call salsa_tendency within salsa_prognostic_equations which is called in module_interface_mod instead of prognostic_equations_mod
  • Removed tailing white spaces and unused variables
  • Change error message to start by PA instead of SA
File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/advec_ws.f90

    r3696 r3864  
    2525! -----------------
    2626! $Id$
     27! Remove tailing white spaces
     28!
     29! 3696 2019-01-24 16:37:35Z suehring
    2730! Bugfix in degradation height
    2831!
     
    349352
    350353       USE salsa_util_mod,                                                     &
    351            ONLY:  sums_salsa_ws_l   
    352        
     354           ONLY:  sums_salsa_ws_l
     355
    353356       USE statistics,                                                         &
    354357           ONLY:  sums_us2_ws_l, sums_vs2_ws_l, sums_ws2_ws_l, sums_wsncs_ws_l,&
     
    357360                  sums_wssas_ws_l,  sums_wsss_ws_l, sums_wsus_ws_l,            &
    358361                  sums_wsvs_ws_l
    359  
     362
    360363
    361364!
     
    418421             sums_wssas_ws_l = 0.0_wp
    419422          ENDIF       
    420          
     423
    421424          IF ( salsa )  THEN
    422425             ALLOCATE( sums_salsa_ws_l(nzb:nzt+1,0:threads_per_task-1) )
    423              sums_salsa_ws_l = 0.0_wp   
     426             sums_salsa_ws_l = 0.0_wp
    424427          ENDIF
    425428
     
    11431146
    11441147       USE salsa_util_mod,                                                     &
    1145            ONLY:  sums_salsa_ws_l           
    1146            
     1148           ONLY:  sums_salsa_ws_l
     1149
    11471150       USE statistics,                                                         &
    11481151           ONLY:  sums_us2_ws_l, sums_vs2_ws_l, sums_ws2_ws_l, sums_wsncs_ws_l,&
     
    12211224
    12221225       USE salsa_util_mod,                                                     &
    1223            ONLY:  sums_salsa_ws_l   
     1226           ONLY:  sums_salsa_ws_l
    12241227
    12251228       USE statistics,                                                         &
     
    18241827                    ) * weight_substep(intermediate_timestep_count)
    18251828             ENDDO
    1826              
     1829
    18271830          CASE ( 's' )
    1828          
     1831
    18291832             DO  k = nzb, nzt
    18301833                sums_wsss_ws_l(k,tn)  = sums_wsss_ws_l(k,tn) +                 &
     
    18351838                    ) * weight_substep(intermediate_timestep_count)
    18361839             ENDDO
    1837                  
     1840
    18381841         CASE ( 'aerosol_mass', 'aerosol_number', 'salsa_gas' )
    1839          
     1842
    18401843             DO  k = nzb, nzt
    18411844                sums_salsa_ws_l(k,tn)  = sums_salsa_ws_l(k,tn) +               &
     
    18451848                                *   ABS( w(k,j,i) - hom(k,1,3,0)            )  &
    18461849                    ) * weight_substep(intermediate_timestep_count)
    1847              ENDDO             
     1850             ENDDO
    18481851
    18491852!          CASE ( 'kc' )
     
    18521855
    18531856         END SELECT
    1854          
     1857
    18551858    END SUBROUTINE advec_s_ws_ij
    18561859
     
    35953598           ONLY:  nxl, nxlg, nxr, nxrg, nyn, nyng, nys, nysg, nzb, nzb_max,    &
    35963599                  nzt, advc_flags_1
    3597            
     3600
    35983601       USE kinds
    3599        
     3602
    36003603       USE salsa_util_mod,                                                     &
    3601            ONLY:  sums_salsa_ws_l     
    3602        
     3604           ONLY:  sums_salsa_ws_l
     3605
    36033606       USE statistics,                                                         &
    36043607           ONLY:  hom, sums_wspts_ws_l, sums_wsqs_ws_l, sums_wssas_ws_l,       &
    36053608                  sums_wsqcs_ws_l, sums_wsqrs_ws_l, sums_wsncs_ws_l,           &
    36063609                  sums_wsnrs_ws_l, sums_wsss_ws_l, weight_substep 
    3607                  
     3610
    36083611
    36093612
Note: See TracChangeset for help on using the changeset viewer.