*laminates()

Creates a laminate in HMASCII format.

Syntax

*laminates (id,"name",color,convention,config,repeat)

Type

HyperMesh HMASCII Command

Description

Creates a laminate in HMASCII format. To add plies, sub-laminates and interfaces to a laminate, use the *interfacepairlist(), *interfacepairmax(), *laminateidlist() and *laminateidlistmax() commands.

Inputs

id
The ID of the laminate.
name
The name of the laminate.
color
The color of the laminate. Valid values are 1-64.
convention
The lamiante stacking convention. Valid values are:
  • 0 - Total
  • 1 - Membrane
  • 2 - Bending
  • 3 - Smear
  • 4 - Smear core
  • 5 - Symmetric
  • 6 - Symmetric membrane
  • 7 - Symmetric bending
  • 8 - Symmetric smear
config
The config of the laminate. Valid values are:
  • 0 - Ply laminate, which references plies.
  • 1 - Sub-laminate laminate, which references sub-laminates and interfaces
  • 2 - Sub-laminate, which references plies for the sub-laminate.
repeat
Currently ignored. Must be set to 0.

Examples

To create a symmetric ply laminate with ID 100, name "my-laminate" and plies 3-6:

*laminates(100,"my-laminate",1,5,0,0)
*laminateidlistmax(4)
*laminateidlist(3,4,5,6)

To create a sub-laminate with ID 200, name "my-sub-laminate" and plies 3-6:

*laminates(100,"my-sub-laminate",1,0,2,0)
*laminateidlistmax(4)
*laminateidlist(3,4,5,6)

To create a sub-laminate laminate with ID 300, name "my-sub-laminate-laminate" and sub-laminates 200 and 201:

To create a sub-laminate laminate with ID 300, name "my-sub-laminate-laminate" and sub-laminates 200 and 201:

To add interfaces to the above laminate:

*interfacepairmax(1)
*interfacepairlist(200,201)

Errors

Incorrect usage results in an import error.