Академический Документы
Профессиональный Документы
Культура Документы
Flux
by CEDRAT
CEDRAT
15 Chemin de Malacher - Inovalle
38246 Meylan Cedex
FRANCE
Phone: +33 (0)4 76 90 50 45
Fax: +33 (0)4 56 38 08 30
Email: cedrat@cedrat.com
Web: http://www.cedrat.com
Foreword
*(Please read before starting this document)
Description of The goal of this basic example is to familiarize the user with the Flux
the example Magneto Static application using a simple device.
This example contains the general steps and all the data needed to describe
the physics,the solving and the postprocessing for the given cases. For this
example, the geometry has been previously described in the First steps in
using Flux: Geometry and Mesh Tutorial - Basic example.
Required This basic example is designed for the user who is already familiar with
knowledge the basic functions of Flux software.
To obtain this knowledge, first, the user should go through the First steps
in using Flux: Geometry and Mesh Tutorial - Basic example. This
document explains, in detail, all the actions necessary to build the
geometry and mesh of a project in the Flux study domain.
Support files To view the completed phases of the example project, the user will find
included... the .py files, including the geometry, physics and post processing
descriptions. The .py files corresponding to the different study cases in
this example are available in the folder:
\DocExamples11.1\Examples2D\MagnetostaticApplication\
Supplied files are command files written in Pyflux language. The user can
launch them in order to automatically recover the Flux projects for each
case.
**(.py files are launched by accessing Project/Command file from the
Flux drop down menu.)
Note : some directories may contain a main.py enabling the launch of the
command files
*This file correspond to SENSOR_2D created in the first steps in using Flux-
geometry and mesh tutorial
** This file correspond to the Physbuilt.FLU of CASE 1
Flux 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
1.2. Strategy to build the Flux project ..................................................................................................7
1.2.1. Main stages for physical description...............................................................................8
2. Construction of the Flux project .............................................................................................11
2.1. Physical description process.......................................................................................................13
2.1.1. Define the physical application .....................................................................................14
2.1.2. Create materials ...........................................................................................................15
2.1.3. Create face regions ......................................................................................................16
2.1.4. Create measuring coils: coil conductors components and coil conductor regions.......17
2.1.5. Assign face regions to faces.........................................................................................18
2.1.6. Orient material for face region ......................................................................................19
3. Case 1: static study ...............................................................................................................21
3.1. Case 1: solving process ..............................................................................................................23
3.2. Case 1: results post-processing..................................................................................................25
3.2.1. Display default graphic post processing .......................................................................26
3.2.2. Display arrows of the magnetic flux density on a region boundaries ...........................28
3.2.3. Display isovalues of the magnetic flux density on a 2D grid ........................................29
3.2.4. Compute the magnetic flux density on a point .............................................................31
3.2.5. Compute the magnetic force on face regions...............................................................32
3.2.6. Plot a 2D curve of the magnetic field strength along a path and export the curve.......33
3.2.7. Plot a 2D curve of normal and tangential components of the magnetic field
along a path ..................................................................................................................35
4. Case 2: parametric computation............................................................................................37
4.1. Case 2: solving process ..............................................................................................................39
4.2. Case 2: results post-processing..................................................................................................41
4.2.1. Display default graphic post processing (alpha=120) .................................................42
4.2.2. Create animation of isovalues of the magnetic flux density on face regions
versus position parameter ............................................................................................43
4.2.3. Plot a 2D curve of the flux through coil conductors versus an I/O parameter ..............44
4.2.4. Plot a 3D curve of the magnetic flux density on a path versus an I/O parameter ........45
PAGE A
Table of Contents Flux
1. General information
Introduction This chapter contains the presentation of the studied device and the Flux
software.
1.1. Overview
Introduction This section presents the studied device (a variable reluctance speed sensor)
and the strategy of the device description in Flux.
COIL 1+
MAGNET 1 PROBE 1
WHEEL
COIL 1-
COIL 2+
MAGNET 2 PROBE 2
COIL 2-
Operating The rotation of the cogged wheel near the tip of the probes changes the
principle magnetic flux around probes 1 and 2, creating an analog voltage signal that
can be measured by the probes.
Studied cases Two cases are carried out with the Magneto Static application:
case 1: static study (mono value)
case 2: multi-parametric static study (multi values)
Introduction This section presents outlines of physical properties description process of the
sensor.
Stage Description
Definition of the
Magneto Static 2D
application and
1 (solved with Flux 3D solver)
definition of the
2D plan (6mm)
depth of the domain
FERRITE magnet with a linear B(H)
Creation of two characteristic
2
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
3
region MAGNET1 region corresponding with the
first magnet of the device
MAGNET2 re region corresponding with
the second 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
4
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
Stage Description
COIL1P
AIR_EXT
MAGNET1
COIL1N
WHEEL
COIL2P
Assignment of face
5
regions
MAGNET2
AIR WHEEL
COIL2N
INFINITE
6 Material orientation
Introduction This chapter contains the physical description of the sensor. For a more
detailed description of the basic geometry of the sensor, the user should
reference the Flux 2D Generic Tutorial of Geometry and Mesh. The user must
have good understanding of all functionalities of the Flux preprocessor.
Introduction This section presents the definition of the physical properties materials and
regions.
Goal First, the physical application is defined. The required physical application is
the Magneto Static 2D application.
Data The characteristics of the application are presented in the table below.
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 The characteristics of the materials are presented in the tables below.
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 Type Material Color
AIR_EXT Air or vacuum region Turquoise
AIR_WHEEL Air or vacuum region Turquoise
INFINITE* Air or vacuum region Turquoise
MAGNET1 Magnetic non-conducting region FERRITE Magenta
MAGNET2 Magnetic non-conducting region FERRITE Magenta
WHEEL Magnetic non-conducting region STEEL Cyan
*The region already created and assigned during the creation of the infinite box,
however the user need to enter the type of the region.
Data (1) The characteristics of the electric components (of coil conductor type) are
presented in the table below:
Data (2) The characteristics of the regions (of coil conductor type) are presented in the
table below:
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
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.
COIL1P
AIR_EXT
MAGNET1
COIL1N
WHEEL
COIL2P
MAGNET2
AIR_WHEEL
COIL2N
INFINITE
Data The orientation of the material region is related in the table below
Starting Flux The starting project is the Flux project TestCase_INI.FLU. This project
project contains:
the geometry description of the device
the mesh and computation domain
the initial physical description of the contactor
Goal The case 1 is solved using the default scenario with reference values.
Solving Solve
Introduction This section explains how to analyze the principal results of case 1.
Goal The default graphic post processing is displayed on the device (excluding the
infinite box) :
- Isovalues of the magnetic flux density
- Arrows of the magnetic flux density
- Isolines of the vector potential
Result (1) The following chart shows the isovalues of the magnetic flux density on the
device.
Result (2) The following chart shows the arrows of the magnetic flux density on the
device.
Result (3) The following chart shows the isolines of the vector potential on the device.
Goal The arrows of the magnetic flux density on wheel region boundaries are
displayed.
Data The characteristics of the arrows are presented in the table below.
Arrows on boundary
Name Groups Quantity
WHEEL_CONTOUR S_WHEEL Magnetic flux density / Vector
Data (1) The characteristics of the 2D grid are presented in the table below.
Data (2) The characteristics of the isovalues are presented in the table below.
Isovalues on 2D grid
2D grid Quantity
GRID_ONMAGNET Magnetic flux density / Vector
Result The following chart shows the magnetic flux density on the
GRID_ONMAGNET grid
Data The characteristics of the point are presented in the table below.
Result The following values show the X and Y components of the magnetic flux
density at the above-described point.
Goal The value of the magnetic force is computed on the selected face 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.
Result The following dialog box shows the result of computation of the magnetic
force on the MAGNET2 face region.
3.2.6. Plot a 2D curve of the magnetic field strength along a path and
export the curve
Goal The variation of the magnetic flux density is computed along the selected path
and displayed as curve.
Data (1) The characteristics of the path are presented in the table below.
Data (2) The characteristics of the curve are presented in the table below.
2D curve (path)
Name Comment Path Quantity
Magnetic field /
Magnitude
Magnetic field strength Magnetic field /
CURVE SEGMENT
along the segment in magnet Normal component
Magnetic field /
Tangential component
Result The following curves show the components of the magnetic field strength
along the X and Y axes with Absolute view mode.
Goal The variation of the normal and tangent components of the magnetic field is
computed along the selected path and displayed as curve.
Data (1) The characteristics of the path are presented in the table below.
Path definition
Extremities angles Discretiz
Coord. Center of arc
around Z Radius Region ation by
system
First Second Starting Ending intervals
XY1 0 0 -40 70 21.75 AIR_EXT 30
Data (2) The characteristics of the curve are presented in the table below.
2D curve (path)
Name Comment Path Quantity
Magnetic field /
Normal and tangent magnetic Normal component
CURVE_1 AIR_GAP
field along the air gap Magnetic field /
Tangential component
Result The following curves show the normal and tangent components of the
magnetic field along the X and Y -axes.
Starting Flux The starting project is the Flux project GEO_MESH_PHYS.FLU. This
project project contains:
the geometry description of the device
the mesh and computation domain
the initial physical description of the contactor
Project name The new Flux project is saved under the name of CASE2.FLU.
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 Comment
SCENARIO1 study using a geometrical parameter
Solving scenario
Parameter control
Interval
Controlled
Type Higher
parameter Lower limit Method Step value
limit
step
ALPHA Multi-values 75 195 3
value
Solving Solve
Introduction This section explains how to analyze the principal results of case 2.
Action First, the computation step of the geometrical parameterized study is selected
(alpha=120). Then, the default graphic post processing is displayed via
isovalue plots of color shadings.
Data The characteristics of the scenario and computation step selection are
presented in the table below.
Result The following chart shows the magnetic flux density on the selected regions.
Goal The animation of isovalues of the magnetic flux density for different positions
of the wheel is created.
Data The characteristics of the animation are presented in the table below.
Animation
General Display
Pilot Steps
Build
Name frequency Isovalues
Parameters min max options
1/
4_ISOVAL
Build
ANIMATION_1 ALPHA 75 195 2 _NO_INFI
video
NITE
Result The animation video is created in the project repertory in a .AVI file.
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 The characteristics of the curve are presented in the table below
Result The following curves show the variation of flux through coil conductor in
function of the angle variation of the cogged wheel.
Goal The variation of the magnetic flux density is computed along the selected path
(already defined in case 1) for different positions of the wheel and displayed
as curve.
Data The characteristics of the curve are presented in the table below
Result The following curve shows the variation of the magnetic flux density along
the path for different positions of the wheel.