SetRealValueControl

Control object that reads a Real value computed by the control logic system and sets it into a specified MOOSE object parameter(s)

commentnote

ControlData is only defined by the thermal hydraulics module control logic.

Example input syntax

In this example, the value parameter of the AuxKernel called aux_kernel using the value ControlData of the T_inlet_fn ControlLogic.

[ControlLogic]
  [T_inlet_fn]
    type = GetFunctionValueControl
    function = T0_fn
  []

  [set_inlet_value]
    type = SetRealValueControl
    parameter = AuxKernels/aux_kernel/value
    value = T_inlet_fn:value
  []
[]
(contrib/moose/modules/thermal_hydraulics/test/tests/controls/set_real_value_control/test.i)

Input Parameters

  • parameterThe input parameter(s) to control

    C++ Type:std::string

    Unit:(no unit assumed)

    Controllable:No

    Description:The input parameter(s) to control

  • valueThe name of control data to be set into the input parameter.

    C++ Type:std::string

    Unit:(no unit assumed)

    Controllable:No

    Description:The name of control data to be set into the input parameter.

Required Parameters

  • depends_onThe Controls that this control relies upon (i.e. must execute before this one)

    C++ Type:std::vector<std::string>

    Unit:(no unit assumed)

    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>

    Unit:(no unit assumed)

    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

    Unit:(no unit assumed)

    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

    Unit:(no unit assumed)

    Controllable:No

    Description:Determines whether this object is calculated using an implicit or explicit form

Advanced Parameters