GiD_MeshData size|size_by_cordalchordal_error|size_background_mesh|size_correct|unstructured|mesher|structured|semi_structured|boundary_layer|element_type|mesh_criteria|reset
To assign mesh data to geometrical entities
GiD_MeshData size points|lines|surfaces|volumes <size> <ids>
To assign desired mesh size to geometrical entities
<size>: double, the desired mesh size.
<ids>: objarray of integers with the ids of the geometrical entities to be meshed with this size
GiD_MeshData size_by_cordalchordal_error <min_size> <max_size> <cordal<chordal_error>
To assign sizes to the whole model, based on a cordal chordal error (distance from the approximated mesh to shape of the geometry). The values calculated cannot be outside the range [min_size, max_size]
GiD_MeshData size_background_mesh <filename>
To assign the mesh sizes using an auxiliary file with 'background mesh format' (a mesh covering the domain with desired sizes on nodes or elements)
GiD_MeshData size_correct <max_size>
To modify the current assigned sizes to be 'more feasible' (some assigned sizes can be decreased to avoid strong spatial change of sizes)
GiD_MeshData unstructured lines|surfaces|volumes <ids>
To set entities to be meshed unstructuredly (with assigned or general size)
GiD_MeshData mesher surfaces|volumes default|rfast|rsurf|advancingfront|tetgen|octree <ids>
To set entities with the kind of meshing algorithm to be used to mesh them unstructured
GiD_MeshData structured lines|surfaces|volumes ?<ids_surfaces_or_volumes>? num_divisions|num_divisions_by_size|weights <num_divisions>|<size>|{<w1> <w2>} <ids_lines>
To set entities to be meshed structuredly, setting the number of divisions in some of its lines.
<ids_surfaces_or_volumes>: objarray of integers (only in case of surfaces or volumes)
num_divisions <num_divisions>: integer amount of mesh divisions to be assigned to the lines
num_divisions_by_size <size>: an alternative double value, it is an approximated size that will be converted to an integer number of divisions base on each line length.
weights {<weight_start> <weight_end>}: to set a not uniform size, assigning weights (double value from -1.0 to 1.0) to start and end of the lines.
<ids_lines>: objarray of integers with the ids of the lines to be assigned the number of divisions.
...
- default_all points|lines|surfaces|volumes <ids>
- to_be_meshed 0|1|2 points|lines|surfaces|volumes <ids>
- to_be_duplicated 0|1|2 lines|surfaces <ids>
- force_points surfaces|volumes <ids_to_force> points <ids>
- force_points remove points <ids>
- skip 0|1|2 point|lines <ids>
...
To unassign the boundary layer mesh data of the whole model
GidUtils::GetMeshData
This Tcl procedure allow ask the MeshData information of a geometric entity ,with this syntax
GidUtils::GetMeshData <entity_type> <entity_id> ?<key>?
<entity_type>: point line surface volume
<entity_type>: the integer >0 of that identify the entity
<key>: Elemtype IsStructured Meshing size num_divisions weight tops SkipMesh BLMnlevels1 BLMnlevels2 BLMfirsth1 BLMfirsth2 Mesher
if key is omitted or "" it return all MeshData items, otherwise only the required item
out codes
Elemtype: 0 None 1 Linear 2 Triangle 3 Quadrilateral 4 Tetrahedra 5 Hexahedra 6 Prism 7 Only points 8 Pyramid 9 Sphere 10 Circle
Meshing: No Default Yes No,Duplicate Duplicate
SkipMesh: -1 No 0 Automatic 1 Yes
Mesher: 1 RFast 2 Rsurf 3 DelaunaySurf3 4 AdvancingFront4 5 MinElem 6 "Advancing front" 7 DelaunayVol7 8 Isosurface 9 Tetgen 10 Octree 11 PVolume11
weight: (w1,w2)
tops: semi-structured volumes codification (num_surface_1,num_surface_2),top surface global ids (if negative mean that is also set as master)
e.g. for the surface number 1 that has been set forced to be meshed
GidUtils::GetMeshData surface 1
→ IsStructured 0 Elemtype 0 size 0 Meshing Yes
GidUtils::GetMeshData surface 1 Meshing
Yes