Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Limiters for Finite Volume Formulation #28892

Merged
merged 20 commits into from
Dec 2, 2024

Conversation

tanoret
Copy link
Contributor

@tanoret tanoret commented Oct 19, 2024

Closes #28891

@tanoret
Copy link
Contributor Author

tanoret commented Oct 19, 2024

@freiler plase also take a look if you can

@tanoret
Copy link
Contributor Author

tanoret commented Oct 19, 2024

This are the current results on October 18, 2024

Upwind

image

Variartion Limited Second-Order Upwind:

image

Min-Mod:

image

VanLeer:

image

QUICK:

image

Venkatakrishnan:

image

Notes:

  • Flux limiters are lagged in time step
  • Deterioration in convergence is only observed for Venkatakrishnan (all the rest converge as upwind)
  • QUICK does not show improvements with respect to upwind

@tanoret
Copy link
Contributor Author

tanoret commented Oct 19, 2024

To-do:

  • Modify the implicit vs explicit update in the limiters and select the best default option for each
  • Correct QUICK issues
  • Improve the documentation for all functions in limiters and MathFVUtils
  • Write updated documentation on limiters
  • Test limited advection schemes from two fronts

@GiudGiud
Copy link
Contributor

you'll want to get rid of the submodule update in the wasp folder

Copy link
Member

@lindsayad lindsayad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I wait to review this until you've removed the WIP label? In which case should we convert this to draft?

@tanoret tanoret changed the title [WIP] Updating Limiters for Finite Volume Formulation Updating Limiters for Finite Volume Formulation Oct 24, 2024
@tanoret
Copy link
Contributor Author

tanoret commented Oct 24, 2024

This are the latest results. Images are in the docs. Limiters are working as expected. Tests include:

  • advection in a cartesian mesh in two directions (bottom-left to top-right and inverted)
  • advection in a triangular mesh
  • lid-driven cavity with Newton
  • lid-driven cavity with SIMPLE

image

large_media Outdated Show resolved Hide resolved
@tanoret tanoret requested a review from permcody as a code owner October 24, 2024 22:51
@lindsayad
Copy link
Member

You can mention me once you're done pushing and I will review. Going to unsubscribe for now

large_media Outdated Show resolved Hide resolved
large_media Outdated Show resolved Hide resolved
large_media Outdated Show resolved Hide resolved
@GiudGiud
Copy link
Contributor

We'll want to reduce the size of the tests. 25x25 for a full grid of tests is bloating the repo. You ll see it fail the same way with 5x5 but at (theoretically) 1/25th of the memory cost

@moosebuild
Copy link
Contributor

moosebuild commented Oct 28, 2024

Job Documentation, step Docs: sync website on fe27fcd wanted to post the following:

View the site here

This comment will be updated on new commits.

Copy link
Contributor

@GiudGiud GiudGiud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

early feedback, not quite done but might be delayed tomorrow

framework/include/variables/MooseVariableFV.h Outdated Show resolved Hide resolved
modules/navier_stokes/src/fvkernels/INSFVAdvectionKernel.C Outdated Show resolved Hide resolved
modules/navier_stokes/src/fvkernels/INSFVAdvectionKernel.C Outdated Show resolved Hide resolved
framework/include/limiters/Limiter.h Outdated Show resolved Hide resolved
framework/include/limiters/Limiter.h Outdated Show resolved Hide resolved
framework/include/limiters/Limiter.h Outdated Show resolved Hide resolved
framework/include/limiters/MinModLimiter.h Outdated Show resolved Hide resolved
framework/include/limiters/MinModLimiter.h Show resolved Hide resolved
large_media Outdated Show resolved Hide resolved
@tanoret
Copy link
Contributor Author

tanoret commented Oct 29, 2024

For the fvkernels/mms/advective-outflow.QUICKLimiter, which is supposed to test QUICK convergence with order $2 \pm 0.05$, we are converging with order 2.3. Does someone know rapidly what could be going on with this test or should I dig deeper into this?

image

large_media Outdated Show resolved Hide resolved
@tanoret tanoret force-pushed the lagging_rc branch 2 times, most recently from c580b5b to 5459bb6 Compare November 27, 2024 23:27
Copy link
Contributor

@grmnptr grmnptr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for addressing all the comments on this PR! @GiudGiud if this is good to go from your side too we could merge this.

Copy link
Contributor

@GiudGiud GiudGiud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually this last commit should be squashed in a previous one
see
dc52825
15691c9

you re checking in 8 gold files twice

@tanoret
Copy link
Contributor Author

tanoret commented Dec 1, 2024

actually this last commit should be squashed in a previous one see dc52825 15691c9

you re checking in 8 gold files twice

I will delete the gold files from 15691c9 Finding a issues with squashing and don't have time to evaluate non-regression in the flow test bed

Edit: Should be good

large_media Outdated Show resolved Hide resolved
large_media Outdated Show resolved Hide resolved
Copy link
Contributor

@GiudGiud GiudGiud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test failures (FENIX build failure) due to old recipes (pyne issue) and unrelated

@idaholab idaholab deleted a comment from moosebuild Dec 2, 2024
@GiudGiud GiudGiud merged commit 4a6a925 into idaholab:next Dec 2, 2024
49 of 51 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.

Improve limiters for incompressible and weakly-compressible flow
6 participants