5.7. Magnetostatic Analysis

Introduction

Magnetic fields may exist as a result of a current or a permanent magnet. In the Mechanical application you can perform 3D static magnetic field analysis. You can model various physical regions including iron, air, permanent magnets, and conductors.

Typical uses for a magnetostatic analysis are as follows:

  • Electric machines

  • Transformers

  • Induction heating

  • Solenoid actuators

  • High-field magnets

  • Nondestructive testing

  • Magnetic stirring

  • Electrolyzing cells

  • Particle accelerators

  • Medical and geophysical instruments.

Points to Remember

  • This analysis is applicable only to 3D geometry.

  • The geometry must consist of a single solid multibody part.

  • A magnetic field simulation requires that air surrounding the physical geometry be modeled as part of the overall geometry. The air domain can be easily modeled in DesignModeler using the Enclosure feature. Ensure that the resulting model is a single multibody part which includes the physical geometry and the air.

  • In many cases, only a symmetric portion of a magnetic device is required for simulation. The geometry can either be modeled in full symmetry in the CAD system, or in partial symmetry. DesignModeler has a Symmetry feature that can slice a full symmetry model, or identify planes of symmetry for a partial symmetry model. This information is passed to the Mechanical application for convenient application of symmetry plane boundary conditions.

  • A Magnetostatic analysis supports a multi-step solution.

Preparing the Analysis

Create Analysis System

  Basic general information about this topic

  ... for this analysis type:

From the Toolbox, drag the Magnetostatic template to the Project Schematic.

Define Engineering Data

  Basic general information about this topic

  ... for this analysis type:

  • Magnetic field simulation supports 4 categories of material properties:

    1. Linear "soft" magnetic materials - typically used in low saturation cases. A Relative Permeability is required. This may be constant, or orthotropic with respect to the coordinate system of the body (See Details view). Orthotropic properties are often used to simulate laminate materials.

    2. Linear "hard" magnetic materials - used to model permanent magnets. The demagnetization curve of the magnet is assumed to be linear. Residual Induction and Coercive Force are required.

    3. Nonlinear "soft" magnetic material - used to model devices which undergo magnetic saturation. A B-H curve is required. For orthotropic materials, you can assign the B-H curve in any of the orthotropic directions, while specifying a constant Relative Permeability in the other directions. (Specifying a value of "0" for Relative Permeability will make use of the B-H curve in that direction.)

    4. Nonlinear "hard" magnetic material - used to model nonlinear permanent magnets. A B-H curve modeling the material demagnetization curve is required.

  • When using an Ansys license that includes the Emag license feature, only the following material properties are allowed: Isotropic Resistivity, Orthotropic Resistivity, Relative Permeability, Relative Permeability (Orthotropic), Coercive Force & Residual Induction, B-H Curve, B-H Curve (Orthotropic), Demagnetization B-H Curve. You may have to turn the filter off in the Engineering Data tab to suppress or delete those material properties/models that are not supported for the license.

  • Conductor bodies require a Resistivity material property. Solid source conductor bodies can be constant or orthotropic with respect to the coordinate system of the body. Stranded source conductor bodies can only be modeled as isotropic materials.

  • For convenience, a library of common B-H curves for soft magnetic material is supplied with the product. Use the Import tool in Engineering Data to review and retrieve curves for use.


Note:  In a magnetostatic analysis, you can orient a polarization axis for a Linear or Nonlinear Hard material in either the positive or negative x direction with respect to a local or global coordinate system. Use the Material Polarization setting in the Details view for each body to establish this direction. The Material Polarization setting appears only if a hard material property is defined for the body. For a cylindrical coordinate system, a positive x polarization is in the positive radial direction, and a negative x polarization is in the negative radial direction.


Attach Geometry

  Basic general information about this topic

  ... for this analysis type:

There are no specific considerations for a magnetostatic analysis.

Define Part Behavior

  Basic general information about this topic

  ... for this analysis type:

Mechanical does not support Rigid Bodies in Magnetostatic analyses. For more information, see the Stiffness Behavior documentation for Rigid Bodies.

Define Connections

  Basic general information about this topic

  ... for this analysis type:

Connections are not supported in a magnetostatic analysis.

Apply Mesh Controls/Preview Mesh

  Basic general information about this topic

  ... for this analysis type:

  • Although your body is automatically meshed at solve time, it is recommended that you select the Electromagnetic Physics Preference in the Details view of the Mesh object folder.

  • Solution accuracy is dependent on mesh density. Accurate force or torque calculations require a fine mesh in the air regions surrounding the bodies of interest.

  • The use of pyramid elements in critical regions should be minimized. Pyramid elements are used to transition from hexagonal to tetrahedral elements. You can eliminate pyramid elements from the model by specifying Tetrahedrons using a Method mesh control tool.

Establish Analysis Settings

  Basic general information about this topic

  ... for this analysis type:

For a Magnetostatic Analysis, the basic Analysis Settings include:

Step Controls for Static and Transient Analyses

Step Controls are used to specify the end time of a step in a single or multiple step analysis.

Multiple steps are needed if you want to change load values, the solution settings, or the solution output frequency over specific steps. Typically you do not need to change the default values.

Solver Controls

Solver Controls enable you to select either a direct or iterative solver. By default the program will use the direct solver. Convergence is guaranteed with the direct solver. Use the Iterative solver only in cases where machine memory is an issue. The solution is not guaranteed to converge for the iterative solver.

Nonlinear Controls

Nonlinear Controls enable you to modify convergence criteria and other specialized solution controls. These controls are used when your solution is nonlinear such as with the use of nonlinear material properties (B-H curve). Typically you will not need to change the default values for this control. CSG convergence is the criteria used to converge the magnetic field. CSG represents magnetic flux. AMPS convergence is only used for temperature-dependent electric current conduction for solid conductor bodies. AMPS represents current.

Output Controls

Output Controls enable you to specify the time points at which results should be available for postprocessing. A multi-step analysis involves calculating solutions at several time points in the load history. However you may not be interested in all of the possible results items and writing all the results can make the result file size unwieldy. You can restrict the amount of output by requesting results only at certain time points or limit the results that go onto the results file at each time point.

Analysis Data Management

The Analysis Data Management settings enable you to save solution files from the magnetostatic analysis. The default behavior is to only keep the files required for postprocessing. You can use these controls to keep all files created during solution or to create and save the Mechanical APDL application database (db file).

Define Initial Conditions

  Basic general information about this topic

  ... for this analysis type:

There is no initial condition specification for a magnetostatic analysis.

Apply Boundary Conditions

  Basic general information about this topic

  ... for this analysis type:

Solve

  Basic general information about this topic

  ... for this analysis type:

The Solution Information object provides some tools to monitor solution progress in the case of a nonlinear magnetostatic analysis.

Solution Output continuously updates any listing output from the solver and provides valuable information on the behavior of the structure during the analysis. Any convergence data output in this printout can be graphically displayed as explained in the Solution Information section.

Adaptive mesh refinement is available for magnetostatic analyses.

Review Results

  Basic general information about this topic

  ... for this analysis type:

A magnetostatic analysis offers several results for viewing. Results may be scoped to bodies and, by default, all bodies will compute results for display. For Inductance or Flux Linkage, define these objects prior to solution. If you define these after a solution, you will need to re-solve.