Versions Compared

Key

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

...

    • <num>|append: <num> is the identifier (integer > 0) for the node. You can use the word 'append' to set a new number automatically. The number of the created entity is returned as the result.
    • <x y z> are the node coordinates. If the z coordinate is missing, it is set to z=0.0.

...

    • <num>|append: <num> is the identifier (integer > 0) for the node. You can use the word 'append' to set a new number automatically. The number of the created entity is returned as the result.
    • <elemtype>: must be one of "Point | Line | Triangle | Quadrilateral | Tetrahedra | Hexahedra | Prism | Pyramid | Sphere | Circle"
    • <nnode> is the number of nodes an element has
    • <N1 ... Nnnode> is a Tcl list with the element connectivities
    • <radius> is the element radius, only for sphere and circle elements
    • <nx> <ny> <nz> is the normal of the plane that contain the circle, must be specified for circle elements only
    • <matname> is the optional element material name

...

    • <num> is the identifier (integer > 0) for the element to be asked
    • face optional, instead of the element nodes it returns the nodes of the face, first the linear corner nodes and then the quadratic nodes
    • face_linear optional, instead of the element nodes it returns only the linear corner nodes, also is the element is quadratic
    • num_faces returns the amount of faces of the element (for surface elements its edges act as faces)
    • <face_id> is the local face index from 1 to the number of faces of the element. If <face_id> is missing then a list with all faces is returned
    • edge_linear optional, instead of the element nodes it returns only the linear edge nodes, also is the element is quadratic
    • <edge_id> is the local edge index from 1 to the number of edges of the element. If <edge_id> is missing then a list with all edges is returned
    • num_edges returns the amount of edges of the element

...

    • <face_nodes> is the list of integer ids of the face nodes {<face_node_1> ... <face_node_n>} (only corner lineal nodes must be specified in the list)
    • if -ordered is specified then only faces with the same orientation of the nodes will be taken into account (else the ordenation of the face nodes doesn't matter)

...

    • <edge_nodes> is the list of integer ids of the edge nodes {<edge_node_1> <edge_node_2>} (only corner lineal nodes must be specified in the list)

...

    • GiD_Mesh list ?<filter_flags>? node|element|face ?<num>|<num_min:num_max>?

...

    • ngridpoints: the number of values of the grid axis on each direction x, y,z (3 integers)
    • boxsize: the size of the box of the grid on each direction (3 reals)
    • corner: the location of the lower-left corner of the grid box (3 reals)
    • dimension: the dimension of the grid: 2 for 2D or 3 for 3D
    • coordinates: the list of grid coordinates on each direction (nx+ny+nz reals)
    • iscartesian: (valid only for get) return 1 if current mesh is cartesian, 0 else.
    • auto_calculated GEOMETRY|MESH|GEOMETRY_AND_MESH <mesh_size>: (valid only for set) to fill in the GiD-calculated automatic values, based on the current geometry and/or mesh and the general mesh size to be used.

...

    • <meshname>: the name of the mesh
    • <elemtype>: must be one of "point | line | triangle | quadrilateral | tetrahedra | hexahedra | prism | pyramid | sphere | circle"
    • <elementnnodes>: is the number of nodes an element has. All elements of the mesh must have the same number of nodes.
    • -zero_based_array: optional flag. By default node and element indexes start from 1, but setting this flag indexes must start from 0.
    • <node_ids>: list of node indentifiers. If it is an empty list them numeration is implicitly increasing.
    • <nodes>: a list of real numbers with the thee coordinates of each node {x0 y0 z0 ... xnn-1 ynn-1 znn-1}
    • <element_ids>: list of element indentifiers. If it is an empty list them numeration is implicitly increasing.
    • <elements>: a list of integers with the <elementnnodes> nodes of each element: the id of each node is the location on the vector of nodes, starting from 0
    • <radius+normals>:
      • <radius>:only for spheres. Is a list of reals with the radius or each sphere {r0 ... rne-1}
      • <normals>:only for circles. Is a list of reals with the radius and normal to the plane or each circle {r0 nx0 ny0 nz0 ... rne-1 nxne-1 nyne-1 nzne-1}
    • <r g b a>: optional color components, to set the mesh color. r g b a are the red, green, blue and alpha transparency components of the color, must be real numbers from 0.0 to 1.0. If the color is not specified, an automatic color will be set.