Healing and Meshing

This section lists problems that can prevent a 3D model from being meshed successfully. Subsequent sections will describe how these problems can be detected and addressed.

Kernel Errors

The underlying solid modeling technology used by Ansys Electromagnetics 3D products Maxwell, HFSS, and Q3D is provided by the Parasolid kernel. You can create models directly in the drawing environment of these Ansys Electromagnetics products using primitives, such as boxes and cylinders, and operations on primitives, such as Boolean operations. In addition, you can import models produced by other CAD tools in a variety of formats such as STEP, IGES, etc. In Ansys Electromagnetics 3D products, all models are stored internally in the kernel's native format. When you import models into Ansys Electromagnetics products, translators are invoked that convert the models to this format. Often, models that were created in other CAD tools were initially created for other purposes than electromagnetic analysis, for example, for mechanical design or just for display purposes. They may have imperfections that make them illegal to the kernel. Furthermore, there can be compatibility issues between different versions and even flavors of modeling tools. All this can lead to errors in imported 3D models.

If you use Ansys Electromagnetics products to create geometry models, and thereby avoid model import and translation, you are unlikely to encounter such problems.

Mixed Dimensionality

Even if a model is imported and translated without errors, there is a restriction to be aware of: The kernel cannot handle mixed-dimensionality models. One of the goals of Ansys Electromagnetics' use of the kernel modeling system is to create a valid volumetric mesh for simulation. Mixed-dimensionality models will not yield a valid volumetric mesh. Therefore, the Ansys Electromagnetics tools will not mesh objects with mixed dimensionality, so-called non-manifold objects. For instance, imagine a 3D object representing a curved metal plate with a small but finite thickness. If it reaches zero thickness somewhere while having non-zero thickness elsewhere, it has mixed dimensionality: 2D as well as 3D. You will get an error message saying that the object is non-manifold. Of course, 2D and 3D objects can co-exist in a model, but any one object cannot be both 2D and 3D.

Intersecting Objects

Another restriction is that Ansys Electromagnetics 3D tools do not allow partial intersections (also known as partial overlaps) between 3D objects. Each element of the mesh has to belong unambiguously to one object. There is no problem if one object is enclosed completely inside a bigger object, but partial intersections lead to ambiguities. As long as there are partial object intersections, the mesh generator will not attempt to create a mesh. Instead, you will get an error message notifying you which objects are intersecting. You must remove the intersections before you can proceed. You can do this by changing the shapes of objects slightly or by subtracting one object from the other.

Warning: If, as a result of a subtraction, the model has pairs of true surfaces that are coincident (that is, smooth curved surfaces that fit exactly one inside the other), you make it harder for the mesh generator to create a mesh. This is because the kernel creates segmentations on each of these surfaces, and these segmentations are not guaranteed to fit. In such a case, setting a small value for Surface Deviation under Mesh > Assign Mesh Operation > Surface Approximation increases your chance of success, but it is better to avoid such situations if you can.

Small Features and Misalignment

When there are no kernel errors in the model, no non-manifold objects and no partial object intersections, the mesh generator can be invoked to create a valid mesh for the electromagnetic analysis. Even if the geometry is valid, mesh generation can still fail. Possible causes are the presence of very short edges, very small faces, long and thin sliver faces, and slight misalignments between faces that are supposed to be coincident.

Related Topics 

Technical Notes: Detecting and Addressing Model Problems to Improve Meshing