- postprocessorThe name of the postprocessot that indicates is a solve should be done.
C++ Type:PostprocessorName
Unit:(no unit assumed)
Controllable:No
Description:The name of the postprocessot that indicates is a solve should be done.
THMSolvePostprocessorControl
This component controls the solve based on a postprocessor value. If the postprocessor indicates zero, no solve is being done. Otherwise, the solve is performed.
Example input syntax
In this example, the problem is only solved between time 0.4 and 0.6s, when the value of the postprocessor in non-zero.
[Functions<<<{"href": "../../syntax/Functions/index.html"}>>>]
[active_fn]
type = PiecewiseConstant<<<{"description": "Defines data using a set of x-y data pairs", "href": "../functions/PiecewiseConstant.html"}>>>
direction<<<{"description": "Direction to look to find value: LEFT RIGHT LEFT_INCLUSIVE RIGHT_INCLUSIVE"}>>> = right
xy_data<<<{"description": "All function data, supplied in abscissa, ordinate pairs"}>>> = '
0.2 0
0.4 1
0.6 0'
[]
[]
[Postprocessors<<<{"href": "../../syntax/Postprocessors/index.html"}>>>]
[active]
type = FunctionValuePostprocessor<<<{"description": "Computes the value of a supplied function at a single point (scalable)", "href": "../postprocessors/FunctionValuePostprocessor.html"}>>>
function<<<{"description": "The function which supplies the postprocessor value."}>>> = active_fn
[]
[]
[ControlLogic<<<{"href": "../../syntax/ControlLogic/index.html"}>>>]
[solve_on_off]
type = THMSolvePostprocessorControl<<<{"description": "Control the solve based on a postprocessor value", "href": "THMSolvePostprocessorControl.html"}>>>
postprocessor<<<{"description": "The name of the postprocessot that indicates is a solve should be done."}>>> = active
[]
[]
(moose/modules/thermal_hydraulics/test/tests/controls/thm_solve_postprocessor_control/test.i)Input Parameters
- depends_onThe Controls that this control relies upon (i.e. must execute before this one)
C++ Type:std::vector<std::string>
Controllable:No
Description:The Controls that this control relies upon (i.e. must execute before this one)
Optional Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Controllable:No
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Controllable:No
Description:Set the enabled status of the MooseObject.
- implicitTrueDetermines whether this object is calculated using an implicit or explicit form
Default:True
C++ Type:bool
Controllable:No
Description:Determines whether this object is calculated using an implicit or explicit form