- op_numnumber of order parameters to createC++ Type:unsigned int Controllable:No Description:number of order parameters to create 
- random_typeThe type of random polycrystal initial condition. Whether one order parameter is chosen to be 1 at each node or if each other parameter continuously varies from 0 to 1C++ Type:MooseEnum Controllable:No Description:The type of random polycrystal initial condition. Whether one order parameter is chosen to be 1 at each node or if each other parameter continuously varies from 0 to 1 
- var_name_basespecifies the base name of the variablesC++ Type:std::string Controllable:No Description:specifies the base name of the variables 
PolycrystalRandomICAction
Sets random polycrystal initial conditions for each order parameter
Overview
This action creates the initial conditions (ICs) for the op_num order parameters used to represent a polycrystal with a random initial condition.
The action creates the IC for each of the variables with PolycrystalRandomIC.
Example Input File Syntax
The PolycrystalRandomICAction is accessed through the ICs/PolycrystalICs block, as shown below.
[GlobalParams<<<{"href": "../../syntax/GlobalParams/index.html"}>>>]
  # Parameters used by several kernels that are defined globally to simplify input file
  op_num = 10 # Number of grains
  var_name_base = gr # Base name of grains
[][ICs<<<{"href": "../../syntax/ICs/index.html"}>>>]
  [PolycrystalICs<<<{"href": "../../syntax/ICs/PolycrystalICs/index.html"}>>>]
    [PolycrystalRandomIC<<<{"href": "../../syntax/ICs/PolycrystalICs/PolycrystalRandomIC/index.html"}>>>]
      random_type<<<{"description": "The type of random polycrystal initial condition. Whether one order parameter is chosen to be 1 at each node or if each other parameter continuously varies from 0 to 1"}>>> = discrete
    []
  []
[]Input Parameters
- active__all__ If specified only the blocks named will be visited and made activeDefault:__all__ C++ Type:std::vector<std::string> Controllable:No Description:If specified only the blocks named will be visited and made active 
- blockBlock restriction for the initial conditionC++ Type:std::vector<SubdomainName> Controllable:No Description:Block restriction for the initial condition 
- inactiveIf specified blocks matching these identifiers will be skipped.C++ Type:std::vector<std::string> Controllable:No Description:If specified blocks matching these identifiers will be skipped. 
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.