Skip to content

Conversation

@glesur
Copy link
Contributor

@glesur glesur commented Feb 19, 2025

fix a bug that could lead to Nans when using the RKL scheme on grids with small grid spacing (<1e-5) as discussed in #322

additionally correct the curvature terms on cell-centered B that were not properly taken into account in the RKL loop. This can affect the outcome of simulations using the RKL scheme for Ohmic or Ambipolar diffusion in 2.5D non-cartesian models (NB: full 3D models are not affected since B is entirely computed by the CT scheme in these cases)

@glesur glesur added the bug Something isn't working label Feb 19, 2025
@glesur glesur changed the title fixRKLSmallGrids fix RKL in grids with small spacing Feb 20, 2025
@glesur glesur merged commit ecb9d2d into develop Feb 21, 2025
38 checks passed
@glesur glesur deleted the fixRKLSmallGridSpacing branch February 21, 2025 16:29
@glesur glesur mentioned this pull request Apr 16, 2025
glesur added a commit that referenced this pull request Apr 16, 2025
## [2.2.01] 2025-04-16
### Changed

- Fix a bug that led to instabilities in the RKL scheme with very small grid spacings (#323)
- Fix a bug that prevented Idefix from running with Sycl backend (required on Intel GPUs) (#331)
- Fix an error that led to incorrect electrical current regularisation around the polar axis in non-Ideal MHD  (#333)
- Improve div(B) checks with a dimensionless implementation, avoiding too large divB errors in grids with large stretch factors (#334)

### Added

- Time-Implicit drag for multiple dust species, preventing small time steps for strongly coupled dust grains (#321)
- Collisionless heat flux added to the Braginskii module (#317)
- New global `idfx::DumpArray` debugging function to dump any Idefix array into a numpy array that can read from python (#318)
- Automatic benchmark plots in the documentation (#319)
- More CI tests of grid coarsening (#329)
- Dump outputs based on wallclock time (#335)
---------

Co-authored-by: Victor Réville <victorreville@gmail.com>
Co-authored-by: Hal Bal <vreville@irap.omp.eu>
Co-authored-by: Jean Kempf <jean.kempf@irap.omp.eu>
Co-authored-by: Victor Réville <47865059+vreville@users.noreply.github.com>
Co-authored-by: Marc Coiffier <marc.coiffier@univ-grenoble-alpes.fr>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants