Академический Документы
Профессиональный Документы
Культура Документы
FLUX 2D Application
: :
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
Contents
This section contains the following topics: Topic Information division, reading advice FLUX files See Page
You will find in this document the following different types of information: definitions of new concepts used by FLUX and general information about specific features actions you must perform to construct the model.
Organization information
The organization of the chapters is the following. all topics beginning with a verb (create, add, assign, ) contain information about actions you must complete all topics beginning with the word about contain definitions or general information about specific features.
Reading advice
If you are a beginner with FLUX, it is recommended that you read and work through the complete text of the chapters. If you are an experienced user of FLUX, you may be able to enter the problem information quickly without having to read the about paragraphs.
FLUX files
FLUX files corresponding to the problem studied in this tutorial are included in the CD-ROM: PROBE_2D.FLU WHEEL_BASE_2D.FLU SENSOR_2D.FLU If you install FLUX with the documentation and the examples, files are placed in the folder: C:\CEDRAT (or your installation folder) \Flux_XXX_Doc_examples\Examples\Tutorials\F2D_Tutorial_Geometry &mesh
The FLUX files, included in the CD-ROM, are ready to be used. You can refer to these files in case of difficulties completing this tutorial, or to directly adapt this tutorial to your needs, without going through all the steps to construct the model.
FLUX9.20
TABLE OF CONTENTS
TABLE OF CONTENTS
PART A: GENERAL INFORMATION ..........................................................1
1. Overview.................................................................................................................................3 1.1. Introduction.......................................................................................................................4 1.2. The studied device: a variable reluctance speed sensor .................................................5 1.3. The device description in FLUX: which strategy? ............................................................6 2. Get started with FLUX ...........................................................................................................9 2.1. Starting FLUX.................................................................................................................11
2.1.1. Start the FLUX Supervisor................................................................................................12 2.1.2. About the FLUX Supervisor ..............................................................................................13
PAGE A
TABLE OF CONTENTS
FLUX9.20
3.2. Strategy and tools for geometry description of the probe .............................................. 29
3.2.1. Available geometric tools and analysis before geometry description ...............................30 3.2.2. Main phases for geometry description of the probe..........................................................32
3.4. Creation of points and lines for the probe base ............................................................. 53
4. Mesh generation of the probe object................................................................................. 75 4.1. Strategy and tools for mesh generation of the probe..................................................... 77
4.1.1. Available meshing tools and analysis before mesh generation........................................78 4.1.2. Main phases for mesh generation of the probe ................................................................79
PAGE B
FLUX9.20
TABLE OF CONTENTS
5.2. Strategy and tools for geometry description of the wheel base object .........................101
5.2.1. Available geometric tools and analysis before geometry description.............................102 5.2.2. Main phases for geometric description of the wheel base..............................................104
5.4. Creation of points and lines for the wheel base ...........................................................111
5.4.1. Create the points for the wheel base ..............................................................................112 5.4.2. Create the lines for the wheel base ................................................................................114
6. Mesh generation of the wheel base object......................................................................123 6.1. Strategy and tools for mesh generation of the wheel base ..........................................125
6.1.1. Available meshing tools and analysis before mesh generation......................................126 6.1.2. Main phases for mesh generation of the wheel..............................................................127
PAGE C
TABLE OF CONTENTS
FLUX9.20
7.2. Strategy and tools for geometric description of the sensor.......................................... 147
7.2.1. Available geometric tools and analysis before geometry description ............................ 148 7.2.2. Main phases for geometric description .......................................................................... 149
7.3. Importation of the wheel base object and building the whole wheel ............................ 151
7.3.1. 7.3.2. 7.3.3. 7.3.4. 7.3.5. 7.3.6. 7.3.7. Import the wheel base object ......................................................................................... 152 Geometry building process of the wheel........................................................................ 153 Propagate the face (tooth) ............................................................................................. 154 Extrude the line .............................................................................................................. 157 Create an arc ................................................................................................................. 159 Propagate the arc .......................................................................................................... 161 Build faces...................................................................................................................... 163
7.4. Importation of the probe objects and positioning of the wheel and probes .................. 165
7.4.1. Import the first probe object ........................................................................................... 166 7.4.2. Modify the parameters ................................................................................................... 168 7.4.3. Import the second probe object ..................................................................................... 169
8. Mesh generation of the sensor ........................................................................................ 175 8.1. Strategy and tools for mesh generation of the sensor ................................................. 177
8.1.1. Available meshing tools and analysis before mesh generation..................................... 178 8.1.2. Main phases for mesh description ................................................................................. 179
PAGE D
FLUX9.20
This part A contains the presentation of the studied device and the FLUX software.
Contents
This part contains the following topics: Topic Overview Get started with FLUX See Page 3 9
PAGE 1
FLUX9.20
PAGE 2
FLUX9.20
1.
Overview
This chapter presents the studied device (a variable reluctance speed sensor) and the strategy of the device description in FLUX.
Introduction
Contents
This chapter contains the following topics: Topic Introduction The studied device: a variable reluctance speed sensor The device description in FLUX: which strategy? See Page 4 5 6
PAGE 3
FLUX9.20
1.1.
Introduction
Introduction
FLUX is finite elements software for electromagnetic simulation. FLUX handles the design and analysis of any electromagnetic device. To perform a study with FLUX, you build a finite elements project. This process is broken into 5 phases: geometry description mesh generation description of the physical properties solving process analysis of the results Only the first two phases are presented in this document.
Objective
The objective of this document is discovery and mastering various functionalities in the software through the example of a simple device. The device, which will be used as example, is a variable reluctance speed sensor described in the following paragraph. The studied functionalities* of the software are those, related to the phases of construction of the geometry and generation of the mesh. The user will also find in this document useful information concerning the software: description of the environment, data management, graphic representation, etc.
* The functionalities of the software related to the following phases - description of
the physical properties, resolution, analysis of the results - are not detailed in this document.
PAGE 4
FLUX9.20
1.2.
Introduction
Structure
The variable reluctance speed sensor consists of a cogged wheel, a magnet and a coil connected to a measuring resistance.
Functionality
The rotation of the target wheel near the tip of the sensor changes the magnetic flux, creating an analog voltage signal that can be recovered in probes.
Typical applications
Typical applications are: ignition system engine speed and position speed sensing for electronically controlled transmissions vehicle speed sensing wheel speed sensing for ABS and traction control systems
PAGE 5
FLUX9.20
1.3.
Problem
Geometric structure
The device consists of: one cogged wheel with three teeth two probes with a magnet and a coil around
COIL 1+ MAGNET 1 WHEEL COIL 1PROBE 1
Strategy
Two strategies of description exist: one-phase description: - description of the whole device in only one FLUX project two-phase description: - independent description of separated parts of the device in several FLUX projects - merging the independent projects into one The second strategy is selected in this tutorial. Of course, the geometry can be built in ways other than the presented one. The sensor geometry is defined in this particular way in order to introduce you to the most used Preflux features.
Continued on next page
PAGE 6
FLUX9.20
An outline of the general construction process is given in the two following blocks: the first process (1) is presented to facilitate comprehension the second process (2) is the real building process used in this document.
Process (1)
An outline of the logical process of the geometry description is given in the table below. Description Probe description
Phase 1
Sensor description
Addition of air around the device and closing of the domain by the technique of the Infinite Box
PAGE 7
FLUX9.20
Process (2)
An outline of the real process of the geometry description, used in this tutorial, is given in the table below.
Project: PROBE_3D.FLU
Probe description
Sensor description
Project: SENSOR_3D.FLU
PAGE 8
FLUX9.20
2.
Introduction
Contents
This chapter contains the following topics: Topic Starting FLUX Starting Preflux See Page 11 15
PAGE 9
FLUX9.20
PAGE 10
FLUX9.20
2.1.
Starting FLUX
Introduction
FLUX software is managed by a supervisor. The new Supervisor for FLUX 9 organizes all the modules for both FLUX 2D and FLUX 3D.
Contents
This section contains the following topics: Topic Start the FLUX Supervisor About the FLUX Supervisor See Page 12 13
PAGE 11
FLUX9.20
Goal
Action
1. Point on Start, Programs, Cedrat (or your FLUX installation directory) and click on FLUX 9.2
Result
PAGE 12
FLUX9.20
The FLUX Supervisor organizes all the modules for both FLUX 2D and FLUX 3D. The FLUX Supervisor window is divided into several areas. These areas are identified in the following figure and described in the table below.
Menu bar Tool bar
Function to list and launch all the FLUX modules (Geometry&Physics, Circuit, etc.) Directory manager to show the computers complete directory Project files to display all FLUX projects in the selected directory My programs contains shortcuts to the Dos Shell and the Explorer Flux view to display a preview of the geometry, if a project is selected
From the FLUX Supervisor you should: Select the FLUX 2D tab in order to access the specific FLUX 2D programs. Access your working directory by selecting it in the supervisors directory manager window. Verify that the title of the Program manager area is the standard version (Flux2D: Standard). If not, in the menu bar, select Versions and check Standard.
PAGE 13
FLUX9.20
PAGE 14
FLUX9.20
2.2.
Starting Preflux
Introduction
Preflux is the preprocessor to describe the geometry, mesh and physical properties of the studied device.
Contents
This section contains the following topics: Topic Open Preflux See Page 16
PAGE 15
FLUX9.20
Goal
The preprocessor Preflux will be opened to manage the geometry building of the device and mesh generation. To open Preflux from the FLUX Supervisor:
Action
2. Select the directory of the project 3. Double-click on Geometry&Physics 1. Click on the Flux2D tab
Result
The Preflux window for FLUX 2D applications is opened. There are two menus in the Preflux window: Project and Help*.
Menus bar Project toolbar
* A new project must be created to see the complete set of Preflux commands.
PAGE 16
FLUX9.20
This part B contains the geometry description and mesh generation of the probe.
Project name
Contents
This part contains the following topics: Topic Geometry description of the probe object Mesh generation of the probe object See Page 19 75
PAGE 17
FLUX9.20
PAGE 18
FLUX9.20
3.
Introduction
MAGNET
Contents
This chapter contains the following topics: Topic Create a FLUX project for the probe Strategy and tools for geometry description Creation of geometric tools Creation of points and lines for the probe base Building faces for the probe See Page 21 29 33 53 63
PAGE 19
FLUX9.20
PAGE 20
FLUX9.20
3.1.
Introduction
Each time that a FLUX program is started, it is possible to open an existing project or create a new project.
Contents
This section contains the following topics: Topic Create a new project for the probe About the Preflux window About the Help menu / Users guide About the geometry context Name the project See Page 22 23 24 26 27
PAGE 21
FLUX9.20
Goal
Action
Project toolbar:
1. Click on the icon
OR
Result
FLUX retrieves a great deal of information from the database model in order to build the proper database of the new project. The new project is temporarily named ANONYMOUS. The Preflux project window opens in the Geometry context by default. The Geometry context icon is depressed, as shown in the following figure.
PAGE 22
FLUX9.20
Preflux window
The Preflux project window has the complete set of the tools to build the geometry of the device, to mesh the computation domain and to visualize the device during different steps of the construction.
Areas
The Preflux project window is divided into three main areas. The different areas can be resized or hid by using the arrows.
Data tree
Graphic scene
History zone
Function displays all the problem data in a tree structure that is expanded using the key displays the graphic entities prints Python command instructions
All Preflux commands are in the menus. Toolbars include icons that are shortcuts to the most useful commands.
Menus
Toolbars
PAGE 23
FLUX9.20
Introduction
There are several ways to access the users guide information: the complete users guide the on-line help on an option
Method 1
To open the complete users guide in the FLUX Supervisor from the Help menu:
1. Click on Manual
Help toolbar:
1. Click on the icon
OR
Method 2
To open the complete users guide in Preflux from the Help menu:
1. Click on Contents
Method 3
To open the on-line help about an entity from its dialog box:
1. Click on the button
Continued on next page
PAGE 24
FLUX9.20
Users guide
The on-line version of the FLUX users guide is presented in the figure below. The corresponding sections of the FLUX users guide can be opened by clicking on the hyperlinks.
Index
PAGE 25
FLUX9.20
Presentation
There are three contexts in Preflux: Context Geometry Mesh Physics* Function to build the geometry of the device to mesh the computation domain to define the materials, sources and to prepare the regions
* The icon corresponding to the Physics context appears after the definition of the physical application
After having activated the geometry context, toolbars dedicated to the geometry description appear in the Preflux window. The different toolbars and their principal roles are briefly described below.
6
Geometry context toolbars 1 2 3 4 5 6 Function to create geometric entities to propagate / extrude points, lines, etc. to build faces to compute geometric values to check the geometry to display point and line reference numbers
PAGE 26
FLUX9.20
Goal
The new project, temporarily named ANONYMOUS, will be renamed and saved.
Action
Project toolbar:
1. Click on the icon
OR
Note: The user can choose another name for the project and change the current project directory (working directory), displayed in the Save In field at the top. A periodic data backup is recommended.
PAGE 27
FLUX9.20
PAGE 28
FLUX9.20
3.2.
Introduction
This section shows: the available tools for geometry building the analysis carried out for construction of the probe geometry and the selected strategy
Contents
This section contains the following topics: Topic Available geometric tools and analysis before geometry description Main phases for geometry description of the probe See Page 30 32
Reading advice
This section presents an outline of the geometry building process of the probe. Details on the different contents - definition of new concepts, explanation on the use of different tools, etc.- are given in the following sections.
PAGE 29
FLUX9.20
Available tools
The tools available for the geometric construction are: geometric parameters, coordinate systems and transformations. Geometric tool Function geometric parameter to allow the dimensional parameter setting of parts coordinate system to facilitate the relative positioning of parts transformation to allow the construction by propagation or extrusion
An analysis of the device is necessary to determine the strategy of construction and the choice of construction tools. The analysis of the device and the construction tools chosen within the framework of this tutorial are summarized in the table below. it is planned
PROBE_CS
The operations
to create a PROBE_CS to enter the coordinates of the Cartesian coordinate system points specific to the probe
COIL_H MAG_R COIL_IR COIL_OR
to create 5 parameters for setting the magnet and the coil dimensions
MAG_H
PAGE 30
FLUX9.20
The operations
it is planned
to create a MAIN_CS Cartesian coordinate system (the PROBE_CS coordinate system will be to locate the attached to this probe in the final coordinate system) project (anticipation) to create an ANGLE parameter to define the angular position of the MAIN_CS coordinate system to create a MIRROR transformation of the affinity type to build faces by propagation
PROBE_CS ANGLE
MAIN_CS
MIRROR
PAGE 31
FLUX9.20
Outline
An outline of the geometry building process is presented in the table below. Stage
Description
Inner radius of the coil: COIL_IR = 2.8 mm Outer radius of the coil: COIL_OR = 3.5 mm Height of the coil: COIL_H = 16 mm Radius of the magnet: MAG_R = 2.5 mm Height of the magnet: MAG_H = 20 mm Angle for the probe angular position in the final device: ANGLE = 0 Cartesian coordinate system: MAIN_CS (Global coordinate system for the probe positioning in the final device) Cartesian coordinate system: PROBE_CS (Local coordinate system for the probe description)
Creation of points and lines for the probe base Building faces for the probe base Creation of 1 transformation
Affine transformation for the probe: MIRROR
* Explanation concerning this subject is presented in Available meshing tools and analysis before mesh generation. (Refer to section About meshing tools on Linked Mesh Generator)
PAGE 32
FLUX9.20
3.3.
Introduction
The geometry building begins by the creation of geometric tools to build the probe geometry: geometric parameters and coordinate systems. The parameters and coordinate systems required to describe the geometry of the probe are presented in the figure below.
COIL_H ANGLE PROBE_CS MAG_R COIL_IR COIL_OR
MAIN_CS MAG_H
Contents
This section contains the following topics: Topic About creation of an entity About geometric parameters Create the geometric parameters About the Tools menu / toolbar About selection of graphic entities About modification and deletion of an entity About graphic view Change the background color About coordinate systems Create the coordinate systems See Page 34 36 37 39 40 40 45 47 48 50
PAGE 33
FLUX9.20
Definition of entity
An entity is an object in the database of a FLUX project. It can be: a point, a line, a coordinate system, etc. in the Geometry context a mesh point, a mesh line, etc. in the Mesh context a line region, a volume region, etc. in the Physics context
Creating process
An outline of the creating process is presented in the table below. The different steps are detailed in the blocks describing the creation of project entities. Step 1 2 Description Activating the New command Definition of entity attributes
The access to the New command can be carried out: from the Geometry menu bar (1) using icons from the Geometry toolbar (2) from the data tree (3) These three methods to access the New command are presented in the following figure (with the example of creation of a geometric parameter) and described in the table below.
2 3
Method 1 2 3
Description point on the entity-type and click on New click on the corresponding icon double-click on the entity-type or right click and click on New
Continued on next page
PAGE 34
FLUX9.20
Dialog box
The interaction with the database is done using dialog boxes. The user can enter information relating to the data in this box.
Entity-type: Geometric parameter Title bar Name Comment Characteristics On-line help concerning the entity
The required fields (necessary and sufficient for the definition of the entity) are marked by an asterisk *.
PAGE 35
FLUX9.20
Principle of use
Geometric parameters are entities that can be used for the geometry building of the device, i.e. for the definition of points, coordinate systems, geometric transformations, infinite box dimensions and other geometric entities. Defining parameters simplifies the construction of the geometry and enables modifications to be made more easily later. Many changes can be made by modifying only the definition of the parameters instead of modifying all the individual points, lines or nodes that might be built using the parameters. Parameters also can modify the scale of the geometry through their relationship with coordinate systems.
Definition of parameters
The geometric parameters are defined by the name and the algebraic expressions. The algebraic expressions may contain: constants arithmetic operators (+, -, *, /, **) arithmetic functions allowed in FORTRAN (SQRT, LOG, SIN, etc.) other parameters combinations of any of these
Please note that parameters are independent of any unit of measurement. In other words, the numerical value entered for a parameter is not changed when the unit of measurement is changed. Any measurement unit associated with a parameter derives from the coordinate system in which the parameter is used. For example, a parameter's value may be 10 in a coordinate system with millimeters as units. This parameter's value is still 10 whether the coordinate system's units are changed to inches or meters or kilometers or any other available unit. Thus, when you use parameters, you can also modify the scale of a geometric feature without reentering each point or item.
PAGE 36
FLUX9.20
Goal
Six parameters, required to describe the geometry of the probe, are presented in the figure below.
COIL base
COIL_H MAG_R COIL_IR COIL_OR
ANGLE
MAGNET base
MAG_H
Data
PAGE 37
FLUX9.20
Action
Geometry toolbar:
1. Click on the icon
OR
2. Type COIL_IR as name 3. Type Inner radius of the coil as comment 4. Type 2.8 as algebraic expression for the parameter 5. Click on OK
6. Repeat steps 2 to 5 in the new dialog, entering data for the remaining entities. (see the table on the previous page)
7. Click on Cancel to quit the sequence
Result
Notice too, that as you move your cursor over the parameter names, the comments are displayed to help you to identify the parameters.
PAGE 38
FLUX9.20
Undo command
There is a FLUX command to undo operations. The user can use this command if an error was made. There are two possibilities described in the table below. 1 2 Method to undo the previous operation to undo several operations Function to undo the last action to undo all actions up to the indicated action
Method 1
Method 2
Tools toolbar:
1. Click on the icon
OR
PAGE 39
FLUX9.20
Selection of entities can be done with the following selection modes: graphic selection (with the mouse) - in the data tree for all entities - in the graphic scene for graphic entities identifier selection (by name / by number) advanced selection (by criterion / by choice)
An outline of the selection process for graphic entities is presented in the table below. The different steps are detailed in the blocks describing the creation of project entities. Step 1 2 Description Activating of the selection filter Selection of the entity in the graphic scene
Selection filter
A selection filter makes possible to identify the selectable entity-type. For the graphic entities, the selection filter can be activated by the commands from the Selection menu or from the Selection toolbar. The choices in the Selection menu or in the Selection toolbar relate to the graphic entities; they are presented in the figure and described in the table below.
No selection
Free selection
Choice No selection
nothing selectable all is selectable The first entity, selected by the user, determines the entity-type selectable the points are selectable
Continued on next page
PAGE 40
FLUX9.20
The activating of the selection filter can be carried out: from the Select menu (1) using icons from the Select toolbar (2) These two methods to activate the selection filter are presented in the following figure and described in the table below.
Click on the specific graphic entity to select the entity in the graphic scene. The selected entity is highlighted.
PAGE 41
FLUX9.20
For the commands Edit / Edit array / Delete / Force delete, which require data selection, the access to the command, can be carried out: from the menu - activation of the command and then selection via a selection box (1) from the data tree: - activation of the command and then selection via a selection box (2) - direct selection of an entity and then activation of the command (2) from the graphic scene (only for graphic entities) These methods to access the command are presented in the following figure (with the example of editing the ANGLE geometric parameter) and described in the table below.
2 2
Method 1
2 2 3
Description point on the entity-type and click on the command select entities via a Selection box right click on the entity-type and click on the command select entities via a Selection box double-click on the entity or right click on the entity and click on the command right click on the graphic entity* and click on the command
* The corresponding selection filter must be first activated. Continued on next page
PAGE 42
FLUX9.20
Edition mode
To check the data, the user needs to edit (and modify if necessary) the entities created. There are two modes of edition: the edition in a dialog box is used to check and to modify the characteristics of one entity
Entity-type Entity Name Comment Type (1) Type (2)
Characteristics
the edition in a data array is used to check and to modify the characteristics of a group of entities
Structure (Database) Entity-type Entities:
[CORE], [MAIN]
Characteristics
Type (1)
PAGE 43
FLUX9.20
Deletion mode
The user sometimes needs to delete entities. He can easily delete an entity if it is an independent entity. However, very often, the entity is connected to other entities and the deletion of the entity can cause the deletion of all the connected entities. There are thus two modes of deletion: the simple deletion: is carried out on independent entities (non connected with other entities) the in force deletion : is carried out on any entity. These two modes are described in the table below:
Mode simple in force Destroyable entity independent any What is destroyed selected entity selected entity + entities connected to it
PAGE 44
FLUX9.20
Introduction
When referring to the graphic representation of a device, we are interested in: the different entities and their appearance: points and their visibility, lines and their color, faces, surface elements, etc. the type of displayed view: side view, top view, bottom view, global view, etc. and its position and dimensions in the graphic display zone.
There are three methods to modify the view in the graphic scene. The modifications can be made: from the View menu (1) using icons from the View toolbar (2) using the mouse (3)
Preflux offers modes to modify the view using commands from the View menu or icons from the View toolbar. They are described in the table below. Command View direction Zoom in Zoom out Zoom all Icon Mode To rotate, translate and resize the view To enlarge the view To reduce the view To set total view To enlarge a part of view Mode activation click on the command / icon and fill out the dialog box click on the command click on the command click on the command / icon click on the command / icon and select the rectangular zone to enlarge using the mouse
Continued on next page
Zoom region
PAGE 45
FLUX9.20
Preflux offers modes to modify the view using the mouse, described in the table below. User can determine the active mode by the different cursors. Mode Mode activation 2D planar rotation around mouse is far from the center of the the center of the view view, click on the graphic scene with the left button of the mouse and move the mouse, keeping the left button pressed Displacement click on the view with the right (to translate the view) button of the mouse and drag the view to the new location, keeping the right button pressed Dimension click on the graphic scene with the left button of the mouse and resize (to resize the view) the view with the scrolling wheel of your mouse Cursor
Predefined views
It is possible to choose one view from predefined views available in FLUX. The different commands to set predefined views and their corresponding icons are presented in the table below.
View command Standard view Icon Description
View direction
Background color
It is possible to swap the background color from black to white and vise versa by using the Reverse video command.
PAGE 46
FLUX9.20
Goal
Action
PAGE 47
FLUX9.20
Introduction
All geometric features are defined within a specific coordinate system. Defining our own coordinate systems enables us to describe and modify the geometry much more easily.
The different types of coordinate systems for 2D domain and associated coordinates are presented below. Cartesian coordinate system Coordinates (x, y)
y p
It is possible to distinguish the following coordinate systems: The global coordinate system is the coordinate system where all computations are performed. It is inaccessible to the user. The global coordinate system is a universal Cartesian coordinate system using meters as the length unit and degrees as the angle unit. The working coordinate systems are coordinate systems created by the user to cover the study needs. The working coordinate systems are defined: - with respect to the Global coordinate system, when they refer to the global coordinate system - with respect to a Local coordinate system, when they refer to other coordinate systems. All entities are defined in the working coordinate systems (users coordinate systems) and are evaluated in the global coordinate system for calculations.
The user can define the length and angle units for a coordinate system defined with respect to the global coordinate system (millimeter and degree by default). A coordinate system defined with respect to the local coordinate system inherits the units of the reference coordinate system (parent coordinate system).
Continued on next page
PAGE 48
FLUX9.20
To assist the user, FLUX provides a default coordinate system XY1. It is created for every new project. It is possible to rename it, to modify it or to delete it.
XY1 is the coordinate system of Cartesian type and defined with respect to the global coordinate system. Coordinate system XY1
Y
y X x
Characteristics Origin of coordinate system: first component: 0 second component: 0 Rotation angle: about Z axis: 0
PAGE 49
FLUX9.20
Goal
Two coordinate systems, required to describe the geometry of the probe, are presented in the figure below.
PROBE_CS MAIN_CS
32 mm
Data
Cartesian coordinate system type defined with respect to the Local system Name PROBE_CS Comment Probe coordinate system Parent coord. system MAIN_CS Origin coord. X Y 32 0 Rotation angle About Z 0
Continued on next page
PAGE 50
FLUX9.20
Action
Geometry toolbar:
1. Click on the icon
OR
2. Type MAIN_CS as name of coordinate system 3. Type Main coordinate system as associated comment 4. Select Cartesian as type of coordinate system 5. Select Global as definition of coordinate system 6. Select MILLIMETER as length unit 7. Select DEGREE as angle unit 8. Type 0 as first coordinate 9. Type 0 as second coordinate
PAGE 51
FLUX9.20
12. Type PROBE_CS as name of coordinate system 13. Type Probe coordinate system as comment 14. Select Cartesian as type 15. Select Local as definition of coordinate system 16. Select MAIN_CS as parent coordinate system 17. Type 32 as first coordinate 18. Type 0 as second coordinate
Result
The two new coordinate systems are listed in the data tree: displayed in the graphic scene*:
MAIN_CS
PROBE_CS
PAGE 52
FLUX9.20
3.4.
Introduction
The next step of the geometry description is the creation of points and lines to build the probe. The next figure describes the geometry of the probe.
COIL_H MAG_R COIL_IR COIL_OR
MAG_H
Contents
About points Create points for the probe base About display of entities in the graphic scene Display point numbers About lines Create lines for the probe base
PAGE 53
FLUX9.20
Points
A point can be created as a set of coordinates in a specified coordinate system as an image of an existing point through a geometric transformation within the propagation or extrusion from other entities
Point coordinates
A point could be defined by its coordinates in a coordinate system (see About coordinate systems).
translation
origin point
Point number
The number to identify the point is automatically allocated by FLUX during the point creation.
PAGE 54
FLUX9.20
Goal
Eight points are required to build the probe base, as presented in the figure below.
COIL_H Point 6 Point 5 Point 2 PROBE_CS Point 1 MAG_H Point 4 Point 7 Point 8 Point 3 MAG_R COIL_IR COIL_OR
Data
The table below describes the points for the probe base.
Points defined by its parametric coordinates No 1 2 3 4 5 6 7 8 Coordinate system Coordinates X -MAG_H/2 -MAG_H/2 MAG_H/2 MAG_H/2 -COIL_H/2 -COIL_H/2 COIL_H/2 COIL_H/2 Y 0 MAG_R MAG_R 0 COIL_IR COIL_OR COIL_OR COIL_IR
Continued on next page
PROBE_CS
PAGE 55
FLUX9.20
Action
Geometry toolbar:
1. Click on the icon
OR
2. In the Geometric Definition tab select Point defined by its parametric coordinates as type of point 3. Select PROBE_CS as coordinate system 4. Type -MAG_H/2 as first coordinate 5. Type 0 as second coordinate 6. Click on OK
7. Repeat steps 4 to 7 in the new dialog, entering data for the remaining entities (see the table on the previous page)
8. Click on Cancel to quit the sequence
Result
PAGE 56
FLUX9.20
Introduction
The graphic representation of objects is not the same during the different steps of building the device model. From one step to the next, we are interested in: representation of points and lines during geometry building representation of nodes and surface elements during mesh generation
To control the graphic representation, FLUX provides default settings, but the user can also modify this representation. To do so, the following commands are available: the Display commands, which manages the list of entities to display, the Edit command, which allows the modification of the entity appearance (characteristics of visibility and color)
There are two methods to display entities in the graphic scene. The modifications can be made: from the Display menu (1) using icons from the Display toolbar (2)
1 2
PAGE 57
FLUX9.20
Goal
The display of point numbers will be activated to see the reference point numbers allocated by FLUX.
Action
Display toolbar:
1. Click on the icon
OR
Result
The points, labeled with reference numbers, are displayed in the graphic scene.
PAGE 58
FLUX9.20
Lines
Lines can be created: manually (choice of line type segment or arc - and entering extremity points) by propagation from existing lines using a transformation by extrusion from existing points using a transformation within the propagation or extrusion from other entities
Segments are defined by starting and ending points. It does not matter if you swap the starting and ending points. Circle arcs can be defined in different ways: either in a coordinate system: The arc is included in a plane parallel to the XOY plane. It is counterclockwise oriented around an axis parallel to the OZ axis.
ending point
Segments
Circle arcs
angle
starting point
or by three points: The arc is drawn around a triangle defined by three points. It is oriented in the direction imposed by three points.
middle point
ending point
starting point
Number
The number to identify the line is automatically allocated by FLUX during the line creation.
PAGE 59
FLUX9.20
Goal
Eight straight segments are required to connect each point and create closed outlines of the magnet and coil bases. The order to create the lines is presented in the figure below.
COIL base Line 6 Line 5 Line 1 Line 4 MAGNET base Line 8 Line 2 Line 3 Line 7
Data
The table below describes the lines for the probe base.
Segment defined by starting and ending points No 1 2 3 4 5 6 7 8 Starting point 1 2 3 4 5 6 7 8 Ending point 2 3 4 1 6 7 8 5
Continued on next page
PAGE 60
FLUX9.20
Action
Geometry toolbar:
1. Click on the icon
OR
2. In the Geometric Definition tab select Segment defined by starting and ending points as type of the line 3. Click on Point 1 in the graphic scene => its reference number enters as starting point 4. Click on Point 2 in the graphic scene => its reference number enters as ending point
5. Repeat steps 3 to 4 in the new reduced dialog, entering data for the remaining entities (see the table on the previous page)
6. Click on Cancel to quit the sequence
Result
PAGE 61
FLUX9.20
PAGE 62
FLUX9.20
3.5.
Introduction
The next step of the geometry description is building faces for the probe. The probe geometry is presented in the figure below.
Contents
PAGE 63
FLUX9.20
Introduction
The faces are automatically created and identified using the algorithms of automatic construction.
Principle: overview
The principle of automatic face construction: First, FLUX computes all the existing surfaces and determines which surfaces the points and the lines belong to. (A surface contains faces but it is not limited. A surface is defined by three points linked by two lines.) Next, the automatic face construction is carried out by a method of identification of closed contours.
About faces
The faces created by FLUX using the automatic construction algorithms are faces contained by planar, cylindrical or conical surfaces. These faces are named automatic faces.
PAGE 64
FLUX9.20
Goal
Action
Geometry toolbar:
1. Click on the icon
OR
Result
PAGE 65
FLUX9.20
Principle of use
Transformations are geometric functions that create new objects from existing objects. The various available functions are: translation rotation affinity helix composed
Note: Only the transformation functions used in this tutorial are described here. Refer to the Users guide for more information about transformations.
Various functions
Rotation
A rotation is defined by a rotation axis and an angle. The figure below describes the creation of a new point using the rotation transformation defined by an angle and a pivot point (its coordinates or reference number)
created point rotation angle
pivot point y x
rotation axis is defined by: - a working coordinate system - and a pivot point rotation angle is defined about Z axis
original point
PAGE 66
FLUX9.20
Affinity
Affinity is defined with respect to a point or to a straight line. The result of this transformation application depends on the affinity ratio, as presented in the table below.
Ratio k = -1 k=1 k=0 k >1 0< k < 1 k < -1 -1< k < 0 Result symmetry identity projection increasing (increasing affinity) reducing (reducing affinity) increasing (increasing negative affinity) reducing (reducing negative affinity)
The examples below describe the creation of new lines using two different affinity transformations: Affine transformation with respect to a point
(-1) (-0.5) (0) (0.5) y x (1) original line center point of the affinity
Caution: Applying an affinity transformation with respect to a point with the scaling factor equal 0 causes an error, because the line is degenerated and reduced to a point.
PAGE 67
FLUX9.20
Goal
An affine transformation with respect to a line defined by 2 points is required to build the probe geometry. The points, defined the symmetry line of the transformation, are shown in the following figure:
Symmetry line
Point 1 Point 4
Data
PAGE 68
FLUX9.20
Action
Geometry toolbar:
1. Click on the icon
OR
2. Type MIRROR as name 3. Type Symmetry transformation for the probe as comment 4. Select Affine transformation with respect to a line defined by 2 points as type 5. Type 1 as first point of straight line 6. Type 4 as second point of straight line
Result
PAGE 69
FLUX9.20
Definition
The construction by propagation / extrusion is a building method that constructs new geometric entities, based on existing entities, by using a geometric transformation like translation, rotation, etc. We deal with: propagation, when the image object, generated by transformation, is not connected by lines to the source object extrusion, when the image object, generated by transformation, is connected by lines to the source object
Examples
In the figures below, the line is built by propagation / extrusion of the existing line (source) using a translation vector. Construction by propagation:
image line translation
translation
Construction by extrusion:
image line
connection elements source line
source line
Building options
Some building options are provided in order to simplify the users work and to carry out a certain number of repetitive tasks semi-automatically. The building options for construction by propagation, classified in three categories, are presented in the table below.
The options allow for geometric to define the geometric entities (points, lines, faces) building created during the propagation to create the linked mesh generator associated to the for mesh transformation preparation to assign the linked mesh generator to the entities created by transformation to create surface regions for preparation to assign the created regions to the geometric entities of regions created by transformation
The building options for construction by extrusion, classified in two categories, are presented in the table below.
The options allow to define the form of connection elements to define the geometric entities (points, lines, faces) created during the extrusion to create the extrusion mesh generator associated to the transformation to assign the extrusion mesh generator to the entities created by transformation
PAGE 70
FLUX9.20
Definition / use
One speaks about selection by criterion when the selection is carried out by the intermediary of the existing relations between the various entities (points belonging to a line, ...) or characteristics, common to several entities (faces with the same color, faces on the same surface, ...). The selection by criterion is available on the level of selection boxes and is carried out in two stages as presented in the table below.
Stage 1 Description
Operation mode
From a selection box: opening the criteria list (with the button ) and selection of a criterion From a specific (with logical operators) selection box: selection of entities (graphic selection, by identifier or criterion) with applying selection operators to the group of entities
Selection criteria
selection of all entities deselection of all the entities previously selected selection of the last selected entity selection of the nearest entity to the entered coordinates
Specific criteria (implying the use of the operators) The selection by line / face / volume surface linear / face / volume region mechanical set color visibility nature discretization
Selection operators
allows the selection of all the entities belonging to a line / face / volume belonging to a surface (defined by a face) belonging to a linear / face / volume region belonging to a mechanical set defined by a color defined by a visibility (visible or invisible) defined by a nature (standard, in air, no exist) defined by a discretization (point or line)
To manage the logical operations on the groups of the selected entities, the user disposes the selection operators introduced in the table below.
Operator Exclude Union Intersect Function to remove entities from the list to add entities in the list to carry out the intersection of two groups of selection
PAGE 71
FLUX9.20
Goal
The MIRROR transformation will be applied once to propagate two faces, as shown in the following figure.
Face 2 Face 1
PAGE 72
FLUX9.20
Action
Geometry toolbar:
1. Click on the icon
OR
4. Select MIRROR as transformation 5. Type 1 as number of times to apply the transformation 6. Select Add Faces and associated Linked Mesh Generator* as building options for extrusion
7. Click on OK
Result
PAGE 73
FLUX9.20
PAGE 74
FLUX9.20
4.
Introduction
Contents
PAGE 75
FLUX9.20
PAGE 76
FLUX9.20
4.1.
Introduction
This section shows: the meshing tools available in FLUX the analysis carried out for generation of the probe mesh and the selected strategy
Contents
Reading advice
This section presents an outline of the mesh generating process of the probe. Details on the different contents - definition of new concepts, explanation on the use of different tools, etc.- are given in the following sections.
PAGE 77
FLUX9.20
Available tools
The tools available for mesh generation are: mesh points, mesh lines and mesh generators. The mesh point allows mesh adjustment via the points (the node density around selected points) The mesh line allows mesh adjustment via the lines (the number and the distribution of nodes on the lines) The mesh generators are used to perform the subdivision into finite elements via faces or volumes
An analysis of the device is necessary to determine the strategy of meshing, and the choice of mesh tools. The analysis of the device and the mesh tools chosen within the framework of this tutorial are summarized in the table below.
The operations to control the node density around points to easily mesh linked faces (built by propagation) it is planned to create 2 mesh points: MAG_MP and
COIL_MP
* This linked mesh generator was created and affected automatically by FLUX in the phase of face building (building option for propagation: Add Faces and associated Linked mesh generator).
PAGE 78
FLUX9.20
Outline
PAGE 79
FLUX9.20
PAGE 80
FLUX9.20
4.2.
Introduction
The first step of mesh generation is the creation of mesh points and their assignment to the geometric points belonging to the faces, as shown in the figure below.
COIL_MP
MAG_MP
Contents
PAGE 81
FLUX9.20
Goal
Action
To activate the Mesh context (display the Mesh toolbars) from the Context toolbar:
1. Click on the icon
PAGE 82
FLUX9.20
After having activated the Mesh context, toolbars dedicated to the mesh description appear in the Preflux window. The different toolbars and their principal roles are briefly described below.
4 5
1 2 3 4 5
to mesh lines, faces; to delete the mesh to check the mesh to display mesh points, mesh lines, nodes, surface elements
PAGE 83
FLUX9.20
Mesh
To mesh the device is to subdivide the computation domain into finite elements: nodes line elements face elements volume elements
Meshing tools
The meshing tools accessible in the Mesh context are the following:
Function to control the size of mesh elements through the geometric points Mesh line to control the size of mesh elements through the geometric lines to perform the subdivision into finite elements Mesh generator (or algorithms for meshing) on faces or volumes Tool
Mesh point
Mesh point
The Mesh point distributes nodes on the lines based on weights assigned to points. The node spacing on a line between two end points with different mesh points is determined by interpolation, taking into consideration the different values at the two ends of the line.
There are three predefined mesh points: SMALL MEDIUM LARGE Their values are computed by FLUX according to dimensions of the geometry of the device. The default mesh point values proposed to the user are expressed in millimeters.
Mesh line
The Mesh line distributes nodes on the lines based on a subdivision of the line length. We can distinguish two modes of distribution of nodes on lines: uniformly distributed nodes: line elements of the same length (uniform distribution of nodes) nodes distributed in a geometrical progression (non-uniform distribution of nodes).
Continued on next page
PAGE 84
FLUX9.20
Mesh generators
The different mesh generators are the following: generic mesh generators: - automatic - mapped - none (no mesh) users mesh generators (associated with a transformation): - linked - extrusion The automatic mesh generator is used by default in Preflux.
Mesh generator Function automatic to create triangular elements on the surfaces and tetrahedral elements on the volumes mapped to create quadrangular elements on surfaces and the hexahedral elements on the volumes none (no mesh) to impose non meshed zones linked to impose the same mesh on faces linked by a geometric transformation extrusion to reproduce the same mesh in layers on domains obtained by extrusion (the volume elements are prisms or hexahedrons, depending on the mesh of the base faces)
Choice of mesh generators on geometric entities (of face or volume type) is called assignment of mesh generators.
PAGE 85
FLUX9.20
Goal
Two mesh points are required to generate the mesh of the probe.
Data
The table below describes the characteristics of the mesh points for the probe.
Mesh point Name MAG_MP COIL_MP Comment Magnet mesh point Coil mesh point Unit millimeter millimeter Value 0.8 1 Color Magenta Red
Action
Mesh toolbar:
1. Click on the icon
OR
2. Type MAG_MP as name 3. Type Magnet mesh point as comment 4. In the Definition tab select MILLIMETER as associated length unit 5. Type 0.8 as value of the mesh point
9. Repeat steps 2 to 8 in the new dialog, entering data for the COIL_MP mesh point (see the table above)
10. Click on Cancel to quit the sequence
PAGE 86
FLUX9.20
Result
PAGE 87
FLUX9.20
Goal
The mesh points will be assigned to the points belonging to Face 1 and Face 2, as shown in the figure below.
COIL_MP
Face 2
Face 1
MAG_MP
Action
Mesh toolbar:
1. Click on the icon
OR
PAGE 88
FLUX9.20
4. Select the face in the graphic scene: click on Face 1 => its reference number enters
5. Click on Union
8. Repeat steps 2 to 7 in the new dialog to assign the COIL_MP mesh point to points on Face 2 (see the figure on the previous page)
9. Click on Cancel to quit the sequence
Result
The points to which the mesh points were assigned appear: in magenta for the magnet in red for the coil
PAGE 89
FLUX9.20
PAGE 90
FLUX9.20
4.3.
Introduction
The last step of mesh generation of the probe is meshing lines and faces. The meshed probe is presented in the figure below.
Contents
Mesh lines and faces Delete the mesh Save and close the project
PAGE 91
FLUX9.20
Goal
The computation domain will be meshed in the following way: meshing lines and meshing faces. To mesh lines from the
Mesh menu:
1. Point on Mesh and click on Mesh lines
Action 1
Mesh toolbar:
1. Click on the icon
OR
Result 1
Action 2
Mesh toolbar:
1. Click on the icon
OR
Result 2
PAGE 92
FLUX9.20
Goal
The mesh of the probe will be deleted, since it will be remeshed once it is part of the final model.
Action
Mesh toolbar:
1. Click on the icon
OR
PAGE 93
FLUX9.20
Goal
Action
Project toolbar:
1. Click on the icon
OR
2. Click on Yes
PAGE 94
FLUX9.20
Part C: Description of the wheel base Mesh generation of the probe object
This part C contains the geometry description and mesh generation of the wheel base object.
Project name
Contents
PAGE 95
Part C: Description of the wheel base Mesh generation of the probe object
FLUX9.20
PAGE 96
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
5.
Introduction
TOOTH
Contents
PAGE 97
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
PAGE 98
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
5.1.
Introduction
Each time that a FLUX program is started, it is possible to open an existing project or create a new project.
Contents
PAGE 99
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
5.1.1. Create and name a new project for the wheel base
Goal
At the beginning of the model description a new project will be created. The new project will be renamed and saved.
Action 1
Project toolbar:
1. Click on the icon
OR
Result 1
A new project named ANONYMOUS opens in the Geometry context by default. The Geometry context icon is depressed, as shown in the following figure.
Action 2
Project toolbar:
1. Click on the icon
OR
PAGE 100
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
5.2.
Strategy and tools for geometry description of the wheel base object
Introduction
This section shows: the available tools for geometry building the analysis carried out for construction of the wheel geometry and the selected strategy
Contents
104
PAGE 101
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
Available tools
The tools available for geometric construction are: geometric parameters, coordinate systems and transformations.
An analysis of the device is necessary to determine the strategy of construction and the choice of construction tools. The analysis of the device and the construction tools chosen within the framework of this tutorial are summarized in the table below.
it is planned
The operations
to create a WHEEL_CS cylindrical coordinate system specific to the wheel base (to anchor the wheel center)
WHEEL_CS
TOOTH_OR
TOOTH_IR
BETA WHEEL_R
to create an ALPHA parameter to define the angular position of the WHEEL_CS coordinate system
ALPHA
PAGE 102
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
The operations
it is planned
ROTZ_WHEEL
to create a TOOTH_N parameter to define the number of teeth to simplify the geometry building to create a ROTZ_WHEEL transformation of the rotation type to build the wheel base by propagation
PAGE 103
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
Outline
An outline of the geometry description process to build the wheel base geometry is presented in the table below. Caution: the geometric tools will be prepared for building the whole wheel, but we will build only the elementary pattern. The construction of the whole wheel will be carried out with the sensor construction!!!
Stage
Description
Tooth inner radius: TOOTH_IR = 12.5 mm Tooth outer radius: TOOTH_OR = 21.5 mm Number of teeth: TOOTH_N = 3 Tooth angle: BETA =15 Wheel radius: WHEEL_R = 10 mm Angle for the wheel angular position in the final device: ALPHA = 0 Cylindrical coordinate system: WHEEL_CS (global coordinate system for the wheel description and positioning in the final device)
5 6
Creation of 1 transformation
The next stages of building the whole wheel by propagation / extrusion will be carried out in the final project (SENSOR_2D.FLU)
PAGE 104
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
5.3.
Introduction
The geometry building begins by the creation of geometric tools: geometric parameters and a coordinate system.
TOOTH_OR
Contents
PAGE 105
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
Goal
Six parameters are required for the geometry description of the wheel. The parameters, required to build the wheel base object, are presented in the next figure.
TOOTH_OR
TOOTH_IR
Data
PAGE 106
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
Action
Geometry toolbar:
1. Click on the icon
OR
2. Type TOOTH_IR as name 3. Type Inner radius of the tooth as comment 4. Type 12.5 as algebraic expression for the parameter 5. Click on OK 6. Repeat steps 2 to 5 in the new dialog, entering data for the remaining entities. (see the table on the previous page)
7. Click on Cancel to quit the sequence
Result
PAGE 107
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
Goal
A cylindrical coordinate system is required to describe the geometry of the wheel, as presented in the figure below.
WHEEL_CS
Data
PAGE 108
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
Action
Geometry toolbar:
1. Click on the icon
OR
2. Type WHEEL_CS as name of coordinate system 3. Type Wheel coordinate system as associated comment 4. Select Cylindrical as type of coordinate system 5. Select Global as definition of coordinate system 6. Select MILLIMETER as length unit 7. Select DEGREE as angle unit 8. Type 0 as first coordinate 9. Type 0 as second coordinate
Result
PAGE 109
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
PAGE 110
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
5.4.
Introduction
The next step is the creation of points and lines for the wheel base object. The next figure describes the geometry of the wheel base object.
TOOTH_OR
TOOTH_IR
BETA WHEEL_R
Contents
PAGE 111
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
About points
Goal
Six points are required to build the wheel base outline, as presented in the figure below.
Point 4 Point 6
Data
The table below describes the points for the wheel base.
Points defined by its parametric coordinates No 1 2 3 4 5 6 Coordinate system Coordinates*
R
WHEEL_CS
PAGE 112
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
Action
Geometry toolbar:
1. Click on the icon
OR
2. In the Geometric Definition tab select Point defined by its parametric coordinates as type of point 3. Select WHEEL_CS as coordinate system 4. Type 0 as first coordinate 5. Type 0 as second coordinate 6. Click on OK
7. Repeat steps 4 to 7 in the new dialog, entering data for the remaining entities (see the table on the previous page)
8. Click on Cancel to quit the sequence
Result
* use the:
PAGE 113
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
About lines
Goal
Three straight segments and two arcs are required to construct the wheel base outline. The order to create the lines is presented in the figure below.
Line 2
Line 3
Note: It does not matter which are the starting and ending points of the straight segments. The arc is counter-clockwise oriented, so it is not possible to swap the starting and ending points during the creation of the arcs.
Data
The tables below describe the lines for the wheel base:
Segment defined by starting and ending points No 1 2 3 Starting point 1 3 4 Ending point 2 5 6
Arc defined by its radius, starting and ending points No 4 5 Coordinate system WHEEL_CS Radius TOOTH_IR TOOTH_OR Starting point 4 6 Ending point 3 5
PAGE 114
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
Action 1
Geometry toolbar:
1. Click on the icon
OR
2. In the Geometric Definition tab select Segment defined by starting and ending points as type of the line 3. Click on Point 1 in the graphic scene => its reference number enters as starting point 4. Click on Point 2 in the graphic scene => its reference number enters as ending point
5. Repeat steps 3 to 4 in the new reduced dialog to create the remaining segments (see the table on the previous page)
6. Click on Cancel to quit the sequence
Result
PAGE 115
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
Action 2
Geometry toolbar:
1. Click on the icon
OR
2. In the Geometric Definition tab select Arc defined by its radius, starting and ending points as type of the line 3. Select WHEEL_CS as coordinate system 4. Type TOOTH_IR as arc radius 5. Click on Point 4 in the graphic scene => its reference number enters as starting point 6. Click on Point 3 in the graphic scene => its reference number enters as ending point
7. Repeat steps 4 to 6 in the new dialog to create the second arc (see the table on page before the previous page)
Result
PAGE 116
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
5.5.
Introduction
The next step is building the face for the wheel base object.
Contents
PAGE 117
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
Goal
Action
Geometry toolbar:
1. Click on the icon
OR
Result
PAGE 118
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
5.6.
Introduction
The whole wheel will be built by means of a transformation. The last step is the creation of this transformation.
Contents
PAGE 119
Part C: Description of the wheel base Geometric description of the wheel base object
FLUX9.20
About transformations
Goal
One rotation transformation is required to build the wheel geometry, as shown in the following figure.
360/TOOTH_N
Point 1
Data
PAGE 120
FLUX9.20
Part C: Description of the wheel base Geometric description of the wheel base object
Action
Geometry toolbar:
1. Click on the icon
OR
2. Type ROTZ_WHEEL as name 3. Type Rotation transformation for the wheel as comment 4. Select Rotation defined by angles and existing pivot point as type 5. Select WHEEL_CS as coordinate system 6. Select point 1 in the list or in the graphic scene as pivot point 7. Type 360/TOOTH_N as rotation angle about Z axis 8. Click on OK
Result
PAGE 121
Part C: Description of the wheel base Mesh generation of the wheel base object
FLUX9.20
PAGE 122
FLUX9.20
Part C: Description of the wheel base Mesh generation of the wheel base object
6.
Introduction
Contents
PAGE 123
Part C: Description of the wheel base Mesh generation of the wheel base object
FLUX9.20
PAGE 124
FLUX9.20
Part C: Description of the wheel base Mesh generation of the wheel base object
6.1.
Introduction
This section shows the analysis carried out for mesh generation of the wheel and the selected strategy.
Contents
PAGE 125
Part C: Description of the wheel base Mesh generation of the wheel base object
FLUX9.20
Available tools
The tools available for mesh generation are the same as previously described: mesh points, mesh lines and mesh generators.
An analysis of the device is necessary to determine the strategy of meshing and the choice of mesh tools. The analysis of the device and the mesh tools chosen within the framework of this tutorial are summarized in the table below.
it is planned
CENTER_MP
WHEEL_MP
The operations
GAP_MP
PAGE 126
FLUX9.20
Part C: Description of the wheel base Mesh generation of the wheel base object
Outline
Center mesh point: CENTER_MP = 4 mm Wheel mesh point: WHEEL_MP = 1.9 mm Air-gap mesh point: GAP_MP = 1 mm
CENTER_MP
WHEEL_MP
GAP_MP
PAGE 127
Part C: Description of the wheel base Mesh generation of the wheel base object
FLUX9.20
PAGE 128
FLUX9.20
Part C: Description of the wheel base Mesh generation of the wheel base object
6.2.
Introduction
The first step of mesh generation is the creation of mesh points and their assignment to geometric points, as shown in the figure below.
CENTER_MP
WHEEL_MP
GAP_MP
Contents
PAGE 129
Part C: Description of the wheel base Mesh generation of the wheel base object
FLUX9.20
Goal
Action
To activate the Mesh context (display the Mesh toolbars) from the Context toolbar:
1. Click on the icon
PAGE 130
FLUX9.20
Part C: Description of the wheel base Mesh generation of the wheel base object
Goal
Data
The table below describes the characteristics of mesh points for the wheel.
Mesh points Name CENTER_MP WHEEL_MP GAP_MP Comment Center mesh point Wheel mesh point Air-gap mesh point Unit millimeter millimeter millimeter Value 4 1.9 1 Color Red Cyan Yellow
Action
Mesh toolbar:
1. Click on the icon
OR
2. Type CENTER_MP as name 3. Type Center mesh point as comment 4. In the Definition tab select MILLIMETER as associated length unit 5. Type 4 as value of the mesh point
9. Repeat steps 2 to 8 in the new dialog, entering data for the remaining entities (see the table above)
10. Click on Cancel to quit the sequence
PAGE 131
Part C: Description of the wheel base Mesh generation of the wheel base object
FLUX9.20
Result
PAGE 132
FLUX9.20
Part C: Description of the wheel base Mesh generation of the wheel base object
Goal
The mesh points will be assigned to the points, as shown in the figure below.
Point 5 Point 3
CENTER_MP
Point 1
WHEEL_MP
GAP_MP
Point 2
Point 4 Point 6
PAGE 133
Part C: Description of the wheel base Mesh generation of the wheel base object
FLUX9.20
Action
Mesh toolbar:
1. Click on the icon
OR
2. Select the point in the graphic scene: click* on Point 1 *keep the Ctrl key pressed for multiple selection
5. Repeat steps 2 to 4 in the new dialog to assign the WHEEL_MP mesh point and then the GAP_MP mesh point to the points (see the figure on the previous page)
6. Click on Cancel to quit the sequence
Result
The points to which the mesh points were assigned appear: in red for the point 1 in cyan for the points 2, 3 ,4 in yellow for the points 5, 6
PAGE 134
FLUX9.20
Part C: Description of the wheel base Mesh generation of the wheel base object
6.3.
Introduction
The last step of mesh generation of the wheel base object is meshing lines and faces. The meshed wheel base object is presented in the figure below.
Contents
Mesh lines and faces Delete the mesh Save and close the project
PAGE 135
Part C: Description of the wheel base Mesh generation of the wheel base object
FLUX9.20
Goal
The computation domain will be meshed in the following way: meshing lines, and meshing faces.
Action 1
Mesh toolbar:
1. Click on the icon
OR
Result 1
PAGE 136
FLUX9.20
Part C: Description of the wheel base Mesh generation of the wheel base object
Action 2
Mesh toolbar:
1. Click on the icon
OR
Result 2
PAGE 137
Part C: Description of the wheel base Mesh generation of the wheel base object
FLUX9.20
Goal
The mesh of the wheel will be deleted, since it will be remeshed once it is part of the final model.
Action
Mesh toolbar:
1. Click on the icon
OR
PAGE 138
FLUX9.20
Part C: Description of the wheel base Mesh generation of the wheel base object
Goal
Action
Project toolbar:
1. Click on the icon
OR
2. Click on Yes
PAGE 139
Part D: Description of the sensor Mesh generation of the wheel base object
FLUX9.20
PAGE 140
FLUX9.20
Part D: Description of the sensor Mesh generation of the wheel base object
This part D contains the geometry description and mesh generation of the sensor.
Project name
Contents
PAGE 141
Part D: Description of the sensor Mesh generation of the wheel base object
FLUX9.20
PAGE 142
FLUX9.20
7.
Introduction
WHEEL
PROBE 1
PROBE 2
Contents
165 171
PAGE 143
FLUX9.20
PAGE 144
FLUX9.20
7.1.
Introduction
Each time that a FLUX program is started, it is possible to open an existing project or create a new project.
Contents
PAGE 145
FLUX9.20
Goal
At the beginning of the model description a new project will be created. The new project will be renamed and saved.
Action 1
Project toolbar:
1. Click on the icon
OR
Result 1
A new project named ANONYMOUS opens in the Geometry context by default. The Geometry context icon is depressed, as shown in the following figure.
Action 2
Project toolbar:
1. Click on the icon
OR
PAGE 146
FLUX9.20
7.2.
Introduction
This section shows: the tools of objects management available in FLUX (flux object importation) the selected strategy for the geometry building of the sensor
Contents
149
Reading advice
This section presents an outline of the geometry building process of the sensor. Details on the different contents - definition of new concepts, explanation on the use of different tools, etc.- are given in the following sections.
PAGE 147
FLUX9.20
Strategy: reminder
The main principle of geometric construction adopted in this tutorial is the following: description of elementary parts of the structure (FLUX objects) in independent FLUX projects: probe, base wheel construction of the whole sensor in a new FLUX project by using of existing FLUX objects
Device analysis
The analysis of the device and the construction tools chosen within the framework of this tutorial are summarized in the table below.
it is planned
The operations
to use the
ROTZ_WHEEL
ALPHA
ANGLE
to use the ALPHA and ANGLE parameters to rotate the wheel and the probe
PAGE 148
FLUX9.20
Outline
An outline of the geometry description process to build the sensor geometry is presented in the table below.
Description
Stage
Building the whole wheel (see details in 7.3.2 Geometry building process of the wheel)
PAGE 149
FLUX9.20
PAGE 150
FLUX9.20
7.3.
Importation of the wheel base object and building the whole wheel
Introduction
The geometry description of the sensor begins by the importation of the wheel base object and building the whole wheel. The wheel base object and the whole wheel are presented below.
Wheel base Wheel
Contents
PAGE 151
FLUX9.20
Goal Action
The wheel base object will be imported into the current project. To import the wheel base object from the Project menu:
2. Click on
5. Click on OK
Result
PAGE 152
FLUX9.20
Process
The main steps of the geometry description process to build the whole wheel are presented in the table below.
Step 1 Action
Propagate the face (tooth) (and preparation of the mesh generator*) Extrude the line
Create an arc
Build faces
PAGE 153
FLUX9.20
Goal
The ROTZ_WHEEL transformation will be applied twice to propagate the face (tooth), as presented in the figure below.
Face 1
PAGE 154
FLUX9.20
Action
Geometry toolbar:
1. Click on the icon
OR
3. Select ROTZ_WHEEL as transformation 4. Type 2 as number of times to apply the transformation 5. Select Add Faces and associated Linked Mesh Generator* as building options for propagation
6. Click on OK
PAGE 155
FLUX9.20
Result
PAGE 156
FLUX9.20
Goal
The ROTZ_WHEEL transformation will be applied three times to extrude the line, as presented in the figure below.
Line 1
PAGE 157
FLUX9.20
Action
Geometry toolbar:
1. Click on the icon
OR
3. Select ROTZ_WHEEL as transformation 4. Type 3 as number of times to apply the transformation 5. Select Standard as type 6. Select Add Faces and associated Extrusion Mesh Generator* as building options for extrusion 7. Click on OK
Result
PAGE 158
FLUX9.20
About lines
Goal
One arc is required to connect points 3 and 10 to complete the wheel geometry, as presented in the figure below.
Point 10
Point 3
Data
The table below describes the characteristics of the line to create for the wheel.
Arc defined by its radius, starting and ending points No 19 Coordinate system WHEEL_CS Radius TOOTH_IR Starting point 3 Ending point 10
PAGE 159
FLUX9.20
Action
Geometry toolbar:
1. Click on the icon
OR
2. In the Geometric Definition tab select Arc defined by its radius, starting and ending points as type of the line 3. Select WHEEL_CS as coordinate system 4. Type TOOTH_IR as arc radius 5. Click on Point 3 in the graphic scene => its reference number enters as starting point 6. Click on Point 10 in the graphic scene => its reference number enters as ending point
Result
PAGE 160
FLUX9.20
Goal
The ROTZ_WHEEL transformation will be applied twice to propagate the line, as presented in the figure below.
Line 19
PAGE 161
FLUX9.20
Action
Geometry toolbar:
1. Click on the icon
OR
3. Select ROTZ_WHEEL as transformation 4. Type 2 as number of times to apply the transformation 5. Click on OK
6. Click on Cancel to quit the sequence
Result
PAGE 162
FLUX9.20
Goal
Action
Geometry toolbar:
1. Click on the icon
OR
Result
PAGE 163
FLUX9.20
PAGE 164
FLUX9.20
7.4.
Importation of the probe objects and positioning of the wheel and probes
Introduction
The next phases of geometry building are: the importation of the first probe object, the positioning of the wheel and the first probe by modifying the geometric parameters the importation of the second probe object
Contents
Import the first probe object Modify the parameters Import the second probe object
PAGE 165
FLUX9.20
Goal
PAGE 166
FLUX9.20
Action
2. Click on
5. Click on OK
Result
PAGE 167
FLUX9.20
Goal
Two geometric parameters will be modified: ALPHA, corresponding to the angle of the wheel position ANGLE, corresponding to the angle of the probe position
ALPHA
ANGLE
Action
To modify the ALPHA and ANGLE parameters from the Data tree:
1. Click on ALPHA and ANGLE keeping the Ctrl key pressed 2. Right click to open the contextual menu and click on Edit array
Result
PAGE 168
FLUX9.20
Goal
The second probe object will be imported into the current project.
PAGE 169
FLUX9.20
Action
2. Click on
5. Click on OK
Result
PAGE 170
FLUX9.20
7.5.
Introduction
The last phase of geometry building is adding an infinite box to close the study domain.
Contents
PAGE 171
FLUX9.20
In the FLUX software, using a transformation to model an infinite domain is called the infinite box technique. The exterior domain (infinite) is linked to an image domain (called the infinite box) through a space transformation.
Principle of use
The use of the infinite box implicitly assumes a null field at infinity. The boundary conditions on the corresponding boundaries of the infinite box are set automatically in the physical module.
The infinite box available for 2D study domain and their characteristics are presented in the table below.
Infinite box Characteristics disc: centered in (0,0) in the global coordinate system comprises 8 points, 4 lines dimensions set by the user
Length and angle units are those associated with the domain.
How to choose The dimensions of the infinite box are defined by the user. This requires a the dimensions? certain experience because there is no general rule.
We can, however, give some advice: the distance between the device and the interior surface of the infinite box is at least equal to the dimension of the device in this direction the dimensions of the infinite box are related to the mesh. In FLUX 3D, the number of elements on the thickness of the box must be roughly equal (at least) to two (second-order elements) or to three (first-order elements). The mesh and the size of the infinite box must take into account the studied phenomena. The computations should be performed as follows: for computing of a global or a local quantity inside the device, it is unnecessary to refine the mesh of the infinite box; for computing of the field created outside the device, it is necessary to define the box of more significant size and to refine the mesh inside. It is recommended to parameterize the dimensions of the infinite box to adjust its size during the meshing.
PAGE 172
FLUX9.20
Goal
Data
The main characteristics of the infinite box are shown in the following table.
Infinite box of Disc type Internal radius 60 External radius 70
Action
Geometry toolbar:
1. Click on the icon
OR
2. Select Disc as type of the infinite box 3. Type 60 as internal radius 4. Type 70 as external radius 5. Click on OK
Result
PAGE 173
FLUX9.20
Goal
Action
Geometry toolbar:
1. Click on the icon
OR
Result
PAGE 174
FLUX9.20
8.
Introduction
Contents
PAGE 175
FLUX9.20
PAGE 176
FLUX9.20
8.1.
Introduction
This section shows the available meshing tools and the main phases for mesh generation of the sensor.
Contents
PAGE 177
FLUX9.20
Available tools
The tools available for mesh generation are the same as previously described: mesh points, mesh lines and mesh generators.
An analysis of the device is necessary to determine the strategy of meshing, and the choice of mesh tools. The analysis of the device and the mesh tools chosen within the framework of this tutorial are summarized in the table below.
it is planned
MEDIUM LARGE
The operations
PAGE 178
FLUX9.20
Outline
Outer size infinite box mesh point: LARGE = 6 mm Inner size infinite box mesh point: MEDIUM = 3 mm
MEDIUM
LARGE
PAGE 179
FLUX9.20
PAGE 180
FLUX9.20
8.2.
Introduction
The first step of mesh generation is the modification of predefined mesh points and their assignment to the geometric points, as shown in the figure below.
LARGE
MEDIUM
Contents
PAGE 181
FLUX9.20
Goal
Action
To activate the Mesh context (display the Mesh toolbars) from the Context toolbar:
1. Click on the icon
PAGE 182
FLUX9.20
Goal
The LARGE mesh point, applied to the points on the outer lines of the infinite box, and the MEDIUM mesh point, applied to the points on the inner lines of the infinite box, will be modified.
Data
The table below describes the new values for the LARGE and MEDIUM mesh points.
Mesh points Name LARGE MEDIUM Comment Large mesh size Medium mesh size Value 6 3 Color Red Turquoise
Action
3. Type 6 as value for the LARGE mesh point 4. Type 3 as value for the MEDIUM mesh point 5. Click on OK
PAGE 183
FLUX9.20
Goal
The mesh points will be assigned to the points on the infinite box as follows: the MEDIUM mesh point will be assigned to the points on the inner lines
MEDIUM
the LARGE mesh point will be assigned to the points on the outer lines
LARGE
PAGE 184
FLUX9.20
Action
Mesh toolbar:
1. Click on the icon
OR
2. Select the points in the graphic scene: click on the points, keeping the Ctrl key pressed
PAGE 185
FLUX9.20
PAGE 186
FLUX9.20
8.3.
Introduction
The last step of mesh generation of the sensor is meshing lines and faces. The meshed sensor is presented in the figure below.
Contents
Mesh lines and faces Save the project and close the Preflux window
PAGE 187
FLUX9.20
Goal
The computation domain will be meshed in the following way: meshing lines and meshing faces.
Action 1
Mesh toolbar:
1. Click on the icon
OR
Result 1
PAGE 188
FLUX9.20
Action 2
Mesh toolbar:
1. Click on the icon
OR
Result 2
: : : : : :
PAGE 189
FLUX9.20
Goal
The current project will be saved and the Preflux window will be closed to return to the Flux Supervisor 9.2.
Action 1
Project toolbar:
1. Click on the icon
OR
Action 2
Project toolbar:
1. Click on the icon
OR
PAGE 190
FLUX9.20
9.
Annex
This chapter describes the utilization of command files.
Introduction
Contents
PAGE 191
FLUX9.20
PAGE 192
FLUX9.20
9.1.
Introduction
Contents
PAGE 193
FLUX9.20
Introduction
Instead of manually executing a series of repetitive actions in FLUX, you can save time by building and executing a command file that performs the task in your place automatically (like a WORD or EXCEL macro).
A command file is a series of FLUX commands and instructions written in the Python language intended to execute a series automatically.
Interest
A command file is useful for: accelerating the most frequent operations combining several commands performing a complex series of tasks
PAGE 194
FLUX9.20
Goal
After making a copy of the spy file (Preflu2D_log.py) of the current project in a new directory (Tutorial), we will restart the Preflux window by executing this spy file.
Action
2. Select Preflu2D_log.py
3. Click on Open
Result
The new files with .FLU extension are recreated in the new directory: PROBE_2D.FLU WHEEL_BASE_2D.FLU SENSOR_2D.FLU
PAGE 195
FLUX9.20
PAGE 196