**mesh_quad_cube#

Description#

This command is used to quickly mesh a cube using quadratic elements c3d20. You can also refer to mesh_quad_parallelepiped

Syntax#

**mesh_quad_cube \(~\,\) *size length \(~\,\) [ *ncut n ] \(~\,\) [ *nb_nodes nb_nodes ] \(~\,\) [ *elset_cut elset_cut ] \(~\,\) [ *checkerboard_cut chkcut ] \(~\,\) [ *geometric_progression ]

*size

Length of the cube sides.

*ncut

Number of segments along the cube sides.

*nb_nodes

May be specified instead of ncut as the target number of nodes for the final mesh.

*elset_cut

The number of elsets (smaller cubes) in each direction. The total number of elsets will be elset_cut^3.

*checkerboard_cut

The subdivision of the checkerboard mesh along each direction. It creates two complementary elsets.

*geometric_progression

boolean to activate geometric progression of the checkerboard (if true, the geometric progression is a function of ncut and checkerboard_cut)

Example#

****mesher
 ***mesh cube
  **mesh_quad_cube
   *ncut 10
   *size 1.
****return