Skip to content

Update RBC plots#645

Open
brownbaerchen wants to merge 3 commits intoParallel-in-Time:masterfrom
brownbaerchen:RBC_plot_update
Open

Update RBC plots#645
brownbaerchen wants to merge 3 commits intoParallel-in-Time:masterfrom
brownbaerchen:RBC_plot_update

Conversation

@brownbaerchen
Copy link
Copy Markdown
Contributor

Small updates to RBC paper plots: Merge spectrum and order plots, change size of macroscopic validation plot and add instructions for generating both validation plots.

Copilot AI review requested due to automatic review settings April 30, 2026 15: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 the Rayleigh–Bénard convection (RBC) project’s paper/validation plotting scripts to produce merged verification figures and documents how to regenerate them.

Changes:

  • Adjusted verification plot layouts (aspect/size) for both microscopic and macroscopic validation figures.
  • Added a new “microscopic verification” figure combining spectra and order-of-accuracy plots (and refactored plotting functions to accept an external axis).
  • Expanded the RayleighBenard README with instructions for generating microscopic and macroscopic verification plots.

Reviewed changes

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

File Description
pySDC/projects/RayleighBenard/analysis_scripts/compare_Nek5000.py Tweaks macroscopic verification figure sizing and enforces square subplot aspects.
pySDC/projects/RayleighBenard/analysis_scripts/RBC3D_spectrum.py Refactors spectra plotting to be embeddable and adds combined microscopic verification plot generation.
pySDC/projects/RayleighBenard/analysis_scripts/RBC3D_order.py Refactors order-plot routine to support embedding in a multi-panel figure and updates plotted series/labeling.
pySDC/projects/RayleighBenard/README.rst Adds step-by-step instructions for generating microscopic/macroscopic verification plots.

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

- ``--res=64 --dt=0.01 --config=RBC3DG4R4SDC23Ra1e6``
- ``--res=128 --dt=0.005 --config=RBC3DG4R4SDC23Ra1e7``

The, just run
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

Typo in the instructions: "The, just run" should be "Then, just run" (or "Then just run") to read correctly.

Suggested change
The, just run
Then, just run

Copilot uses AI. Check for mistakes.
Plotting macroscopic verification
---------------------------------
Macroscopic verification is done via comparison with data from https://doi.org/10.5281/zenodo.14205874.
You need to download this reference dataset and copy it to `pySDC/projects/RayleighBenard/data/Nek5000`.
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

The path is wrapped in single backticks, which in reStructuredText creates interpreted text and can render incorrectly. Use inline-literal markup (double backticks) here to match the rest of the README and avoid formatting warnings.

Suggested change
You need to download this reference dataset and copy it to `pySDC/projects/RayleighBenard/data/Nek5000`.
You need to download this reference dataset and copy it to ``pySDC/projects/RayleighBenard/data/Nek5000``.

Copilot uses AI. Check for mistakes.
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.

2 participants