Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GiD_Tools geometry|mesh
This GiD_Tools command pretends to have subcommands of tools specialized in some geometry or mesh tasks
Special Tcl commands>Tools>Geometry
classify_connected_parts
GiD_Tools geometry classify_connected_parts <entity_type> <entity_ids> ?<forced_separator_ids>?
To split the input items of <entity_ids> in one or several parts where the entities of the part are connected
Two entities are assumed as connected only if they share a lowerentity boundary figure.
e.g lines sharing points, or surfaces sharing lines
but are considered not connected two surfaces that share only one point
if two figures only share a figure contained in <forced_separator_ids> they will be considered in diferent parts
<entity_type>: line | surface | volume
<entity_ids> objarray of integers with the entity identifiers (ids start from 1, not 0)
<forced_separator_ids> is an optional list of ids of entities of lower level that act as barrier and prevent consider be connected
entities of lower level means for <entity_type> line -> point , surface -> line, volume -> surface
it returns a list where each item is an objarray of integers with the ids of the entities of each connected part
{<part1_1 ... part1_n1> ... <partn_1 ... partn_nn>}
mass_properties
GiD_Tools geometry mass_properties <volume_id>
To calculate the mass properties of volume, gravity center and inertia tensor of a volume
<volume_id> Is the of integer id of the volume to be computed
It returns a list with 3 items: mass {center_x center_y center_z} {Ixx Iyy Izz Ixy Iyz Ixz}
the 6 inertia values describe the symmetric 3x3 inertia tensor
Ixx Ixy Ixz
Ixy Iyy Iyz
Ixz Iyz Izz
Note: this command is similar to GiD_Info listmassproperties, but this command is not computing inertias
Special Tcl commands>Tools>Mesh
mass_properties
GiD_Tools mesh mass_properties <tetrahedra_ids> | -boundary_elements <triangle_ids>
To calculate the mass properties of volume, gravity center and inertia tensor of a volume, defined by a selection of tetrahedra or the selection of the triangles bounding the volume.
<tetrahedra_ids> A list of integer ids of the tetrahedra of the volume to be computed
<triangle_ids> A list of integer ids of the triangles that enclose a volume, with normals pointing inside.
It returns a list with 3 items: mass {center_x center_y center_z} {Ixx Iyy Izz Ixy Iyz Ixz}
the 6 inertia values describe the symmetric 3x3 inertia tensor
Ixx Ixy Ixz
Ixy Iyy Iyz
Ixz Iyz Izz
Note: this command is similar to GiD_Info listmassproperties, but this command is not computing inertias
intersectvolumeslines
GiD_Tools mesh intersectvolumeslines <group_lines>
Specialized command that calculate the intersections of the line elements that belong to the group named <group_lines> with the current mesh of hexahedra.