ansys.dyna.core.pre.model#
Module containing the managing logic of the PyDYNA model.
Classes#
Contains all information about Ansys PyDYNA Model. |
Module Contents#
- class ansys.dyna.core.pre.model.Model(stub)[source]#
Contains all information about Ansys PyDYNA Model.
- get_solid_elements() List [source]#
Get the solid elements.
- Returns:
List
solid element connectivity,list = [[n1,n2,n3,n4,n5,n6,n7,n8],[…],…]
- get_shell_elements() List [source]#
Get the shell elements.
- Returns:
list
list[0],solid element connectivity,list[0] = [[n1,n2,n3,n4,n5,n6,n7,n8],[…],…]
- get_nodes() List [source]#
Get nodes.
- Returns:
list
node coordinates,list = [[x1,y1,z1],[x2,y2,z2],…]
- get_part(id: int) ansys.dyna.core.pre.part.Part [source]#
Get the part by ID.
- Parameters:
- id
int
ID of the part.
- id
- Returns:
Part
Part or
None
if the given part ID doesn’t exist.
- property parts: List[ansys.dyna.core.pre.part.Part][source]#
Get the list of parts for the model.
- Returns:
List
[Part
]List of parts for the model.