Skip to content

Improved neutral flux limiters - clean#556

Open
mikekryjak wants to merge 1 commit into
masterfrom
neutral-fluxlim-clean
Open

Improved neutral flux limiters - clean#556
mikekryjak wants to merge 1 commit into
masterfrom
neutral-fluxlim-clean

Conversation

@mikekryjak
Copy link
Copy Markdown
Collaborator

This PR isolates just the flux limiter changes from #451:

  • Separate free streaming definitions for advection, conduction, viscosity
  • Separate limiters for perpendicular and parallel transport
  • Corrected thermal speed formulation
  • No longer double counting neutral_lmax
  • Legacy behaviour can be enabled with flags

To do:

  • Update docs
  • Update test

I have found a considerable performance hit even when using SNES with the MUMPS recipe. I suspect it's purely due to the faster neutral transport but not sure yet.
image

It makes me wonder whether we should have the new or the legacy model as the default. I am really struggling to decide!

At the moment the legacy behaviour can be enabled by three separate flags, one for the limiter form, one for double-counting neutral_lmax and one for the old thermal speed formula.

What are your thoughts @bendudson @dschwoerer @malamast? Should the default be more physically accurate or fast?

- Separate free streaming definitions for advection, conduction, viscosity
- Separate limiters for perpendicular and parallel transport
- Corrected thermal speed formulation
- No longer double counting neutral_lmax
- Legacy behaviour can be enabled with flags
@mikekryjak mikekryjak added the enhancement New feature or request label Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant