Model.laminaterealizewithoptions#
- Model.laminaterealizewithoptions(laminate_entity, drape_flag=1, thickness_tol=0, orientation_tol=0, create_sequence=s_defaultString, reserved2=0, reserved3=0, reserved4=0, reserved5=0, reserved6=0)#
Realizes a laminate to create solver entities (properties, components, and so on) for updating layer information.
These additional steps must be followed to complete laminate realization specific to the list user profile.
ANSYS
Valid entity types like shell91/shell99/shell131/shell181 should be attached to component.
Abaqus
Assign a composite property to all the elements before realization.
OptiStruct/Natran
Assign a PCOMPP property to all the elements before realization.
- Parameters:
laminate_entity (Entity) – The object describing the laminate entity to be realized.
drape_flag (int) –
0 - Do not consider drape data during realization
1 - Include drape data during realization
thickness_tol (double) – The tolerance value for thickness during realization. Valid only used if
drape_flag=1.orientation_tol (double) – The tolerance value for orientation angle during realization. Valid only used if
drape_flag=1.create_sequence (hwString) – Reserved for future development. Must be set to “”
reserved2 (int) –
0 - Do not create the sequences/zones for laminates (default).
1 - Create the sequences/zones for laminates.
reserved3 (int) – Reserved for future development. Must be set to 0
reserved4 (double) – Reserved for future development. Must be set to 0.0
reserved5 (double) – Reserved for future development. Must be set to 0.0
reserved6 (unsigned int) – Reserved for future development. Must be set to 0
Example#
Realize a laminate with ID 3 include any drape information , with thickness tolerance 4.0 and orientation tolerance 15.0#import hm import hm.entities as ent model = hm.Model() model.laminaterealizewithoptions( laminate_entity=ent.Laminate(model, 3), drape_flag=1, thickness_tol=4.0, orientation_tol=15.0, )