|
|
|
Generating a mesh is the process where a finite element mesh is calculated from the geometry definition. This mesh will be used for the FEM analysis in a later step. Conditions (see section Conditions) and materials (see section Materials) assigned to geometric entities will be transferred to the nodes and elements of the new mesh. What is meshed and how, is controlled by some default options which can be changed with the commands described later.
The generation does not depend on the state ON/OFF of the layers at the moment of the
generation (see section Layers), but frozen layers are not meshed if the preference
Defaults are:
All these default elements use linear interpolations for the unknown variables.
Size is given by the average side (edge) of the corresponding mesh element.
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 have not an assigned size when meshing, take the default one. Points do not take any size if none is given to them.
To assign a size of 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 section Preferences->Meshing).
Option
Assign sizes by chordal error window
In this window the effect of different chordal error values over the number
of elements that will be created over a line can be viewed. Any line of
the geometry can be picked up and be used in this window.
When option
Correct meshing sizes window
If option By geometry 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 option Correct incompatible sizes is activated, some sizes are reduced in order to control that the transitions between sizes in close entities are not too fast. Note: Applying last two options with default values is the same than setting the preference Automatic correct sizes to Normal in the preferences window (see section Preferences).
Note: To mesh a difficult volume trying to adjust element sizes to geometry detail, it may be useful to use By geometry and Correct incompatible sizes options setting the larger size equal to the default size for meshing, and the smaller size reflecting the details ( 10 times smaller, for example). Sometimes it is also necessary to assign sizes
The format of the file containing the background mesh is the following:
This option is used to assign Unstructured mesh to geometrical entities (lines, surfaces
or volumes). Using this option it's not necessary to specify an unstructured size to entities.
The default size will be set to them.
CAUTION: Be careful when assigning big 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 section Contact surface creation and see section Contact volume creation), the same size must be used for contact and for duplicate entities.
A structured mesh is defined as a mesh where all the nodes have the same number of elements around it. The size of the elements is defined in a different way than for a non-structured mesh. In this case, the mesh is not defined by the size but by the number of elements that are required on every line. This number must be the same for all lines that are opposite to each other on each surface. When meshing volumes, this definition must be the same for opposite surfaces.
To create a structured mesh, choose In case of surfaces, structured mesh can be 4-sided, 3-sided or centered structured. @c
By default, the generated elements in 4-sided structured meshes
are quadrilateral, but they can be triangles. In this case triangles
can be symmetrical or non-symmetrical (see section Preferences->
Four-sided structured mesh can be done in 4-sided surfaces or NURBS surfaces.
When selecting this kind of structured mesh (centered), the following window appears to introduce the number of concentric and perimetral divisions, as the two weights to concentrate elements in the structured center or in the boundary.
Centered structured meshing window
In case of volumes, structured mesh can be 6-sided, with three-sided structured mesh in tops,
or with centered structured mesh in tops (all types
are obtained selecting
By default, the generated elements in 6-sided structured volume meshes will be hexahedra,
but they can be tetrahedra or prisms. In case of tetrahedra, they
can be symmetrical or non-symmetrical (see section Preferences->
In case of centered structured or three-sided surface in tops, the default element type is prism, but user can also choose tetrahedra. In case of 6-sided structured volume mesh, volumes must have 6 contour surfaces. It is possible to mix some entities with structured meshes and others with unstructured ones. To convert a structured entity to a non-structured one, select reset (see section Reset mesh data) or assign unstructured mesh to it (see section Unstructured). To change the default element type See section Element type. Note 1: One NURBS surface can be structured with any number of contour lines but must have a good shape form. This means that it must have 4 big angles and the other angles must be small. With this criterion, the shape will be topologically similar to one quadrilateral. Note 2: When assigning structured divisions to on line or with difficult topology, GiD may need to reassign some sizes to make the structured mesh conformal. It will be done automatically. If it is impossible to create compatibility between surfaces, a message is given. Note 3: It is possible to assign a number of structured divisions to the boundary line of a surface or volume, and then create an unstructured mesh for the surface/volume.
By default, all partitions in one structured line have the same approximate length.
This command lets the user select one line. Then, in the graphical window the sense
of the line is shown with one arrow. The user will enter a positive or negative weight.
If the weight is positive the size of the elements will be concentrated at the extreme
of the line, if negative, the elements will be repelled.
As the magnitude of the weight increases, the difference between element sizes will be bigger.
A semi-structured mesh is a mesh that is structured only in one direction of the volume. This kind of mesh have only sense in prismatic volumes, where it can be identified two top surfaces and lateral ones. This kind of mesh parts from top surfaces meshes, that are topologically identycally, and it is structured in the prismatic direction. It's not necessary to mesh top surfaces as structured ones, and depending on the element type selected in each volume surface, volume elements will be hexahedra, prism or tetrahedra. Note 1: When assigning divisions in structured direction, GiD may need to reassign some sizes to make the structured mesh conformal with the surronding ones. It will be done automatically. If it is impossible to create compatibility between surfaces, a message is given.
Set Master surface or Structured direction: Structured direction of the prismatic volume can be set by using this option. If no structured direction is set, GiD will assign it automatically. This option takes sense in case of volumes that are prismatic in more than one direction, where user may want an specific structured direction and not another one.
In SemiStructured volumes (as they are prismatic) it can be distinguished two top surfaces.
They will have topologically identycal meshes, so one of them is obtained from the other.
The Master surface is the one that is meshed first, so its mesh will determine the topology
of both top surfaces meshes.
By selecting
Option
Option
With this command, the type of element desired is selected. It is only necessary to do this when the element type is different from the default (see section MESH). Types are:
By default, the elements are of minimum order: 3-noded triangle,
4-noded quadrilateral and so on. To increase the degree, use command
The At contact surfaces, GiD elements are:
At contact volumes (and separated contacts), elements are:
To decide what parts of the geometry should be meshed use command: See section Mesh criteria.
GiD provides five different criteria to generate the mesh.
The
The
The
The
The
For example, a 2D box with an internal gap.
Marked lines and the deformated mesh after an structural analysis It is possible to mark lines embedded in a 2D domain, or surfaces for the 3D case.
This command resets all the sizes assigned to entities. This means that all of them will be unassigned. To unassign only some entities, assign size 0.0 (see section Unstructured) to the entities where the default size is required. The information about element types, mesh criteria and quadratic parameters is also reset.
This option is used to draw meshing properties in geometrical entities.
When sizes are assigned to points, lines, surfaces or volumes using the Assign Unstruct sizes option, it is possible to draw in different colors the different assigned sizes.
In the following example some different sizes are assigned to surfaces. Sizes of 3, 5 and 6 are assigned depending on the surface.
After choosing the Draw Sizes option, (over surfaces) we get the following result:
With this option user can see which element type have been assigned to each geometric entity. If no element type have been assigned, it is shown as Default (see section MESH).
With this option user can see entities which are forced to be meshed or entities that are forced not to be meshed (see section Mesh criteria. If this meshing criteria have not been assigned to an entity, it is shown as Default (see section MESH).
With this option user can see the structured type of meshing (Unstructured, Structured or Semi-structured) that geometrical entities will be meshed with. If no structured type have been assigned, it is shown as Default (see section MESH).
With this option user can see which lines and points will be skipped when meshing if Rjump mesher
(see section Preferences->
When everything is ready for mesh generation, select this command. If there is a previously generated mesh, GiD asks if this should be erased, i.e., make it disappear from memory, not from disk until the next save (see section Save). The mesher or mesher combination, can be chosen in (see section Preferences). Next, GiD asks for a general element size which will be applied to all lines, surfaces and volumes that do not have a previously defined one (see section Unstructured). GiD offers to the user to default possibilities:
User can choose one of these or enter a new one. Size is given by the average side of the corresponding triangle or quadrilateral. Progress in meshing is shown by one progress bar that indicates number of generated surfaces or volumes related to total number of surfaces or volumes.
Meshing can be stopped at any time by pressing button
If the model has a mesh this option erases it.
This option let the user modify a mesh. All modification will be lost when the mesh is generated again.
By using this command, an existing node is selected and moved. The new position is entered in the usual way (see section Point definition).
To split elements a selection is made (see section Entities selection). After pressing
When splitting triangles, the new nodes can be located in the mid-edge or with an enhanced interpolation (modified Butterfly scheme) in order to recursively obtain a smooth mesh.
When splitting quadrilaterals, if 'SymmetricalStructuredTriangles' is set (see section Preferences->
When splitting hexaedra, if 'SymmetricalStructuredTetrahedra' is set (see section Preferences-> If original elements are quadratic, triangles or tetrahedra obtained are quadratic. Otherwise, if original elements are linear, triangles or tetrahedra obtained are linear. In case of quadratic quadrilaterals extra nodes are generated. These nodes are not associated to geometric entities, they just have been obtained interpolating mesh nodes coordinates. In case of hexahedra or prism, all selected elements must be same quadratic type. Note: Currently split triangles only works for linear elements.
To smooth elements a selection is made (see section Entities selection). After pressing
The function It's possible to collapse edges, nodes, elements or the whole mesh.
Note: Entities belonging to a frozen layer (see section Layers), are not checked when collapsing.
To delete elements or nodes a selection is made (see section Entities selection). After pressing
Nodes that do not belong to any element after the operation are also erased. Note: It is possible to filter the selection, for example, selecting only triangles but not quadrilaterals (see section Selection window). Note: Only lonely nodes (nodes of the mesh that do not belong to any element) can be deleted.
This option opens the mesh errors window. This window gives the user a list of the entities that GiD couldn't mesh, and some information about the problems during the meshing process. By clicking over the entity (in the list) with the right mouse button, user can obtain some advices to solve the mesh problems of each geometrical entity.
This option draws the boundaries of the mesh on the screen when chosen.
Boundaries for triangular or quadrilateral meshes are line-elements.
This option creates the boundary mesh of the existing mesh.
Boundary mesh for triangular or quadrilateral meshes is a line-elements mesh.
This option opens a window that shows graphics about the quality of the mesh elements.
Mesh Quality window There are six criteria in order to measure the quality of the elements:
In the
Example of a study of mesh quality In this example we are studying the mesh using the minimum angle criteria. We can see that 140 elements of our mesh have an angle of smaller than 45,7 degrees. If we double click with the mouse on the graphic, the 140 elements which have an angle smaller than 140 degrees, will be selected.
|