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]
[./my_postprocessor]
type = FunctionValuePostprocessor
function = my_function
execute_on = 'initial timestep_end'
[../]
[./change_over_time]
type = ChangeOverTimePostprocessor
postprocessor = my_postprocessor
change_with_respect_to_initial = false
execute_on = 'initial timestep_end'
[../]
[]
[Functions]
[./my_function]
type = ParsedFunction
expression = '1 + t * t'
[../]
[]
(../moose/test/tests/postprocessors/change_over_time/change_over_time.i)