Skip to content

Adding user defined limiter fix, MF boundary and profiling improvements#538

Merged
klbudzin merged 9 commits intoUBCHREST:mainfrom
kolosret:limiterfix
May 7, 2025
Merged

Adding user defined limiter fix, MF boundary and profiling improvements#538
klbudzin merged 9 commits intoUBCHREST:mainfrom
kolosret:limiterfix

Conversation

@kolosret
Copy link
Contributor

@kolosret kolosret commented May 1, 2025

1, Added maximum gradient option in cellinterpolant, over which we don't project the state to the face, we use cell-centered values. Recommended value is around 10000 for user.
2. Added mass flux boundary condition form Kenny's branch.
3. Added barrier in the timestepper between pre and evaluate step. This is to stop radiation gain load imbalance influencing flow data.

@kolosret kolosret requested a review from klbudzin May 1, 2025 14:02
kolosret added 2 commits May 6, 2025 12:08
… the absolute value of the gradient... Setting maxgradient to ablate::utilities::constants::large in finitevolume solver
OPT(ablate::eos::transport::TransportModel, "evTransport", "when provided, this model will be used for ev transport instead of default"),
OPT(int, "compact", "Integer value describing whether to treat all the transport seperately, partially combined, or fully combined (see commented code above constructor for values)")); No newline at end of file
OPT(int, "compact", "Integer value describing whether to treat all the transport seperately, partially combined, or fully combined (see commented code above constructor for values)"),
OPT(int, "maxLimGrad", "Maximum gradient in any direction. If Cellinterpolant sees larger gradient, the limiter is set to 0.")); No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Change int to PetscReal

@klbudzin klbudzin merged commit 7f94c71 into UBCHREST:main May 7, 2025
9 checks passed
@kolosret kolosret deleted the limiterfix branch May 7, 2025 18:33
kolosret added a commit to kolosret/ablate that referenced this pull request Aug 5, 2025
…ts (UBCHREST#538)

* Updated timestepper for accurate profiling results.

* Patch from Kenny containing the massflux boundary condition.

* Version bump

* Correct formatting

* removing extra variable..

* Bugfix: serializer returns 0 by default for optional arguments. Using the absolute value of the gradient... Setting maxgradient to ablate::utilities::constants::large in finitevolume solver

* Final formatting, changing input type
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.

2 participants