**mesh_quad_parallelepiped#

Description#

This command is used to quickly generate a ruled mesh of a parallelepiped. You can also refer to mesh_quad_cube. NSETs of the 6 faces (x0, x1, y1, …), of the 12 edges (x0y0, x0y1, x0z1, …) and of the 8 corners (x0y0z0, x0y0z1, …) are automatically generated by default.

Syntax#

**mesh_quad_parallelepiped   *ncutx nx   *ncuty ny   *ncutz nz   *sizex length_x   *sizey length_y   *sizez length_z   [ *nb_nodes nb_nodes ]   [ *elset_cutx elcutx ]   [ *elset_cuty elcuty ]   [ *elset_cutz elcutz ]   [ *biasx bias_x ]   [ *biasy bias_y ]   [ *biasz bias_z ]   [ *min_hx min_hx   [ *max_hx max_hx ]   [ *min_hy min_hy ]   [ *max_hy max_hy ]   [ *min_hz min_hz   [ *max_hz max_hz ]   [ *no_sets ]   [ *nbyarnsx nbyarnsx ]   [ *nbyarnsy nbyarnsy ]   [ *nbyarnsz nbyarnsz ]   [ *radius_yarns r_yarns ]

*ncutx, ncuty, ncutz

Number of subdivisions along the x, y and z axes.

*nb_nodes

Approximate number of nodes. It is an alternative to *ncutx,  ncuty, ncutz.

*sizex, sizey, sizez

Length of the box in each direction.

*elset_cutx, *elset_cuty, *elset_cutz

The number of elset cuts in each direction (for domain decomposition).

*biasx, biasyi, biasz

Geometric progressions parameters that drive the element size from lower to higher coordinates. Do not use bias[xyz] and min_h[xyz] together.

*min_hx, min_hy, min_hz

An other way to set geometric progressions that drive the element size from lower to higher coordinates. Do not use bias[xyz] and min_h[xyz] together.

*no_sets

The faces, edges and corner NSETS are not generated.

*nbyarnsx, *nbyarnsx, *nbyarnsx

The number of “yarns” (fake composite material) in each direction.

*radius_yarns

The size of yarns.

Example#

../../_images/pave.svg
****mesher
 ***mesh pave.geof
  **mesh_quad_parallelepiped
   *ncutx 25
   *ncuty 30
   *ncutz 20
   *sizex 5.
   *sizey 6.
   *sizez 4.
   *nbyarnsx 10
   *nbyarnsy 12
   *nbyarnsz 8
   *radius_yarns 0.2
****return