Skip to content

Conversation

@ayush4874
Copy link

Adds a documentation page (_tutorials/workflow_features/hybrid_ml_coupling.md) for the new PyTorch coupling example.

Context:

@bigfooted
Copy link
Contributor

bigfooted commented Dec 26, 2025

You can test if the page looks good in-situ on your own machine using:
bundle exec jekyll serve
Just run it from the su2code.github.io github branch on your local machine...

@ayush4874
Copy link
Author

Thanks @bigfooted, I appreciate the tip! I'll spin up the local Jekyll server and verify the layout/rendering to make sure everything looks correct before the final review.

@ayush4874
Copy link
Author

ayush4874 commented Dec 27, 2025

@bigfooted Ready for review.

Summary of Changes

  1. Added Tutorial: "Hybrid PyTorch-SU2 Coupling" via Python Wrapper.
  2. Verified Code: Ran the simulation locally with mpirun -n 4.
    • Physics solver converges (Density residuals dropped to ~10^-11).
    • ML model learns in real-time (MSE Loss dropped from ~70 to ~0.16).
  3. Verified Rendering: Built the site locally using bundle exec jekyll serve and confirmed the tutorial page renders correctly with the correct links.

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