Beruflich Dokumente
Kultur Dokumente
Flux 2D
Application
Tutorial of Magnetostatics
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 Email: cedrat@cedrat.com Web: http://www.cedrat.com
Foreword
About the tutorial
The objective of this document is to discover and master the various functionalities of the software using the example of a simple device. This tutorial contains the general steps and all the data needed to describe the physics and the computation of the sensor model. Geometry and mesh of the sensor model are already described in the Flux 2D Generic Tutorial of Geometry and Mesh.
Required knowledge
Before proceeding with this tutorial, the user must understand the functionalities of the Flux software. The user can gain this knowledge by initially completing the Generic tutorial. The Flux 2D Generic Tutorial of Geometry and Mesh explains in detail all actions to build the geometry and mesh of the study domain.
Path
The files corresponding to the different cases studied in this tutorial are available in the folder: \DocExamples\Examples2D\MagnetostaticApplication\
The files provided for this tutorial are: command files, come in handy to build the Flux projects Flux files already built project files The use of files is explained in the table below. the user can execute the command file GeoMesh_2D.py GeoMeshPhys.py Case1.py Case2.py
follow 2D Generic Tutorial 2.1of this tutorial 3. of this study 4. of this study
Flux10
Table of Contents
Table of Contents
1. General information .................................................................................................................1
1.1. Overview .......................................................................................................................................3 1.1.1. Description of the studied device....................................................................................4 1.1.2. Studied cases .................................................................................................................5 Strategy to build the Flux project ..................................................................................................6 1.2.1. Main phases for physical description..............................................................................7 Physical description process.......................................................................................................10 2.1.1. Define the physical application .....................................................................................11 2.1.2. Create materials ...........................................................................................................12 2.1.3. Create face regions ......................................................................................................13 2.1.4. Create measuring coils: coil conductors components and coil conductor regions.......14 2.1.5. Assign face regions to faces.........................................................................................15 2.1.6. Orient material for face region ......................................................................................16 Case 1: solving process ..............................................................................................................18 Case 1: results post-processing..................................................................................................19 3.2.1. Compute and display isovalues of the magnetic flux density on volume regions ........20 3.2.2. Compute and display arrows of the magnetic flux density in faces region...................21 3.2.3. Create 2D grid for computation and display isovalues of the magnetic flux density...........................................................................................................................22 3.2.4. Compute and display isovalues of the magnetic flux density on a 2D grid ..................23 3.2.5. Compute and display isovalues of the magnetic field strength on a 2D grid................24 3.2.6. Compute the magnetic flux density on a point .............................................................25 3.2.7. Plot a 2D curve of the magnetic field strength along a path.........................................26 3.2.8. Compute the magnetic force on face regions...............................................................28 Case 2: solving process ..............................................................................................................30 4.1.1. Create sensors .............................................................................................................31 4.1.2. Define the solving scenario and solve the project ........................................................32 Case 2: results post-processing..................................................................................................33 4.2.1. Display a color-shaded plot of the magnetic flux density (alpha=120) .......................34 4.2.2. Display arrows of the magnetic flux density (alpha=120) ...........................................35 4.2.3. Plot a 2D curve of the flux through coil conductors versus an I/O parameters (for alpha=120) ..................................................................................................................35
1.2.
4.2.
PAGE A
Flux 10
General information
1.
General information
This chapter contains the presentation of the studied device and the Flux software.
Introduction
Contents
This chapter contains the following topics: Topic Overview Strategy to build the Flux project See Page 3 6
Tutorial of Magnetostatics
PAGE 1
General information
Flux10
PAGE 2
Tutorial of Magnetostatics
Flux 10
General information
1.1.
Overview
Introduction
This section presents the studied device (a variable reluctance speed sensor) and the strategy of the device description in Flux.
Contents
This section contains the following topics: Topic Description of the studied device Studied cases See Page 4 5
Tutorial of Magnetostatics
PAGE 3
General information
Flux10
Studied device
The device to be analyzed is a variable reluctance speed sensor. The studied device consists of: a cogged wheel (made of steel) with three teeth two probes with a magnet (made of ferrite) and a coil around each The physical model of the studied device is presented in the figure below.
COIL 1+ MAGNET 1 PROBE 1
WHEEL COIL 1-
Operating principle
The rotation of the cogged wheel near the tip of the probes changes the magnetic flux, creating an analog voltage signal that can be measured in probes.
PAGE 4
Tutorial of Magnetostatics
Flux 10
General information
Studied cases
Three cases are carried out in a Magneto Static application: case 1: static study case 2: multi-parametric computation
Case 1
This study is a very easy problem of Magneto Statics. In this study, a magneto static analysis of the sensor is performed in a medium position: the two probes between two teeth. A geometric parameter , which allow us to control the angle of the wheel around Z axis, has a fixed value = 75 The coils are not current supplied (=measuring coils)
Case 2
The angle of the cogged wheel will vary. In this parameterized study, the geometric parameter is the angle that varies in the range [75, 195] with a step of 3.
Tutorial of Magnetostatics
PAGE 5
General information
Flux10
1.2.
Introduction
This section presents outlines of physical properties description process of the sensor.
Contents
This section contains the following topics: Topic Main phases for physical description See Page 7
PAGE 6
Tutorial of Magnetostatics
Flux 10
General information
Outline
An outline of the physical description process of the sensor is presented in the table below. Stage 1 Definition of the application and definition of the depth of the domain Description Magneto Static 2D (solved with Flux 3D solver) 2D plan (6mm)
FERRITE magnet with a linear B(H) Creation of two characteristic materials STEEL ferromagnetic material with a non linear B(H) characteristic AIR_EXT region, corresponding with the air surrounding the device AIR_WHEEL region, corresponding with Creation of four face the air in the cogged wheel region MAGNET1 region corresponding with the first magnet of the device MAGNET2 re region corresponding with the first magnet of the device COIL_CONDUCTOR1 COIL_CONDUCTOR2 COIL1N region, corresponding with the Creation of two negative part of the first coil coils: COIL1P region, corresponding with the Two components positive part of the first coil Four face regions COIL2N region, corresponding with the negative part of the second coil COIL2P region, corresponding with the positive part of the second coil
Continued on next page
Tutorial of Magnetostatics
PAGE 7
General information
Flux10
Outline (continued)
Stage
Description
COIL1P AIR_EXT MAGNET1 COIL1N WHEEL
COIL2P
MAGNET2
COIL2N INFINITE
Material orientation
PAGE 8
Tutorial of Magnetostatics
Flux 10
2.
Introduction
The starting project is the Flux project GEO_MESH.FLU. This project contains: the geometry description of the contactor the mesh of the computation domain
Contents
This chapter contains the following topics: Topic Physical description process See Page 10
Tutorial of Magnetostatics
PAGE 9
Flux10
2.1.
Introduction
This section presents the definition of the physical properties materials and regions.
Contents
This section contains the following topics: Topic Define the physical application Create materials Create face regions Create measuring coils Assign face regions to faces Orient material for face region See Page 11 12 13 14 15 16
PAGE 10
Tutorial of Magnetostatics
Flux 10
Goal
First, the physical application is defined. The required physical application is the Magneto Static 2D application.
Data
Tutorial of Magnetostatics
PAGE 11
Flux10
Goal
Two materials are created directly for the physical description of the sensor; the two materials are characterized by their magnetic properties: the first material is FERRITE defined for the coiled magnets the second material is STEEL defined for the cogged wheel
Data
B(H) isotropic analytic saturation (arctg 2 coef.) Name STEEL Initial relative permeability 5000 Saturation magnetization (T) 1.9
PAGE 12
Tutorial of Magnetostatics
Flux 10
Goal
Five face regions are necessary for the physical description of the sensor. Five following face regions will be created: the AIR_EXT region, corresponding with the air surrounding the device the AIR_WHEEL region, corresponding with the air in the cogged wheel the MAGNET1 region, corresponding with the first magnet of the device the MAGNET2 region, corresponding with the second magnet of the device the WHEEL region, corresponding with the cogged wheel The INFINITE region, already created during the infinite box creation, will be edited to activate its physical properties.
Data
The characteristics of the face regions are presented in the table below.
Face region Name AIR_EXT Type Material Color
Air or vacuum region Air or vacuum region Air or vacuum region Magnetic non-conducting region Magnetic non-conducting region Magnetic non-conducting region
*The region already created and assigned during the creation of the infinite box, however the user need to enter the type of the region.
Tutorial of Magnetostatics
PAGE 13
Flux10
2.1.4. Create measuring coils: coil conductors components and coil conductor regions
Goal
About coil
In magnetic applications, a coil is represented by one face region or by a group of face regions of the coil conductor type. The value I of the current in a wire (or turn) of the coil is set by means of an electric component (of coil conductor type) associated to the coil.
Data (1)
The characteristics of the electric components (of coil conductor type) are presented in the table below:
Stranded coil conductor with imposed current (A) Name COIL_CONDUCTOR1 COIL_CONDUCTOR2 comment Coil conductor on the first coil Coil conductor on the second coil Value 0 0
Data (2)
The characteristics of the regions (of coil conductor type) are presented in the table below:
Coil conductor type region
Face region
Component
Orientation
Series or parallel
Color
the COIL1N region, corresponding with the negative part of the first coil the COIL1P region, corresponding with the positive part of the first coil the COIL2N region, corresponding with the negative part of the second coil the COIL2P region, corresponding with the positive part of the second coil
PAGE 14
Tutorial of Magnetostatics
Flux 10
Goal
The INFINITE region has been already assigned during the creation of the infinite box. The nine regions (AIR_EXT, AIR_INT, WHEEL, COIL1P, COIL1N, MAGNET1, COIL2P, COIL2N, and MAGNET2) are assigned to faces.
Outline
WHEEL
COIL1N
COIL2P
MAGNET2 AIR_WHEEL
COIL2N INFINITE
Tutorial of Magnetostatics
PAGE 15
Flux10
Goal
Data
PAGE 16
Tutorial of Magnetostatics
Flux 10
3.
Case 1
This study is a very easy problem of Magneto Statics. In this study, a magneto static analysis of the sensor is performed in a medium position: the two probes between two teeth. A geometric parameter , which allow us to control the angle of the wheel around Z axis, has a fixed value = 75 The coils are not current supplied (=measuring coils)
The starting project is the Flux project GEO_MESH_PHYS.FLU. This project contains: the geometry description of the device the mesh and computation domain the initial physical description of the contactor
Project name
Contents
This chapter contains the following topics: Topic Case 1: solving process Case 1: results post-processing See Page 18 19
Tutorial of Magnetostatics
PAGE 17
Flux10
3.1.
Introduction
Flux module
Action
PAGE 18
Tutorial of Magnetostatics
Flux 10
3.2.
Introduction
Contents
This section contains the following topics: Topic Compute and display isovalues of the magnetic flux density on volume regions Compute and display arrows of the magnetic flux density in faces region Create 2D grid for computation and display Compute and display isovalues of the magnetic flux density on a 2D grid Compute and display isovalues of the magnetic field strength on a 2D grid Compute the magnetic flux density on a point Plot a 2D curve of the magnetic field strength along a path Compute the magnetic force on face regions See Page 20 21 22 23 24 25 26 28
Tutorial of Magnetostatics
PAGE 19
Flux10
3.2.1. Compute and display isovalues of the magnetic flux density on volume regions
Goal
The scalar quantities of the magnetic flux density are computed on the selected volume region and displayed via isovalue plot of color shadings.
Data
Mod(B)
Result
The following chart shows the magnetic flux density on the AIR_EXT, COIL1P, COIL1N, COIL2P, COIL2N, MAGNET1, MAGNET2, and WHEEL face regions.
PAGE 20
Tutorial of Magnetostatics
Flux 10
3.2.2. Compute and display arrows of the magnetic flux density in faces region
Goal
The vector quantities of the magnetic flux density are computed in the selected face regions and displayed in the form of arrows.
Data
(B)
Result
The following arrows show direction and magnitude of the magnetic flux density in the AIR_EXT, COIL1P, COIL1N, COIL2P, COIL2N, MAGNET1, MAGNET2 and WHEEL face regions.
Tutorial of Magnetostatics
PAGE 21
Flux10
3.2.3. Create 2D grid for computation and display isovalues of the magnetic flux density
Goal
Data
GRID_ONMAGNET
Rectangular 2D grid in XY plane: definition Characteristics along X Number of Positive X Negative X disc. elements 12 12 30 Characteristics along Y Number of Positive Y Negative Y disc. elements 6 6 20
PAGE 22
Tutorial of Magnetostatics
Flux 10
3.2.4. Compute and display isovalues of the magnetic flux density on a 2D grid
Goal
The scalar quantities of the magnetic flux density are computed on the 2D grids and displayed via isovalue plots of color shadings.
Data
Result
The following chart shows the magnetic flux density on the GRID_ONMAGNET grid
Tutorial of Magnetostatics
PAGE 23
Flux10
3.2.5. Compute and display isovalues of the magnetic field strength on a 2D grid
Goal
The scalar quantities of the magnetic flux density are computed on the 2D grids and displayed via isovalue plots of color shadings.
Data
Result
The following chart shows the magnetic field strength on the GRID_ONMAGNET grid
PAGE 24
Tutorial of Magnetostatics
Flux 10
Goal
Data
Point defined by its coordinates Coordinates first second 0 0 localization no constraint Coord. system PROBE_CS001 Region MAGNET2
Result
The following values show the X and Y components of the magnetic flux density at the above-described point.
Tutorial of Magnetostatics
PAGE 25
Flux10
Goal
The variation of the magnetic flux density is computed along the selected path and displayed as curve.
Data (1)
Path defined by coordinates Path points Starting point Ending point Coordinates Coordinates Coord. system Coord. system First Second First Second PROBE_CS001 -15 0 PROBE_CS001 15 0
Data (2)
PAGE 26
Tutorial of Magnetostatics
Flux 10
Result
The following curves show the components of the magnetic field strength along the X and Y -axes.
Tutorial of Magnetostatics
PAGE 27
Flux10
Goal
The value of the magnetic force is computed on the selected volume region and the result of computation is displayed in the dialog box.
Data
The characteristics of the magnetic force computation are presented in the table below.
Predefined magnetic force Name FORCE_MAGNET Face region MAGNET2
Result
The following dialog box shows the result of computation of the magnetic force on the MAGNET2 face region.
PAGE 28
Tutorial of Magnetostatics
Flux 10
4.
Case 2
The angle of the cogged wheel will vary. In this parametric study, the geometric parameter is the angle that varies in the range [75, 195] with a step of 3.
The starting project is the Flux project GEO_MESH_PHYS.FLU. This project contains: the geometry description of the device the mesh and computation domain the initial physical description of the contactor
Project name
Contents
This chapter contains the following topics: Topic Case 2: solving process Case 2: results post-processing See Page 30 33
Tutorial of Magnetostatics
PAGE 29
Flux10
4.1.
Introduction
Flux module
Contents
This section contains the following topics: Topic Create sensors Define the solving scenario and solve the project See Page 31 32
PAGE 30
Tutorial of Magnetostatics
Flux 10
Goal
Two sensors are created to compute the magnetic flux through the coils
Data
Tutorial of Magnetostatics
PAGE 31
Flux10
Goal
The scenario with the controlled geometrical parameter is defined for a varying solving process.
Data
The characteristics of the solving scenario are presented in the tables below.
Solving scenario Name SCENARIO1 Comment study using a geometrical parameter Solving scenario Parameter control Controlled parameter ALPHA Type Multi-values Lower endpoint 75 Interval Upper Method endpoint step 195 value Step value 3 Type multi-values
Action
PAGE 32
Tutorial of Magnetostatics
Flux 10
4.2.
Introduction
Contents
This section contains the following topics: Topic Display a color-shaded plot of the magnetic flux density Display arrows of the magnetic flux density Display arrows of the magnetic flux density See Page 34 35 35
Tutorial of Magnetostatics
PAGE 33
Flux10
Goal
First, the computation step of the geometrical parameterized study is selected (alpha=120). Then, the scalar quantities of the magnetic flux density are computed on the selected face regions and displayed via isovalue plots of color shadings.
Data (1)
The characteristics of the scenario and computation step selection are presented in the table below.
Scenario and computation step Scenario SCENARIO1 Computation step Parameter name Value ALPHA 120
Data (2)
Mod(B)
Result
The following chart shows the magnetic flux density on the selected regions.
PAGE 34
Tutorial of Magnetostatics
Flux 10
Goal
First, the computation step of the geometrical parameterized study is selected (alpha =120). Then, the scalar quantities of the magnetic flux density are computed on the selected face regions and displayed via arrows.
Data (1)
The characteristics of the scenario and computation step selection are presented in the table below.
Scenario and computation step Scenario CASE2 Computation step Parameter name Value ALPHA 120
Data (2)
(B)
Result
The following chart shows the magnetic flux density on the selected regions.
Tutorial of Magnetostatics
PAGE 35
Flux10
4.2.3. Plot a 2D curve of the flux through coil conductors versus an I/O parameters (for alpha=120)
Goal
The values of the flux through the two coil conductor versus the angular position of the cogged wheel are computed and displayed in a curve
Data
Name CURVE
Name ALPHA
Result
The following curves show the variation of flux through coil conductor in function of the angle variation of the cogged wheel.
PAGE 36
Tutorial of Magnetostatics