[SPH] add CFLs to dust TVA solver#1920
Conversation
|
Thanks @tdavidcl for opening this PR! You can do multiple things directly here: Once the workflow completes a message will appear displaying informations related to the run. Also the PR gets automatically reviewed by gemini, you can: |
There was a problem hiding this comment.
Code Review
This pull request introduces configuration parameters (C_1_fluid, C_delta_v, and cfl_density_threshold) for the monofluid TVI dust mode, and implements two new CFL timestep computation modules (ComputeCFLDust1Fluid and ComputeCFLDustDeltav) within the SPH solver. The review feedback highlights critical issues that need to be addressed: a potential NaN propagation in ComputeCFLDust1Fluid when sum_eps >= 1, a potential division-by-zero error in ComputeCFLDustDeltav when the relative velocity norm is zero, an inconsistency in the default value of C_delta_v across configuration files, and duplicated conditional blocks in Solver.cpp that should be merged for better readability.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
…stDeltav.hpp Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Workflow reportworkflow report corresponding to commit 2571ffc Pre-commit check reportPre-commit check: ✅ Test pipeline can run. Clang-tidy diff reportDoxygen diff with
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
No description provided.