Skip to content

Commit

Permalink
Add ATM FBH coupling test to rt.conf
Browse files Browse the repository at this point in the history
* new test cpld_regional_atm_fbh
* new ufs.configure template cpld_atm_fbh
* new namelist.fire template (fire_behavior config)
* new model_configure template for fire
* new input.nml for regional fire
* new diag_table, field_table, data_table for fire
* new input configure script for regional_fire_run
  • Loading branch information
danrosen25 committed Mar 28, 2024
1 parent 78cf495 commit beef326
Show file tree
Hide file tree
Showing 12 changed files with 1,085 additions and 1 deletion.
21 changes: 21 additions & 0 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
OCN_tasks_cpl_dflt=20
ICE_tasks_cpl_dflt=10
WAV_tasks_cpl_dflt=20
FBH_tasks_cpl_dflt=1

THRD_cpl_thrd=2
INPES_cpl_thrd=3; JNPES_cpl_thrd=4; WPG_cpl_thrd=6
Expand Down Expand Up @@ -93,6 +94,7 @@
med_omp_num_threads=1
ocn_omp_num_threads=1
wav_omp_num_threads=1
fbh_omp_num_threads=1

if [[ $MACHINE_ID = wcoss2 || $MACHINE_ID = acorn ]]; then

Expand Down Expand Up @@ -731,6 +733,24 @@ export WW3_IC5='F'
export WW3_user_sets_restname="true"
}

export_fire_behavior() {
export fbh_model=fire_behavior
export FIRE_BEHAVIOR=true
export FIRE_NML=namelist.fire.IN
export CPLFIRE=false
export DT_FIRE=${DT_ATMOS}
export OUTPUT_FS="$(printf "%02d" $(( ${OUTPUT_FH}*3600 )))"
export fire_atm_feedback=1.0
export fire_lsm_zcoupling=false
export fire_lsm_zcoupling_ref=60.0
export fire_num_ignitions=1
export fire_print_msg=0
export fire_upwinding=9
export fire_viscosity=0.4
export fire_wind_height=5.0
}


# Defaults for the coupled 5-component
export_cmeps() {
export UFS_CONFIGURE=ufs.configure.s2swa_fast_esmf.IN
Expand Down Expand Up @@ -813,6 +833,7 @@ export THRD=$THRD_cpl_dflt
OCN_tasks=$OCN_tasks_cpl_dflt
ICE_tasks=$ICE_tasks_cpl_dflt
WAV_tasks=$WAV_tasks_cpl_dflt
FBH_tasks=$FBH_tasks_cpl_dflt

# Set CICE6 component defaults
export_cice6
Expand Down
12 changes: 12 additions & 0 deletions tests/fv3_conf/regional_fire_run.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
rm -rf INPUT RESTART
mkdir INPUT RESTART

rsync -arv @[INPUTDATA_ROOT]/FIRE_BEHAVIOR_input_data/@[FIRE_NAME]/. .
rsync -arv @[INPUTDATA_ROOT]/FV3_fire_input_data/@[FIRE_NAME]/. .

rsync -arv @[INPUTDATA_ROOT]/FV3_regional_input_data/. .
rsync -arv @[INPUTDATA_ROOT]/FV3_fix .
ln -sf FV3_fix/* .
ln -sf FV3_fix/fix_co2_proj/* .

touch data_table
377 changes: 377 additions & 0 deletions tests/parm/diag_table/diag_table_fire

Large diffs are not rendered by default.

70 changes: 70 additions & 0 deletions tests/parm/field_table/field_table_fire
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# added by FRE: sphum must be present in atmos
# specific humidity for moist runs
"TRACER", "atmos_mod", "sphum"
"longname", "specific humidity"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic cloud water mixing ratio
"TRACER", "atmos_mod", "liq_wat"
"longname", "cloud water mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic ice water mixing ratio
"TRACER", "atmos_mod", "ice_wat"
"longname", "cloud ice mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic rain water mixing ratio
"TRACER", "atmos_mod", "rainwat"
"longname", "rain water mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic snow water mixing ratio
"TRACER", "atmos_mod", "snowwat"
"longname", "snow water mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic graupel mixing ratio
"TRACER", "atmos_mod", "graupel"
"longname", "graupel mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic cloud water number concentration
"TRACER", "atmos_mod", "water_nc"
"longname", "cloud liquid water number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=0.0" /
# prognostic cloud ice number concentration
"TRACER", "atmos_mod", "ice_nc"
"longname", "cloud ice water number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=0.0" /
# prognostic rain number concentration
"TRACER", "atmos_mod", "rain_nc"
"longname", "rain number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=0.0" /
# prognostic ozone mixing ratio tracer
"TRACER", "atmos_mod", "o3mr"
"longname", "ozone mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# water- and ice-friendly aerosols (Thompson)
"TRACER", "atmos_mod", "liq_aero"
"longname", "water-friendly aerosol number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=0.0" /
"TRACER", "atmos_mod", "ice_aero"
"longname", "ice-friendly aerosol number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=0.0" /
# prognostic subgrid scale turbulent kinetic energy
"TRACER", "atmos_mod", "sgs_tke"
"longname", "subgrid scale turbulent kinetic energy"
"units", "m2/s2"
"profile_type", "fixed", "surface_value=0.0" /
# smoke tracer for UFS_FIRE
"TRACER", "atmos_mod", "fsmoke"
"longname", "fire smoke"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=0.0" /
Loading

0 comments on commit beef326

Please sign in to comment.