GeneratedMeshGenerator

Description

The GeneratedMeshGenerator object is the built-in mesh generation capable of creating lines, rectangles, and rectangular prisms ("boxes"). The mesh automatically creates side sets that are logically named and numbered as follows:

  • In 1D, left = 0, right = 1

  • In 2D, bottom = 0, right = 1, top = 2, left = 3

  • In 3D, back = 0, bottom = 1, right = 2, top = 3, left = 4, front = 5

The length, width, and height of the domain, as well as the number of elements in each direction can be specified independently.

Further GeneratedMeshGenerator Documentation

Input Parameters

  • bias_x1The amount by which to grow (or shrink) the cells in the x-direction.

    Default:1

    C++ Type:double

    Options:

    Description:The amount by which to grow (or shrink) the cells in the x-direction.

  • zmax1Upper Z Coordinate of the generated mesh

    Default:1

    C++ Type:double

    Options:

    Description:Upper Z Coordinate of the generated mesh

  • elem_typeThe type of element from libMesh to generate (default: linear element for requested dimension)

    C++ Type:MooseEnum

    Options:EDGE EDGE2 EDGE3 EDGE4 QUAD QUAD4 QUAD8 QUAD9 TRI3 TRI6 HEX HEX8 HEX20 HEX27 TET4 TET10 PRISM6 PRISM15 PRISM18 PYRAMID5 PYRAMID13 PYRAMID14

    Description:The type of element from libMesh to generate (default: linear element for requested dimension)

  • ny1Number of elements in the Y direction

    Default:1

    C++ Type:unsigned int

    Options:

    Description:Number of elements in the Y direction

  • zmin0Lower Z Coordinate of the generated mesh

    Default:0

    C++ Type:double

    Options:

    Description:Lower Z Coordinate of the generated mesh

  • gauss_lobatto_gridFalseGrade mesh into boundaries according to Gauss-Lobatto quadrature spacing.

    Default:False

    C++ Type:bool

    Options:

    Description:Grade mesh into boundaries according to Gauss-Lobatto quadrature spacing.

  • nx1Number of elements in the X direction

    Default:1

    C++ Type:unsigned int

    Options:

    Description:Number of elements in the X direction

  • bias_y1The amount by which to grow (or shrink) the cells in the y-direction.

    Default:1

    C++ Type:double

    Options:

    Description:The amount by which to grow (or shrink) the cells in the y-direction.

  • bias_z1The amount by which to grow (or shrink) the cells in the z-direction.

    Default:1

    C++ Type:double

    Options:

    Description:The amount by which to grow (or shrink) the cells in the z-direction.

  • ymax1Upper Y Coordinate of the generated mesh

    Default:1

    C++ Type:double

    Options:

    Description:Upper Y Coordinate of the generated mesh

  • xmax1Upper X Coordinate of the generated mesh

    Default:1

    C++ Type:double

    Options:

    Description:Upper X Coordinate of the generated mesh

  • xmin0Lower X Coordinate of the generated mesh

    Default:0

    C++ Type:double

    Options:

    Description:Lower X Coordinate of the generated mesh

  • ymin0Lower Y Coordinate of the generated mesh

    Default:0

    C++ Type:double

    Options:

    Description:Lower Y Coordinate of the generated mesh

  • nz1Number of elements in the Z direction

    Default:1

    C++ Type:unsigned int

    Options:

    Description:Number of elements in the Z direction

Optional Parameters

  • dimThe dimension of the mesh to be generated

    C++ Type:MooseEnum

    Options:1 2 3

    Description:The dimension of the mesh to be generated

Main 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

Child Objects