SetComponentRealValueControl

commentnote

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

Example input syntax

In this example, the T0 parameter of the inlet component using the value ControlData of the T_inlet_fn ControlLogic.

[Components]
  [pipe1]
    type = FlowChannel1Phase
    fp = fp
    position = '0 0 0'
    orientation = '1 0 0'
    length = 15.0
    n_elems = 10
    A = 0.01
    D_h = 0.1
    f = 0.01
  []

  [inlet]
    type = InletStagnationPressureTemperature1Phase
    input = 'pipe1:in'
    p0 = 100.e3
    T0 = 350.
  []
  [outlet]
    type = Outlet1Phase
    input = 'pipe1:out'
    p = 100.0e3
  []
[]

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

  [set_inlet_value]
    type = SetComponentRealValueControl
    component = inlet
    parameter = T0
    value = T_inlet_fn:value
  []
[]
(modules/thermal_hydraulics/test/tests/controls/set_component_real_value_control/test.i)

Input Parameters

  • componentThe name of the component to be controlled.

    C++ Type:std::string

    Controllable:No

    Description:The name of the component to be controlled.

  • parameterThe name of the parameter in the component to be controlled.

    C++ Type:std::string

    Controllable:No

    Description:The name of the parameter in the component to be controlled.

  • valueThe name of control data to be set in the component.

    C++ Type:std::string

    Controllable:No

    Description:The name of control data to be set in the component.

Required 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

Advanced Parameters

Input Files