Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

NH3 and NOx emisscion code location.

jinmuluo

Jinmu Luo
Member
What version of the code are you using?
cesm3.beta06


Have you made any changes to files in the source tree?
a lot of modifications on the land model


Describe every step you took leading up to the problem:
(1) My modified land model can emit several trace gases like NH3 and NOx to the atmosphere
(2) I have sent those trace gases from land to the coupler
(3) I have created variables (NH3_from_land and NOx_from_land) in cam/src/cpl/nuopc/atm_import_export.F90 to receive the fluxes from the land model


Describe your problem or question:
Hi,
I have several questions on the code

(1) I want to ask where CAM-Chem stores the fluxes from the land model. it looks like the cam_in%cflx(g, s) is the pointer I can use, but I don't know where I should put my NH3 or NOx in the second dimension of cam_in%cflx(g,s)
(2) Once I sent the fluxes from land to CAM-Chem, can the chemistry module use my emission from the cam_in%cflx, or I have to add the emission to the chemistry manually?

thank you.
 
Top