Professional Documents
Culture Documents
053 Magmatipp Mesh Dummy
053 Magmatipp Mesh Dummy
053 Magmatipp Mesh Dummy
September 2020
MAGMATIP 53
"MESH DUMMY"
This MAGMATIP shows you how to locally influence the mesh by making use of so-called
"mesh dummies".
1 INTRODUCTION ............................................................................................................ 1
2 PROCEDURE ................................................................................................................ 2
3 EXAMPLE ...................................................................................................................... 3
3.1 Create a Mesh Dummy............................................................................................................ 5
3.2 Enmesh a Mesh Dummy ......................................................................................................... 6
4 CONTACT ...................................................................................................................... 8
1 INTRODUCTION
As a rule, mesh generation always takes place according to the principle "as coarse as
possible, as fine as necessary". For this purpose, you can enmesh different materials with
varying degrees of fineness and using different meshing methods. However, there are also
projects where it can be helpful to locally influence the mesh even more individually, for
example if a certain area in a casting has considerably smaller wall thicknesses than the rest
of the casting. To obtain a sufficiently fine mesh for this area, you would have to create a fine
mesh for the complete casting. As a result, your mesh would be finer than required
throughout the entire casting, which would also result in longer simulation times. At the same
time, the required main memory increases as well, which (depending on the hardware) may
even make it impossible to run a simulation for the project.
To solve such problems, you can use so-called "mesh dummies". A mesh dummy is a
volume that you can create in the Geometry Perspective. With this geometry, you virtually
mark the area where you intend to systematically assign different mesh parameters in the
Mesh Perspective.
1
2 PROCEDURE
Step 1:
In the Geometry Perspective, create a volume in which you intend to assign additional mesh
parameters. Of course, you may also import a volume for this purpose. It is important that
this volume is given its own material ID, as otherwise, it will not be possible to assign
individual parameters to this area. You can, of course, also create several volumes (areas).
You then need to give an own material ID to each area that is to be assigned individual mesh
parameters.
Tip: Use the opportunity to assign names to these material IDs. Such a name could be, for
example, "Dummy-Z-3mm". Later, you can thus see that this material serves to generate a
mesh in z-direction with an element size of 3 mm.
Step 2:
As the mesh dummies are only used for influencing the mesh, you should make sure to place
them at the top of the geometry tree (move them to the top with drag and drop). This ensures
that the mesh dummies are overlaid by all other volumes of your assembly group. Thus the
overlay principle makes sure that no cells of the "mesh dummy" material type appear in the
mesh and that this material does not take part in the simulation.
Step 3:
Now create your desired parameter sets ('Parameter Sets') in the Mesh Perspective. You will
usually place the additional mesh dummies at the bottom of the 'Parameter Sets' list. By
being the last item in the list, the mesh dummies have the highest priority for the mesh
generation.
Note: For each "mesh dummy" material, you should receive a warning message after mesh
generation that this material is not active in the mesh. These warning messages have no
effect on your further work, but are an easy way for you to control if you have defined the
mesh dummies correctly. On the one hand, the mesh dummies should influence the mesh;
on the other hand, they should not be present in the mesh.
2
3 EXAMPLE
Based on the casting shown below, you will now see an example of how to create a mesh
dummy. Please keep in mind that this example is very simple – in this case, you could
certainly create a good mesh without any mesh dummy. The point here is to illustrate the
procedure. Whether the additional effort for defining mesh dummies pays off, always
depends on both model and goal of the simulation. For a single simulation, a longer
simulation time may not be that decisive. However, if you want to simulate several variants or
a DoE, putting in some additional effort will save you considerable calculation time during
mesh generation.
In this casting, the wall thickness at the edge strongly differs from the wall thickness of the
internal ridge. Therefore, efficient mesh generation is somewhat difficult here.
If you generate a relatively coarse, equidistant mesh, you will get "only" two layers of mesh
elements in the thin-walled area (see Figure 2). The number of mesh elements in the
complete casting is 54769. In a finer mesh, the thin-walled area is resolved much better in
the mesh; however, the number of mesh elements increases to 604106. This, of course,
prevents a fast and efficient simulation.
3
Figure 2: Example of a coarse and a fine mesh respectively
As an alternative, you can also refine the mesh in one axial direction only (here: the z-axis).
The number of mesh elements then decreases to 120968 elements (see Figure 3). Then not
only the thin ridge but also the massive areas have a finer mesh. Using a mesh dummy
allows you to locally create a finer mesh just in the region of the ridge.
4
Figure 3: Mesh with finer elements in z-direction only
Now, you just need to assign a material not used yet to the cube (here: 'SandMold/Dummy').
Finally, the cube is moved to the top of the geometry tree.
5
Figure 4: Mesh dummy in the Geometry Perspective
We thus obtain a mesh that is equidistant and relatively coarse throughout the entire casting.
Only in the ridge area the mesh is finer in z-direction (see Figure 5). This has allowed us to
further reduce the number of mesh elements from approx. 128000 to approx. 82000
elements.
6
Figure 5: Partly refined mesh obtained by using a mesh dummy
In this example, the mesh dummy was used for reducing the number of mesh elements;
however, it is also possible to adopt this method to systematically improve the mesh
representation of critical areas in the simulation model.
Example: Particularly in high pressure die casting, the gate is often very thin and cannot be
correctly represented in the mesh with one of the materials available. However, it is
especially in this area where the fluid flow behavior and, thus, the filling are substantially
influenced. The quality of the mesh also influences the effect of the intensification pressure
and, thus, of the prediction of solidification porosity. Therefore, such areas should always be
resolved as well as possible in the mesh. Here, too, a mesh dummy can provide quick help
to optimally match the mesh to the geometry.
7
4 CONTACT
If you have any questions, please contact us.
MAGMA Engineering Asia-Pacific Pte Ltd. MAGMA Engineering Korea Co., Ltd.
25 International Business Park Suite 902, Hyundai 41 Tower
#02-24/25 German Centre 917-9 Mokdong, Yangchun-gu
609916 Singapore Seoul 158-723, Korea
Phone: +65 65643435 Phone: +82 2 21683575
Fax: +65 65640665 Fax: +82 2 21683585
info@magmasoft.com.sg info@magmasoft.co.kr
www.magmasoft.com.sg www.magmasoft.co.kr