You are on page 1of 38

ANSYS ED Workbench Tutorial

Electromagnetic Analysis

2006 ANSYS, Inc. All rights reserved.

ANSYS, Inc. Proprietary

Exercise 7 Objective

Analysis of a 2 gap solenoid A DC solenoid consists of a coil wrapped around a permeable U shaped body and an armature. An analysis is performed to determine forces acting on both the body and the armature.

2006 ANSYS, Inc. All rights reserved.

ANSYS, Inc. Proprietary

Getting Started

Before starting Exercise 7 copy the following file to a local working directory \ANSYS ED Tutorial\Samples\Exercise7.iges \ANSYS ED Tutorial\Samples\Exercise7.txt

2006 ANSYS, Inc. All rights reserved.

ANSYS, Inc. Proprietary

Exercise 7 - Outline Opening and importing models Using the Winding Tool Defining Enclosures Naming Components Defining Environments Defining Required Results Viewing Results Saving Files

2006 ANSYS, Inc. All rights reserved.

ANSYS, Inc. Proprietary

Step 1A Open the ANSYS Workbench

Launch the ANSYS Workbench

2006 ANSYS, Inc. All rights reserved.

ANSYS, Inc. Proprietary

Step 1B Open the DesignModeler

Select New Geometry

2006 ANSYS, Inc. All rights reserved.

ANSYS, Inc. Proprietary

Step 1C Set the Modeling Units

1. Change the desired unit length to millimeters

2. Click OK

2006 ANSYS, Inc. All rights reserved.

ANSYS, Inc. Proprietary

Step 1D Import an IGES file

1. Select File>Import External Geometry File

2. Select (import) Exercise7.iges

2006 ANSYS, Inc. All rights reserved.

ANSYS, Inc. Proprietary

Step 1E Generate the Model

1. Select Generate to import and display the model

2006 ANSYS, Inc. All rights reserved.

ANSYS, Inc. Proprietary

Step 2A Open the Winding Tool

1. Select Tools>Winding Tool

2006 ANSYS, Inc. All rights reserved.

10

ANSYS, Inc. Proprietary

Step 2B Set the Winding Plane

1. Select the XYPlane

2. Select Apply

2006 ANSYS, Inc. All rights reserved.

11

ANSYS, Inc. Proprietary

Step 2C Import a Winding Table

3. Select Generate 1. Browse for the Winding Table File

2. Select Exercise7.txt

2006 ANSYS, Inc. All rights reserved.

12

ANSYS, Inc. Proprietary

Step 2D Set Viewing Option

1. Select View>Show Cross Section Solids

2006 ANSYS, Inc. All rights reserved.

13

ANSYS, Inc. Proprietary

Step 2E Set the Stack Length

3. Select Generate 1. Select the Winding

2. Change the Stack Length to 50 mm


2006 ANSYS, Inc. All rights reserved.

14

ANSYS, Inc. Proprietary

Step 3A Define the Enclosure

1. Select Tools>Enclosure

2006 ANSYS, Inc. All rights reserved.

15

ANSYS, Inc. Proprietary

Step 3B Set Cushion and Merging

3. Select Generate 2. Change the Cushion to 50 mm

1. VERY IMPORTANT! Change Merge Parts field to yes


2006 ANSYS, Inc. All rights reserved.

16

ANSYS, Inc. Proprietary

Step 4 Save the Model

2. Select the folder tab to return to the Project Page

1. Select File>Save

2006 ANSYS, Inc. All rights reserved.

17

ANSYS, Inc. Proprietary

Step 5 Open a New Simulation

3. Select New Simulation 1. Make sure Solid Bodies is checked 2. Make sure the Analysis Type is set to 3D
Note: You may need to expand the menus to view the above options
2006 ANSYS, Inc. All rights reserved.

18

ANSYS, Inc. Proprietary

Step 6 Name the Parts 1. Expand Geometry and Parts in the Outline
Keeper air Pole1

coil

1. Select each part right mouse click then left mouse click Rename and name parts as shown
2006 ANSYS, Inc. All rights reserved.

Note: Order may vary


Pole2 BackBar

19

ANSYS, Inc. Proprietary

Step 7A Insert Magnetic Flux Density

1. Left click (select) the Environment

2. Right click to bring up the popup context menu

3. Select Insert>Magnetic Flux Parallel


2006 ANSYS, Inc. All rights reserved.

20

ANSYS, Inc. Proprietary

