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

How to add other substances to CH4 simulation? #2479

Closed
Liyl2 opened this issue Sep 26, 2024 · 4 comments
Closed

How to add other substances to CH4 simulation? #2479

Liyl2 opened this issue Sep 26, 2024 · 4 comments
Assignees
Labels
category: Question Further information is requested stale No recent activity on this issue topic: Carbon Gases Simulations Related to simulations with carbon gases (carbon, CO2, CH4, tagCH4, tagCO)

Comments

@Liyl2
Copy link

Liyl2 commented Sep 26, 2024

Your name

Yali LI

Your affiliation

Southern University of Science and Technology

Please provide a clear and concise description of your question or discussion topic.

I am using GCClassic 14.0.2,and when I choose “CH4 simulation” simulation type and the compilation uses the fullchem mechanism (I don't know if it is correct but it outputs normally) and it runs very efficiently. I would like to ask two questions about this:

  1. Is the chemical mechanism of CH4 simulation only call CH4 related in fullchem mechanism, there is no separate mechanism (similar to custom) in GEOS-Chem/KPP/?
  2. Can I add the substance I want to simulate (e.g. HFC-134a) in the CH4 simulation? I have now added HFC-134a to the custom mechanism and successfully output the HFC-134a concentration, but the output is slow and I would like to improve the efficiency of the run.
    Looking forward to your reply, thanks!
@Liyl2 Liyl2 added the category: Question Further information is requested label Sep 26, 2024
@Liyl2 Liyl2 changed the title Put a one-line description here How to add other substances to CH4 simulation? Sep 26, 2024
@msulprizio msulprizio self-assigned this Sep 26, 2024
@msulprizio msulprizio added the topic: Carbon Gases Simulations Related to simulations with carbon gases (carbon, CO2, CH4, tagCH4, tagCO) label Sep 26, 2024
@msulprizio
Copy link
Contributor

Thanks for writing @Liyl2. We recommend that you update to the latest release of GEOS-Chem if possible. In GEOS-Chem 14.1.0 we introduced the carbon simulation which includes CO2, CO, CH4, and OCS. It can be run with all four species or in single species mode. Since version 14.1.0, several fixes have bee made to the carbon simulation with more fixes in the pipeline (especially for running the carbon simulation in GCHP). Please also note that in 14.6.0, we're planning on retiring the CH4 (and CO2 and tagCO2) simulation in favor of the carbon simulation.

The carbon simulation uses the KPP solver for chemistry rather than individual chemistry routines hardcoded in the fortran modules. For example the current CH4 simulation performs chemistry via the CHEMCH4 routine in global_ch4_mod.F90. (It doesn't actually use KPP, even though the build log will indicate that KPP has been built with the fullchem mechanism.)

The carbon simulation in KPP will also make it more flexible for you to add more species. This can be done by modifying the carbon.eqn file and adding any new species to the GEOS-Chem species database.

@Liyl2
Copy link
Author

Liyl2 commented Oct 11, 2024

Many thanks for your suggestion @msulprizio . Now I'm using GCClassic v14.4.3 for the carbon simulation, I haven't made any modifications yet, and just running the carbon mechanism (cmake ../CodeDir -DMECH=carbon -DRUNDIR=..) , but I experienced an issue:

GEOS-Chem ERROR: KPP integration failed!
-> at Chem_Carbon_Gases (in module GeosCore/carbon_gases_mod.F90)

I found out that there is a similar problem #2381 , but there seems to be no answer. I have not encountered any problems running the fullchem mechanism, so ifort, netcdf, etc. should be fine. Attached are my run related files and maybe you can give me some tips @yantosca. Thanks in advance!

GC.log
geoschem_config.txt
HISTORY.txt
HEMCO_Config.txt

Copy link

This issue has been automatically marked as stale because it has not had recent activity. If there are no updates within 7 days it will be closed. You can add the "never stale" tag to prevent the issue from closing this issue.

@github-actions github-actions bot added the stale No recent activity on this issue label Nov 14, 2024
Copy link

Closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Question Further information is requested stale No recent activity on this issue topic: Carbon Gases Simulations Related to simulations with carbon gases (carbon, CO2, CH4, tagCH4, tagCO)
Projects
None yet
Development

No branches or pull requests

2 participants