How To Adjust Mesh Locally?: Best Practices
How To Adjust Mesh Locally?: Best Practices
How To Adjust Mesh Locally?: Best Practices
Best practices
Flux software
Flux tutorials :
:
COPYRIGHT CEDRAT/INPG/CNRS/EDF
COPYRIGHT CEDRAT
CEDRAT
15 Chemin de Malacher - Inovalle
38246 Meylan Cedex
FRANCE
Phone: +33 (0)4 76 90 50 45
Fax: +33 (0)4 56 38 08 30
E-mail: cedrat@cedrat.com
Web: http://www.cedrat.com
Flux
Contents
Contents
1. Introduction ..............................................................................................................................1
2. Aided mesh: several reminders ...............................................................................................2
3. Local mesh adjustment............................................................................................................4
4. Meshing of a motor air gap ......................................................................................................7
PAGE A
Flux
1.
Introduction
Introduction
Introduction
Why
alter a mesh
locally?
Contents
Page
2
4
7
PAGE 1
2.
Flux
Context
The Aided mesh permits the rapid execution of a good quality mesh. The
information for adjustment is applied based on the relation to geometric
entities of the project i.e. points, lines, faces, etc. The aided mesh dynamically
administers the adjustment data over the whole of the project.
More information is available on the topic of the Aided Mesh in the users
guide, Volume1, Chapter 9 Meshing : principles .
General
approach of the
meshing:
reminder
PAGE 2
Flux
General
approach of the
meshing:
reminder
(contd.)
Stage
1
3
4
5
6
Problems /
difficulties
Action
Mesh the computational domain by means of the Aided Mesh
option
The different tools are pre-set with default values, which
should permit the user to rapidly obtain a mesh of satisfactory
quality that respects the device geometry.
If the meshing is not satisfactory, edit the Aided mesh and modify
the information for adjustment
The adjustment information is global information brought about
by the assembly of geometric entities on the project points, lines,
faces,
Return to stage 1
If after several repetitions the mesh is not satisfactory:
add local mesh data by means of the meshing tools
The adjustment data is local data, created by the user and then
manually allotted over the project geometric entities points lines,
faces,
Mesh the computation domain
If necessary, return to stage 4
When the aided mesh does not permit the user to obtain the desired mesh
quality (physical not taken into consideration, too dense meshing etc.), the
user should adjust the mesh data locally.
This document gives certain local adjustment strategies of the meshing as
the need for mesh adjustment is not always apparent.
PAGE 3
3.
Flux
Introduction
This section gives certain rules for the local adjustment of the mesh.
Difference in
number of
meshes within a
geometric
entity
Certain geometries contain very small entities, for example the air gaps, as
well as very big entities that are close to one another. The Aided Mesh, relies
on the dimensions of the geometry and cannot achieve the distribution of
nodes in this case. Therefore one has to homogenize the number of nodes by
locally relaxing the over meshed part and/or by increasing mesh density it the
relaxed part.
Solution
Illustration
(3D)
With the aided surface mesh a difference of nodes will be noticed. This is important
pertaining to the faces on either side of the air gap (in turquoise). This makes the
volume meshing impossible. Therefore, an inactive relaxation line must be assigned
to all the lines of the air gap volume, and also an inactive relaxation face on all the
faces of the air gap volume. Thus the user can homogenize the surface meshing in
order to carry out the volume meshing.
This topic will continue on the following page
PAGE 4
Flux
To locally alter the mesh on a geometric entity (point, line, face or volume),
certain conditions must be respected on the adjacent geometry, as in the case
of a bordering entity whose mesh information has been changed (see the
example below).
Each line of the table below represents an action that the user may carry out to
adjust the mesh, for example change the mesh point of a point . The
conditions to observe to insure efficient assignment of mesh data are
described in columns according to the type of geometric entities (
line/face/volume).
Example :
If the user would like to assign a mesh density of a specific dimension to a
mesh point then one should:
assign the created mesh point to the desired points
remove the mesh line on the lines incident to the points (compulsory)
remove the relaxation on the lines incident to the points (recommended)
This topic will continue on the following page
PAGE 5
Mesh
adjustment
table
Flux
Necessary condition 1: No
pre-existing mesh lines should
be present.
Necessary condition 2 : The
incident lines must have a
larger mesh than the mesh
point, otherwise there will not
be any relaxation on the lines
Advice : create and apply an
inactive relaxation to the lines
Conditions
on the
volumes
incident to
the entity
whose
mesh data
has been
changed
Advice:
You should
not have an
aidedmesh
option
active
Change la relaxation
of a face
Change the
relaxation of a
volume*
Change the shading
of the faces
PAGE 6
Flux
4.
Importance of
the air gap
adjustment
When a motor air gap is being meshed using and aided mesh, often times the
air gap is over-meshed across its small dimension. This will increase
calculation time. In order to decrease the mesh density, certain parameters
must be adjusted locally.
Reminder :
To model the air gap in Flux, it must be divided into two sliding cylinders :
PAGE 7
Locally
adjusting the
air gap mesh
Flux
Stage
0
1
PAGE 8
Action
A mesh has been created with the Aided Mesh option
in 2D : remove the assisted modifications AIDED_MESHLINE on
the lines of the air gap
in 3D : remove the assisted modifications AIDED_MESHLINE on
the lines and AIDED_MESHGENERATOR on the faces of the
air gap
in 2D: create a relaxation line and a relaxation face of the inactive
type and assign them to the lines and the faces of the air gap,
respectively
in 3D : create a relaxation line, a relaxation face and a relaxation
volume of the inactive type and assign them to the lines, the faces
and the volumes of the air gap, respectively
in 2D : create a mesh point of a value equal to 1 to 2 times the
thickness of half of the air gap (e/2)
in 3D : create a mesh point of a value equal to 1.5 to 3 times the
thickness of half of the air gap (e/2)
Allot this mesh point on all the points of the air gap