AMReX-Astro / AMReX-Astro/Microphysics

what's the purpose of integrate_energy now?

Open
#1,215 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

integrator
Dominant language
C++
Stars
43
Forks
46
Avg merge
2d 18h
Merged PRs (30d)
15

Description

It is unclear what the purpose of setting integrator.integrate_energy = 0 is now. If we want to decouple the energy release from the temperature, e.g., to do a constant T burn, we do integrator.call_eos_in_rhs = 0. But we still want to include the energy equation in the integration, since that accumulates the energy release. If we turn off energy integration though, then the energy release from the burner will be 0, even if the composition changes. Is that something we want?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the integrator behavior around integrator.integrate_energy and integrator.call_eos_in_rhs, then compare how energy release is accumulated when composition changes. The issue does not mention specific files or tests; done would require a decided explanation of the intended behavior and corresponding documentation or code clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.