FVConstantIC

Sets a constant field value.

Sets a constant initial condition described by parameter "value". It can be restricted to particular blocks using the "block" parameter.

Example input syntax

In this example, a blockwise constant initial condition is set for variable u. Block 1 and 2 are set differently by two FVConstantIC objects.

[FVICs]
  [ic_u_1]
    type = FVConstantIC
    variable = u
    value = 6.25
    block = '1'
  []
  [ic_u_2]
    type = FVConstantIC
    variable = u
    value = 9.99
    block = '2'
  []
[]
(moose/test/tests/fvics/constant_ic/subdomain_constant_ic.i)

Input Parameters

  • valueThe value to be set in IC

    C++ Type:double

    Controllable:No

    Description:The value to be set in IC

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

    C++ Type:VariableName

    Controllable:No

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

Required Parameters

  • blockThe list of blocks (ids or names) that this object will be applied

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

    Controllable:No

    Description:The list of blocks (ids or names) that this object will be applied

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.

Advanced Parameters