Coupling Maxwell Designs with Ansys Thermal via Workbench
Coupling Maxwell 2D/3D with Ansys applications is supported via the Workbench schematic. Thermal feedback is supported for Maxwell magnetostatic, eddy current, AC and DC conduction, and transient types. Users also need to set up the design and geometry appropriately. An appropriate design should be temperature-dependent, and have one or more solve setups that are enabled for thermal feedback.
- The easiest way to add a Maxwell 2D or 3D design to a Workbench schematic is to import a working design via Workbench File > Import. The imported design is placed in the Workbench schematic after it is successfully imported.
- Next, insert a Steady-State Thermal system and change its Analysis Type to 2D or 3D, (depending on the Maxwell design type) by right-clicking on the Geometry cell and selecting Properties. It is important to change the Steady-State Thermal system's analysis type before setting up its geometry.
- To set up the Steady-State Thermal system's geometry, you must first export the Maxwell geometry using sat or step format as follows:
- Select the Modeler > Export menu item.
- Select the desired model geometry format (sat or step), and the save location in the dialog box and save the file for use by Ansys Workbench.
- Import the file via the Geometry module of the Steady-State Thermal system.
- To access the Geometry module, double-click on the Geometry cell in the Steady-State Thermal system to launch Design Modeler.
- Select File > Import External Geometry File and browse for the geometry file exported from Maxwell.
- After the geometry file is imported,
right-click on the root folder of the modeler project tree and select
Generate. (When the geometry
file is of a Maxwell 2D RZ design, users can rotate the geometry in Design Modeler by creating a body operation.)
- Close Design Modeler and refresh the Model cell of the Steady-State Thermal system by right-clicking the Model cell and selecting Refresh.
- The geometry mode of the Steady-State Thermal system can be changed via the Ansys Mechanical user interface.
- Launch Mechanical by double-clicking the Setup cell of the Steady-State Thermal system.
- Select Geometry in the project tree and the Definition of Geometry will be shown in the Detail window.
- Select either Plane Stress or Axisymmetric as the value for the property 2D (or 3D) Behavior.
- To set up the coupling, drag the Solution cell of the Maxwell system and
drop it on the Setup cell of the
Steady-State Thermal system.
- Note that the Maxwell Solution cell is tagged with a “Lighting Bolt” symbol. Right-click on the Maxwell Solution cell and select Update. This will initiate a Maxwell simulation if it is not already solved. Once Maxwell's solution is available, the “Lighting Bolt” changes to a “Green Check” symbol.
- To “push” the coupling into Steady-State Thermal, right-click on the Steady-State Thermal Setup cell and select Refresh.
- After refresh is finished, you can launch Ansys Mechanical by double-clicking the Setup cell to finish the coupling setup.
- In the Ansys Mechanical
application project tree, an Imported Load (Maxwell2DSolution)
or (Maxwell3DSolution) item should
already be inserted. Select the Imported Load
folder to view its details. Because the inserted Maxwell 2D (or 3D) system
supports thermal feedback, the Details
window shows information regarding how the temperature result should
be exported, and what type of mesh mapping should be used.
- To finish the coupling setup, you must insert either an imported Heat Generation or an imported Heat Flux boundary condition. Heat Generation is used when mapping loss from objects in Maxwell; and Heat Flux should be used to map the loss from the edges of objects in Maxwell. Users can insert multiple Heat Generation or Heat Flux loads via the Imported Load (Maxwell2DSolution), or Imported Load(Maxwell3DSolution) objects.
- To insert a Heat
Generation, use Body
select by clicking the
icon in the Mechanical Toolbar. Then click on the objects where the EM loss should be imported. After all the desired objects are selected, right-click on Imported Load (Maxwell2DSolution) > Insert > Heat Generation, or Imported Load (Maxwell3DSolution) > Insert > Heat Generation.
- Click on the Imported
Heat Generation tree item to view its details.
- In the Transfer Definition section, users can set up the source Maxwell solution by pulling down the Ansoft Solution combo box and select one of the listed Maxwell solutions.
- Right-clicking on Imported
Heat Generation > Import Load will import loss from the
Ansoft Solution selected for this
load. After import has completed, the Import
Heat Generation item becomes a folder, and an entry called
Imported Load Transfer Summary is
listed. Select the Imported Load Transfer Summary
entry and the scaling factors used to export the load from Maxwell will
be displayed in the Comment window.
- Selecting Import
Heat Generation should show an overlay-plot of the imported
load. The loss mapping from Maxwell can be verified by comparing this
overlay-plot with an Ohmic-Loss field overlay plot in Maxwell.
- Create a Convection
boundary to complete the thermal setup:
- Use Edge
select by clicking the
icon at the Mechanical Toolbar and then Edit > Select All.
- With the edges selected, right-click on the Steady-State Thermal project tree item and insert a Convection.
- With the Convection item selected, change its Film Coefficient to 5 W/m2 via the Detail window.
- Right-click on the Solution tree item and select Solve.
- After the thermal solution is finished, insert a Temperature plot by right-clicking on Solution and selecting Insert > Thermal > Temperature.
- Right-click on the newly inserted Temperature item and select Evaluate All Results.
- Use Edge
select by clicking the
- To export the thermal result to Maxwell,
right-click on the Imported Load (Maxwell2DSolution),
or Imported Load(Maxwell3DSolution)
and select Export Results.
- To fully utilize the automation capabilities provided in Ansys Workbench, select Imported Load (Maxwell2DSolution), or Imported Load(Maxwell3DSolution); and in its Detail window, select Yes for Export after Solve. With this option selected, users can continue the iteration between Maxwell/Thermal simulations from the Workbench schematic.
- Right-click on Thermal's Setup cell and select Refresh.
- Right-click on Thermal's Setup cell and select Update.
- Right-click on Maxwell's Solution cell and select Enable Update.
- Right-click on Maxwell's Solution cell and select Update.
A sub-item named Imported Heat Generation will appear in the project tree.
To “push” the exported thermal results back to Maxwell, right-click on Maxwell's Solution cell on the Workbench schematic and select Enable Update. Then, right-click again on Maxwell's Solution cell and select Update. This will trigger Maxwell to re-simulate its solution with thermal results.
To continue the solve iterations, repeat the following steps as needed:
Related Topics
Coupling Maxwell with Both Ansys Thermal and Structural via Workbench