Hi,
I am currently evaluating GiD to potentially replace our current meshing software. My company develops and maintains an electromagnetic solver that has a range of meshing challenges to optimize the problem.
In the example posted an element size range has been specified, a size gradient, and a geometrically adaptive function for all surfaces. The function places a bias away from lines. Does GiD have any adaptive features that could reproduce this or is there a work around to get close? The closest I have gotten was by building new geometry and setting sizes on each surface. My attempt with preferences is also posted. Another way to apply this type of thing after mesh generation would be somthing like refine the mesh X times with Y bias around Z line.
Thank you,
Sean Kilgallin
Engineer
IERUS Technologies Inc
Biasing in Unstructured Meshes
Moderator: GiD Team
Re: Biasing in Unstructured Meshes
With GiD you could assign sizes only to geometrical entities, then is not possible to localize a finer mesh in some inner part of a surface.
To do it is necessary to modify the geometry, adding more entities to assign sizes.
for example to have a mesh similar to your picture in a 1x1 square surface I had to split the surface, and assign size to the points, lines and or surfaces.
e.g spliting in two parts the square, and assigning size 0.015 to the inner lines and points, and general size=0.035 or splitting in three parta, and assigngin size 0.015 to the inner surface, lines and points, and general size=0.035
To do it is necessary to modify the geometry, adding more entities to assign sizes.
for example to have a mesh similar to your picture in a 1x1 square surface I had to split the surface, and assign size to the points, lines and or surfaces.
e.g spliting in two parts the square, and assigning size 0.015 to the inner lines and points, and general size=0.035 or splitting in three parta, and assigngin size 0.015 to the inner surface, lines and points, and general size=0.035
Re: Biasing in Unstructured Meshes
Thank you for the quick reply! Can you speak to any developments that might solve a problem of this nature without manipulating underlying geometry?
Re: Biasing in Unstructured Meshes
Dear collegue,
unfortunately, it seams that the only way to deal with this situation is the way Enrique has explained: to introduce new geometrical entities in the model, onto which you can assign different sizes.
Actually there is another way to assign sizes independently on the geometrical entities, but it is not so easy to use. It is using a background mesh to indicate the desired sizes in the different parts of the domain. This is typically used in optimization loops, where the mesh of the previous step can set the desired sizes for the new iterations based in some error measurement. If you are interested in this option we can provide you with more details.
It is planned to introduce entities in GiD just to provide with mesh sizes information, but it is not foreseen in short term.
Regards,
ABEL
unfortunately, it seams that the only way to deal with this situation is the way Enrique has explained: to introduce new geometrical entities in the model, onto which you can assign different sizes.
Actually there is another way to assign sizes independently on the geometrical entities, but it is not so easy to use. It is using a background mesh to indicate the desired sizes in the different parts of the domain. This is typically used in optimization loops, where the mesh of the previous step can set the desired sizes for the new iterations based in some error measurement. If you are interested in this option we can provide you with more details.
It is planned to introduce entities in GiD just to provide with mesh sizes information, but it is not foreseen in short term.
Regards,
ABEL
Re: Biasing in Unstructured Meshes
About the approach or 'refine the mesh' it is possible to do it, selecting the triangles to be splitted:
Mesh->Edit mesh->Split elements->Triangle - Triangle
and select the triangles to be splitted This woks, and also the conditions and materials of the original triangles are inherit by the new triangles, but direct modification of the mesh is not the recommended way to work with GiD (for example the manual selection of the elements can't be exactly repeated).
The normal way is to apply everything to the geometry and then generate the mesh.
Mesh->Edit mesh->Split elements->Triangle - Triangle
and select the triangles to be splitted This woks, and also the conditions and materials of the original triangles are inherit by the new triangles, but direct modification of the mesh is not the recommended way to work with GiD (for example the manual selection of the elements can't be exactly repeated).
The normal way is to apply everything to the geometry and then generate the mesh.