Skip to content

Implement D3Q19 LES benchmark features for Sofia simulation - #1657

Merged
godofecht merged 4 commits into
mainfrom
jules-5902612423715851588-b0f493c4
Nov 2, 2026
Merged

godofecht merged 4 commits into
mainfrom
jules-5902612423715851588-b0f493c4

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Implement D3Q19 LES benchmark features for Sofia simulation

This commit introduces the necessary physical components to reproduce the Amsterdam Science Park D3Q19 LES benchmark:

  • Smagorinsky LES relaxation calculation based on the non-equilibrium part of the stress tensor (pi_sq = pxx^2 + ... + 2*(pxy^2 + ...)).
  • Macroscopic Guo forcing to implement volumetric forces (e.g. pressure gradients).
  • Discrete bounce-back boundary conditions handled via an integer mask array.
  • A comprehensive Taylor-Green vortex benchmark validating the kinematic viscosity to <0.5% error in a tests/lang/test_sofia_taylor_green.flow simulation.
  • Updated examples/science/sofia/amsterdam_d3q19.flow to call the new LES step function.

Part of #1652


PR created automatically by Jules for task 5902612423715851588 started by @godofecht

This commit introduces the necessary physical components to reproduce the Amsterdam Science Park D3Q19 LES benchmark:
- Smagorinsky LES relaxation calculation based on the non-equilibrium part of the stress tensor (`pi_sq = pxx^2 + ... + 2*(pxy^2 + ...)`).
- Macroscopic Guo forcing to implement volumetric forces (e.g. pressure gradients).
- Discrete bounce-back boundary conditions handled via an integer mask array.
- A comprehensive Taylor-Green vortex benchmark validating the kinematic viscosity to <0.5% error in a `tests/lang/test_sofia_taylor_green.flow` simulation.
- Updated `examples/science/sofia/amsterdam_d3q19.flow` to call the new LES step function.

Part of #1652

Co-authored-by: godofecht <[email protected]>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@godofecht
godofecht added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit bf0a29c Nov 2, 2026
29 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.

1 participant