idaholab / moose

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

Execute only materials that provide required properties #21792

Open dschwen opened 2 years ago

dschwen commented 2 years ago

Reason

Materials are executed in multiple MOOSE stages,: Output, UserObjects, Kernels, AuxKernels. Not all Material objects need to be run in every stage.

Design

Use a design similar to the on demand material property computation in the Mortar constraint system.

Impact

Better performance and less surprising behavior.

hugary1995 commented 6 months ago

Is there any chance we can get this issue into one of those technical area support tasks/projects, such as this one NEAMS MP TA 24?

dschwen commented 6 months ago

Asking @permcody and @lindsayad

lindsayad commented 6 months ago

I will enter it there. I cannot guarantee that we will get to it as I've shifted some NEAMS MP resources onto CONNECT to replace @dschwen