Skip to content

Comments

AL update PR#18

Merged
oscarmarino merged 17 commits intoALupdatefrom
main
Nov 4, 2025
Merged

AL update PR#18
oscarmarino merged 17 commits intoALupdatefrom
main

Conversation

@oscarmarino
Copy link
Collaborator

First see copilot

@loganoz loganoz requested a review from Copilot November 3, 2025 11:41
Copy link
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 new test case for a cylinder simulation using Chandrasekar averaging with the Roe Riemann solver, along with several bug fixes and GPU-related updates. The changes support the GPU version of HORSES3D by fixing array slicing issues, correcting variable declarations, and adjusting CI workflows.

Key changes:

  • New Navier-Stokes test case for cylinder simulation with Chandrasekar averaging and Roe Riemann solver
  • Bug fixes in boundary conditions and MPI communication (NCOMP → NCONS, explicit array slicing)
  • Updates to CI workflows to disable unsupported test cases in GPU version

Reviewed Changes

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

Show a summary per file
File Description
Solver/test/NavierStokes/CylinderChandrasekarRoe/SETUP/ProblemFile.f90 New problem file for CylinderChandrasekarRoe test case
Solver/test/NavierStokes/CylinderChandrasekarRoe/CylinderChandrasekarRoe.control Control file for the new test case with Roe solver and Chandrasekar averaging
Solver/test/NavierStokes/Cylinder/Cylinder.control Updated to use Roe solver with CFL-based time stepping and AOA phi = 90.0
Solver/src/libs/physics/common/bcs/NoSlipWallBC.f90 Fixed variable declaration from Q(NCOMP) to Q(NCONS)
Solver/src/libs/physics/common/bcs/FreeSlipWallBC.f90 Fixed variable declaration from Q(NCOMP) to Q(NCONS)
Solver/src/libs/mesh/HexMesh.f90 Fixed array slicing in MPI communication to use explicit ranges
Solver/src/MultiphaseSolver/SpatialDiscretization.f90 Fixed duplicate MPI call and corrected function call
Solver/configure Added CylinderChandrasekarRoe to test cases list
README.md Added documentation about GPU version limitations
.github/workflows/CI_serial_MU.yml New workflow file for serial multiphase tests
.github/workflows/CI_parallel_NS.yml Updated to disable GPU-incompatible Euler tests and add new cylinder test
.github/workflows/CI_parallel_MU.yml Updated to disable GPU-incompatible multiphase tests

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


viscous discretization = IP

The next Riemman solvers are 4-5 times slower than Roe Riemman solver:
Copy link

Copilot AI Nov 3, 2025

Choose a reason for hiding this comment

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

Corrected spelling of 'Riemman' to 'Riemann' (appears twice in this line).

Suggested change
The next Riemman solvers are 4-5 times slower than Roe Riemman solver:
The next Riemann solvers are 4-5 times slower than Roe Riemann solver:

Copilot uses AI. Check for mistakes.
Copy link
Owner

Choose a reason for hiding this comment

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

@copilot, this implementation has a problem with the actuator line and an error is generated after 1000 iterations. Can you check?

Copy link
Contributor

Copilot AI commented Nov 3, 2025

@loganoz I've opened a new pull request, #19, to work on those changes. Once the pull request is ready, I'll request review from you.

@oscarmarino oscarmarino merged commit cc7434a into ALupdate Nov 4, 2025
10 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.

4 participants