Skip to content

[WIP] Separate production and destruction rhs - #95

Draft
BenWibking wants to merge 2 commits into
jaff-chemistry:mainfrom
BenWibking:qss
Draft

[WIP] Separate production and destruction rhs#95
BenWibking wants to merge 2 commits into
jaff-chemistry:mainfrom
BenWibking:qss

Conversation

@BenWibking

@BenWibking BenWibking commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Generates code that separately computes production and destruction rates, so it produces a "production" rhs and a "destruction" rhs, which has terms on the right hand side separately by stoichiometry for each species.

This is requied to:

  • separate out species that are in partial equilibrium from those that aren't, or
  • use the alpha-QSS/CHEMEQ2 integrator that exploits the special stiffness structure of kinetics ODEs (https://apps.dtic.mil/sti/html/tr/ADA392490/)
    • Note: this method does NOT preserve linear invariants by construction.

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

Successfully merging this pull request may close these issues.

1 participant