Skip to content

Add stationary reference frame option for FlameSheet#590

Merged
baperry2 merged 6 commits intoAMReX-Combustion:developmentfrom
baperry2:pmf-ref-frame
Jan 22, 2026
Merged

Add stationary reference frame option for FlameSheet#590
baperry2 merged 6 commits intoAMReX-Combustion:developmentfrom
baperry2:pmf-ref-frame

Conversation

@baperry2
Copy link
Copy Markdown
Collaborator

@baperry2 baperry2 commented Nov 12, 2025

prob.ref_frame can be set to lab or flame or constant_velocity, the latter requiring prob.moving_frame_velocity to also be specified.

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

This PR adds a configurable reference frame option for the FlameSheet problem, allowing users to choose between a flame-attached reference frame (default) and a laboratory reference frame. The prob.ref_frame parameter can be set to either flame or lab.

  • Added PmfReferenceFrame enum with lab and flame options
  • Modified boundary condition velocity assignment to respect the reference frame choice
  • Added parameter query to read ref_frame from input files

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
pelelmex_prob.H Defines the PmfReferenceFrame enum, adds ref_frame member to MyProbParm struct with default value of flame, and implements conditional velocity assignment in bcnormal function based on the selected reference frame
pelelmex_prob.cpp Adds parameter query to read ref_frame configuration from input files

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

@baperry2 baperry2 enabled auto-merge (squash) January 22, 2026 18:20
@baperry2 baperry2 merged commit e8a5d6b into AMReX-Combustion:development Jan 22, 2026
34 checks passed
@baperry2 baperry2 deleted the pmf-ref-frame branch January 28, 2026 20:03
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