ESCOMP / CTSM

Community Terrestrial Systems Model (includes the Community Land Model of CESM)
http://www.cesm.ucar.edu/models/cesm2.0/land/
Other
308 stars 312 forks source link

Is `f - baf_crop` necessary in fire calculations for `is_cwd`? #1891

Closed slevis-lmwg closed 1 year ago

slevis-lmwg commented 1 year ago

From looking at this with @wwieder and @klindsay28 on 2022/11/02 in the context of spinning up ctsm bgc with Newton-Krylov...

Why not use f rather than f - baf_crop with is_cwd in the following?

CNFireBaseMod.F90

f = farea_burned(c)
do j = 1, nlevdecomp
           ! carbon fluxes
           do l = 1, ndecomp_pools
              if ( is_litter(l) ) then
                 m_decomp_cpools_to_fire_vr(c,j,l) = decomp_cpools_vr(c,j,l) * f * &
                      cmb_cmplt_fact_litter
              end if
              if ( is_cwd(l) ) then
                 m_decomp_cpools_to_fire_vr(c,j,l) = decomp_cpools_vr(c,j,l) * &
                      (f-baf_crop(c)) * cmb_cmplt_fact_cwd
              end if
           end do

and similarly in the nitrogen loop.

Reasoning:

I will share this question with Fang Li for clarification.

slevis-lmwg commented 1 year ago

Fang responded that this was done for the generic crops, which could coexist in a column with non-crop pfts depending on user-defined settings. If we still permit generic crops and non-crop pfts coexisting in a column, then Fang wants us to keep the code as written.

I believe the ctsm defaults to create_crop_landunit = .true., so we can assume baf_crop = 0 for the purposes of a Newton-Krylov spin-up. However, the ctsm code should remain as written as long as create_crop_landunit = .false. is an option.

wwieder commented 1 year ago

Thanks for following up with Fang on this @slevisconsulting. Can you make sure Keith Lindsay keeps this in the preconditioner for the N-K solver.

wwieder commented 1 year ago

Now I see @klindsay28 is already on the thread! I'll close this issue with a won't fix label

ekluzek commented 1 year ago

@slevisconsulting FYI we currently only allow create_crop_landunit=FALSE for FATES. But, we actually want to change this option so it's turned on all the time including for FATES.