# VectorConstantIC

The VectorConstantIC class is used to set initial values of components of a vector variable. The x component can be set through the x_value parameter, the y component through y_value, and the z component through z_value. Note that x_value is required. If y_value or z_value are not supplied, they are defaulted to zero.

Sets constant component values for a vector field variable.

## Input Parameters

• variableThe variable this initial condition is supposed to provide values for.

C++ Type:VariableName

Options:

Description:The variable this initial condition is supposed to provide values for.

• x_valueThe x value to be set in IC

C++ Type:double

Options:

Description:The x value to be set in IC

### Required Parameters

• y_value0The y value to be set in IC

Default:0

C++ Type:double

Options:

Description:The y value to be set in IC

• boundaryThe list of boundary IDs from the mesh where this boundary condition applies

C++ Type:std::vector

Options:

Description:The list of boundary IDs from the mesh where this boundary condition applies

• blockThe list of block ids (SubdomainID) that this object will be applied

C++ Type:std::vector

Options:

Description:The list of block ids (SubdomainID) that this object will be applied

• z_value0The z value to be set in IC

Default:0

C++ Type:double

Options:

Description:The z value to be set in IC

### Optional Parameters

• control_tagsAdds user-defined labels for accessing object parameters via control logic.

C++ Type:std::vector

Options:

Description:Adds user-defined labels for accessing object parameters via control logic.

• enableTrueSet the enabled status of the MooseObject.

Default:True

C++ Type:bool

Options:

Description:Set the enabled status of the MooseObject.

• ignore_uo_dependencyFalseWhen set to true, a UserObject retrieved by this IC will not be executed before the this IC

Default:False

C++ Type:bool

Options:

Description:When set to true, a UserObject retrieved by this IC will not be executed before the this IC