Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Terminator and Chapman configurations for chemistry #150

Closed
mattldawson opened this issue Nov 6, 2024 · 0 comments
Closed

Add Terminator and Chapman configurations for chemistry #150

mattldawson opened this issue Nov 6, 2024 · 0 comments
Assignees

Comments

@mattldawson
Copy link
Collaborator

Add configurations for the simple Terminator and Chapman chemical mechanisms, including for MICM and TUV-x. (Issue transferred from NCAR/musica#123)

Terminator chemistry is a simple mechanism that will be used to demonstrate MICM and TUV-x usage in the MUSICA library. The mechanisms is described here: https://github.com/ESCOMP/CAM/blob/ab476f9b7345cbefdc4cf67ff17f0fe85d8c7387/src/chemistry/pp_terminator/chem_mech.doc#L1-L41

Chapman chemistry is an only slightly more complex mechanism that describes stratospheric ozone. The MICM configuration for Chapman chemistry is available as a MusicBox Example (https://musicbox.acom.ucar.edu/getting_started)

Acceptance Criteria

Ideas

  • It might make sense to use a rate constant parameterization that is actually based on the radiation field to demonstrate TUV-x capabilities, but this will not exactly match the CAM-Chem results
@mattldawson mattldawson self-assigned this Nov 6, 2024
@mattldawson mattldawson added this to the MICM, TUV-x in CAM-SIMA milestone Nov 6, 2024
mattldawson added a commit that referenced this issue Nov 14, 2024
Adds configurations for Terminator and Chapman chemistry and basic
integration tests.

This includes some data files needed for TUV-x to calculate photolysis
rate constants for these mechanisms, but I wasn't sure if this is the
best place for them. I'm happy to remove the configuration data from
this PR if there is a better place to keep them.

closes #150

Also:
- Adds calculation of photolysis rate constants from TUV-x
- Maps TUV-x rate constants to MICM rate parameters
- Removes some array copying using updated MUSICA functions that accept
pointers to Fortran arrays
- Sets up a gitignore file for the repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant