PatchSidesetGenerator

Description

This mesh generator splits a given sideset (sideset parameter) into n pieces (n_patches). The pieces are referred to as patches. Patches are used for net radiation transfer method via view factors. The sideset is divided into n patches using partitioner that are available from libmesh. The new sidesets are named <old_side_name>_<id>, where <id> is a number running from 0 to n - 1.

Example Input Syntax

  [patch]
    type = PatchSidesetGenerator
    sideset = 0
    n_patches = 10
    input = cmg
  []
(modules/heat_conduction/test/tests/generate_radiation_patch/generate_radiation_patch.i)

Input Parameters

  • inputThe mesh we want to modify

    C++ Type:MeshGeneratorName

    Options:

    Description:The mesh we want to modify

  • n_patchesNumber of patches

    C++ Type:unsigned int

    Options:

    Description:Number of patches

  • sidesetThe sideset that will be divided into patches

    C++ Type:short

    Options:

    Description:The sideset that will be divided into patches

Required Parameters

  • centroid_partitioner_directionSpecifies the sort direction if using the centroid partitioner. Available options: x, y, z, radial

    C++ Type:MooseEnum

    Options:x y z radial

    Description:Specifies the sort direction if using the centroid partitioner. Available options: x, y, z, radial

  • partitionerdefaultSpecifies a mesh partitioner to use when splitting the mesh for a parallel computation.

    Default:default

    C++ Type:MooseEnum

    Options:default metis parmetis linear centroid hilbert_sfc morton_sfc

    Description:Specifies a mesh partitioner to use when splitting the mesh for a parallel computation.

Partitioning 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.

Advanced Parameters

Input Files