Skip to content

Commit 8c3c0b1

Browse files
committed
Add new parameters to the namelist_defaults_eamxx.xml file.
1 parent d5211b4 commit 8c3c0b1

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

components/eamxx/cime_config/namelist_defaults_eamxx.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,12 @@ be lost if SCREAM_HACK_XML is not enabled.
369369
</mam4_optics>
370370

371371
<!-- MAM4xx-Wetscav -->
372-
<mam4_wetscav inherit="mam4_atm_proc_base" />
372+
<mam4_wetscav inherit="mam4_atm_proc_base">
373+
<sol_facti_cloud_borne type="real" doc="In-cloud scavenging fraction [fraction]">1.0</sol_facti_cloud_borne>
374+
<sol_factic_cloud_borne type="real" doc="In-cloud convective scavenging fraction [fraction]">0.0</sol_factic_cloud_borne>
375+
<sol_factb_below_cloud type="real" doc="Below-cloud scavenging fraction [fraction]">0.03</csol_factb_below_cloud>
376+
<f_act_conv_below_cloud type="real" doc="Convection activation fraction [fraction]">0.4</f_act_conv_below_cloud>
377+
</mam4_wetscav>
373378

374379
<!-- MAM4xx-Surface-Emissions -->
375380
<mam4_srf_online_emiss inherit="mam4_atm_proc_base">

components/eamxx/src/physics/mam/eamxx_mam_microphysics_process_interface.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,7 @@ void MAMMicrophysics::run_impl(const double dt) {
874874
const auto prain_icol = ekat::subview(prain, icol);
875875
const auto work_set_het_icol = ekat::subview(work_set_het, icol);
876876

877+
mam4::MicrophysDiagnosticArrays diag_arrays;
877878
// Wind speed at the surface
878879
const Real wind_speed =
879880
haero::sqrt(u_wind(icol, surface_lev) * u_wind(icol, surface_lev) +
@@ -937,7 +938,8 @@ void MAMMicrophysics::run_impl(const double dt) {
937938
offset_aerosol, config.linoz.o3_sfc, config.linoz.o3_tau,
938939
config.linoz.o3_lbl, dry_diameter_icol, wet_diameter_icol,
939940
wetdens_icol, dry_atm.phis(icol), cmfdqr, prain_icol, nevapr_icol,
940-
work_set_het_icol, drydep_data, aqso4_flx_col, aqh2so4_flx_col, dvel_col, dflx_col, progs);
941+
work_set_het_icol, drydep_data, aqso4_flx_col, aqh2so4_flx_col,
942+
diag_arrays, dvel_col, dflx_col, progs);
941943

942944
team.team_barrier();
943945
// Update constituent fluxes with gas drydep fluxes (dflx)

components/eamxx/src/physics/mam/eamxx_mam_wetscav_process_interface.hpp

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,17 @@ class MAMWetscav : public MAMGenericInterface {
121121
void init_temporary_views();
122122
int len_temporary_views_{0};
123123

124+
// sol_facti_cloud_borne_ is in-cloud scavenging fraction
125+
Real sol_facti_cloud_borne_ = 1.00;
124126

125-
Real sol_facti_cloud_borne_ = 0;
126-
Real sol_factic_cloud_borne_ = 0;
127-
Real sol_factb_below_cloud_ = 0;
128-
Real f_act_conv_below_cloud_ = 0;
127+
// sol_factic_cloud_borne_ is in-cloud convective scavenging fraction
128+
Real sol_factic_cloud_borne_ = 0.00;
129+
130+
// sol_factb_below_cloud_ is below-cloud scavenging fraction
131+
Real sol_factb_below_cloud_ = 0.03;
132+
133+
// f_act_conv_below_cloud_ is convection activation fraction
134+
Real f_act_conv_below_cloud_ = 0.40;
129135

130136
}; // class MAMWetscav
131137

0 commit comments

Comments
 (0)