FEMM 4 2 CAD program for electromagnetic field

  • Slides: 63
Download presentation
FEMM 4. 2 = CAD program for electromagnetic field

FEMM 4. 2 = CAD program for electromagnetic field

Introduction to FEM • FEMM is a suite of programs for solving lowfrequency electromagnetic

Introduction to FEM • FEMM is a suite of programs for solving lowfrequency electromagnetic problems on twodimensional planar and axisymmetric domains. The program currently addresses – linear/nonlinear magnetostatic problems, – linear/nonlinear time harmonic magnetic problems – linear electrostatic problems, • steady-state heat flow problems. 2 07/12/2020

FEMM is divided into three parts: • Interactive shell (pre-processor and a post-processor for

FEMM is divided into three parts: • Interactive shell (pre-processor and a post-processor for the various types of problems solved by FEMM 4. 2. – CADlike interface for laying out the geometry of the problem to be solved and for defining material properties and boundary conditions. – Field solutions can be displayed in the form of contour and density plots. – The program allows the user to inspect the field at arbitrary points, as well as evaluate a number of different integrals and plot various quantities of interest along user-defined contours. • Triangle. exe breaks down the solution region into a large number of triangles, a vital part of the finite element process. • Solvers (fkern. exe for magnetics; belasolv for electrostatics); Each solver takes a set of data files that describe problem and solves the relevant partial differential equations to obtain values for the desiredfield throughout the solution domain. 3 07/12/2020

The idea of finite elements • to break the problem down into a large

The idea of finite elements • to break the problem down into a large number of regions, each with a simple geometry (e. g. triangles). • over these simple regions, the “true” solution for desired potential is approximated by a very simple function. • the advantage of breaking the domain down into a number of small elements: – the problem becomes transformed from a small but difficult to solve into a big but relatively easy to solve. 4

Example of the planar electrostatic model 5 07/12/2020

Example of the planar electrostatic model 5 07/12/2020

FEM analysis, example of discretization 6 07/12/2020

FEM analysis, example of discretization 6 07/12/2020

Some posibilities 7 07/12/2020

Some posibilities 7 07/12/2020

FEM • The finite element method (FEM) (finite element analysis (FEA)) is a numerical

FEM • The finite element method (FEM) (finite element analysis (FEA)) is a numerical techniques for finding approximate solutions of partial differential equations (PDE) as well as of integral equations. • The solution approach is based either on eliminating the differential equation completely (steady state problems) or rendering the PDE into an approximating system of ordinary differential equations, which are then numerically integrated using standard techniques such as Euler's method, Runge-Kutta, …. 8

Electrostatic problems Tipos de problema • The behavior of electric field intensity E, and

Electrostatic problems Tipos de problema • The behavior of electric field intensity E, and electric flux density (alternatively electric displacement or induction) D. • The program solves for voltage V over a user-defined domain with user-defined sources and boundary conditions. 9 07/12/2020

New problem initial data ü Problem types: ü planar (cartesian coordinates); ü axisymmetric (cylindrical

New problem initial data ü Problem types: ü planar (cartesian coordinates); ü axisymmetric (cylindrical coordinates) üLength units: mm, cm and m. . ü “Depth” = third dimention of the investigated object. Minimum angle of the triangle element, (value from 1 to 33, 8 deg) 10 07/12/2020

New problem definition, GRID Snap to grid Grid on/off Grid properties button 11 07/12/2020

New problem definition, GRID Snap to grid Grid on/off Grid properties button 11 07/12/2020

Preprocessor Drawing Modes Drawing the endpoints of the lines and arc segments that make

Preprocessor Drawing Modes Drawing the endpoints of the lines and arc segments that make up a drawing. Adding “Block Label” markers into each section of the model to define material properties and mesh sizing for each section. . Connecting the endpoints with either line segments or arc segments 12 07/12/2020

shortcuts and mouse buttons (for point properties) Double click: Display coordinates of the nearest

shortcuts and mouse buttons (for point properties) Double click: Display coordinates of the nearest point Select the nearest point Create a new point at the current mouse pointer location Delete selected points Unselect all points Display dialog for the numerical entry of coordinates for a new point Edit the properties of selected point(s) SPACE KEY 07/12/2020 13

Some operations Parameters for moving, copying, rotating Example of 60º element rotation Copy Rescale

Some operations Parameters for moving, copying, rotating Example of 60º element rotation Copy Rescale Move Symmetry Area selection Delete 14 07/12/2020

Electrostatic problems Materials choosed for actual analysis 15 07/12/2020 Transparencia nº

Electrostatic problems Materials choosed for actual analysis 15 07/12/2020 Transparencia nº

Properties of the materials ü New material creation. 16 07/12/2020

Properties of the materials ü New material creation. 16 07/12/2020

Line properties for electrostatic problems 17 07/12/2020

Line properties for electrostatic problems 17 07/12/2020

 • allow the user to apply constraints on the total amount of charge

• allow the user to apply constraints on the total amount of charge carried on a conductor. • Alternatively, conductors with a fixed voltage can be defined, and the program will compute the total charge carried on the conductor during the solution process. 18 07/12/2020

 • boxes for defining the voltage at a given point, or prescribing a

• boxes for defining the voltage at a given point, or prescribing a point charge density at a given point. 19 07/12/2020

Electrostatic analysis Manual choice of mesh size Output (graphical postprocessor) Start calculations Building triangles

Electrostatic analysis Manual choice of mesh size Output (graphical postprocessor) Start calculations Building triangles (meshes) 20 07/12/2020

Possibilities of the electrostatic postprocessor Zoom in/out Shifting the screen Result visualisation (density plots,

Possibilities of the electrostatic postprocessor Zoom in/out Shifting the screen Result visualisation (density plots, equipotential lines, vectors) Selection of numerical method and visualisation Selection of points, lines or blocks for numerical analysis and graphical presentation Grid parameters Open problem or start a new problem 21 07/12/2020

Point properties (electrostatic postprocessor) Output results Output selection: point 22 07/12/2020

Point properties (electrostatic postprocessor) Output results Output selection: point 22 07/12/2020

Graphical postprocessor Plot the function plot Choose the type of field value 23 07/12/2020

Graphical postprocessor Plot the function plot Choose the type of field value 23 07/12/2020

Line integral Definition of the line Options Integral results Start of the integration 24

Line integral Definition of the line Options Integral results Start of the integration 24 07/12/2020

Block Integrals To select the regions over which a block integral is to be

Block Integrals To select the regions over which a block integral is to be performed, left-click with the mouse in the desired region. The selected region will appear highlighted in green. Posprocesador Block element options result Start button 25 07/12/2020

Electrostatics Postprocessor: Equipotential lines options Visualisation dialog box 26 07/12/2020

Electrostatics Postprocessor: Equipotential lines options Visualisation dialog box 26 07/12/2020

Electrostatics Postprocessor: Density plots Electric field area Legend Menu 27 07/12/2020

Electrostatics Postprocessor: Density plots Electric field area Legend Menu 27 07/12/2020

Electrostatics Postprocessor: Vector plots Vectors START Dialog box 28 07/12/2020

Electrostatics Postprocessor: Vector plots Vectors START Dialog box 28 07/12/2020

Step by step EXAMPLE 1 • Capacitor with a Square Cross-Section 29

Step by step EXAMPLE 1 • Capacitor with a Square Cross-Section 29

 • The outer square has a 4 cm size, the inner square 2

• The outer square has a 4 cm size, the inner square 2 cm size. • The geometry extends for 100 cm in the “into-the-page” direction. • The dielectric between the plates air. • TASK: build the FEMM problem (model), analyze it, and determine the capacitance. 30

Procedure • • Physical problem description. Model design. Boundaries definition. Materials description. Boundary conditions

Procedure • • Physical problem description. Model design. Boundaries definition. Materials description. Boundary conditions application. Mess generation. Finite Element Method application. Results extraction and analysis. 31

The finished model Remark: Because of the symmetry, only one quarter of the device

The finished model Remark: Because of the symmetry, only one quarter of the device need to be modeled. 32

Create model • Start FEMM "File|New" from the main menu. • Select "Electrostatics Problem"

Create model • Start FEMM "File|New" from the main menu. • Select "Electrostatics Problem" in the "Create a new problem" dialog that appears. • After you hit "OK", a blank electrostatics problem will appear. 33

Select „nodes” Press <TAB> BUTTON Enter x=0, y=2 Entered POINT (0, 2) 34

Select „nodes” Press <TAB> BUTTON Enter x=0, y=2 Entered POINT (0, 2) 34

To select the endpoint of „lines” a. Select line, click nearand desired endpoint with

To select the endpoint of „lines” a. Select line, click nearand desired endpoint with the try to connect allleft mouse button! points 35

Add materials to the model • Select „Properties|Materials” • Click Add Materials” • Change

Add materials to the model • Select „Properties|Materials” • Click Add Materials” • Change the name of the property to „AIR” • Confirm by clicking „OK. ” 36

37

37

Define materials for each region • Click „Block Labels” – It can be done

Define materials for each region • Click „Block Labels” – It can be done via <TAB> dialog or by click on the left button • Make block label red (right click) – Press space to „oopen” the selected block label – Set to AIR – Uncheck „Let Triangle…. ” – Choose Mesh Size „ 0. 025” 38

SP AC E BU TT ON Right click 39

SP AC E BU TT ON Right click 39

Define conductor voltages • • • Select „Properties| Conductors” Click „Add Property” Replace „New

Define conductor voltages • • • Select „Properties| Conductors” Click „Add Property” Replace „New Conductor” with „ZERO” Select „Prescribed Voltage”, enter „ 0”, confirm Repeat the above procedure to the new boundary condition „ONE” • Attribute conductor voltages to the segments – When segment turns to red press SPACE BAR and change the selction from „none” to „ZERO” or „ONE” 40

41

41

42

42

43

43

PRESS SPACE BAR 44

PRESS SPACE BAR 44

45

45

Set PROBLEM Characteristics • • • Select „Problem” Choose „planar” Set the length units

Set PROBLEM Characteristics • • • Select „Problem” Choose „planar” Set the length units to „Centimeters” Depth = 100 Default solver precicion (10 -8 ) 46

47

47

GENERATE MESH and RUN! • Save the file • Click button with yellow mesh

GENERATE MESH and RUN! • Save the file • Click button with yellow mesh • If the mesh seems to be to fine or too coarse select mesh size again • „TURN the CRANK” 48

49

49

50

50

To chenge mesh size select block labels and adjust new mesh size 51

To chenge mesh size select block labels and adjust new mesh size 51

TURN THE CRANK RUN! 52

TURN THE CRANK RUN! 52

DISPLAY RESULTS • Click on the glasses to open a postprocessor window • Click

DISPLAY RESULTS • Click on the glasses to open a postprocessor window • Click Edit|Preferences to change selection on the main menu of both preprocessor and post processor 53

54

54

55

55

56

56

57

57

58

58

59

59

60

60

EXAMPLE 4 MV Ground 0 V Maximum value 61 07/12/2020

EXAMPLE 4 MV Ground 0 V Maximum value 61 07/12/2020

Two spheres Sphere potencial 30000 Equipotential line Point with maximum value Sphere with 0

Two spheres Sphere potencial 30000 Equipotential line Point with maximum value Sphere with 0 V 62 07/12/2020

EXAMPLE 3 63 07/12/2020

EXAMPLE 3 63 07/12/2020