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

Make LayeredIntegral a functor #29910

Open
lindsayad opened this issue Feb 18, 2025 · 0 comments · May be fixed by #29912
Open

Make LayeredIntegral a functor #29910

lindsayad opened this issue Feb 18, 2025 · 0 comments · May be fixed by #29912
Assignees
Labels
C: Framework T: task An enhancement to the software.

Comments

@lindsayad
Copy link
Member

Motivation

LayeredIntegral is very useful for converting multi-dimensional objects into 1D objects for which simple correlations hold. For instance the Dittus-Boelter equation can be used for estimating the Nusselt number for moderate differences between $T_{wall}$ and $T_{\infty}$. $T_{\infty}$ can be computed as a function of axial distance using LayeredAverage aggregation (e.g. averaging the temperature over the pipe cross section).

Design

Make LayeredIntegral inherit from Moose::FunctorBase<Real> (because it is an aggregation we do not want a dense array of derivatives so we do not inherit from ADReal)

Impact

Make LayeredIntegral usable within functor plumbing

@lindsayad lindsayad added T: task An enhancement to the software. C: Framework labels Feb 18, 2025
@lindsayad lindsayad self-assigned this Feb 18, 2025
lindsayad added a commit to lindsayad/moose that referenced this issue Feb 18, 2025
lindsayad added a commit to lindsayad/moose that referenced this issue Feb 18, 2025
lindsayad added a commit to lindsayad/moose that referenced this issue Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework T: task An enhancement to the software.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant