- dimThe dimension of the mesh to be generated
C++ Type:MooseEnum
Controllable:No
Description:The dimension of the mesh to be generated
 
GeneratedMeshGenerator
Create a line, square, or cube mesh with uniformly spaced or biased elements.
Overview
The GeneratedMeshGenerator object is the built-in mesh generation capable of creating lines, rectangles, and rectangular prisms ("boxes"). The mesh automatically creates boundaries 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.
Input Parameters
- bias_x1The amount by which to grow (or shrink) the cells in the x-direction.
Default:1
C++ Type:double
Controllable:No
Description:The amount by which to grow (or shrink) the cells in the x-direction.
 - bias_y1The amount by which to grow (or shrink) the cells in the y-direction.
Default:1
C++ Type:double
Controllable:No
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
Controllable:No
Description:The amount by which to grow (or shrink) the cells in the z-direction.
 - boundary_id_offset0This offset is added to the generated boundary IDs
Default:0
C++ Type:short
Controllable:No
Description:This offset is added to the generated boundary IDs
 - boundary_name_prefixIf provided, prefix the built in boundary names with this string
C++ Type:std::string
Controllable:No
Description:If provided, prefix the built in boundary names with this string
 - elem_typeThe type of element from libMesh to generate (default: linear element for requested dimension)
C++ Type:MooseEnum
Controllable:No
Description:The type of element from libMesh to generate (default: linear element for requested dimension)
 - extra_element_integersNames of extra element integers
C++ Type:std::vector<ExtraElementIDName>
Controllable:No
Description:Names of extra element integers
 - gauss_lobatto_gridFalseGrade mesh into boundaries according to Gauss-Lobatto quadrature spacing.
Default:False
C++ Type:bool
Controllable:No
Description:Grade mesh into boundaries according to Gauss-Lobatto quadrature spacing.
 - nx1Number of elements in the X direction
Default:1
C++ Type:unsigned int
Controllable:No
Description:Number of elements in the X direction
 - ny1Number of elements in the Y direction
Default:1
C++ Type:unsigned int
Controllable:No
Description:Number of elements in the Y direction
 - nz1Number of elements in the Z direction
Default:1
C++ Type:unsigned int
Controllable:No
Description:Number of elements in the Z direction
 - subdomain_idsSubdomain IDs for each element, default to all zero
C++ Type:std::vector<unsigned short>
Controllable:No
Description:Subdomain IDs for each element, default to all zero
 - xmax1Upper X Coordinate of the generated mesh
Default:1
C++ Type:double
Controllable:No
Description:Upper X Coordinate of the generated mesh
 - xmin0Lower X Coordinate of the generated mesh
Default:0
C++ Type:double
Controllable:No
Description:Lower X Coordinate of the generated mesh
 - ymax1Upper Y Coordinate of the generated mesh
Default:1
C++ Type:double
Controllable:No
Description:Upper Y Coordinate of the generated mesh
 - ymin0Lower Y Coordinate of the generated mesh
Default:0
C++ Type:double
Controllable:No
Description:Lower Y Coordinate of the generated mesh
 - zmax1Upper Z Coordinate of the generated mesh
Default:1
C++ Type:double
Controllable:No
Description:Upper Z Coordinate of the generated mesh
 - zmin0Lower Z Coordinate of the generated mesh
Default:0
C++ Type:double
Controllable:No
Description:Lower Z Coordinate of the generated mesh
 
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.
 - 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
- 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)