**mesh_lin_cube#

Description#

This command is used to quickly mesh a cube using linear elements c3d8. For quadratic interpolation, the reader is refered to mesh_quad_cube.

Syntax#

**mesh_lin_cube

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

*size

Edge 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. By default, elset_cut=1 .

*checkerboard_cut

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

Example#

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