Maxwell v15 9.
7
Basic Exercises – Post Processing
Post Processing in Maxwell 2D
This exercise will discuss how to use the Maxwell 2D Post Processor. Field plots
and calculator operations will demonstrated on an Eddy Current project. The
following tasks will be performed:
Plot the mesh
Plot of MagB
Plot of B_vector
Plot of MagH along a line
Create a table of MagH along a line
Calculate average MagB in an object
Verify DivB = 0
Calculate loss in the conductor
Calculate net and total current flowing in the conductor
Export field results to a file.
Create Design
To Create Design
Select the menu item Project > Insert Maxwell 2D Design, or click on the
icon
Change the name of the Design to Post_exercise
Set Solution Type
To set the Solution Type:
Select the menu item Maxwell 2D > Solution Type
Solution Type Window:
1. Geometry Mode: Cylindrical about Z
2. Choose Magnetic > Eddy Current
3. Click the OK button
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Create Core
Create Rectangle
Select the menu item Draw > Rectangle
1. Using the coordinate entry fields, enter the center of the base
X: 0, Y: 0, Z:-10, Press the Enter key
2. Using the coordinate entry fields, enter the radius
dX: 5, dY: 0, dZ: 20, Press the Enter key
Change the name of the sheet to Core and material to iron
Create Coil
Create Rectangle
Select the menu item Draw > Rectangle
1. Using the coordinate entry fields, enter the center of the base
X: 8, Y: 0, Z: 0, Press the Enter key
2. Using the coordinate entry fields, enter the radius
dX: 2, dY: 0, dZ: 2, Press the Enter key
Change the name of the sheet to Coil and material to copper
Create a line for plotting of the fields
To Create a Line
Select the menu item Draw > Line
1. Using the coordinate entry fields, enter the first vertex
X: 0, Y: 0, Z: 0, Press the Enter key
2. Using the coordinate entry fields, enter the second vertex
X: 0, Y: 0, Z: 20, Press the Enter key
3. Press Enter to exit line creation
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Assign Excitation
To Assign Excitation
Select the sheet Coil from the history tree
Select the menu item Maxwell 2D > Excitations > Assign > Current
In Current Excitation window,
1. Name: Current1
2. Value: 100 A
3. Phase: 0
4. Type: Solid (eddy effects can only be determined in solid sources)
5. Ref. Direction: Positive
6. Press OK
Create Region
To Create Simulation Region
Select the menu item Draw > Region
In Region window,
1. Padding all directions similarly: Checked
2. Padding Type: Percentage Offset
Value: 100
3. Press OK
Set Eddy Effect
To Set Eddy Calculations
Select the menu item Maxwell 2D > Excitations > Set Eddy Effect
In Set Eddy Effect window,
1. Core
Eddy Effects: Unchecked
2. Press OK
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Setup the Impedance Calculation
To Setup Impedance Calculations
Select the menu item Maxwell 2D > Parameters > Assign > Matrix
In Matrix window,
1. Current1:
Include: Checked
2. Press OK
Apply Mesh Operations
In order to create a fine initial mesh, several mesh operation will be performed.
To Apply Mesh Operations for Core
Select the sheet Core from the history tree
Select the menu item Maxwell 2D > Mesh Operations > Assign > Inside
Selection > Length Based
In Element Length Based Refinement window,
1. Name: Length1
2. Restrict Length Of Elements: Unchecked
3. Restrict the Number of Elements: Checked
4. Maximum Number of Elements: 500
5. Press OK
To Apply Mesh Operations for Coil
Select the sheet Coil from the history tree
Select the menu item Maxwell 2D > Mesh Operations > Assign > Inside
Selection > Length Based
In Element Length Based Refinement window,
1. Name: Length2
2. Restrict Length Of Elements: Unchecked
3. Restrict the Number of Elements: Checked
4. Maximum Number of Elements: 500
5. Press OK
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Assign Boundary
To Assign Boundary
Select the sheet Region from history tree
Select the menu item Edit > Select > All Object Edges
Select the menu item Maxwell 2D > Boundaries > Assign > Balloon
Note: On symmetry axis, “Balloon Boundary” assignment is automatically
skipped, This can also be achieved by selecting the edges of region which
are not on symmetry axis.
In Balloon Boundary window,
Press OK
Analysis Setup
To create an analysis setup:
Select the menu item Maxwell 2D > Analysis Setup > Add Solution Setup
Solution Setup Window:
1. Convergence tab
Refinement Per Pass: 5 %
2. Solver tab
Adaptive Frequency: 100 kHz
3. Click the OK button
Analyze
To run Solution
Select the menu item Maxwell 2D > Analyze All
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Solution Data
To view the Solution Data:
Select the menu item Maxwell 2D > Results > Solution Data
To view the Profile:
1. Click the Profile Tab.
To view the Convergence:
1. Click the Convergence Tab
Note: The default view is for convergence is Table. Select
the Plot radio button to view a graphical representations of
the convergence data.
To View Mesh information
1. Click Mesh Statistics Tab
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
To View Impedance values
1. Click Matrix tab
2. Set Type to Re(Z), Im(Z)
Note: The imaginary term of the matrix includes both the inductive
and capacitive reactance are reported in Ohms.
3. Change Type to R,L
Note: The Imaginary term of the matrix includes only the inductance
and is reported in Ohms and Henries
Plot Mesh
To Plot Mesh
Select the menu item Edit > Select All
Select the menu item Maxwell 2D > Fields > Plot Mesh
In Create Mesh Plot window,
1. Press Done
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Plot Mag_B on Core
To Plot Mag_B
Select the sheet Core from the history tree
Select the menu item Maxwell 3D > Fields > Fields > B > Mag_B
In Create Field Plot window,
1. Press Done
Plot Vector_B
To Plot Vector_B
Select the menu item Edit > Select All
Select the menu item Maxwell 2D > Fields > Fields > B > B_Vector
In Create Field Plot window
1. Press Done
To Modify Attributes
Double click on the legend to change plot properties
In the window
1. Plots tab
Plot: B_Vector1
Select the tab OnSurface
Vector Plot
1. Spacing: Five Spaces
2. Min: 0.5
3. Max: 2
2. Press Apply and Close
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Plot Mag_H along a Line
To Plot Mag_H
Select the menu item Maxwell 2D > Results > Create Field Reports >
Rectangular Plot
In Report window.
1. Geometry: Polyline1
2. X : Default
3. Category: Calculator Expressions
4. Quantity: Mag_H
5. Select New Report
Table of Mag_H along a Line
Select the menu item Maxwell 2D > Results > Create Field Reports > Data
Table
In Report window.
1. Geometry: Polyline1
2. X : Default
3. Category: Calculator Expressions
4. Quantity: Mag_H
5. Select New Report
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Calculate Average Mag_B in an Object
To Calculate Mag_B Over a Volume
Select the menu item Maxwell 2D > Fields > Calculator
1. Select Input > Quantity > B
2. Select General > Complex > Real
3. Select Vector > Mag
4. Select Input > Geometry
Volume: Checked
Select Core from the list
Press OK
5. Select Scalar > Integral > RZ
6. Select Input > Number
Scalar: Checked
Value: 1
Press OK
7. Select Input > Geometry
Volume: Checked
Select Core from the list
Press OK
8. Select Scalar > Integral > RZ
9. Select General > / (Divide)
10. Select Output > Eval
The average value of flux density calculated is around 0.038 Tesla
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Calculate DivB = 0
To Calculate DivB
Select the menu item Maxwell 2D > Fields > Calculator
1. Select Input > Quantity > B
2. Select General > Complex > Real
3. Select Vector > Divg
4. Select Input > Geometry
Volume: Checked
Select Core from the list
Press OK
5. Select Scalar > Integral > RZ
6. Select Output > Eval
The divergence of B is approximately zero
Calculate loss in a conductor
To calculate losses in Coil
1. Select Input > Quantity > OhmicLoss
2. Select Input > Geometry
Volume: Checked
Select Coil from the list
Press OK
3. Select Scalar > Integral > RZ
4. Select Output > Eval
The ohmic loss in the coil at 60Hz is approximately 3.82 Watts.
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Calculate the current flowing in a conductor
To Calculate Net Current in Coil
1. Select Input > Quantity > J
2. Select General > Complex > Real
3. Select Vector > Scal? > ScalarPhi
4. Select Input > Geometry
Surface: Checked
Select Coil from the list
Press OK
5. Select Scalar > Integral >XY
6. Select Output > Eval
Note: Since total current needs to be calculated over the 2D section of Coil,
Integration is done with XY integral and not RZ
The net current in the coil is equal to the source amp-turns = 100
Calculate Total Current including Eddy Component
To Calculate Net Current in Coil
1. Select Input > Quantity > J
2. Select General > Complex > Cmplxmag
3. Select Vector > Scal? > ScalarPhi
4. Select Input > Geometry
Surface: Checked
Select Coil from the list
Press OK
5. Select Scalar > Integral >XY
6. Select Output > Eval
Calculated value of current comes out to be around 130 A
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›
Maxwell v15 9.7
Basic Exercises – Post Processing
Export field results to a file
In order to use the field results in another software program, you can export the
fields on a uniform 2-dimensional grid.
To Export Results
1. Select Input > Quantity > H
2. Select Output > Export
3. In Export Solution window,
Output file name: H_Vector
Calculate grid points: Checked
Minimum: (X:0, Z:0)
Maximum: (X:5, Z:5)
Spacing: (X:1, Z:1)
Minimum: The minimum coordinates of the grid, and unit of measure
Maximum: The maximum coordinates of the grid, and unit of measure
Spacing: The distance between grid points, and unit of measure
ANSYS Maxwell 2D Field Simulator v15 User’s Guide 9.7-‹#›