ParsedGenerateSideset

A MeshGenerator that adds element sides to a sideset if the centroid satisfies the combinatorial_geometry expression. Optionally, element sides are also added if they are included in included_subdomains and if they feature the designated normal.

Input Parameters

  • combinatorial_geometryFunction expression encoding a combinatorial geometry

    C++ Type:std::string

    Controllable:No

    Description:Function expression encoding a combinatorial geometry

  • inputThe mesh we want to modify

    C++ Type:MeshGeneratorName

    Controllable:No

    Description:The mesh we want to modify

  • new_sideset_nameThe name of the new sideset

    C++ Type:BoundaryName

    Controllable:No

    Description:The name of the new sideset

Required Parameters

  • constant_expressionsVector of values for the constants in constant_names (can be an FParser expression)

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

    Controllable:No

    Description:Vector of values for the constants in constant_names (can be an FParser expression)

  • constant_namesVector of constants used in the parsed function

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

    Controllable:No

    Description:Vector of constants used in the parsed function

  • fixed_normalFalseThis Boolean determines whether we fix our normal or allow it to vary to "paint" around curves

    Default:False

    C++ Type:bool

    Controllable:No

    Description:This Boolean determines whether we fix our normal or allow it to vary to "paint" around curves

  • replaceFalseIf true, replace the old sidesets. If false, the current sidesets (if any) will be preserved.

    Default:False

    C++ Type:bool

    Controllable:No

    Description:If true, replace the old sidesets. If false, the current sidesets (if any) will be preserved.

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.

  • disable_fpoptimizerFalseDisable the function parser algebraic optimizer

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Disable the function parser algebraic optimizer

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

  • enable_ad_cacheTrueEnable caching of function derivatives for faster startup time

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Enable caching of function derivatives for faster startup time

  • enable_auto_optimizeTrueEnable automatic immediate optimization of derivatives

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Enable automatic immediate optimization of derivatives

  • enable_jitTrueEnable just-in-time compilation of function expressions for faster evaluation

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Enable just-in-time compilation of function expressions for faster evaluation

  • evalerror_behaviornanWhat to do if evaluation error occurs. Options are to pass a nan, pass a nan with a warning, throw a error, or throw an exception

    Default:nan

    C++ Type:MooseEnum

    Options:nan, nan_warning, error, exception

    Controllable:No

    Description:What to do if evaluation error occurs. Options are to pass a nan, pass a nan with a warning, throw a error, or throw an exception

  • save_with_nameKeep the mesh from this mesh generator in memory with the name specified

    C++ Type:std::string

    Controllable:No

    Description:Keep the mesh from this mesh generator in memory with the name specified

Advanced Parameters

  • include_only_external_sidesFalseWhether to only include external sides when considering sides to add to the sideset

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to only include external sides when considering sides to add to the sideset

  • included_boundariesA set of boundary names or ids whose sides will be included in the new sidesets

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

    Controllable:No

    Description:A set of boundary names or ids whose sides will be included in the new sidesets

  • included_neighborsA set of neighboring subdomain names or ids. A face is only added if the subdomain id of the neighbor is in this set

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

    Controllable:No

    Description:A set of neighboring subdomain names or ids. A face is only added if the subdomain id of the neighbor is in this set

  • included_subdomainsA set of subdomain names or ids whose sides will be included in the new sidesets

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

    Controllable:No

    Description:A set of subdomain names or ids whose sides will be included in the new sidesets

  • normal0 0 0If supplied, only faces with normal equal to this, up to normal_tol, will be added to the sidesets specified

    Default:0 0 0

    C++ Type:libMesh::Point

    Controllable:No

    Description:If supplied, only faces with normal equal to this, up to normal_tol, will be added to the sidesets specified

  • normal_tol0.1If normal is supplied then faces are only added if face_normal.normal_hat >= 1 - normal_tol, where normal_hat = normal/|normal|

    Default:0.1

    C++ Type:double

    Controllable:No

    Description:If normal is supplied then faces are only added if face_normal.normal_hat >= 1 - normal_tol, where normal_hat = normal/|normal|

Sideset Restrictions Parameters

  • nemesisFalseWhether or not to output the mesh file in the nemesisformat (only if output = true)

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether or not to output the mesh file in the nemesisformat (only if output = true)

  • outputFalseWhether or not to output the mesh file after generating the mesh

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether or not to output the mesh file after generating the mesh

  • show_infoFalseWhether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)

Debugging Parameters

Input Files