idaholab / moose

Multiphysics Object Oriented Simulation Environment
https://www.mooseframework.org
GNU Lesser General Public License v2.1
1.76k stars 1.05k forks source link

Utilities for boundary integrations with functors #20587

Open GiudGiud opened 2 years ago

GiudGiud commented 2 years ago

Reason

Boundary integrations are useful to check convergence, to check correctness and conservation of properties

Design

Impact

help reactor analysis and other things I m sure

lindsayad commented 1 year ago

@GiudGiud I feel like you've added quite a bit of capability for this. Do you still want this open?

GiudGiud commented 1 year ago

We have side integrals and adventive fluxes but we don’t have a side diffusive flux integral or average

lindsayad commented 1 year ago

Like you want SideDiffusiveFluxIntegralTempl (or something like it) to take the gradient of a generic functor as opposed to just a finite volume variable? (the diffusion coefficient can be a functor)

GiudGiud commented 1 year ago

Basically, and dot it with a normal.

I don’t think there s a big hurdle there, save for maybe missing ghosting if there s no diffusion kernel