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.
collapse
GiD_Tools mesh collapse ?-tolerance <tolerance>? ?-try_to_maintain_boundary 0|1? ?-ignore_layers 0|1? nodes <node_ids>|elements <element_ids>|mesh")
To collapse the entities of the mesh close to the tolerance distance. By default the current preference value is used.
-try_to_maintain_boundary 0|1 : 1 default to set more priority to nodes on the boundary to preserve them.
-ignore_layers 0|1 : By default the current preference value is used. If 0 nodes on different layers won't be joined.