Motor 001 - Permanent magnet synchronous electric motor
Model definition
A 3D permanent magnet synchronous electric motor is considered under magnetostatic conditions using -formulation. The symmetry cell (1/8) of the motor having the periodic face aligned with the x-axis is illustrated below.
Component | Dimensions |
---|---|
Stator steel outer radius | 0.100 m |
Stator steel inner radius | 0.059 m |
Rotor steel outer radius | 0.055 m |
Rotor steel inner radius | 0.025 m |
Permanent magnet outer radius | 0.058 m |
Air gap thickness | 0.001 m |
Output Results:
- Torque (Nm).
Material Data
- Linear steel
Property | Value |
---|---|
Magnetic permeability | 2000 = 2000 410 H/m |
Boundary conditions
Name | Type | Value |
---|---|---|
left and right y-planes | periodicity: rotation | antiperiodic |
rotor-stator interface | continuity | potential equality on both sides |
Step-by-step guide
Here you’ll find a step-by-step tutorial on how to simulate this in Quanscient Allsolve.
Step 1 - Create geometry
-
Start with a new project.
-
Import the geometry by uploading a step file.
-
Click on
+
icon next to Geometry elements and click onTranslate
.
-
In the geo operations settings, choose the rotating region target as shown in the image below and provide the translation in meters:
X=0; Y=0; Z=0.02
. -
Click on
Apply
and thenConfirm model changes
.
Step 2 - Define regions and materials
-
Proceed to the
Properties
section to define regions and materials. -
Click on the
+
icon next toMaterials
, selectAir
from the list, and clickConfirm
. -
To apply this material, Click on
Add volume
inMaterials settings
and select the permanent magnet domain, and all air domains as shown in the image below. ClickApply
. -
Similarly add a new material and select
Carbon steel AISI 1020
. Apply this material on the steel domain.
-
In this example, only linear steel is considered. To apply linear permeability for the steel, Click
Properties
under the Target tags inMaterials settings
and replace the non-linear permeabilityBHsteel1020(norm(H) + 1e-10) / (norm(H) + 1e-10)
with2000 * mu0
. ClickApply
. -
Now define a rotor volume as a shared region so that it can be referred when shifting the rotor back to its original position and when applying rotation. To do so, click
+
icon next toShared regions
and choose volume on the list. -
Name the volume to
rotor
and pick all rotating regions includinghalf of the airgap
as shown in the image below. -
Repeat the steps 6 and 7 to add the
airgap
volume. The air gap volume is referred to when calculating the torque. -
Now define a shared expression for current amplitude, Click on the
+
icon next theShared expressions
. Name the expression toI
, give the description, and the value of300
Amperes. Click `Apply’. -
Repeat the steps 9 and 10 to add a shared expression for the mechanical angle
alpha
and for the electrical anglephase
having the values of27
degrees and0.0
degrees, respectively.
Step 3 - Define the physics and apply boundary conditions
-
Proceed to the
Physics
section to define physics and interactions. -
Click on the
+
icon to add a new physics. Select Magnetism . -
To apply this physics on the geometry, Click on
Add volume
, select all the volumes except the windings and clickApply
.
- To add interactions, click on the
+
icon next toMagnetism
and select Constraint. Add a point region, select a point, and give the value of0
. This is the gauge condition for the scalar potential and will quarantee the uniqueness of the solution. ClickApply
.
-
Introduce the permanent magnet. Add a Remanence interaction on the permanent magnet volume. Address a 0.5 T magnetization radially by giving
X = 0.5*x / sqrt(x*x + y*y)
,Y = 0.5*y / sqrt(x*x + y*y)
, andZ=0
. ClickApply
. -
Add Periodicity interaction. Click
Add surface
under thePeridocity target 1
and select the periodic boundary alinged with the x-axis. Similarly, select the opposite surfaces for thePeriodicty target 2
(second image). UnderParameters
, select the periodicity type to be rotation, give the center of rotation:X=0, Y=0, Z=0
, and the rotation angle in degrees:X=0, Y=0, Z=45
, and selectAntiperiodicity
. ClickApply
.
-
Add Continuity interaction. Click on
Add surface
underContinuity target 1
and select the interface on the stator side. Similarly, select the interface on the rotor side for theContinuity target 2
. ClickApply
. -
Introduce a current source. Add Lump I/V cut interaction. Click on
Add curve
and select a closed loop around the winding closest to the x-axis. Set value ofI*sin((phase + 4.0 * alpha - 0.0) * pi/180.0)
for the current under the parameters.
- Repeat the step 8 for the
winding in the middle
and for thewinding on the left
with the current values ofI*sin((phase + 4.0 * alpha - 60.0) * pi/180.0)
andI*sin((phase + 4.0 * alpha - 120.0) * pi/180.0)
, respectively.
Step 4 - Apply simulation settings
-
Proceed to the
Simulations
sections and add a new mesh by clicking the+
icon next toMeshes
. -
Under the
Mesh quality
chooseExpert settings
. Set the maximum size to 0.001 and enable theCurved mesh
. Click onAdd mesh refinement
and select Volume in the list. -
Click on
Refinement . Volume
, select the air gap volume and setMax size
to0.0005
. Click onApply & mesh
. -
Click on
Show preview
to preview the generated mesh. -
Add a new simulation. Select Steady state as the
Analysis type
. -
Set the previously generated mesh for the simulation by clicking on
Mesh
underSimulation 1
and by choosing Mesh 1. -
For visualizing the magnetic flux density after simulation, click on
+
icon next to theOutputs
under theSimulation 1
and select Magnetix flux density. -
Click on
Add volume
and select all volumes except the windings. ClickApply
. -
In the scripting, the following three modifications need to be done:
- a). moving the rotor back to its original position and applying the rotation.
- b). Apply antioperiodicity and rotation for the continuity condition.
- c). Calculating the torque.
-
To enable the scripting mode, click on
Script
underSimulation 1
, click onScripting mode
toggle button, and clickYes
on the prompt window. -
To shift the rotor back to its original position and to apply rotation, Add the following lines to the script in the scope as shown in the image below:
- To address the antiperiodicity regarding the rotated position for the continuity condition, Add the following arguments for
continuitycondition()
function:
- To calculate the torque via Arkkio’s method[1] and via Maxwell’s Stress Tensor, add the following lines to the script
Step 5 - Running the simulation and checking the results
-
Click on
Not run
next toSimulation 1
to start the simulation. -
To follow the simulation in progress, Click on
Logs
under theResults
. Wait until the simulation status changes toSuccess
. -
To visualize the magnetic flux density, Click on
+
icon next toVisualizations
, clickcreate filter
icon, and select B on the list. -
Add glyphs by clicking
+
icon next toB
, and selecting Glyph on the list. -
Click on
Glyphs
, selectData
for thescaling mode
, and Click onActivate current visualization
on top of the geometry. -
Glyphs become visible.
-
To see the value of torque in [Nm] at the applied mechanical angle in [deg], Click on
Summary
under theSimulation 1 --> Results