Maxwell Transient Problem
Maxwell Transient Problem
Problem
Release 2020 R2
ANSYS, Inc.
July 2020
Southpointe
2600 ANSYS Drive ANSYS, Inc. and
Canonsburg, PA 15317 ANSYS Europe,
[email protected] Ltd. are UL
registered ISO
https://www.ansys.com
9001:2015 com-
(T) 724-746-3304 panies.
(F) 724-514-9494
Getting Started with Maxwell: Transient Problem
ANSYS, ANSYS Workbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand,
product, service and feature names, logos and slogans are registered trademarks or trademarks of
ANSYS, Inc. or its subsidiaries located in the United States or other countries. ICEM CFD is a
trademark used by ANSYS, Inc. under license. All other brand, product, service and feature names
or trademarks are the property of their respective owners. FLEXlm and FLEXnet are trademarks of
Flexera Software LLC.
Disclaimer Notice
ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001: 2015 companies.
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license
agreement, the use, duplication, or disclosure by the United States Government is subject to restric-
tions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non-DOD
licenses).
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS pro-
prietary software and third-party software. If you are unable to access the Legal Notice, please con-
tact ANSYS, Inc.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Please take a moment to review how instructions and other useful information are presented in this
guide.
l Procedures are presented as numbered lists. A single bullet indicates that the procedure
has only one step.
l Bold type is used for the following:
o Keyboard entries that should be typed in their entirety exactly as shown. For example,
“copy file1” means the word copy must be typed, then a space must be typed, and then
file1 must be typed.
o On-screen prompts and messages, names of options and text boxes, and menu com-
mands. Menu commands are often separated by carats. For example, “click HFSS>Ex-
citations>Assign>Wave Port.”
o Labeled keys on the computer keyboard. For example, “Press Enter” means to press the
key labeled Enter.
l Italic type is used for the following:
o Emphasis.
o The titles of publications.
o Keyboard entries when a name or a variable must be typed in place of the words in italics.
For example, “copy file name” the word copy must be typed, then a space must be
typed, and then name of the file must be typed.
l The plus sign (+) is used between keyboard keys to indicate that you should press the keys
at the same time. For example, “Press Shift+F1” means to press the Shift key and the F1
key at the same time.
Ribbons, menu bars, and short-cut menus are three methods that can be used to see what com-
mands are available in the application.
l Ribbons are the rectangular area on top of the application window and contain multiple tabs.
Each tab has relevant commands that are organized, grouped, and labeled. An example of a
typical user interaction is as follows:
"On the Draw ribbon tab, click the Box primitive" means you can click the Box icon on the
Draw tab and execute the Box command to draw a box.
l The menu bar (located above the ribbon) is a group of the main commands of an application
arranged by category such File, Edit, View, Project, etc. An example of a typical user inter-
action is as follows:
"On the File menu, click the Open Examples command" means you can click the File
menu and then click Open Examples to launch the dialog box.
l Another alternative is to use the short-cut menu that appears when you click the right-mouse
button. An example of a typical user interaction is as follows:
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
“Right-click and select Assign Excitation>Wave Port” means when you click the right-
mouse button with an object face selected, you can execute the excitation commands from
the short-cut menu (and the corresponding sub-menus).
For information about ANSYS Technical Support, go to the ANSYS corporate Support website,
https://www.ansys.com/Support. You can also contact your ANSYS account manager in order to
obtain this information.
All ANSYS software files are ASCII text and can be sent conveniently by e-mail. When reporting dif-
ficulties, it is extremely helpful to include very specific information about what steps were taken or
what stages the simulation reached, including software files as applicable. This allows more rapid
and effective debugging.
Help Menu
To access help from the menu bar, click Help and select from the menu:
Context-Sensitive Help
l To open a help topic about a specific menu command, press Shift+F1, and then click the
command or toolbar icon.
l To open a help topic about a specific dialog box, open the dialog box, and then press F1.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Table of Contents
Table of Contents Contents-1
1 - Introduction 1-1
Contents-1
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index Index-2
Contents-2
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1 - Introduction
This Getting Started Guide is written for Maxwell beginners and experienced users who would like
to quickly re-familiarize themselves with the capabilities of Maxwell. This guide leads you step-by-
step through solving and analyzing the results of a rotational actuator magnetostatic problem with
motion.
By following the steps in this guide, you will learn how to perform the following tasks:
Note:
This guide assumes that you have already completed the magnetostatic example in
Getting Started with Maxwell: Designing a Rotational Actuator. If you have not, you
may use the project in the example directory; however, it is strongly recommended
that you complete the magnetostatic example.
Maxwell® is an interactive software package that uses finite element analysis (FEA) to simulate
(solve) electromagnetic field problems. Maxwell integrates with other ANSYS Electromagnetic soft-
ware to perform complex tasks while remaining simple to use. Maxwell® incorporates a set of 2D
solvers and 3D solvers in the ANSYS Electronics Desktop integrated user interface. This guide will
focus on 3D capabilities. 2D problem examples are covered in a separate 2D Getting Started
Guide.
The following six types of stand-alone solutions are supported by Maxwell 3D:
Introduction 1-1
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In addition, Maxwell may be coupled with other simulators to provide a greater range of solution
capability. Couplings to Workbench for thermal and stress analysis, HFSS for ferrite analysis, and
Twin Builder for Finite Element/Circuit co-simulation are all supported.
Introduction 1-2
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You are not required to follow a specific order when setting up your Maxwell design. However, the
following order is recommended, particularly for new users:
Introduction 1-3
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The application described in this Getting Started guide is an extension of the TEAM Workshop
Problem 24 rotational actuator design. The geometry is shown below:
The outer part is a ferromagnetic nonlinear armature carrying two coils. The inner part is made of
the same nonlinear material and can rotate around an axis. The inner and outer parts of the device
are co-axial.
The field distribution will likely cause the flux density to concentrate in the two steel armatures in the
regions where the distance between them is minimal. The expected edge effect will then further
increase the field concentration.
In this example, we will compute the torque acting on the inner armature and the flux linkage of the
two coils. Simulation results show a 3D electromagnetic time-transient problem with the effects of
large motion included. Both the rotor and stator are made of solid ferromagnetic steel, creating sig-
nificant eddy current effects. A nonlinear B-H curve is considered for the stator and rotor steel. The
solution includes the estimated mechanical rotor inertia. For a presentation of the results and the
Introduction 1-4
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
corresponding FEM code, see the IEEE Transactions on Magnetics, Vol 38, No. 2, March 2002, pp
609-612.
Introduction 1-5
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A project is a collection of one or more designs that is saved in a single *.aedt file. A new project is
automatically created when ANSYS Electronics Desktop is launched.
To open ANSYS Electronics Desktop, add a new Maxwell 3D design, and save the default project
with a new name:
The new design is listed in the project tree. By default, it is named Maxwell3DDesign1. The
Modeler window appears to the right of the Project Manager.
The project is saved in the specified folder under the name Rotational_Act_TR.mxwl.
a. Right-click Maxwell3DDesign1.
A shortcut menu appears.
b. Select Rename.
The design name becomes highlighted and editable.
c.
c. Type Rotational_Act_TR as the name for the design, and press Enter. The pro-
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As mentioned in the introduction, multiple solution types are available, depending on the specific
application. For this design, choose a Transient solution.
1. Click Modeler>Units.
The Set Model Units dialog box appears.
2. Select mm from the Select units pull-down menu.
3. Click OK.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have not completed the magnetostatic guide Getting Started with Maxwell: Designing a Rota-
tional Actuator, it is strongly recommended that you do so to gain necessary knowledge of mod-
eling and material assignment principles. You may, however, use the project in the example
directory.
The ability to copy and paste objects and their associated material assignments is a useful and
time-saving function of the ANSYS Electronics Desktop software.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. With the Rotational_actuator project in the modeler window, click in the modeler window
and then click Edit>Select All to select all object regardless of their visibility status.
The History Tree will expand and highlight all objects in the design.
2. Click Edit>Copy to copy the object and material definitions to the clipboard.
3. Click on the Rotational_Act_TR(Transient) design in the Project Manager window to
switch the Modeler window to the transient project.
4. Click Edit>Paste to paste all objects and material definitions into the transient project.
5. Click View>Fit All>All Views to fit the objects to the window. You may also use the key-
board shortcut Ctrl-D.
6. In the Project Manager window, select the magnetostatic project Rotational_Actuator
and click File>Close.
Your screen should look approximately like the one below.
7. Click File>Save to save the model before moving on to the next chapter.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Material properties are automatically transferred when you copied the geometry objects. You can
view these properties by viewing the Attribute tab of the Properties window.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Assign Excitations
Currents need to be defined and assigned as excitations for the two coil terminals.
Add a Winding
To add a winding for the excitation:
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
We are using an external circuit to supply the excitation to the coil. For this
example, we also could have used a voltage type of excitation.
6. Click OK.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the project tree, the two terminals are moved beneath the winding as shown below.
Boundary Conditions
The region box (bgnd) by default has all faces assigned with magnetic flux tangent boundary con-
ditions. Thus, for this problem no additional boundary conditions are needed.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Maxwell Circuit Editor opens with a default circuit sheet as shown below.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. In the component libraries tree, under Sources select a VPulse element (Pulse
Voltage Source).
b. Drag it to the sheet, and then right-click and select Finish.
c. Double-click the source element symbol on the sheet, and then specify the following
source characteristics:
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
For the current winding, the “dotted” terminal is positive and current is positive
when it flows from the “dotted” terminal to the “undotted” terminal. Connecting the
winding as shown results in negative current in the plot in the Create a Current vs
Time Plot in Chapter 6. You may reverse the winding orientation with no change
to the problem except for the plot which would show positive current in that case.
a. Click Draw>Ground,
b. Place the Ground symbol on the sheet as shown below, right-click, and select Finish.
1. From within the Maxwell Circuit Editor, click Maxwell Circuit>Export Netlist.
The Netlist Export dialog box appears.
2. Select the folder where you want to save the external circuit file.
3. Type trans_circ in the File name box.
4. Click Save.
The Netlist Export dialog box closes and the Maxwell Circuit Editor reappears.
1. Right-click the circuit design in the Project tree, select Rename on the context menu, and
enter ExternalCircuit as the name.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click File>Save to save the project with the new circuit design.
This example involves transient magnetic fields in the presence of massive (solid) conductors, cre-
ating eddy currents. To catch the effects with reasonable accuracy, a finer mesh is required in
those objects because skin effects are part of an accurate transient solution.
To seed the mesh to the desired density in the Outer_arm and Inner_arm objects:
1. Select Outer_arm from the history tree, press and hold down Ctrl, and then select Inner_
arm.
2. Click Maxwell3D>Mesh>Assign Mesh Operation>Inside Selection>Length Based.
The Element Length Based Refinement dialog box appears.
3. Type 10 in the Maximum Length of Elements box, and select mm as the units.
4. Leave the Restrict the Number of Elements check box unchecked.
5. Click OK.
This operation refines the mesh at run-time before the transient problem solution begins. This
mesh will be used for all time steps; therefore, the mesh density should be appropriate for the anti-
cipated field behavior for the entire transient analysis.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the Inner_arm object by clicking its name in the history tree window.
2. In the project tree, right-click Parameters row.
A shortcut menu appears.
3. Select Assign>Torque from the shortcut menu.
The Torque dialog box appears.
4. Select Global:Z from the Axis pull-down list.
5. Select the Positive radio button for the axis orientation.
6. Click OK.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right-click Analysis in the Project Manager window, and select Analyze in the shortcut
menu. The time required to complete the analysis depends upon the speed and memory
capability of your machine and other applications that may be using machine resources. The
status of the simulation is reported in the Progress bar.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ult of the pulse source used in the winding setup having zero initial voltage.
1. Click View>Set Solution Context or double click on the time context display in the modeler
window.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click OK. The plot automatically updates to the new time as shown.
Note:
You may Right-Click in the legend of any displayed plot to display a shortcut menu
allowing you to hide or modify the plot.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
9. Right-click on B_Vector1 in the Project Manager window and select Plot Visibility in the
shortcut menu to turn off the plot.
10. Set the Solution Context back to 0s
The field partially penetrates the stator, and the transient distribution of the current density
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click Results in the project tree, and select Create Transient Report>Rectangular
Plot.
2. From the Solution pull-down list, select the solution setup (Setup1).
3. From the Category list, select Torque.
4. Click the New Report button.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click Results in the project tree, and select Create Transient Report>Rectangular
Plot.
2. From the Solution pull-down list, select the solution setup (Setup1).
3. From the Category list, select Winding.
4. From the Quantity list, select Current.
5. Click the New Report button.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
After you close a plot, it is still available to view later, listed under Results in the pro-
ject tree.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In general, any moving object must be isolated from the stationary model using a mesh band. More
information is available in the help under the topic Maxwell 3D Technical Notes: Meshing and Band
Setting Recommendations for 3D Transient Applications with Motion.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Now you are ready to start the analysis with the effect of large motion included.
6. Add a sweep
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Under Analysis in the project tree, right-click Setup2, and select Analyze.
1. Right-click Results in the project tree, and select Create Transient Report>Rectangular
Plot.
2. From the Solution pull-down list, select the solution setup (Setup2).
3. From the Category list, select Position.
4. Click the New Report button.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click Results in the project tree, and select Create Transient Report>Rectangular
Plot.
2. From the Solution pull-down list, select the solution setup (Setup2).
3. From the Category list, select Winding.
4. From the Quantity list, select Current.
5. Click the New Report button.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. From the Solution pull-down list, select the solution setup (Setup2).
3. From the Category list, select Torque.
4. From the Quantity list, select Moving1.Torque.
5. Click the New Report button.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click Results in the project tree, and select Create Transient Report>Rectangular
Plot.
2. From the Solution pull-down list, select the solution setup (Setup2).
3. From the Category list, select Loss.
4. From the Quantity list, select Solid Loss.
5. Click the New Report button.
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-1
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3
C
3D Modeler window 1-2
calculating the eddy effect 4-9
adding a solution setup 5-1, 7-3, 7-3 closing the project 8-1
adding a winding terminal 4-3 Create Field Plot dialog box 6-4
adding motion to the design 7-1 Create Report dialog box 6-6
assigning motion to the band 7-2 current vs. time plot 6-6, 7-5
Index-2
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
motion
I
adding to design 7-1
including motion in the simulation 7-1
band object 7-2
L
N
length-based mesh refinement 4-9
netlist, exporting 4-8
M
O
Mag J, plotting the current density dis-
tribution 6-4 object list, creating 6-1
Index-3
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-4
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
toolbars 1-2
Index-5
ANSYS Electromagnetics Suite 2020 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential