ChangeOverTimestepPostprocessor

Computes the change or relative change in a post-processor value over a timestep or the entire transient

The ChangeOverTimestepPostprocessor can be used to track convergence of additional quantities computed by postprocessors. For example, in conjugate heat transfer simulations, the total energy stored in the fluid should be tracked as an additional convergence metric, and not just the residual from the equations.

The 'INITIAL' execute_on flag should be included in the tracked postprocessor execute_on parameter if the ChangeOverTimestepPostprocessor is set to compute the difference with regards to the initial value.

Example input syntax

In this example, the ChangeOverTimestepPostprocessor is set to track the change of a FunctionValuePostprocessor, as a test of correctness. The FunctionValuePostprocessor's evolution is known as it is defined by a ParsedFunction.

[Postprocessors<<<{"href": "../../syntax/Postprocessors/index.html"}>>>]
  [./my_postprocessor]
    type = FunctionValuePostprocessor<<<{"description": "Computes the value of a supplied function at a single point (scalable)", "href": "FunctionValuePostprocessor.html"}>>>
    function<<<{"description": "The function which supplies the postprocessor value."}>>> = my_function
    execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = 'initial timestep_end'
  [../]
  [./change_over_time]
    type = ChangeOverTimePostprocessor<<<{"description": "Computes the change or relative change in a post-processor value over a timestep or the entire transient", "href": "ChangeOverTimePostprocessor.html"}>>>
    postprocessor<<<{"description": "The name of the postprocessor"}>>> = my_postprocessor
    change_with_respect_to_initial<<<{"description": "Compute change with respect to initial value instead of previous value"}>>> = false
    execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = 'initial timestep_end'
  [../]
[]

[Functions<<<{"href": "../../syntax/Functions/index.html"}>>>]
  [./my_function]
    type = ParsedFunction<<<{"description": "Function created by parsing a string", "href": "../functions/MooseParsedFunction.html"}>>>
    expression<<<{"description": "The user defined function."}>>> = '1 + t * t'
  [../]
[]
(moose/test/tests/postprocessors/change_over_time/change_over_time.i)