Unstructured |
Menu: Mesh->Unstructured
Note: Size is given by the average side length (edge) of the corresponding mesh element.
Assign sizes on points, lines, surfaces or volumes:
It is possible to assign different sizes to different entities of the mesh. This means that in the vicinity of these entities, the generated elements will be approximately of that size. All the entities that do not have an assigned size when meshing take the default one. Points do not take any size if none is given.
Assigning the size 0.0 to an entity is the same as setting the default size. The transition between different sizes is controlled by a parameter in preferences (see Preferences -> Meshing).
Sizes by chordal error:
Menu: Mesh->Unstructured->By chordal error...
The By chordal error option asks for a chordal error (the maximum distance between the generated element and the real geometry) and also minimum and maximum size limits. GiD assigns the corresponding sizes to all the entities to satisfy this condition. It will only change the current sizes if the new one is smaller than the one defined previously. In structured surfaces, stretching is permitted. This means that if necessary, elements can have very different sizes in the two principal directions. Note: Entities are assigned a size between the minimum and maximum; however, when generating the mesh, GiD may adapt the size of the elements if necessary, sometimes exceeding the minimum and maximum limits.
![]()
|
|
In this window you can view the effect of different chordal error values on the number of elements that will be created over a line. Any line of the geometry can be picked and be used in this window.
Correct sizes:
Menu: Mesh->Unstructured->Correct sizes...
When the Correct sizes option is selected, a window appears. In this window it is possible to enter a minimum and a maximum mesh size.
![]()
|
|
If the By geometry option is activated, sizes are assigned to all the entities depending on the shape of the geometry. This means that smaller surfaces will have smaller elements.
If the Correct incompatible sizes option is activated, some sizes are reduced to ensure that the transitions between sizes in close entities are not too fast.
It will only change the existing sizes if the new size is smaller than that previously defined.
Note: Applying the last two options with default values is the same as setting the Automatic correct sizes preference to Normal in the preferences window (see section Preferences).
Note: When meshing a difficult volume, instead of trying to adjust element sizes and geometry detail, it may be useful to use the By geometry and Correct incompatible sizes options, setting the Maximum meshing size as equal to the default size for meshing, and setting the Minimum meshing size to reflect the details (10 times smaller, for example). Sometimes it is also necessary to assign sizes by cordal error.
Sizes by background mesh:
Menu: Mesh->Unstructured->Background mesh...
With this option it is possible to assign sizes using a background mesh of triangles or tetrahedra. When this option is selected GiD asks for a file; that file must contain the background mesh. The background mesh must cover the whole domain, so it will usually be a previous mesh of the same model. The format of the file containing the background mesh is the following:
First line:
BackgroundMesh V 1.0
Description of the mesh. The format of that mesh is described in the Mesh read section (see GiD mesh ).
Desired sizes in the following format:
DesiredSize (Nodes or Elements)
number of size
node/element
...
Background mesh file example:
BackgroundMesh V 1.0
MESH dimension 3 ElemType Triangle Nnode 3
Coordinates
1 5.61705 4.81504 0.00000
...
51 -5.64191 -1.53335 0.00000
end coordinates
Elements
1 24 16 26
2 16 10 14
...
76 34 31 28
end elements
DesiredSize Elements
1 0.20000
2 0.20000
...
75 1.50000
76 1.50000
End DesiredSize
Assign entities:
This option is used to assign an unstructured mesh to geometrical entities (lines, surfaces or volumes). Using this option it is not necessary to specify an unstructured size for entities; the default size will be set for them.
CAUTION: Be careful when assigning large sizes to entities close to others where a small size has been given. It may be impossible to obtain a mesh.
CAUTION: When using contact elements (see Contact surface creation and Contact creation ), the same size must be used for contact and duplicate entities.