GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


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

  • No labels