Step 7B Hide unwanted bodies

1. Using the left mouse button and the control key select all geometry with the exception of air 2. Right mouse click to bring up the context menu 3. Select Hide Body

2006 ANSYS, Inc. All rights reserved.

21

ANSYS, Inc. Proprietary

Step 7C Enter Box Select Mode

2. Activate Box Select from the toolbar

2006 ANSYS, Inc. All rights reserved.

22

ANSYS, Inc. Proprietary

Step 7D Select bounding faces

1. Holding the left mouse key drag the box from right to left to select all geometry in and crossing the box

2. Select Apply
2006 ANSYS, Inc. All rights reserved.

23

ANSYS, Inc. Proprietary

Step 7E Validate Selection

Verify that the 6 faces defining the air boundary have been selected
2006 ANSYS, Inc. All rights reserved.

24

ANSYS, Inc. Proprietary

Step 8A Unhide all bodies 1. Select Geometry

2. Right mouse click to bring up the context menu 3. Select Show All Bodies

2006 ANSYS, Inc. All rights reserved.

25

ANSYS, Inc. Proprietary

Step 8B Hide the enclosing air

1. Select the part representing the air 2. Right mouse click to bring up the context menu

3. Select Hide Body

2006 ANSYS, Inc. All rights reserved.

26

ANSYS, Inc. Proprietary

Step 9 Set the Current value

1. In your Environment select the Conductor

2. Set the Conductor Current to 5000 mA


2006 ANSYS, Inc. All rights reserved.

27

ANSYS, Inc. Proprietary

Step 10A Set Flux Results

1. Select the Solution

2. Right mouse click to bring up the context menu 3. Select Insert>Electormagnetic>Total Flux Density
2006 ANSYS, Inc. All rights reserved.

28

ANSYS, Inc. Proprietary

Step 10B Set Keeper results 1. Set the selection filter to bodies 3. Select the Solution 2. Select the Keeper

4. Right mouse click to bring up the context menu


2006 ANSYS, Inc. All rights reserved.

5. Select Insert>Electormagnetic> Directional Force/Torque


29
ANSYS, Inc. Proprietary

Step 10C Set BackBar results 1. Set the selection filter to bodies 3. Select the Solution 2. Select the BackBar and poles

4. Right mouse click to bring up the context menu


2006 ANSYS, Inc. All rights reserved.

5. Select Insert>Electormagnetic> Directional Force/Torque


30
ANSYS, Inc. Proprietary

Step 11A Set Mesh Relevance

1. Select the Mesh

2. Set the Mesh Relevance to -100

This is required to reduce the size of the mesh when using ANSYS ED
2006 ANSYS, Inc. All rights reserved.

31

ANSYS, Inc. Proprietary

Step 11B Set Mesh Size Control 1. Set the selection filter to bodies 3. Select Mesh 2. Select the BackBar, Keeper and poles

4. Right click and select Insert>Sizing


This is required to reduce the size of the mesh when using ANSYS ED
2006 ANSYS, Inc. All rights reserved.

32

ANSYS, Inc. Proprietary

Step 11C Set Element Size

3. Select Solve

1. Set the Element Size to 40 mm

This is required to reduce the size of the mesh when using ANSYS ED
2006 ANSYS, Inc. All rights reserved.

33

ANSYS, Inc. Proprietary

Step 12A View Flux Results

2. Use the Vector Display toolbar to adjust your result image 1. Select Total Flux Density
2006 ANSYS, Inc. All rights reserved.

34

ANSYS, Inc. Proprietary

Step 12B Review Force/Torque 1. Select a two pane display

2. Select the first pane and the Keeper Result


2006 ANSYS, Inc. All rights reserved.

3. Select the second pane and the BackBar and poles Result
35
ANSYS, Inc. Proprietary

Step 12B Review Force/Torque

1. Select the folder tab to return to your Project Page

2006 ANSYS, Inc. All rights reserved.

36

ANSYS, Inc. Proprietary

Step 13 Save Results

2006 ANSYS, Inc. All rights reserved.

37

ANSYS, Inc. Proprietary

Congratulations You have completed Exercise 7 a simple example of Electromagnetic simulation Additional information on the Electromagnetic capabilities of the ANSYS Workbench can be found in the ANSYS Workbench documentation delivered with ANSYS ED

2006 ANSYS, Inc. All rights reserved.

38

ANSYS, Inc. Proprietary

You might also like