• Postprocessors are used to compute aggregate values from solution fields. For example: average velocity, total heat flux, maximum temperature, etc.
  • MOOSE comes with several standard Postprocessors, but you can also inherit from the Postprocessor class and customize it for a particular problem.
  • Here, an ElementAverageValue is used to compute the average temperature of the column: $$$$T_{avg} \equiv \frac{1}{|\Omega|} \int_{\Omega}T \; dx$$$$ where $$$|\Omega|$$$ is the "volume" of the domain.
  • Additionally, the SideFluxIntegral Postprocessor is used to compute the flux through the outlet: $$$$q_{out} \equiv \int_{\partial \Omega} -k \nabla T \cdot \mathbf{n} \; ds$$$$

Postprocessors

Postprocessor Source Code

framework/include/postprocessors/ElementAverageValue.h

framework/src/postprocessors/ElementAverageValue.C

framework/include/postprocessors/SideFluxIntegral.h

framework/src/postprocessors/SideFluxIntegral.C

step08_postprocessors/problems/step8.i