Skip to content

Update for compatibility with many-to-one spray #1007

Merged
baperry2 merged 16 commits intoAMReX-Combustion:developmentfrom
d-montgomery:many-to-one
Feb 18, 2026
Merged

Update for compatibility with many-to-one spray #1007
baperry2 merged 16 commits intoAMReX-Combustion:developmentfrom
d-montgomery:many-to-one

Conversation

@d-montgomery
Copy link
Copy Markdown
Contributor

@d-montgomery d-montgomery commented Nov 20, 2025

This PR includes the changes necessary for the new many-to-one spray capability to work in PeleC (see PelePhysics #633.

To do:

  • Point PelePhysics submodule to merged many-to-one commit

A few comments:

  • The "many-to-one" capability has not been tested in PeleC, so the requirement that SPRAY_FUEL_NUM <= NUM_SPECIES is still enforced. Eventually we should update the Spray-Evaporation test case similar to the SingleDropEvap in PeleLMeX.
  • Tested using the Spray-A-Wbreakup test case
    • No diffs from fcompare observed when injection is enabled without breakup
      Spray-A-noBreakup-OldVNew-temp-40

    • With @baperry2's help, there are no longer diffs with fcompare when breakup is enabled.
      Spray-A-wBreakup-OldVNew-temp-40

@d-montgomery d-montgomery marked this pull request as ready for review February 17, 2026 22:30
@baperry2
Copy link
Copy Markdown
Contributor

Tests are failing because of breaking changes in AMReX-Codes/amrex#4868, will push a fix soon.

@baperry2 baperry2 requested a review from Copilot February 18, 2026 00:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates PeleC to support the new many-to-one spray capability by aligning source-term sizing and AMReX access patterns, plus small repo hygiene/documentation tweaks.

Changes:

  • Adjust spray source-term count initialization to add particle-component contributions at runtime.
  • Replace raw begin/end bounds access in diffusion source-term loop with explicit bounds helpers.
  • Add semantic-versioning notes to README and ignore additional generated artifacts.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
Submodules/PelePhysics Bumps PelePhysics submodule to a commit that includes many-to-one spray support.
Source/Particle.cpp Changes how num_spray_src is computed to incorporate per-particle-component source terms.
Source/Diffusion.cpp Updates bounds access to use lbound/ubound helpers.
README.rst Documents versioning approach and mapping from old YY.MM scheme.
.gitignore Ignores additional output files (*.visit, Backtrace.*).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@baperry2 baperry2 enabled auto-merge (squash) February 18, 2026 06:58
@baperry2 baperry2 merged commit cb39efd into AMReX-Combustion:development Feb 18, 2026
18 checks passed
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.

3 participants