Professional Documents
Culture Documents
Maxwell Onlinehelp
Maxwell Onlinehelp
Table of Contents
1.WelcometoMaxwellOnlineHelp
UserInterfaceQuickLinks ........................ 1-1
ModelingQuickLinks ............................ 1-2
Boundaries/ExcitationsQuickLinks ................. 1-2
MeshingQuickLinks ............................. 1-3
AnalysisQuickLinks............................. 1-3
OptimetricsQuickLinks........................... 1-4
ResultsQuickLinks .............................. 1-4
ScriptingQuickLinks ............................. 1-5
2.GettingStartedwithMaxwellandRMxprt
SystemRequirements............................ 2-2
AdditionalWindowsInformation.................... 2-2
IncreasingRAMona32-BitPC .................... 2-3
NetworkInstallationsonWindowsforNon-graphicalbatch
solveswithoutproduct-links ....................... 2-4
AdditionalLinuxInformation ....................... 2-5
SettingUpaPrinteronLinux ...................... 2-6
TheMaxwellDesktopUI .......................... 2-8
WorkingwiththeMenuBar ........................ 2-9
WorkingwithWindows ........................... 2-10
Maxwell Online Help
Contents-2
MovingandResizingDesktopWindows.............. 2-10
WorkingwiththeToolbars ......................... 2-12
CustomizingToolbars............................ 2-12
CustomizeToolbarCommands .................... 2-13
ExternalUserTools .............................. 2-13
WorkingwiththeShortcutMenus ................... 2-14
ShortcutMenuintheToolbarsArea ................ 2-15
ShortcutMenuintheModelerWindow .............. 2-15
ShortcutMenusintheProjectManagerWindow ...... 2-15
GeneralPurposeKeyboardShortcutsforMaxwell...... 2-16
CustomKeyboardShortcuts ....................... 2-17
WorkingwiththeStatusBar ....................... 2-19
ExitingtheDesktop.............................. 2-19
WorkingwiththeProjectManager .................. 2-19
WorkingwiththeProjectTree ..................... 2-20
ViewingMaxwellDesignDetails ................... 2-21
ViewingMaterialDefinitions ....................... 2-22
WorkingwiththePropertiesWindow ................ 2-22
OpeningthePropertiesWindow ................... 2-23
ShowingandHidingthePropertiesWindow.......... 2-23
SettingthePropertiesWindowtoOpenAutomatically .. 2-23
ModifyingObjectAttributesUsingthePropertiesWindow2-24
ModifyingObjectCommandPropertiesUsingtheProperties
Window ....................................... 2-24
WorkingwiththeProgressWindow ................. 2-25
StoppingorAbortingSimulationProgress............ 2-25
ViewingDistributedAnalysisSubtasks .............. 2-25
WorkingwiththeMessageManager................. 2-25
SettingtheMessageManagertoOpenAutomatically .. 2-26
ClearingMessagesfortheProject .................. 2-27
ClearingMessagesfortheModel .................. 2-27
CopyingMessages .............................. 2-27
WorkingwiththeModelerWindow .................. 2-27
Maxwell Online Help
Contents-3
WorkingwiththeHistoryTree ...................... 2-29
ExpandorCollapseGroupingsintheHistoryTree ..... 2-30
HistorytreeGroupingbyMaterial .................. 2-30
HistoryofCommandsonObjects .................. 2-31
SelectingObjectsintheHistoryTree................ 2-31
ShortcutMenusintheHistoryTree ................. 2-32
ViewItemPropertiesintheHistoryTree ............. 2-33
ViewandEditCommandsonHistoryTreeObjects .... 2-33
ControllingtheViewofObjectsintheHistoryTree ..... 2-34
UpgradeVersioninHistoryTreeShortcutMenu ....... 2-34
KeyboardShortcutsforthe3DModelerWindow....... 2-35
RunningMaxwellFromaCommandLine ............. 2-36
For-batchoptionsUse:ProjectDirectoryandLibPaths.. 2-42
For-batchoptionsUse:TempDirectory. .............. 2-43
For-batchoptionsUse:VariousDesktopSettings ...... 2-44
For-batchoptionsUse:Maxwell2DandMaxwell3DOptions
withPaths ..................................... 2-45
RunningfromaWindowsRemoteTerminal........... 2-47
WindowsHPCCommands ........................ 2-48
GettingStartedGuides ........................... 2-49
A3DRotationalActuatorMagnetostaticProblemwithParamet-
rics........................................... 2-50
A3DTransientRotationalActuatorProblemwithMotion 2-50
A2DMagnetostaticSolenoidProblemwithParametrics . 2-51
CopyrightandTrademarkNotices ................... 2-52
Third-PartyLicenseAgreements.................... 2-52
3.GettingHelp
HelpMenuCommands ........................... 3-2
ConventionsUsedintheOnlineHelp................ 3-3
SearchinginHelp................................ 3-4
UsingWebUpdate ............................... 3-5
ObtainingInformationAbouttheSoftwareandVersion .. 3-6
EmailingaHelpPageURL ........................ 3-7
Maxwell Online Help
Contents-4
4.WorkingwithMaxwellProjectsandDesigns
MaxwellFiles................................... 4-2
CreatingProjects ................................ 4-3
CreatingNew2DDesignsfrom3DDesigns ........... 4-4
Convertinga3DModelto2D ...................... 4-4
CreatingNew3DDesignsfrom2DDesigns ........... 4-5
Converting2DXYModelto3D ..................... 4-5
Converting2DRZModelto3D ..................... 4-5
OpeningProjects ................................ 4-7
OpeningExampleProjects........................ 4-8
OpeningRecentProjects ......................... 4-8
OpeningLegacyMaxwellProjects .................. 4-8
TranslatingLegacyMaxwellProjects ............... 4-9
SavingProjects ................................. 4-11
SavingaNewMaxwellProject ..................... 4-11
SavingtheActiveMaxwellProject .................. 4-12
SavingaCopyofaProject ........................ 4-12
SaveaProjectasaTechnologyFile................. 4-12
RenamingaProject .............................. 4-13
SavingProjectDataAutomatically .................. 4-13
SaveBeforeSolveOption ........................ 4-14
RecoveringProjectDatainanAuto-SaveFile ........ 4-14
SavingaProjectFromaPreviousVersion ............ 4-15
ClosingaProject ................................ 4-16
DeletingProjects ................................ 4-17
ExitingMaxwellandRMxprt ....................... 4-18
UndoingCommands ............................. 4-19
RedoingCommands ............................. 4-20
RemovingUnusedComponentsfromaProject ........ 4-21
UpdatingDesignComponents...................... 4-22
ManagingProjectsandDesigns .................... 4-23
CopyandPasteaProjectorDesign ................. 4-23
RenameaProjectorDesign ....................... 4-23
Maxwell Online Help
Contents-5
DeleteaProjectorDesign ........................ 4-24
ValidatingDesigns ............................... 4-25
ModelerValidationSettings ....................... 4-25
ExportingFiles .................................. 4-27
ExportingAnsoft2DModelerFiles.................. 4-27
Exporting2DAutoCADDrawingInterchangeFormatFiles4-27
Exporting3DModelFiles ......................... 4-28
ExportingGraphicsFiles .......................... 4-29
ExportingDataTableFiles ........................ 4-30
ImportingFiles.................................. 4-31
Importing2DModelFiles ......................... 4-31
ImportingGDSIIFormatFiles...................... 4-32
Importing3DModelFiles ......................... 4-34
ImportingDXFandDWGFormatFiles ............... 4-36
ImportingSolutionData ........................... 4-39
ImportingDataTables ............................ 4-39
InsertingaDocumentationFileintoaProject .......... 4-41
ImportingandConvertingMaterials ................. 4-42
ImportingaModelfromtheClipboard ................ 4-43
Printing ........................................ 4-44
PreviewingthePrintout ........................... 4-45
ChangingthePageSetup......................... 4-46
SavingDesignNotes ............................. 4-47
UsingthePasswordManagertoControlAccesstoResources
4-49
SpecifyingaNewPasswordProtectedResource ...... 4-49
EncryptingaResource ........................... 4-49
SettingOptionsinMaxwell ........................ 4-50
SettingGeneralOptions .......................... 4-50
GeneralOptions:ProjectOptionsTab ............... 4-50
GeneralOptions:MiscellaneousOptionsTab ......... 4-51
GeneralOptions:DefaultUnitsTab ................. 4-53
GeneralOptions:AnalysisOptionsTab.............. 4-53
Maxwell Online Help
Contents-6
GeneralOptions:WebUpdateOptionsTab ........... 4-56
GeneralOptionsinMaxwell2D/3D .................. 4-56
SolverOptionsinMaxwell2D/3D................... 4-56
SettingMaxwell3DOptions ....................... 4-56
Maxwell3DOptions:GeneralOptionsTab ........... 4-56
Maxwell3DOptions:SolverTab................... 4-57
ReportSetupOptions ............................ 4-59
SettingMaxwell2DOptions ....................... 4-60
Maxwell2DOptions:GeneralOptionsTab ........... 4-60
Maxwell2DOptions:SolverTab................... 4-61
SettingRMxprtOptions ........................... 4-62
RMxprtOptions:GeneralOptionsTab .............. 4-63
RMxprtOptions:SolverTab ....................... 4-64
RMxprtOptions:ExportOptionsTab ................ 4-64
SettingReport2DOptions ......................... 4-64
Report2DOptions:CurveTab..................... 4-65
Report2DOptions:AxisTab ...................... 4-65
Report2DOptions:GridTab ...................... 4-65
Report2DOptions:HeaderTab .................... 4-66
Report2DOptions:NoteTab...................... 4-66
Report2DOptions:LegendTab .................... 4-66
Report2DOptions:Markertab ..................... 4-67
Report2DOptions:MarkerTableTab............... 4-67
Report2DOptions:GeneralTab ................... 4-68
Report2DOptions:TableTab ..................... 4-68
SettingModelerOptions .......................... 4-69
ModelerOptions:OperationTab................... 4-69
ModelerOptions:DisplayTab..................... 4-70
ModelerOptions:DrawingTab .................... 4-72
SettingMachineOptionsinMaxwell ................. 4-72
SettingFieldsReporterOptions .................... 4-72
ExportingOptionsFiles ........................... 4-73
SettingOptionsviaConfigurationFiles ............... 4-74
Maxwell Online Help
Contents-7
SettingorRemovingOptionValuesinConfigurationFiles:Up-
dateRegistryCommand........................... 4-77
ExampleUsesforExportOptionsFeatures........... 4-79
ExampleforSettinganInstallationDefaultValue ...... 4-80
ExampleforSettingaHostDependentDefaultValue .. 4-80
ExampleforRevertingfromaUserDefinedOptionValuetothe
AdministratorDefault............................ 4-80
UserOptionsandtheUpdateRegistryTool ........... 4-81
ExampleofRemovingaHostDependentUserOptionSetting
4-82
ExampleAddingaHostIndependentUserOptionSetting4-82
SettingtheTemporaryDirectory ................... 4-82
ExampleTemporaryDirectoryConfigurationFileFormat 4-83
SettingtheTemporaryDirectoryUsingtheGUI ....... 4-85
SettingtheTemporaryDirectoryFromtheCommandLine4-85
BatchoptionsCommandLineExamples .............. 4-85
Example-BatchOptionswith-Remote(Windows)...... 4-86
Example-Batchsolvewith-Machinelist(Windows) ..... 4-86
Example-Batchsolvewith-Machinelist(Linux) ........ 4-87
Example-BatchsolveforLocal(Windows) ........... 4-88
WorkingwithVariables ........................... 4-91
AddingaProjectVariable ......................... 4-91
DeletingProjectVariables ......................... 4-93
AddingaDesignVariable ......................... 4-93
AddArrayofValuesforaDesignVariable ............ 4-95
EditingaDesignVariable ......................... 4-97
DeletingDesignVariables ......................... 4-98
AddingDatasets ................................ 4-98
DatasetsDialogBox ............................. 4-
100
DatasetPreviewPlotProperties ................... 4-100
ImportingDatasets .............................. 4-
101
EditingDatasets ................................ 4-
Maxwell Online Help
Contents-8
101
CloningDatasets ................................ 4-
102
ExportingDatasets .............................. 4-
102
RemovingDatasets .............................. 4-
103
UsingSheetScan ................................ 4-
103
SheetScanToolbars ............................. 4-104
SheetScanSettings ............................. 4-104
TheCurveValuesWindow........................ 4-105
LoadingaDatasheetPictureintoSheetScan ......... 4-105
DeletingaDatasheetPicture ...................... 4-106
DefiningaSheetScanCoordinateSystem ........... 4-106
DefiningaCharacteristicCurveinSheetScan ........ 4-107
PerformingOperationsonSheetScanCurves ........ 4-108
ImportingCharacteristicDataintoSheetScan......... 4-110
ExportingSheetScanData ........................ 4-111
DefiningMathematicalFunctions ................... 4-
111
DefininganExpression........................... 4-
112
UsingValidOperatorsforExpressions .............. 4-113
UsingIntrinsicVariables.......................... 4-114
UsingIntrinsicFunctionsinExpressions ............. 4-115
UsingPiecewiseLinearFunctionsinExpressions ..... 4-117
UsingDatasetExpressions ....................... 4-117
AssigningVariables .............................. 4-
118
ChoosingaVariabletoOptimize.................... 4-
118
IncludingaVariableinaSensitivityAnalysis .......... 4-
119
Maxwell Online Help
Contents-9
ChoosingaVariabletoTune....................... 4-
120
IncludingaVariableinaStatisticalAnalysis........... 4-
120
ExportingVariablesforDocumentation .............. 4-
121
5.SettingUpaMaxwellDesign
InsertingaMaxwellDesign ........................ 5-2
SettingtheModel'sUnitsofMeasurement............ 5-3
DesignSettings ................................. 5-4
SetMaterialThresholdTab ........................ 5-4
SetMaterialOverrideTab ......................... 5-5
MatrixComputationTab .......................... 5-6
MatrixComputationSettingsforMagnetostaticSolutions 5-6
MatrixComputationSettingsforTransientSolutions ... 5-6
SettingaSymmetryMultiplier...................... 5-7
ExportOptionsTab.............................. 5-8
ModelDepthTab ................................ 5-8
BackgroundMaterialTab ......................... 5-8
PreserveTransientSolutionTab.................... 5-9
AdvancedProductCouplingTab ................... 5-9
BandMeshingTab .............................. 5-9
6.SpecifyingtheSolverType
MagnetostaticSolver ............................. 6-2
EddyCurrentSolver.............................. 6-2
TransientSolver ................................. 6-3
ElectrostaticSolver .............................. 6-3
ACConduction .................................. 6-4
DCConductionSolver ............................ 6-4
ElectricTransientSolver .......................... 6-5
DisconnectedSolutionDomains.................... 6-6
Maxwell Online Help
Contents-10
7.DrawingaModel
DrawingObjects................................. 7-3
DrawingaStraightLineSegment ................... 7-4
DrawingaThree-PointArcLine .................... 7-5
DrawingaCenter-PointArcLine.................... 7-6
DrawingaSpline................................ 7-7
DrawingaPolyline ............................... 7-8
AssigningaCrossSectionandDimensionstoaPolyline 7-9
InsertingLineSegments.......................... 7-11
DrawinganEquation-BasedCurve.................. 7-12
DrawingaCircle ................................ 7-13
DrawinganEllipse ............................... 7-14
DrawingaRectangle ............................. 7-16
DrawingaRegularPolygon........................ 7-16
DrawinganEquation-BasedSurface ................ 7-17
DrawingaSphere ............................... 7-18
DrawingaCylinder .............................. 7-19
DrawingaBox .................................. 7-20
DrawingaRegularPolyhedron ..................... 7-20
DrawingaCone ................................. 7-21
DrawingaTorus ................................ 7-22
DrawingaHelix................................. 7-23
DrawingaSegmentedHelixwithPolygonCross-SectionUsing
aUserDefinedPrimitive.......................... 7-24
DrawingaSegmentedHelixwithRectangularCross-Section
UsingaUserDefinedPrimitive ..................... 7-25
DrawingaSpiral ................................ 7-26
DrawingaSpiralUsingUserDefinedPrimitives........ 7-28
SweepingObjectsAroundanAxis,AlongaVector,orAlonga
Path.......................................... 7-29
DrawingaBondwire ............................. 7-29
DrawingaPoint ................................. 7-30
DrawingaPlane ................................ 7-30
Maxwell Online Help
Contents-11
InsertingaLineSegment ......................... 7-31
CreatingSegmentedGeometry .................... 7-32
SegmentedObjects ............................. 7-33
DrawingNon-ModelObjects ....................... 7-33
SelectingNon-ModelDrawingMode ................ 7-34
ChanginganObjecttoNon-Model.................. 7-34
DrawingaRegion ............................... 7-35
UserCustomizationthroughUserDefinedPrimitives(UDPs)7-
36
CreatingaUserDefinedPrimitive................... 7-36
SpecifyingUDPParameters....................... 7-38
UpdatingtheUserDefinedPrimitivesMenu ........... 7-38
UserDefinedPrimitives(UDPs)forMotorGeometries .. 7-39
StatorGeometries .............................. 7-40
RotorGeometries ............................... 7-41
PoleGeometries................................ 7-42
ParametersforRMxprtUserDefinedPrimitives........ 7-43
RMxprt/Band................................... 7-43
RMxprt/ClawPoleCore........................... 7-44
RMxprt/ConCoil ................................ 7-45
RMxprt/DCMCore ............................... 7-46
RMxprt/DiskCoil................................ 7-48
RMxprt/DiskPMCore............................. 7-49
RMxprt/DiskSlotCore............................ 7-50
RMxprt/DoubleCage............................. 7-51
RMxprt/IPMCore................................ 7-52
RMxprt/LapCoil................................. 7-53
RMxprt/LinearMCore ............................ 7-54
RMxprt/NonSalientPoleCore ...................... 7-54
RMxprt/PMCore................................ 7-56
RMxprt/PMDamperCore.......................... 7-56
RMxprt/RacetrackSlotCore ....................... 7-57
RMxprt/SalientPoleCore.......................... 7-59
Maxwell Online Help
Contents-12
RMxprt/SlotCore ................................ 7-60
RMxprt/SquirrelCage............................ 7-61
RMxprt/SRMCore ............................... 7-62
RMxprt/SynRMCore ............................. 7-62
RMxprt/TransCoil ............................... 7-63
RMxprt/TransCore .............................. 7-64
RMxprt/UnivMCore .............................. 7-64
RMxprt/VentSlotCore ............................ 7-65
RMxprt/WaveCoil ............................... 7-67
ModelAnalysis .................................. 7-69
AnalysisOptionsDialog .......................... 7-70
AnalyzingtheSurfaceMesh....................... 7-71
ModelAnalysisDialog ............................ 7-71
ObjectsTab ................................... 7-72
ObjectsMisalignmentTab........................ 7-73
SurfaceMesh(Single/Pairs)Tab ................... 7-74
LastSimulationMeshTab........................ 7-75
Heal .......................................... 7-76
HealingStageOne:ValidationCheck................ 7-77
HealingStageTwo:FixIntersectionsBetweenObjects.. 7-78
HealingStageThree:FixObjectPairIntersections..... 7-79
HealingStageFour:AnalysisPhase................. 7-79
HealingNon-ManifoldObjects ..................... 7-80
SettingtheHealingOptions........................ 7-82
StitchSheets................................... 7-84
AligningSelectedFaces .......................... 7-84
RemovingSelectedFaces ........................ 7-85
RemovingSelectedEdges ........................ 7-85
ModifyingObjects ............................... 7-87
AssigningColortoObjects ........................ 7-88
SettingtheDefaultColorofObjects................. 7-88
SettingtheDefaultColorofObjectOutlines .......... 7-88
AssigningTransparencytoanObject ................ 7-89
Maxwell Online Help
Contents-13
SettingtheDefaultTransparencyofObjects .......... 7-89
CopyingandPastingObjects ...................... 7-89
CopyinganImagetotheClipboard.................. 7-90
DeletingObjects ................................ 7-90
DeletingStartPointsandEndpoints ................ 7-90
DeletingLastOperation........................... 7-91
CuttingObjects ................................. 7-91
MovingObjects ................................. 7-91
RotatingObjects ................................ 7-91
ChangingtheOrientationofanObject............... 7-92
MirroringObjects ................................ 7-92
OffsettingObjects ............................... 7-94
DuplicatingObjects.............................. 7-94
DuplicatingObjectsAlongaLine ................... 7-95
DuplicatingObjectsAroundanAxis................. 7-96
DuplicatingandMirroringObjects.................. 7-96
ScalingObjects................................. 7-97
SweepingObjects............................... 7-97
SweepingAroundanAxis ........................ 7-97
SweepingAlongaVector ......................... 7-99
SweepingAlongaPath .......................... 7-99
SweepingFacesAlongNormal.................... 7-100
ThickenSheet.................................. 7-100
WrapCommand................................. 7-
101
CoveringLines.................................. 7-
101
CoveringFaces................................. 7-
102
UncoveringFaces............................... 7-
102
DetachingFaces................................ 7-
102
DetachingEdges ................................ 7-
Maxwell Online Help
Contents-14
103
CreatingaCross-Section ......................... 7-
103
ConnectingObjects .............................. 7-
103
MovingFaces .................................. 7-
104
Moving Faces Along the Normal . . . . . . . . . . . . . . . . . . . . . . 7-104
Moving Faces Along a Vector . . . . . . . . . . . . . . . . . . . . . . . . . 7-105
MovingEdgesAlongNormal....................... 7-
106
UnitingObjects ................................. 7-
107
SubtractingObjects .............................. 7-
107
CreatingNewObjectsByIntersectingObjects ......... 7-
108
CreatinganObjectfromaFace .................... 7-
109
CreatinganObjectfromanEdge................... 7-
110
SplittingObjects................................. 7-
110
SeparatingBodies ............................... 7-
112
ConvertingPolylineSegments ..................... 7-
112
RoundingtheEdgeofanObject(FilletCommand) ..... 7-
113
FlatteningtheEdgeofanObject(ChamferCommand) .. 7-
114
ImprintinganObject ............................. 7-
115
ImprintProjectioncommands...................... 7-
117
Maxwell Online Help
Contents-15
PurgingtheHistory .............................. 7-
118
GeneratingHistorytoReproducePortionsofaModel ... 7-
118
ModifyingtheModelView ......................... 7-
119
ChangingtheModelViewwithAlt+DoubleClickAreas.. 7-
120
ApplyanOrientationtotheCurrentView ............. 7-
121
Viewing3DUserInterfaceOptions .................. 7-
122
RotatingtheView ............................... 7-
122
PanningtheView................................ 7-
123
SpinningtheView ............................... 7-
123
ZoomingInandOut .............................. 7-
124
ZoomingInorOutonaRectangularArea ............ 7-124
ZoomingInorOutusingaMousewheel .............. 7-
125
FittingObjectsintheViewWindow.................. 7-
125
FittingAllObjectsinaViewWindow................ 7-125
FittingaSelectioninaViewWindow ................ 7-125
HidingObjectsfromView ......................... 7-
126
ShowingObjects................................ 7-
126
ActiveViewVisibilityDialogue ..................... 7-
128
RenderingObjectsasWireFramesorSolids.......... 7-
128
Maxwell Online Help
Contents-16
SettingtheDefaultRenderingMode................ 7-129
SettingtheSurfaceVisualization ................... 7-
129
UsingClipPlanes ............................... 7-
130
ModifyingtheViewOrientation ..................... 7-
134
ApplyingaDefaultViewOrientation ................ 7-135
ApplyingaNewViewOrientation................... 7-135
RemovinganOrientation ......................... 7-136
ModifyingtheLighting............................ 7-
136
SettingtheProjectionView ........................ 7-
137
SettingtheBackgroundColor ...................... 7-
138
ModifyingtheCoordinateSystemAxesView .......... 7-
139
ShowingorHidingtheAxes ....................... 7-139
ShowtheAxesforSelectedObjects................ 7-139
EnlargingorShrinkingtheAxes.................... 7-139
ShowingorHidingtheTriadAxes.................. 7-139
ChoosingGridSettings........................... 7-
140
SettingtheGridType ............................ 7-140
SettingtheGridStyle ............................ 7-140
SettingtheGridDensityandSpacing ............... 7-141
SettingtheGrid'sVisibility........................ 7-141
SettingtheGridPlane ........................... 7-142
SettingtheColorKeyVisibility ..................... 7-
142
SettingaPlot'sVisibility........................... 7-
142
SelectingItemsintheModelerWindow .............. 7-
Maxwell Online Help
Contents-17
143
SelectingObjects................................ 7-
143
SelectingMultipleObjects........................ 7-144
SelectingObjectsbyName ....................... 7-145
SelectByArea ................................. 7-145
SelectingAllObjectsinaHistoryTreeGroup ......... 7-147
SettingtheDefaultColorandTransparencyofSelectedObjects
7-148
SettingtheDefaultColorofHighlightedObjects ....... 7-148
CreatinganObjectList........................... 7-149
ReassigningObjectstoAnotherObjectList .......... 7-149
UsingorViewingListObjects ..................... 7-150
SelectingFaces ................................. 7-
150
SelectingAllFacesofanObject ................... 7-152
SelectingFacesbyName ........................ 7-152
SelectingFacesbyPlane......................... 7-153
FaceSelectionToolbarIcons...................... 7-153
CreatingaFaceList ............................. 7-154
SelectingEdges................................. 7-
154
SelectingAllEdgesofanObjectorFace ............ 7-155
SelectingVertices ............................... 7-
156
SelectingMulti(aModeforSelectingObjects,Faces,Vertices
orEdges) ...................................... 7-
157
ControllingtheSelectioninMultiMode .............. 7-157
ClearingaSelection ............................. 7-
158
SelectingtheFace,Edge,Vertex,orObjectBehind .... 7-
158
SelectingtheEdgesoftheProblemRegion ........... 7-
Maxwell Online Help
Contents-18
159
SelectingObjectsandSurfacesThatLieInsideOtherObjects
7-159
SelectingBasedonAssignment .................... 7-
159
UsingtheMousetoSelectObjects .................. 7-
159
SelectingObjectsbyVariable ...................... 7-
160
AssigningCoordinatestoNewObjects ............... 7-
161
SettingtheReferencePoint ....................... 7-
161
DefiningCartesianCoordinates .................... 7-
161
DefiningCylindricalCoordinates .................... 7-
162
DefiningSphericalCoordinates..................... 7-
162
UsingAbsoluteCoordinates....................... 7-
163
UsingRelativeCoordinates........................ 7-
164
ChoosingtheMovementMode..................... 7-
165
MovingtheCursorInPlane ........................ 7-
165
MovingtheCursorOutofPlane .................... 7-
165
MovingtheCursorin3DSpace .................... 7-
166
MovingtheCursorAlongtheX-Axis ................. 7-
167
MovingtheCursorAlongtheY-Axis ................. 7-
168
Maxwell Online Help
Contents-19
MovingtheCursorAlongtheZ-Axis ................. 7-
168
ChoosingSnapSettings .......................... 7-
169
SnapSettingGuidelines .......................... 7-
170
MeasureModesforObjects........................ 7-
171
MeasuringPositionandDistance................... 7-
172
SettingCoordinateSystems ....................... 7-
175
SettingtheWorkingCoordinateSystem .............. 7-
176
CreatingaRelativeCoordinateSystem .............. 7-
176
CreatinganOffsetRelativeCS .................... 7-176
CreatingaRotatedRelativeCS .................... 7-177
CreatinganOffsetandRotatedRelativeCS .......... 7-178
CreatingaFaceCoordinateSystem ................. 7-
178
AutomaticallyCreatingFaceCoordinateSystems ..... 7-179
CreatinganObjectCoordinateSystem .............. 7-
179
CreatinganOffsetObjectCS...................... 7-181
CreatingaRotatedObjectCS..................... 7-181
CreatinganObjectCSthatisBothOffsetandRotated . 7-182
MoveCStoEndCommandforHistoryTree .......... 7-
183
ModifyingCoordinateSystems ..................... 7-
184
ExpressingCartesian,Cylindrical,orSphericalCoordinates7-
185
DeletingCoordinateSystems...................... 7-
186
Maxwell Online Help
Contents-20
SettingtheDrawingPlane ......................... 7-
187
8.AssigningMaterials
SolvingInsideorontheSurface.................... 8-3
SearchingforMaterials ........................... 8-4
SearchingbyMaterialName ....................... 8-4
SearchingbyMaterialProperty ..................... 8-4
AddingNewMaterials ............................ 8-5
AssigningMaterialPropertyTypes .................. 8-7
DefiningAnisotropicRelativePermeabilityTensors.... 8-7
DefiningAnisotropicRelativePermittivityTensors ..... 8-9
DefiningAnisotropicConductivityTensors ........... 8-10
DefiningAnisotropicDielectricLossTangentTensors.. 8-11
MagneticLossTangent ........................... 8-12
DefiningMagneticLossTangentTensors ............ 8-12
DefiningVariableMaterialProperties ................ 8-13
SpecifyingThermalModifiers ...................... 8-13
DefiningMaterialPropertiesasExpressions .......... 8-14
DefiningFunctionalMaterialProperties .............. 8-14
MaterialCoordinateSystems ...................... 8-15
LaminationModeling ............................. 8-17
StackingDirection .............................. 8-17
CoreLossTypeforaMaxwellMaterial............... 8-18
CalculatingPropertiesforCoreLoss(BPCurve)....... 8-19
CoreLossCoefficientsforElectricalSteel............ 8-20
CoreLossCoefficientExtraction .................... 8-21
ImportingaBPCurveFromaFile................... 8-22
ManuallySpecifyingBPCurveCoordinates ........... 8-22
AssigningMaterialsfromtheObjectPropertiesWindow . 8-24
ViewingandModifyingMaterialAttributes ............ 8-25
SettingtheMaterialThreshold...................... 8-27
ValidatingMaterials.............................. 8-28
CopyingMaterials ............................... 8-29
Maxwell Online Help
Contents-21
RemovingMaterials .............................. 8-30
ExportingMaterialstoaLibrary ..................... 8-31
SortingMaterials ................................ 8-32
FilteringMaterials................................ 8-33
WorkingwithMaterialLibraries ..................... 8-34
WorkingwithAnsoft'sSystemMaterialLibrary......... 8-34
WorkingwithUserMaterialLibraries ................ 8-34
EditingLibraries ................................. 8-34
ConfiguringDesignLibraries ....................... 8-34
EditingMaterialDefinitions........................ 8-36
SettingaThermalModifier ........................ 8-36
SettingtheTemperatureofObjects.................. 8-38
RevertingObjectstoInitialTemperature ............. 8-39
SettingDeformationofObjectsforStressFeedback .... 8-40
RevertingObjectstoZeroDisplacement ............. 8-41
PermanentMagnets............................. 8-42
Nonlinearvs.LinearPermanentMagnets............. 8-42
ComputeRemanentBrfromB-Hcurve .............. 8-42
TemperatureDependentNonlinearPermanentMagnets 8-43
CharacteristicsandMainParametersofPermanent-magnetic
Materials ...................................... 8-44
DemagnetizationCurve.......................... 8-45
RecoilLines ................................... 8-46
CalculatingthePropertiesforaPermanentMagnet..... 8-49
CalculatingthePropertiesforaNon-LinearPermanentMagnet
8-49
NonlinearMaterials .............................. 8-54
PerfectConductors .............................. 8-55
9.AssigningBoundariesandExcitationsfor3D
Designs
SelectingObjectsandFacesintheGeometry ......... 9-2
DefiningBoundaryConditions ...................... 9-2
DefiningExcitations .............................. 9-2
Maxwell Online Help
Contents-22
ViewingBoundariesandExcitations ................. 9-4
SettingtheVisibilityforBoundariesandExcitations..... 9-4
FunctionalBoundariesandExcitations ............... 9-4
SettingEddyEffectsandDisplacementCurrent ........ 9-6
SettingCoreLossfor3Dand2DTransientand3DEddyCurrent
Solvers ........................................ 9-7
SettingMagnetizationComputations................. 9-8
ShowingandVerifyingConductionPaths ............. 9-11
RecalculatingConductionPaths .................... 9-11
ModifyingBoundaryConditionsandExcitations ........ 9-11
DuplicatingBoundariesandExcitations.............. 9-11
ShowingandHidingBoundariesandExcitations ....... 9-12
ShowingandHidingBoundariesandExcitationsinEveryView
Window ....................................... 9-12
SettingDefaultValuesforBoundariesandExcitations .. 9-12
ReassigningBoundaries .......................... 9-13
ReassigningExcitations .......................... 9-13
DeletingAllBoundariesand/orExcitations ............ 9-14
ReprioritizingBoundaries ......................... 9-14
ViewingandEditingBoundaryorExcitationProperties .. 9-15
SetDefaultBoundary/ExcitationBaseName.......... 9-16
MagnetostaticBoundariesandExcitations ............ 9-17
MagnetostaticBoundaries......................... 9-17
DefaultBoundaryConditionsforaMagnetostaticSolver 9-18
AssigningaMagneticHFieldforaMagnetostaticSolver 9-18
AssigninganInsulatingBoundaryforaMagnetostaticSolver
9-19
AssigningaSymmetryBoundaryConditionforaMagnetostatic
Solver........................................ 9-19
AssigningaMasterBoundaryforaMagnetostaticSolver 9-20
AssigningaSlaveBoundaryforaMagnetostaticSolver. 9-21
MagnetostaticExcitations......................... 9-22
AssigningaVoltageExcitationforaMagnetostaticSolver9-23
AssigningaVoltageDropExcitationforaMagnetostaticSolver
Maxwell Online Help
Contents-23
9-23
AssigningaCurrentDensityExcitationforaMagnetostatic
Solver........................................ 9-23
AssigningaCurrentExcitationforaMagnetostaticSolver9-24
ElectrostaticBoundariesandExcitations ............. 9-25
ElectrostaticBoundaries.......................... 9-26
DefaultBoundaryConditionsforanElectrostaticSolver. 9-26
AssigningaSymmetryBoundaryConditionforanElectrostatic
Solver........................................ 9-26
AssigningaMasterBoundaryforanElectrostaticSolver 9-27
AssigningaSlaveBoundaryforanElectrostaticSolver . 9-28
AssigninganInsulatingBoundaryforanElectrostaticSolver9-
29
ElectrostaticExcitations .......................... 9-30
AssigningaVoltageExcitationforanElectrostaticSolver9-30
AssigningaChargeExcitationforanElectrostaticSolver 9-30
AssigningaFloatingExcitationforanElectrostaticSolver9-31
AssigningaVolumeChargeDensityExcitationforanElectro-
staticSolver ................................... 9-31
DCConductionBoundariesandExcitations ........... 9-32
DCConductionBoundaries........................ 9-32
DefaultBoundaryConditionsforaDCConductionSolver9-33
AssigninganInsulatingBoundaryforaDCConductionSolver
9-33
AssigningaSymmetryBoundaryConditionforaDCConduc-
tionSolver..................................... 9-33
AssigningaMasterBoundaryforaDCConductionSolver9-34
AssigningaSlaveBoundaryforaDCConductionSolver 9-35
DCConductionExcitations........................ 9-36
AssigningaVoltageExcitationforaDCConductionSolver9-
37
AssigningaCurrentExcitationforaDCConductionSolver9-
37
AssigningaSinkExcitationforaDCConductionSolver 9-37
Maxwell Online Help
Contents-24
DCConduction+ElectrostaticBoundariesandExcitations9-
38
EddyCurrentBoundariesandExcitations............. 9-39
EddyCurrentBoundaries ......................... 9-39
DefaultBoundaryConditionsfortheEddyCurrentSolver9-40
AssigningaMagneticHFieldfortheEddyCurrentSolver9-40
AssigninganInsulatingBoundaryfortheEddyCurrentSolver
9-41
AssigningaSymmetryBoundaryfortheEddyCurrentSolver
9-41
AssigningaMasterBoundaryfortheEddyCurrentSolver9-42
AssigningaSlaveBoundaryfortheEddyCurrentSolver 9-43
AssigningaRadiationBoundaryfortheEddyCurrentSolver9-
44
AssigninganImpedanceBoundaryfortheEddyCurrentSolver
9-45
EddyCurrentExcitations .......................... 9-48
AssigningaCurrentDensityExcitationfortheEddyCurrent
Solver........................................ 9-48
AssigningaCurrentDensityTerminalExcitationfortheEddy
CurrentSolver ................................. 9-49
AssigningaCurrentExcitationfortheEddyCurrentSolver9-
49
TransientBoundariesandExcitations ................ 9-51
TransientBoundaries ............................ 9-51
DefaultBoundaryConditionsforaTransientSolver .... 9-52
AssigningaZeroTangentialHFieldBoundaryforaTransient
Solver........................................ 9-52
AssigninganInsulatingBoundaryforaTransientSolver 9-53
AssigningaSymmetryBoundaryforaTransientSolver . 9-53
AssigningaMasterBoundaryforaTransientSolver ... 9-53
AssigningaSlaveBoundaryforaTransientSolver .... 9-54
TransientExcitations ............................. 9-56
AssigningaCoilTerminalforaTransientSolver ...... 9-56
Maxwell Online Help
Contents-25
AssigningaWindingSetupforaTransientSolver ..... 9-57
SettingUpanExternalCircuit ..................... 9-59
EditingtheExternalCircuitConnection .............. 9-62
ElectricTransientSolverBoundariesandExcitations ... 9-64
ElectricTransientExcitations ...................... 9-64
AssigningaChargeExcitationforanElectricTransientSolver
9-64
AssigningaVolumeChargeDensityExcitationforanElectric
TransientSolver ................................ 9-65
10.AssigningBoundariesandExcitationsfor2D
Designs
SelectingObjectsandFacesinthe2DGeometry ..... 10-1
DefiningBoundaryConditionsin2D................ 10-2
Defining2DExcitations.......................... 10-2
Viewing2DBoundariesandExcitations............. 10-4
SettingtheVisibilityfor2DBoundariesandExcitations . 10-4
FunctionalBoundariesandExcitationsin2D......... 10-4
SettingEddyEffectsandDisplacementCurrentin2D .. 10-5
Modifying2DBoundaryConditionsandExcitations .... 10-5
Duplicating2DBoundariesandExcitations .......... 10-6
ShowingandHidingBoundariesandExcitationsin2D. 10-6
ShowingandHiding2DBoundariesandExcitationsinEvery
ViewWindow ................................. 10-6
SettingDefaultValuesfor2DBoundariesandExcitations10-7
Reassigning2DBoundaries...................... 10-7
Reassigning2DExcitations....................... 10-8
DeletingAll2DBoundariesand/orExcitations ........ 10-8
ViewingandEditing2DBoundaryorExcitationProperties10-8
2DMagnetostaticBoundariesandExcitations........ 10-9
2DMagnetostaticBoundaries ..................... 10-9
DefaultBoundaryConditionsfora2DMagnetostaticSolver
10-10
AssigningaVectorPotentialfora2DMagnetostaticSolver10-
Maxwell Online Help
Contents-26
10
AssigningaSymmetryBoundaryConditionfora2DMagneto-
staticSolver .................................. 10-11
AssigningaBalloonBoundaryConditionfora2DMagnetostatic
Solver....................................... 10-11
AssigningaMasterBoundaryfora2DMagnetostaticSolver
10-11
AssigningaSlaveBoundaryfora2DMagnetostaticSolver10-
12
2DMagnetostaticExcitations ..................... 10-13
AssigningaCurrentDensityExcitationfora2DMagnetostatic
Solver....................................... 10-13
AssigningaCurrentExcitationfora2DMagnetostaticSolver
10-13
2DElectrostaticBoundariesandExcitations ......... 10-15
2DElectrostaticBoundaries ...................... 10-15
DefaultBoundaryConditionsfora2DElectrostaticSolver10-
16
AssigningaSymmetryBoundaryConditionfora2DElectrostat-
icSolver ..................................... 10-16
AssigningaBalloonBoundaryConditionfora2DElectrostatic
Solver....................................... 10-17
AssigningaMasterBoundaryfora2DElectrostaticSolver10-
17
AssigningaSlaveBoundaryfora2DElectrostaticSolver10-
18
2DElectrostaticExcitations....................... 10-18
AssigningaVoltageExcitationfora2DElectrostaticSolver
10-18
AssigningaChargeExcitationfora2DElectrostaticSolver10-
19
AssigningaFloatingExcitationfora2DElectrostaticSolver
10-19
AssigningaChargeDensityExcitationfora2DElectrostatic
Solver....................................... 10-20
Maxwell Online Help
Contents-27
2DACConductionBoundariesandExcitations ....... 10-21
2DACConductionBoundaries .................... 10-21
DefaultBoundaryConditionsfora2DACConductionSolver
10-22
AssigningaSymmetryBoundaryConditionfora2DACCon-
ductionSolver ................................. 10-22
AssigningaBalloonBoundaryConditionfora2DACConduc-
tionSolver.................................... 10-23
AssigningaMasterBoundaryfora2DACConductionSolver
10-23
AssigningaSlaveBoundaryfora2DACConductionSolver
10-23
2DACConductionExcitations .................... 10-24
AssigningaVoltageExcitationfora2DACConductionSolver
10-24
2DDCConductionBoundariesandExcitations....... 10-26
2DDCConductionBoundaries .................... 10-26
DefaultBoundaryConditionsfora2DDCConductionSolver
10-27
AssigningaSymmetryBoundaryConditionfora2DDCCon-
ductionSolver ................................. 10-27
AssigningaBalloonBoundaryConditionfora2DDCConduc-
tionSolver.................................... 10-28
AssigningaResistanceBoundaryConditionfora2DDCCon-
ductionSolver ................................. 10-28
AssigningaMasterBoundaryfora2DDCConductionSolver
10-29
AssigningaSlaveBoundaryfora2DDCConductionSolver
10-29
2DDCConductionExcitations .................... 10-30
AssigningaVoltageExcitationfora2DDCConductionSolver
10-30
2DEddyCurrentBoundariesandExcitations ......... 10-31
2DEddyCurrentBoundaries ..................... 10-32
DefaultBoundaryConditionsforthe2DEddyCurrentSolver
Maxwell Online Help
Contents-28
10-33
AssigningaVectorPotentialforthe2DEddyCurrentSolver
10-33
AssigninganImpedanceBoundaryforthe2DEddyCurrent
Solver....................................... 10-33
AssigningaSymmetryBoundaryforthe2DEddyCurrentSolv-
er ........................................... 10-36
AssigningaBalloonBoundaryConditionforthe2DEddyCur-
rentSolver ................................... 10-36
AssigningaMasterBoundaryforthe2DEddyCurrentSolver
10-36
AssigningaSlaveBoundaryforthe2DEddyCurrentSolver
10-37
2DEddyCurrentExcitations ...................... 10-38
AssigningaCurrentExcitationforthe2DEddyCurrentSolver
10-38
AssigningaParallelCurrentExcitationforthe2DEddyCurrent
Solver....................................... 10-38
AssigningaCurrentDensityExcitationforthe2DEddyCurrent
Solver....................................... 10-39
2DTransientBoundariesandExcitations ............ 10-40
2DTransientBoundaries......................... 10-40
DefaultBoundaryConditionsfora2DTransientSolver 10-41
AssigningaVectorPotentialfora2DTransientSolver 10-41
AssigningaSymmetryBoundaryfora2DTransientSolver10-
42
AssigningaBalloonBoundaryConditionfora2DTransient
Solver....................................... 10-42
AssigningaMasterBoundaryfora2DTransientSolver 10-42
AssigningaSlaveBoundaryfora2DTransientSolver 10-43
2DTransientExcitations ......................... 10-43
AssigningaCurrentExcitationfora2DTransientSolver10-44
AssigningaCurrentDensityExcitationfora2DTransientSolver
10-44
AssigningaCoilfora2DTransientSolver .......... 10-45
Maxwell Online Help
Contents-29
AssigninganEndConnectionfora2DTransientSolver 10-46
AssigningaWindingSetupfora2DTransientSolver . 10-46
SettingupaYConnectionin2D .................. 10-49
SettingUpanExternalCircuitin2D ............... 10-50
EditingtheExternalCircuitConnectionfor2DTransient10-54
11.SettingUpMotionforTransientProjects
AssigningaBandofMotion ....................... 11-2
ModifyingMotionSetupProperties ................. 11-4
Non-CylindricalRotationalMotion.................. 11-5
ReassigningaBandofMotion..................... 11-6
AddingandDeletingObjectsfromaBandofMotion ... 11-7
ShowingandHidingMotionObjects................ 11-7
SettingtheVisibilityforMotionObjects.............. 11-7
12.AddingSolutionParameters
AssigningaForceParameter ..................... 12-1
AssigningaTorqueParameter .................... 12-2
AssigningaMatrix.............................. 12-2
ReassigningParameters ......................... 12-4
ViewingParameterList .......................... 12-4
DeletingAllParameters .......................... 12-4
ShowingandHidingSolutionParameters............ 12-5
SettingtheVisibilityforParameters ................ 12-5
ChangingtheParameterSetup .................... 12-6
13.DefiningMeshOperations
AssigningLength-BasedMeshRefinementonObjectFaces
13-3
AssigningLength-BasedMeshRefinementInsideObjects13-4
AssigningSkinDepth-BasedMeshRefinementonObjectFaces
13-5
AssigningCylindricalGapTreatment ............... 13-7
ModifyingSurfaceApproximationSettings ........... 13-8
SurfaceApproximation .......................... 13-9
Maxwell Online Help
Contents-30
GuidelinesforModifyingSurfaceApproximationSettings13-9
ModifyingtheModelResolution ................... 13-11
RevertingtotheInitialMesh ...................... 13-13
ApplyingMeshOperationsWithoutSolving .......... 13-14
SpecifyingInitialMeshSettings .................... 13-15
DeletingAllPreviously-AssignedMeshRefinements ... 13-17
ViewingListofMeshOperations ................... 13-18
ReassigningaMeshOperation .................... 13-19
ViewingMeshProperties ......................... 13-20
14.SpecifyingSolutionSettings
AnalysisParameters ............................ 14-4
SettingAnalysisParametersforNon-TransientSolutions14-6
DefiningSettingsontheGeneralTabforNon-TransientSolu-
tions ......................................... 14-6
SetupNameforNon-TransientSolutions ........... 14-6
AdaptiveSetupforNon-TransientSolutions......... 14-6
ParameterSettings............................. 14-7
DefiningSettingsontheConvergenceTabforNon-Transient
Solutions ..................................... 14-7
DefiningExpressionsforNon-TransientSolutions ..... 14-7
DefiningSettingsontheSolverTabforNon-TransientSolutions
14-9
MagnetostaticSolverSettings.................... 14-9
EddyCurrentSolverSettings..................... 14-20
ElectrostaticSolverSettings ..................... 14-21
ACConductionSolverSettings................... 14-21
DCConductionSolverSettings................... 14-21
ImportMeshforNon-TransientSolutions ........... 14-21
SetupLinkforNon-TransientSolutions ............. 14-23
EnablingtheIterativeSolvers .................... 14-26
DefiningSettingsontheFrequencySweepTabforEddyCur-
rentSolutions.................................. 14-26
DefiningSettingsontheDefaultsTabforNon-TransientSolu-
Maxwell Online Help
Contents-31
tions ......................................... 14-27
SettingAnalysisParametersforTransientSolutions ... 14-28
DefiningSettingsontheGeneralTabforTransientSolutions
14-28
SetupNameforTransientSolutions ............... 14-28
TransientSetup(2D) ........................... 14-28
TransientSetup(3D) ........................... 14-29
DefiningSettingsontheSaveFieldsTabforTransientSolutions
14-29
DefiningSettingsontheAdvancedTabforTransientSolutions
14-30
UsingaControlPrograminTransientSolutions ...... 14-30
GetDataFromLink ............................ 14-33
ContinuefromaPreviouslySolvedSetup ........... 14-35
ComputeDataForLink ......................... 14-35
DefiningExpressionsforTransientSolutions ......... 14-35
DefiningSettingsontheSolverTabforTransientSolutions14-
37
DefiningSettingsontheOutputVariablesTabforTransientSo-
lutions........................................ 14-37
DefiningSettingsontheDefaultsTabforTransientSolutions
14-38
SettingAnalysisParametersforElectricTransientSolutions
14-39
DefiningSettingsontheGeneralTabforElectricTransientSo-
lutions........................................ 14-39
SetupNameforElectricTransientSolutions ......... 14-39
TimeStepsSetupforElectricTransientSolutions .... 14-39
DefiningExpressionsforElectricTransientSolutions .. 14-39
DefiningSettingsontheSolverTabforElectricTransientSolu-
tions ......................................... 14-41
DefiningSettingsontheDefaultsTabforElectricTransientSo-
lutions........................................ 14-42
ResettingAnalysistoTimeZero................... 14-43
Maxwell Online Help
Contents-32
ChangingMemorySettings ....................... 14-44
SpecifyingtheDesiredRAMLimit.................. 14-44
SpecifyingtheHardMemoryLimit ................. 14-45
SettingViewContextforTransientSolutions ......... 14-46
SpeedandPositionDisplaySettings ............... 14-46
RenamingaSolutionSetup ....................... 14-47
CopyingaSolutionSetup ........................ 14-48
DisablingandEnablinganAnalysisSetup........... 14-49
SetupLinkDialog ............................... 14-50
ClearingLinkedData ............................ 14-51
SettingtheReportUpdatingDuringAnalysisOptions .. 14-52
15.MaxwellCouplingwithANSYSWorkbench,
Simplorer,andHFSS
MaxwelltoANSYSThermalCoupling ............... 15-3
CouplingMaxwellDesignswithANSYSThermalviaWorkbench
15-4
MaxwelltoANSYSStressFeedbackCoupling ........ 15-11
CouplingMaxwellDesignswithANSYSStructuralviaWork-
bench ........................................ 15-11
CouplingMaxwellwithBothANSYSThermalandStructuralvia
Workbench .................................... 15-16
Example1:Oneiteration ....................... 15-17
Example2:Manualiteration...................... 15-20
Example3:RevertMaxwellSolution ............... 15-21
Example4:OnlyStressFeedback................. 15-23
NearFieldCouplingBetweenMaxwellandHFSS..... 15-27
MagneticbiassourcecouplingbetweenMaxwellandHFSS
15-28
CouplingMaxwelltoaSimplorerComponent ......... 15-29
16.ExportingEquivalentCircuitData
ExportingaCircuitFromaParametricSolution ....... 16-2
TypesofEquivalentCircuitModels................. 16-3
Maxwell Online Help
Contents-33
ExportingaCircuitFromanImportedTable .......... 16-5
SettingUpCurrentVariables ...................... 16-7
CurrentVariablesRepresentAmpere-Turns ......... 16-7
CurrentVariablesRepresentAmperes .............. 16-7
SettingInputsandOutputsintheTableWindow ...... 16-9
SettingCoilandMechanicalTerminals .............. 16-12
17.ScriptinginMaxwell
RecordingaScript .............................. 17-2
StoppingScriptRecording ........................ 17-3
RunningaScript................................ 17-4
PausingandResumingaScript ................... 17-5
StoppingaScript............................... 17-6
18.RunningSimulations
SolvingaSingleSetup........................... 18-2
RunningMoreThanOneSimulation ................ 18-3
MonitoringQueuedSimulations ................... 18-4
SpecifyingtheAnalysisOptions ................... 18-5
RemoteAnalysis ............................... 18-6
Troubleshooting ................................ 18-9
DistributedAnalysis ............................. 18-12
ConfiguringDistributedAnalysis ................... 18-12
EditingDistributedMachineConfigurations.......... 18-13
SelectinganOptimalConfigurationforDistributedAnalysis18-
17
MonitoringtheSolutionProcess ................... 18-18
HighPerformanceComputing(HPC)Integration...... 18-20
SchedulerTerminology .......................... 18-20
WhataSchedulerDoes ......................... 18-21
InstallationofAnsoftTools ....................... 18-22
FirewallConfiguration .......................... 18-23
InstallationDirectoryExamples................... 18-23
AnsoftJobs ................................... 18-23
Maxwell Online Help
Contents-34
IntegrationwithMicrosoftWindowsHPCScheduler.. 18-24
WindowsHPCJobProperties ................... 18-25
WindowsHPCTaskProperties .................. 18-26
WindowsHPCJobTemplates................... 18-28
SelectingComputationResourceUnits(JobUnitType) 18-29
HowtoSelecttheWindowsHPCJobUnitType .... 18-29
WindowsHPCJobCredentials .................. 18-30
SubmittingandMonitoringAnsoftHPCJobs......... 18-31
SubmittingandMonitoringJobsUsingtheAnsoftSubmitHPC
JobDialog.................................... 18-32
TheAnsoftSubmitHPCJobDialog ................ 18-35
SpecifyingtheNumberofComputeResourceUnitsforHPC
Jobs ........................................ 18-37
IntegrationwithPlatformLoadSharingFacility(LSF) .. 18-38
InstallationofAnsoftToolsonLSFCluster.......... 18-39
IntegrationofAnsoftProductswithLSF............. 18-41
LSFJobSubmissionGuidelines .................. 18-41
LSFCommandUsedtoLaunchRemoteEngineProcesses
18-42
SubmittingAnsoftLSFBatchJobs ................ 18-42
CurrentWorkingDirectorywithLSF ............... 18-42
QuotingAnsoftCommandorArgumentsforLSF ..... 18-43
bsubArguments ............................... 18-43
MonitoringAnsoftLSFBatchJobs................. 18-43
TerminatingAnsoftLSFBatchJobs ............... 18-44
ExampleLSFbsubCommandLines ............... 18-44
KnownIssuesforLSF .......................... 18-48
TroubleshootingforLSF......................... 18-48
WorkaroundswithLSF .......................... 18-50
IntegrationwithPBS(PortableBatchSystem)Professionalfrom
AltairEngineering .............................. 18-50
qsubArguments ............................... 18-51
MonitoringAnsoftPBSBatchJobs ................ 18-52
ExamplePBSqsubCommandLines............... 18-53
Maxwell Online Help
Contents-35
IntegrationwithSunGridEngine(SGE) ............. 18-55
MonitoringAnsoftSGEBatchJobs................ 18-58
AnsoftDesktop-monitorCommandLineOptionforSGE18-58
ExampleSGEqsubCommandLines .............. 18-59
RecommendedPracticesforSGEClusters.......... 18-60
Issuewithqrsh(SGE) .......................... 18-65
IssuewithMainWinCoreServicesforSGE ......... 18-65
CommandLineEnhancementsforAnsoftDesktopProducts
18-67
IntegratingAnsoftToolswithThirdPartySchedulers... 18-69
BuildInformationforSchedulerProxyLibrary ........ 18-69
ImplementationDetailsforCustomSchedulerIntegration18-
70
IsProductLaunchedInYourEnvironment ............. 18-70
GetTempDirectory ............................. 18-71
GetMachineListAvailableForDistribution............ 18-71
LaunchProcess................................ 18-72
GetUseRsmForEngineLaunch .................... 18-73
GetThisJobID................................. 18-74
GetSchedulerDisplayName...................... 18-74
TestingYourSchedulerIntegration................. 18-75
TestingIsProductLaunchedInYourEnvironment ...... 18-75
TestingGetSchedulerDisplayNameandGetThisJobID 18-76
TestingGetTempDirectory ....................... 18-76
TestingGetMachineListAvailableForDistribution...... 18-76
TestingLaunchProcess......................... 18-76
TestingGetUseRsmForEngineLaunch ............. 18-77
TroubleshootingCustomSchedulerIntegration ....... 18-77
NoneoftheProxyFunctionsareCalled ............ 18-78
TroubleshootingIsProductLaunchedInYourEnvironmentFunc-
tion ......................................... 18-78
TroubleshootingGetSchedulerDisplayName ........ 18-78
TroubleshootingGetThisJobID ................... 18-78
Maxwell Online Help
Contents-36
TroubleshootingGetTempDirectory................ 18-79
TroubleshootingGetMachineListAvailableForDistribution18-
79
TroubleshootingLaunchProcess .................. 18-79
TroubleshootingGetUseRsmForEngineLaunch...... 18-80
ChangingaSolutionPriority ...................... 18-81
AbortingAnalyses .............................. 18-82
Re-solvingaProblem............................ 18-83
Re-solvingafterANSYSWorkbenchThermalFeedback 18-84
19.PostProcessingandGeneratingReports
ViewingSolutionData........................... 19-2
ViewingConvergenceData....................... 19-2
ViewingtheNumberofCompletedPasses .......... 19-3
ViewingOutputVariableConvergence ............. 19-3
PlottingConvergenceData ...................... 19-3
ViewingaSolution'sProfile ....................... 19-4
ViewingMatrixData............................. 19-6
ExportingaCircuitModel ........................ 19-7
CouplingCoefficientMatrix ...................... 19-8
ViewingParameterData ......................... 19-9
ViewingMeshStatistics.......................... 19-9
CleaningUpSolutions ........................... 19-11
CreatingAnimations............................. 19-13
CreatingGeometryAnimations .................... 19-13
CreatingFieldPlotAnimations .................... 19-14
ControllingtheAnimation'sDisplay................. 19-15
ExportingAnimations............................ 19-17
CreatingReports ............................... 19-19
CreatingaQuickReport ......................... 19-20
QuickReportCategories ........................ 19-20
CreatingaNewReport .......................... 19-21
UsingFamiliesTabforReports................... 19-24
CreatingaReportfromanAnsoftReportDataFile .... 19-26
Maxwell Online Help
Contents-37
ModifyingReports.............................. 19-27
ModifyReport:UsingtheEditSweepDialog......... 19-29
ZoomingandFittingReports ...................... 19-30
ModifyingtheBackgroundPropertiesofaReport ..... 19-31
ModifyingtheLegendinaReport ................. 19-33
CreatingCustomReportTemplates ............... 19-34
SelectingtheReportType ........................ 19-35
SelectingtheDisplayType ....................... 19-36
Creating2DRectangularPlots.................... 19-36
CreatingaRectangularStackedPlot............... 19-38
Creating3DRectangularPlots.................... 19-40
PlottingaQuantityVersusAdaptivePass ........... 19-41
CreatingDataTables ........................... 19-42
CreatingRectangularContourPlots ............... 19-44
DeltaMarkersin2DReports ..................... 19-45
WorkingwithTraces ............................ 19-45
EditingTraceProperties......................... 19-47
EditingtheDisplayPropertiesofTraces............ 19-48
AddingDataMarkerstoTraces ................... 19-49
DiscardingReportValuesBelowaSpecifiedThreshold 19-51
AddTraceCharacteristics ....................... 19-51
RemovingTraces .............................. 19-52
CopyandPasteofReportandTraceDefinitions ..... 19-53
CopyandPasteofReportandTraceData.......... 19-54
SweepingaVariableinaReport................... 19-54
SweepingValuesAcrossaDistance ............... 19-55
SelectingaFunction ............................ 19-55
SelectingSolutionQuantitiestoPlot ................ 19-60
SelectingaFieldQuantitytoPlot .................. 19-61
PlottingImportedSolutionData ................... 19-61
Post-ProcessedQuantities....................... 19-61
SettingaRangeFunction ........................ 19-62
EyeMeasurementRangeFunctionParameters ...... 19-63
Maxwell Online Help
Contents-38
PerformFFTonaReport ........................ 19-64
FFTWindowFunctions ......................... 19-65
ApplyFFTtoReportFunctions ................... 19-67
PerformTDRonReport.......................... 19-68
SpectralDomainPlotsinTransient(FFT)............ 19-68
TimeDomainPlotsinEddy(IFFT) ................. 19-69
SpecifyingOutputVariables ...................... 19-70
AddingaNewOutputVariable.................... 19-71
BuildinganExpressionUsingExistingQuantities ..... 19-71
FunctionListforOutputVariables................. 19-72
DeletingOutputVariables ....................... 19-75
UpdatingAllReports ............................ 19-76
OpeningAllReports............................. 19-77
DeletingReports ............................... 19-78
PlottingFieldOverlays ........................... 19-79
PlottingStandardFieldQuantities ................. 19-81
LossQuantities................................ 19-83
NamedExpressions ............................ 19-85
PlottingDerivedFieldQuantities................... 19-85
Creating2DReportsFromNamedExpressions ...... 19-86
CreatingScalarFieldPlots....................... 19-88
CreatingVectorFieldPlots....................... 19-88
ModifyingFieldPlots ............................ 19-88
SettingFieldPlotAttributes ....................... 19-89
ModifyingFieldPlotColors ...................... 19-91
ModifyingtheFieldPlotScale.................... 19-93
ModifyingVectorFieldPlotArrows ................ 19-95
SettingtheMeshVisibilityonFieldPlots ............ 19-96
ModifyingScalarFieldPlotIsovalues .............. 19-96
MappingScalarFieldPlotTransparencytoFieldValues19-97
ModifyingMarkersonPointPlots ................. 19-98
ViewingDataMarkers .......................... 19-98
ModifyingLinePlots ............................ 19-99
Maxwell Online Help
Contents-39
SettingaPlot'sVisibility.......................... 19-99
SavingaFieldOverlayPlot ....................... 19-
100
OpeningaFieldOverlayPlot ..................... 19-
100
DeletingaFieldOverlayPlot...................... 19-
101
SettingFieldPlotDefaults ........................ 19-
101
RenamingaPlot ............................... 19-
101
UsingtheFieldsCalculator....................... 19-
102
OpeningtheFieldsCalculator ..................... 19-
102
ContextArea .................................. 19-
104
TheCalculatorStack ............................ 19-
104
Registers..................................... 19-
104
EnlargingtheRegisterDisplayArea ............... 19-105
UnitsofMeasure .............................. 19-105
StackCommands .............................. 19-
105
InputCommands ............................... 19-
106
QuantityCommand ............................ 19-107
GeometryCommand ........................... 19-107
ConstantCommand ............................ 19-108
NumberCommand ............................. 19-109
FunctionCommand ............................ 19-109
GeometrySettings............................. 19-110
ReadinganExternalInput....................... 19-111
GeneralCommands ............................ 19-
Maxwell Online Help
Contents-40
111
StepsforCalculatingtheComplexVectorElectricField 19-
113
ScalarCommands .............................. 19-
114
Vec?Command ............................... 19-115
1/x(Inverse)Command ......................... 19-115
PowCommand ................................ 19-115
(SquareRoot)Command ........................ 19-115
Trig......................................... 19-116
(Integral)Command ............................19-116
MinCommand.................................19-117
MaxCommand................................19-117
(Gradient)Command........................... 19-118
LnCommand ................................. 19-118
LogCommand ................................ 19-118
VectorCommands .............................. 19-
119
Scal?Command ...............................19-119
MatlCommand................................19-119
Mag Command ................................19-120
DotCommand.................................19-120
CrossCommand ...............................19-121
DivgCommand ................................19-121
CurlCommand................................19-121
TangentCommand .............................19-121
NormalCommand..............................19-122
UnitVecCommand.............................19-122
OutputCommands ............................. 19-
123
ValueCommand ...............................19-123
EvalCommand ................................19-124
WriteCommand ...............................19-125
ExportCommand ..............................19-126
Maxwell Online Help
Contents-41
CalculatingDerivedFieldQuantities................ 19-
127
NamedExpressionLibrary ....................... 19-
128
ExitingtheFieldsCalculator...................... 19-
129
PlottingtheMesh ............................... 19-
130
SettingMeshPlotAttributes ...................... 19-
130
UserDefinedOutputs:Introduction ................. 19-
133
NamedProbesandPropertiesinUserDefinedOutputs 19-
133
ComputationofTracesBasedUDOCalculations...... 19-
134
DimensionsReductionbyUDOCalculations ......... 19-
135
DynamicProbes ............................... 19-
135
UserDefinedOutputs:PythonScriptAPI............ 19-
137
UDOExtensionIMPLEMENTATION ............... 19-
137
ImportStatements ............................. 19-137
DOExtensionClass ............................ 19-137
IUDOPluginExtensionAbstractClass .............. 19-138
GetUDSName() ............................... 19-138
GetUDSDescription()........................... 19-139
GetUDSSweepNames() ......................... 19-139
GetCategoryNames() ........................... 19-139
GetQuantityNames(stringcategoryName) .......... 19-139
GetQuantityInfo(stringquantityName) .............. 19-140
GetInputUDSParams(List<UDSProbeParams>udsParams,
19-140
Maxwell Online Help
Contents-42
GetDynamicProbes(List<UDSDynamicProbes>dynam-
icProbes);.................................... 19-143
Compute(IUDSInputDatainData,................. 19-143
OptionalFunctionsinIDOExtensionAbstractClass ... 19-
147
Validate(List<string>errorStringList, ............... 19-147
DataTypesUsedinPythonScript ................. 19-
147
IUDSInputData ................................ 19-148
GetDoubleProbeData(probeName) ................ 19-148
GetSweepsDataForProbe(probeName,sweepName) . 19-149
GetComplexProbeData(probeName) .............. 19-149
GetSweepNamesForProbe(probeName) ........... 19-150
GetRequiredQuantities() ........................ 19-150
GetVariableValues() ............................ 19-150
GetInterpolationOrdersData(probeName); .......... 19-151
IUDSOutputData............................... 19-151
SetSweepsData(sweepName,sweepData) ......... 19-151
SetDoubleQuantityData(qtyName,qtyData).......... 19-152
SetComplexQuantityData(qtyName,qtyData)........ 19-152
WorkingWithPropertiesforUDO .................. 19-
152
IPropertyListAbstractclass...................... 19-153
IPropertyAbstractclass ......................... 19-153
INumberPropertyAbstractclass .................. 19-153
ITextPropertyAbstractclass ..................... 19-154
IMenuPropertyAbstractclass .................... 19-154
OtherApplicationSpecificClassesUsedinPythonScripts19-
155
ConstantsClass ............................... 19-155
UDSProbeParamsClass........................ 19-155
UDSDynamicProbesClass ...................... 19-156
QuantityInfoClass ............................. 19-156
IProgressMonitorAbstractClass .................. 19-157
Maxwell Online Help
Contents-43
Using.NETCollectionClassesandInterfacesinPythonScripts
19-158
UserDefinedOutputs:MessagingMethods .......... 19-
159
UserDefinedOutputs:ScriptOrganization ........... 19-
166
UsingScriptLibraries ........................... 19-
166
Usingadditional.NETassemblies ................. 19-
166
20.DesktopScriptingwithIronPython
IntroductiontoIronPython........................ 20-2
IronPythonMini-cookbook ........................ 20-3
ObtainingmoreInformation....................... 20-8
DiscoveringMethods ............................ 20-8
HelponaMethod .............................. 20-9
TranslatingScriptcommandsfromVBScripttoIronPython20-
10
ScriptMethodArgument......................... 20-10
VBscriptMethodCallTypes ...................... 20-11
ConvertingVBScriptFunctioncallstoIronPythonSyntax20-12
ReturnValues ................................. 20-12
PrimitiveMethodArguments ..................... 20-12
NamedArrayArgument......................... 20-12
NamedArrayValueswithAllKeyValuePairs........ 20-14
NamedArrayswithNestedNamedArrays .......... 20-15
FunctionBlocks ................................ 20-16
ScriptingUsingIronPython:PuttingitallTogether .... 20-18
IronPythonScriptExecutionEnvironment ........... 20-18
ScriptArgumentforIronPython................... 20-19
ScriptObjectsforIronPython ..................... 20-19
MethodsforIronPython ......................... 20-19
ScriptingusingEmbeddedVBScriptorJavaScript..... 20-20
Maxwell Online Help
Contents-44
ScriptingwithIronPython......................... 20-22
Appendix:IronPythonSamples .................... 20-24
21.Optimetrics
ParametricOverview............................ 21-3
SettingUpaParametricAnalysis .................. 21-4
AddingaVariableSweepDefinition................ 21-4
SpecifyingVariableValuesforaSweepDefinition .... 21-5
SynchronizingVariableSweepDefinitions .......... 21-6
ModifyingaVariableSweepDefinitionManually...... 21-7
OverridingaVariable'sCurrentValueinaParametricSetup
21-7
SpecifyingaSolutionSetupforaParametricSetup.... 21-8
SpecifyingtheSolutionQuantitytoEvaluateforParametric
Analysis ..................................... 21-8
SetupCalculationsforOptimetrics................. 21-9
SpecifyingaSolutionQuantity'sCalculationRange... 21-10
ViewingResultsforParametricSolutionQuantities .... 21-11
UsingDistributedAnalysis........................ 21-12
AddingaParametricSweepfromaFile............. 21-13
OptimizationOverview ........................... 21-15
ChoosinganOptimizer .......................... 21-15
QuasiNewton ................................. 21-15
PatternSearch................................ 21-18
SequentialNon-linearProgramming(SNLP)......... 21-20
SequentialMixedIntegerNonLinearProgramming ... 21-21
GeneticAlgorithm .............................. 21-22
OptimizationVariablesandtheDesignSpace ........ 21-23
SettingUpanOptimizationAnalysis ................ 21-24
OptimizationSetupfortheQuasiNewtonOptimizer ... 21-25
OptimizationSetupforthePatternSearchOptimizer... 21-26
OptimizationSetupfortheSNLPOptimizer.......... 21-27
OptimizationSetupfortheSMINLPOptimizer ........ 21-28
OptimizationSetupfortheGeneticAlgorithmOptimizer 21-29
Maxwell Online Help
Contents-45
SettingtheMaximumIterationsforanOptimizationAnalysis
21-31
CostFunction.................................. 21-31
AcceptableCost ............................... 21-32
CostFunctionNoise ............................ 21-32
AddingaCostFunction ......................... 21-33
SettingaGoalValue ........................... 21-36
GoalWeight .................................. 21-38
ModifyingtheStartingVariableValueforOptimization . 21-39
SettingtheMin.andMax.VariableValuesforOptimization21-
39
OverridingtheMin.andMax.VariableValuesforaSingleOpti-
mizationSetup ................................ 21-40
ChangingtheMin.andMax.VariableValuesforEveryOptimi-
zationSetup.................................. 21-40
StepSize..................................... 21-40
SettingtheMin.andMax.StepSizes .............. 21-42
SettingtheMinandMaxFocus.................... 21-42
Equalizingtheinfluenceofdifferentoptimizationvariables.21-
43
TosettheMinandMaxFocusvalues: ............. 21-43
SolvingaParametricSetupBeforeanOptimization ... 21-43
SolvingaParametricSetupDuringanOptimization ... 21-44
AutomaticallyUpdatingaVariable'sValueAfterOptimization
21-44
ChangingtheCostFunctionNorm ................. 21-44
ExplanationofL1,L2andMaxnormsinOptimization . 21-45
AdvancedGeneticAlgorithmOptimizerOptions ...... 21-47
SensitivityAnalysisOverview ..................... 21-50
SelectingaMasterOutput ........................ 21-50
SettingUpaSensitivityAnalysis ................... 21-51
SettingtheMaximumIterationsPerVariable ......... 21-52
SettingUpanOutputParameter ................... 21-52
SpecifyingaSolutionQuantityforanOutputParameter 21-53
Maxwell Online Help
Contents-46
SettingtheCalculationRangeofanOutputParameter 21-54
ModifyingtheStartingVariableValueforSensitivityAnalysis
21-54
SettingtheMin.andMax.VariableValues ........... 21-55
OverridingtheMin.andMax.VariableValuesforaSingleSen-
sitivitySetup .................................. 21-55
ChangingtheMin.andMax.VariableValuesforEverySensitiv-
itySetup ..................................... 21-56
SettingtheInitialDisplacement.................... 21-56
SolvingaParametricSetupBeforeaSensitivityAnalysis21-56
SolvingaParametricSetupDuringaSensitivityAnalysis21-57
StatisticalAnalysisOverview ...................... 21-58
SettingUpaStatisticalAnalysis ................... 21-59
SettingtheMaximumIterationsforaStatisticalAnalysis 21-59
SpecifyingtheSolutionQuantitytoEvaluateforStatisticalAnal-
ysis .......................................... 21-60
SettingtheSolutionQuantity'sCalculationRange ..... 21-61
SettingtheDistributionCriteria .................... 21-61
OverridingtheDistributionCriteriaforaSingleStatisticalSetup
21-62
ChangingtheDistributionCriteriaforEveryStatisticalSetup
21-63
StatisticalCutoffs.............................. 21-64
EditDistribution ............................... 21-64
ModifyingtheStartingVariableValueforStatisticalAnalysis
21-66
SolvingaParametricSetupDuringaStatisticalAnalysis 21-66
TuningOverview ............................... 21-67
TuningaVariable ............................... 21-68
ApplyingaTunedStatetoaDesign................ 21-70
SavingaTunedState ........................... 21-70
RevertingtoaSavedTunedState ................. 21-71
ResettingVariableValuesafterTuning ............. 21-71
SavingFieldSolutionsforOptimetricsAnalyses ...... 21-72
Maxwell Online Help
Contents-47
SavingFieldSolutionsforaParametricSetup ........ 21-72
SavingFieldSolutionsforanOptimizationSetup ..... 21-72
SavingFieldSolutionsforaSensitivitySetup ........ 21-73
SavingFieldSolutionsforaTuningAnalysis......... 21-73
SavingFieldSolutionsforaStatisticalSetup ......... 21-74
CopyingMeshesinOptimetricsSweeps............. 21-75
AddinganExpressionintheOutputVariablesWindow. 21-76
ExcludingaVariablefromanOptimetricsAnalysis .... 21-77
ModifyingtheValueofaFixedVariable ............. 21-78
LinearConstraints .............................. 21-79
SettingaLinearConstraint ....................... 21-79
ModifyingaLinearConstraint..................... 21-80
DeletingaLinearConstraint...................... 21-80
RunninganOptimetricsAnalysis................... 21-82
ViewingAnalysisResultsforOptimetricsSolutions.... 21-83
ViewingSolutionDataforanOptimetricsDesignVariation21-
83
ViewinganOptimetricsSolution'sProfileData........ 21-84
ViewingResultsforParametricSolutionQuantities .... 21-84
PlottingSolutionQuantityResultsvs.aSweptVariable 21-85
ViewingCostResultsforanOptimizationAnalysis .... 21-85
PlottingCostResultsforanOptimizationAnalysis .... 21-86
ViewingOutputParameterResultsforaSensitivityAnalysis
21-86
PlottingOutputParameterResultsforaSensitivityAnalysis
21-86
ViewingDistributionResultsforaStatisticalAnalysis .. 21-87
PlottingDistributionResultsforaStatisticalAnalysis .. 21-88
LinktoDesignXplorer........................... 21-89
22.Maxwell2DTechnicalNotes
................................. TechnicalNotes22-2
Solvers ....................................... 22-3
ElectrostaticFieldSimulation ..................... 22-4
Maxwell Online Help
Contents-48
ElectrostaticTheory............................. 22-4
Capacitance ................................... 22-5
CapacitanceinTermsofChargesandVoltages ...... 22-6
CapacitanceinTermsofCurrentsandTimeVaryingVoltages
22-7
ComputingCapacitance ......................... 22-9
VirtualForces(Electrostatic) ...................... 22-9
VirtualTorques(Electrostatic) ..................... 22-10
FluxLinkage(Electrostatic) ....................... 22-11
MagnetostaticFieldSimulation.................... 22-12
MagnetostaticTheory ........................... 22-12
Inductance .................................... 22-13
InductanceinTermsofFluxLinkageandCurrents .... 22-14
InductanceinTermsofVoltagesandTimeVaryingCurrents
22-16
ComputinganInductanceMatrix .................. 22-17
VirtualForces(Magnetostatic) .................... 22-17
VirtualTorques(Magnetostatic) ................... 22-18
FluxLinkage(Magnetostatic) ..................... 22-19
EddyCurrentFieldSimulation ..................... 22-20
EddyCurrentTheory ............................ 22-20
ComponentsofCurrentDensity................... 22-21
IntegratingtheCurrentDensity ................... 22-21
EddyCurrentAssumptions ...................... 22-22
DerivingtheEddyCurrentEquation................ 22-22
MaxwellsEquations............................ 22-23
RelationshipofMagneticandElectricField.......... 22-24
RelationshipofCurrentandCurrentDensity ......... 22-24
EddyCurrentsandSkinDepth.................... 22-25
ImpedanceMatrix .............................. 22-26
ComputinganImpedanceMatrix .................. 22-27
InductanceandResistanceinImpedanceComputations22-
29
Maxwell Online Help
Contents-49
VirtualForces(EddyCurrent)..................... 22-30
VirtualTorques(EddyCurrent) .................... 22-31
CurrentFlow(EddyCurrent) ...................... 22-31
NonlinearEddyCurrentFieldSimulation............ 22-32
NonlinearEddyCurrentTheory ................... 22-32
DCConductionFieldSimulation................... 22-35
DCConductionTheory .......................... 22-35
Steady-stateConditions ......................... 22-37
RelevantTimeConstant......................... 22-38
Conductance.................................. 22-39
CurrentFlow(DCConduction) .................... 22-39
ACConductionFieldSimulation................... 22-41
ACConductionTheory .......................... 22-41
ACConductionAssumptions ..................... 22-41
Admittance .................................... 22-42
CurrentFlow .................................. 22-42
AxisymmetricFieldSimulation..................... 22-43
TransientSimulation ............................ 22-45
TransientSimulationAssumptions................. 22-45
Time-DependentMagneticFieldSimulation.......... 22-45
StrandedConductors ........................... 22-46
SolidConductors .............................. 22-47
TranslationalMotion ............................ 22-49
RotationalMotion .............................. 22-49
PhasorNotation ................................ 22-50
RealandImaginaryComponents.................. 22-51
BoundaryConditions............................ 22-53
VectorPotential ................................ 22-54
VectorPotentialBoundariesinAxisymmetricModels .. 22-55
Symmetry..................................... 22-55
OddSymmetry................................ 22-55
EvenSymmetry ............................... 22-56
Balloon ....................................... 22-57
Maxwell Online Help
Contents-50
Impedance .................................... 22-58
Resistance .................................... 22-60
Master/Slave .................................. 22-61
2DSources/Excitations.......................... 22-64
2DVoltageSources............................. 22-65
DCVoltageSource............................. 22-65
ACVoltageSource ............................. 22-65
2DCurrent/CurrentDensity....................... 22-66
DCCurrentSource ............................. 22-66
ACCurrentSource ............................. 22-66
ActivevsPassiveConductors.................... 22-67
PassiveConductors ............................ 22-68
CurrentSourcesforTouchingConductors .......... 22-68
CurrentSourcesforPerfectConductors............ 22-69
Solid,Stranded,andParallelCurrentSources ....... 22-69
2DCharge/ChargeDensity ....................... 22-70
2DFloating ................................... 22-71
ExternalCircuitConnections ...................... 22-71
ReferencesforElectricorMagneticPotential......... 22-72
EndConnectionsin2DTransient .................. 22-72
FunctionalBoundariesandSources................ 22-74
23.Maxwell3DTechnicalNotes
........................... IntroductiontoMaxwell23-2
MouseButtonUsage ............................ 23-3
MaxwellDesktop............................... 23-3
FiniteElementAnalysis .......................... 23-4
TypesofSolutionsandDegreesofFreedom(DOFs) .. 23-5
SizeofMeshVs.Accuracy....................... 23-6
TheMeshGenerationProcess.................... 23-6
SeedingtheMesh.............................. 23-7
SurfaceApproximationSettings................... 23-9
MeshingRegionVs.ProblemRegion .............. 23-10
ModelResolution ............................... 23-11
Maxwell Online Help
Contents-51
ElectricFieldCalculation ......................... 23-13
SymmetryforanElectricFieldSolution ............. 23-17
EvenSymmetry(FluxTangential)foranElectricFieldSolution
23-17
OddSymmetry(FluxNormal)foranElectricFieldSolution23-
17
MatchingBoundaryforanElectricFieldSolution ...... 23-18
MasterBoundaryforanElectricFieldSolution ....... 23-18
SlaveBoundaryforanElectricFieldSolution ........ 23-18
WhentoUseMatchingBoundariesforanElectricFieldSolution
23-18
SolutionProcessforanElectricFieldSolution ........ 23-19
ElectricFieldEnergyforanElectricFieldSolution ..... 23-20
...... CapacitanceMatrixforanElectricFieldSolution23-21
CapacitanceinTermsofChargeandVoltage........ 23-21
CapacitanceinTermsofCurrentandTimeVaryingVoltage
23-22
MatrixElementsforanElectricFieldSolution ........ 23-23
SymmetryforaCapacitanceMatrix ................ 23-24
SolutionProcessforaCapacitanceMatrix .......... 23-24
LorentzForceforanElectrostaticCalculation ........ 23-26
LorentzTorqueforanElectrostaticCalculation....... 23-26
VirtualForceforanElectrostaticCalculation ......... 23-27
VirtualTorqueforanElectrostaticCalculation........ 23-27
OhmicLossforDCConduction.................... 23-28
SurfaceChargeDensity ......................... 23-29
MagnetostaticFieldCalculation.................... 23-30
SymmetryforaMagnetostaticFieldSolution ......... 23-36
OddSymmetry(FluxTangential)foraMagnetostaticFieldSo-
lution ........................................ 23-36
EvenSymmetry(FluxNormal)foraMagnetostaticFieldSolu-
tion ......................................... 23-36
MatchingBoundaryforaMagnetostaticFieldSolution . 23-37
MasterBoundaryforaMagnetostaticFieldSolution... 23-37
Maxwell Online Help
Contents-52
SlaveBoundaryforaMagnetostaticFieldSolution.... 23-37
WhentoUseMatchingBoundariesforaMagnetostaticField
Solution...................................... 23-38
SolutionProcessforaMagnetostaticFieldSolution ... 23-38
MagneticFieldEnergyforaMagnetostaticFieldSolution23-
38
MagneticCoenergyforaMagnetostaticFieldSolution . 23-40
InductanceMatrixforaMagnetostaticFieldSolution... 23-41
TypesofInductance ............................ 23-41
InductanceinTermsofFluxLinkageandCurrent..... 23-44
InductanceinTermsofVoltageandTime-VaryingCurrent23-
45
MatrixElementsforanInductanceMatrix ........... 23-46
SymmetryforanInductanceMatrix ................ 23-46
SolutionProcessforanInductanceMatrix .......... 23-46
GroupingInductanceMatrixElements.............. 23-47
LorentzForce................................. 23-48
LorentzTorque ................................ 23-49
VirtualForce .................................. 23-49
VirtualTorque ................................. 23-50
FrequencyDomain(EddyCurrent)Solver ........... 23-52
PhasorNotationforanEddyCurrentSolution........ 23-53
RealandImaginaryComponentsforanEddyCurrentSolution
23-54
SolutionProcessforanEddyCurrentSolution ....... 23-56
SkinDepthforanEddyCurrentSolution ............ 23-57
MagneticFieldEnergyforanEddyCurrentSolution... 23-58
HysteresisLossforanEddyCurrentSolution ........ 23-59
OhmicLossforanEddyCurrentSolution............ 23-60
DielectricLossforanEddyCurrentSolution ......... 23-61
ImpedanceMatrixforanEddyCurrentSolution ....... 23-62
MatrixElementsforanImpedanceMatrix ........... 23-63
SolutionProcessforanImpedanceMatrix .......... 23-64
LineImpedance ............................... 23-65
Maxwell Online Help
Contents-53
ACInductanceandResistanceforanImpedanceMatrix 23-66
LorentzForceinanEddyCurrentSolution ........... 23-67
LorentzTorqueinanEddyCurrentSolution.......... 23-67
VirtualForceinanEddyCurrentSolution............ 23-68
VirtualTorqueinanEddyCurrentSolution .......... 23-68
AverageForceinanEddyCurrentSolution .......... 23-68
IterativeMatrixSolverTechnicalDetails ............. 23-71
3DTransientExcitations(Sources) ................. 23-73
CoilTerminals................................. 23-75
SolutionProcessforaTransientSolution............ 23-78
ComplexFieldBehaviorforaTransientSolution ...... 23-78
SpecialMeshStructureforaTransientSolution ...... 23-79
OvercomingChallengesforaTransientSolution ...... 23-79
BoundaryConditionsforaTransientSolution ........ 23-79
DefaultBoundaryConditionsforaTransientSolution . 23-79
NaturalBoundaryConditionsforaTransientSolution . 23-79
NeumannBoundaryConditionsforaTransientSolution 23-80
SymmetryforaTransientSolution ................. 23-80
OddSymmetry(MagneticFluxTangential)foraTransientSolu-
tion ......................................... 23-80
EvenSymmetry(MagneticFluxNormal)foraTransientSolu-
tion ......................................... 23-80
MatchingBoundaryforaTransientSolution.......... 23-83
InsulatingBoundaryforaTransientSolution ......... 23-84
MeshingandBandSettingRecommendationsfor3DTransient
ApplicationsWithMotion ......................... 23-85
GeometricObjectsBondwires ................... 23-88
HealingModels ................................ 23-89
ErrorTypes ................................... 23-89
DetectingErrors................................ 23-90
HealingandMeshing ............................ 23-91
DetectingandAddressingModelProblemstoImproveMeshing
23-92
StageOne:Healingduringgeometryimport ......... 23-92
Maxwell Online Help
Contents-54
StageTwo:Healingaftergeometryimport ........... 23-93
StageThree:RemovingObjectIntersections ......... 23-95
StageFour:RemovingSmallFeatures .............. 23-96
StageFive:AligningObjects ...................... 23-97
StageSix:Troubleshootingifmeshingstillfails....... 23-97
HandlingComplicatedModels .................... 23-98
InterfaceOptionsforComplicatedModels........... 23-99
RAMSettingsforLargeGeometries ............... 23-99
GeometryImperfectionsandComplicatedModels .... 23-99
ObjectOverlapSettingsforComplicatedModels..... 23-100
PostProcessingforComplicatedModels ........... 23-100
Materials...................................... 23-
101
RelativePermeability............................ 23-
101
RelativePermittivity ............................. 23-
102
BulkConductivity ............................... 23-
102
DielectricLossTangent .......................... 23-
103
MagneticLossTangent .......................... 23-
103
FerriteMaterials................................ 23-
103
MagneticSaturation ............................ 23-103
LandeGFactor................................ 23-104
DeltaH ...................................... 23-104
AnisotropicMaterials ............................ 23-
104
AnisotropicRelativePermeabilityTensors .......... 23-105
AnisotropicRelativePermittivityTensors ........... 23-106
AnisotropicConductivityTensors.................. 23-106
AnisotropicDielectricLossTangentTensors ........ 23-107
Maxwell Online Help
Contents-55
AnisotropicMagneticLossTangentTensors ........ 23-108
AnisotropicMaterialsandPorts ................... 23-109
Frequency-DependentMaterialProperties ........... 23-
109
DebyeMaterials................................ 23-
110
24.Maxwell15Examples
Maxwell3D/2DExamples: ........................ 24-2
RMxprtExamples:.............................. 24-8
Maxwell Online Help
Contents-56
Welcome to Maxwell Online Help 1-1
1
Welcome to Maxwell Online Help
Use the following links for quick information on the following topics.
For detailed information on these and many other topics:
Use F1 on any open dialog to open the Online Help for that dialog.
Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for
help on that selection.
With the Online Help Contents tab selected, navigate the help topic hierarchy.
With the Online Help Index tab selected, search the help index.
With the Online Help Search tab selected, search the full help text.
With Online Help Favorites tab selected, create a custom list of favorite topics.
User Interface Quick Links
Use the following links for quick information on the following topics.
User Interface Modeling
Meshing Boundaries/Excitations
Analysis Optimetrics
Results Scripting
Getting Started Guides Example Projects
Technical Library Materials Ansoft Website
The Maxwell Desktop Customize Toolbar Options
General Purpose Keyboard Shortcuts for
Maxwell
Running Maxwell From a Command Line
Maxwell Online Help
1-2 Welcome to Maxwell Online Help
For detailed information on these and many other topics:
Use F1 on any open dialog to open the Online Help for that dialog.
Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for
help on that selection.
With the Online Help Contents tab selected, navigate the help topic hierarchy.
With the Online Help Index tab selected, search the help index.
With the Online Help Search tab selected, search the full help text.
With Online Help Favorites tab selected, create a custom list of favorite topics.
Modeling Quick Links
Use the following links for quick information on the following topics.
For detailed information on these and many other topics:
Use F1 on any open dialog to open the Online Help for that dialog.
Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for
help on that selection.
With the Online Help Contents tab selected, navigate the help topic hierarchy.
With the Online Help Index tab selected, search the help index.
With the Online Help Search tab selected, search the full help text.
With Online Help Favorites tab selected, create a custom list of favorite topics.
Boundaries/Excitations Quick Links
Use the following links for quick information on the following topics.
Set the models units of measurement. Setting Modeler Drawing Options
Assign transparency to an object. Selecting Items in the Modeler Window
Subtract objects. Drawing Objects
Measuring Objects Choosing the Cursor Movement Mode
Drawing Bondwires Importing Files
Keyboard shortcuts for the 3D Modeler
Window.
Modifying Objects
Modifying the Model View
Defining Boundary Conditions Defining Excitations
Setting Eddy Effects and Displacement Current Setting Core Loss for Transient Solver
Setting Up Motion for Transient Projects Functional Boundaries and Excitations
Defining Boundary Conditions in 2D Defining 2D Excitations
Maxwell Online Help
Welcome to Maxwell Online Help 1-3
For detailed information on these and many other topics:
Use F1 on any open dialog to open the Online Help for that dialog.
Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for
help on that selection.
With the Online Help Contents tab selected, navigate the help topic hierarchy.
With the Online Help Index tab selected, search the help index.
With the Online Help Search tab selected, search the full help text.
With Online Help Favorites tab selected, create a custom list of favorite topics.
Meshing Quick Links
Use the following links for quick information on the following topics.
For detailed information on these and many other topics:
Use F1 on any open dialog to open the Online Help for that dialog.
Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for
help on that selection.
With the Online Help Contents tab selected, navigate the help topic hierarchy.
With the Online Help Index tab selected, search the help index.
With the Online Help Search tab selected, search the full help text.
With Online Help Favorites tab selected, create a custom list of favorite topics.
Analysis Quick Links
Use the following links for quick information on the following topics.
For detailed information on these and many other topics:
Use F1 on any open dialog to open the Online Help for that dialog.
Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for
help on that selection.
Defining Mesh Operations Plot the finite element mesh
Detecting and Addressing Model
Problems to Improve Meshing
Handling Complicated Models
Specifying the Analysis Options Remote Analysis
Configuring Distributed Analysis Specifying Solution Settings
Selecting an Optimal Configuration for
Distributed Analysis
Setting Adaptive Analysis Parameters
Specifying Output Variable Convergence
Maxwell Online Help
1-4 Welcome to Maxwell Online Help
With the Online Help Contents tab selected, navigate the help topic hierarchy.
With the Online Help Index tab selected, search the help index.
With the Online Help Search tab selected, search the full help text.
With Online Help Favorites tab selected, create a custom list of favorite topics.
Optimetrics Quick Links
Use the following links for quick information on the following topics.
For detailed information on these and many other topics:
Use F1 on any open dialog to open the Online Help for that dialog.
Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for
help on that selection.
With the Online Help Contents tab selected, navigate the help topic hierarchy.
With the Online Help Index tab selected, search the help index.
With the Online Help Search tab selected, search the full help text.
With Online Help Favorites tab selected, create a custom list of favorite topics.
Results Quick Links
Use the following links for quick information on the following topics.
For detailed information on these and many other topics:
Use F1 on any open dialog to open the Online Help for that dialog.
Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for
help on that selection.
Setting up a Parametric Analysis Setting up an Optimization Analysis
Setting up a Sensitivity Analysis Tuning a Variable
Setting up a Statistical Analysis Setting a Range function
Setup Calculations for Optimetrics Adding a cost function
View solution data Creating Reports
Plot field overlay Working with Traces
Plot the finite element mesh Adding Data Markers to Traces
Create animations Creating a Quick Report
Specifying Output Variables Dynamically Updating Reports During
Solution
Using the Fields Calculator
Maxwell Online Help
Welcome to Maxwell Online Help 1-5
With the Online Help Contents tab selected, navigate the help topic hierarchy.
With the Online Help Index tab selected, search the help index.
With the Online Help Search tab selected, search the full help text.
With Online Help Favorites tab selected, create a custom list of favorite topics.
Scripting Quick Links
Use the following links for quick information on the following topics.
For detailed information on these and many other topics:
Use F1 on any open dialog to open the Online Help for that dialog.
Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for
help on that selection.
With the Online Help Contents tab selected, navigate the help topic hierarchy.
With the Online Help Index tab selected, search the help index.
With the Online Help Search tab selected, search the full help text.
With Online Help Favorites tab selected, create a custom list of favorite topics.
Recording a Script Running a script
Stopping Script Recording Pausing and Resuming a Script
Stopping a Script Introduction to Scripting Command Language
Maxwell Online Help
1-6 Welcome to Maxwell Online Help
Getting Started with Maxwell and RMxprt 2-1
2
Getting Started with Maxwell and
RMxprt
Maxwell is an interactive software package that uses finite element analysis (FEA) to solve three-
dimensional (3D) electrostatic, magnetostatic, eddy current, and transient problems.
Using Maxwell you can compute:
Static electric fields, forces, torques, and capacitances caused by voltage distributions and
charges.
Static magnetic fields, forces, torques, and inductances caused by DC currents, static external
magnetic fields, and permanent magnets.
Time-varying magnetic fields, forces, torques, and impedances caused by AC currents and
oscillating external magnetic fields.
Transient magnetic fields caused by electrical sources and permanent magnets.
Rotational Machine Expert (RMxprt) is an interactive software package used for designing and
analyzing electrical machines.
Related Topics
Working with Maxwell Projects and Designs
Setting Up a Maxwell Design
Getting Started with RMxprt
Quick Start for RMxprt
Using the Maxwell Circuit Editor
Maxwell 3D Online Help
2-2 Getting Started with Maxwell and RMxprt
System Requirements
Maxwell supports the following operating systems:
Windows
Linux
For details regarding which revisions of each of these operating systems are supported; as well as,
memory and disk requirements and known issues at the time of shipping, consult the readme file
shipped with this release of the software by clicking the link below:
.
On all systems, when you run Maxwell for the first time (that is, with no project directory specified
in the registry), or if the project directory or the temp directory does not exist, Maxwell asks you to
set the project and temp directories. For the temp directory, you need to ensure adequate disk space
is available.
Maxwell 15 requires at least the FLEXlm for Ansoft v10.8.5 license server.
Related Topics
Additional Windows Information
Additional Linux Information
Additional Windows Information
In addition to information in the readme.txt file, the following information may be useful to Win-
dows users:
Supported Platforms
Windows XP Service Pack 2 (32 and 64-bit)
Windows 7 Business Class (32 and 64-bit)
Windows Server 2003 Service Pack 1 (32 and 64-bit)
Note If you try to run Maxwell and get a message reporting a corrupted license file, please
contact Ansoft.
Note Maxwell displays a warning message if the license file expires within 15 days.
Note All operating systems must have 32-bit OpenGL libraries installed regardless of whether
the OS is 32-bit or 64-bit.
Note If you are using the NVIDIA Quadro2 MXR/EX video card on Windows XP, you
should also download Version 40.41 or greater video driver, available for download at
http://www.nvidia.com.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-3
Windows HPC Server 2008
32-Bit System Requirements
Minimum System Requirements
Processor: All fully compatible 686 (or later) instruction set processors, 500 MHz
Hard Drive Space (for HFSS software): 200 MB
RAM: 512 MB
Recommended Minimum Configuration
Processor: All fully compatible 786 (or later) instruction set processors, 1 GHz
Hard Drive Space (for HFSS software and temporary files): 500 MB
RAM: 2 GB
64-bit System Requirements
Minimum System Requirements:
Supported processors: AMD Athlon 64, AMD Opteron, Intel Xeon with Intel EM64T support, Intel
Pentium 4 with Intel EM64T support Hard Drive Space (for HFSS software): 200 MB
RAM: 2 MB
Recommended Minimum Configuration (for Optimal Performance)
Supported processors: AMD Athlon 64, AMD Opteron, Intel Xeon with Intel EM64T support, Intel
Pentium 4 with Intel EM64T support Video card: 128-bit SVGA or PCI Express video card Hard
Drive Space (for HFSS software and temporary files): 700 MB
RAM: 8 GB
Related Topics
Increasing RAM on a 32-bit PC
Increasing RAM on a 32-Bit PC
Users with the appropriate Windows OS can take advantage of potentially all the installed RAM up
to a limit of 3GB on 32-bit machines. Doing so also requires setting up the appropriate OS boot.ini
switch (/3GB) to tell the OS that 3 GB is to be used for application space and only one GB for the
OS kernel and related overhead.
Increasing RAM on a 32-Bit Windows Vista PC
If you are running the Windows Vista 32-bit Operating System, you can take advantage of poten-
tially all the installed RAM up to a limit of 3GB on 32-bit machines. On Windows Vista, the /3gb
switch has been replaced with an option called increaseuserva. You must edit its value using the
bcdedit utility.
Warning Windows Vista (32-bit and 64-bit) is supported in limited capacity for this release.
Ansoft will attempt to assist with any problems or questions you may have but
cannot guarantee full compatibility with Windows Vista.
Maxwell 3D Online Help
2-4 Getting Started with Maxwell and RMxprt
If you type bcdedit from a Windows command prompt, you will see the current values for the Boot
Manager and Boot Loader. If you do not have increaseuserva set, then you will not see this line in
the boot loader output.
To set increaseuserva to 3GB:
1. Open a Command Prompt window.
2. Type bcdedit /set increaseuserva 3072 in the Command Prompt window and press
Enter.
To delete the increaseuserva setting, which will revert the OS back to 2GB:
1. Open a Command Prompt window.
2. Type bcdedit /deletevalue increaseuserva in the Command Prompt window and press
Enter.
Related Topics
Network installations on Windows for Non-graphical batch solves without product-links
Network Installations on Windows for Non-graphical batch solves
without product-links
To run a networked installation of Ansoft desktop products from a Windows node, the Visual Stu-
dio redistributables must be installed on each node.
Installing Visual Studio Redistributables
1. Navigate to the following URL
http://www.microsoft.com/downloads/en/details.aspx?familyid=2051a0c1-c9b5-4b0a-a8f5-
770a549fd78c&displaylang=en
If you are on a 32 bit OS: install vcredist_x86.exe only
If you are on a 64 bit OS: install vcredist_x86.exe and vcredist_x64.exe
2. When you are done you should see the following in Programs and Features in Control Panel (it
is important that the version completely matches).
Note You must edit this value as an administrator. If you have User Access Control enabled,
then you must start the command prompt in elevated mode. To do this, find the
Command Prompt in the Windows Start menu, right-click on it, and choose Run as
Administrator.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-5
Updating the Security Policy
1. Prerequisites for each machine
Ensure that the.NET framework is installed. If the %SYSTEMROOT%\Micro-
soft.NET\Framework\v2.0.50727 directory is missing, please install the .NET Framework 2.0
redistributables x86 package from http://www.microsoft.com/downloads/en/details.aspx?Fam-
ilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5
2. To setup full trust permissions for the installation share location, the following four lines can
be put into a batch file and run on each machine:
For 32 bit product version:
cd %SYSTEMROOT%
cd Microsoft.NET\Framework\v2.0.50727
CasPol.exe -pp off -m -ag 1.2 -url file://\\Owner-PC\path\Maxwell15.0\* FullTrust
CasPol.exe -pp off -m -ag 1.3 -url file://\\Owner-PC\path\Maxwell15.0\* FullTrust
For 64 bit product version:
cd %SYSTEMROOT%
cd Microsoft.NET\Framework64\v2.0.50727
CasPol.exe -pp off -m -ag 1.2 -url file://\\Owner-PC\path\Maxwell15.0\* FullTrust
CasPol.exe -pp off -m -ag 1.3 -url file://\\Owner-PC\path\Maxwell15.0\* FullTrust
Additional Linux Information
If you attempt to open a Maxwell project from a version before v12 in Linux, you receive an error
message that the project must first be converted to the current version of Maxwell. This must be
done using the -BatchSave command on a non-Linux system running Maxwell v12.
-BatchSave <project file name>
Saves a named project to the current version. This is primarily intended for converting
projects to the current software version from a previous version. Generally, conversion is
Note The following instructions for updating security policy should be performed by your
local Windows environment IT administrator.
Note The v2.0.50727 bit is important as picking up CasPol.exe from v4, v3.5 directories will
not do the expected thing.
The order of backward/forward slashes in the CasPol.exe command is important.
Note It is recommended that an IT admin provide full trust to the share on which Ansoft
products are installed in the group security policy. The group policy will affect all
computer accounts in that group and is the easiest way to update all the computers
expected to run Ansoft products from the share.
Maxwell 3D Online Help
2-6 Getting Started with Maxwell and RMxprt
supported for the previous two releases of the product. The conversion must be done under
Windows before those projects can run on a Linux system.
See Running Maxwell From a Command Line.
Supported Platforms
Red Hat Enterprise Linux v4 and v5
SUSE Linux Enterprise Server v10 and v11.
32-bit System Requirements
Minimum System Requirements:
Processor: All fully compatible 686 (or later) instruction set processors, 500 MHz Hard Drive
Space (for HFSS software): 200 MB
RAM: 512 MB
Recommended Minimum Configuration (for Optimal Performance):
Processor: All fully compatible 786 (or later) instruction set processors, 2 GHz Hard Drive Space
(for HFSS software and temporary files): 700 MB
RAM: 4 GB
64-bit System Requirements
Minimum System Requirements:
Supported processors: AMD Athlon 64, AMD Opteron, Intel Xeon with Intel EM64T support, Intel
Pentium 4 with Intel EM64T support Hard Drive Space (for HFSS software): 200 MB
RAM: 2 MB
Recommended Minimum Configuration (for Optimal Performance):
Supported processors: AMD Athlon 64, AMD Opteron, Intel Xeon with Intel EM64T support, Intel
Pentium 4 with Intel EM64T support Video card: 128-bit SVGA or PCI Express video card Hard
Drive Space (for HFSS software and temporary files): 700 MB
RAM: 8 GB
Setting Up a Printer on Linux
To print from Ansoft software on Linux, you must first configure a printer . To do this, launch the
MainWin control panel.
1. Run mwcontrol & in the installation subdirectory.
The MainWin Control Panel appears.
2. Double-click the Printers icon to start the MainWin Printers panel.
3. Double-click the Add New Printer icon.
The Add Printer Wizard is launched.
4. Select the Let the wizard search for printers radio button and click Next.
5. In the Identify your Unix Printer dialog do one of the following:
If your printer is listed, select it.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-7
If your printer is not listed, you will need to cancel and get someone with root permission
to setup a printer queue on your machine (and then you will need to come back and run
this wizard later).
6. Click Next.
The Print Command dialog appears.
7. Change the Print Command only if instructed to do so by your user administrator.
8. Click Next.
The Choose PPD File dialog appears.
9. Select your printer manufacturer and model from the list or use the Choose File button to
browse to a PPD file provided by your printer manufacturer. Click Next.
The Printer Name dialog appears.
10. Enter a Name to identify the printer. Click Next.
11. Choose whether this printer should be the default and click Next.
12. Choose whether you would like to print a test page and click Next.
13. In the Finish Adding New Printer dialog, verify the printer setup information. If the informa-
tion is incorrect, use the Back button to return to the appropriate dialog and correct the entry. If
the information is correct, click Finish to complete the setup of your printer.
With a print queue setup, and the printer added, you should then see the printer when running Max-
well.
Note On Red Hat Linux, you can run 'System Settings/Printing' to launch printconf-gui (as
root).
Maxwell 3D Online Help
2-8 Getting Started with Maxwell and RMxprt
The Maxwell Desktop UI
The Maxwell desktop consists of several windows, a menu bar, toolbars, and a status bar.
You can open multiple windows in Maxwell to display different parts of the model. For instance,
one window can remain fixed on the winding, one on the diagram, and one on the main desktop
window. To open a new window, click Window>New Window. To move back and forth between
windows, select the Windows menu, and select the window you want to view.
Click a link below to view more information about that desktop component.
Project
Manager
Menu bar
Toolbars
Message Manager
Progress window
Status bar
Property
window
3D Modeler window
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-9
Working with the Menu Bar
The menu bar enables you to perform all Maxwell tasks, such as managing project files, customiz-
ing the desktop, drawing objects, and setting and modifying all project parameters.
Maxwell contains the following menus, which appear at the top of the desktop:
Related Topics
Getting Help
File menu Use the File menu commands to manage Maxwell project files and printing
options.
Edit menu Use the Edit menu commands to modify the objects in the active model and
undo and redo actions.
View menu Use the View menu commands to display or hide desktop components and
model objects, modify 2D and 3D Modeler window visual settings, and
modify the model view.
Project menu Use the Project menu commands to add a Maxwell or RMxprt design to the
active project, define datasets, and define project variables.
Draw menu Use the Draw menu to draw the elements that make up a model.
Modeler menu Use the Modeler menu commands to import, export, and copy Ansoft 2D
Modeler files and 3D Modeler files; assign materials to objects; manage the
3D Modeler windows grid settings; define a list of objects or faces of objects;
control surface settings; perform boolean operations on objects; and set the
units for the active design.
Maxwell3D,
Maxwell2D, or
RMxprt menu
Use these menu commands to change solution type, assign boundaries and
excitations, set up parameters, add analysis setups, set up Optimetrics, post
process solutions, export equivalent circuits, define datasets, and other design
tasks.
Tools menu Use the Tools menu to modify the active project's material library, arrange the
material libraries, run and record scripts, update project definitions from
libraries, display options, customize the desktop's toolbars, and modify many
of the software's default settings.
Window menu Use the Window menu commands to rearrange the Modeler windows and
toolbar icons.
Help menu Use the Help menu commands to access the online help system and view the
current Maxwell version information.
Maxwell 3D Online Help
2-10 Getting Started with Maxwell and RMxprt
Working with Windows
The Window menu allows you to manage the currently open windows in the Maxwell Desktop
user environement.
In addition to the standard functions listed in the table, the menu also contains a list of currently
open windows for easily switching between them. This is important in multiple window environ-
ments where the desktop make become crowded with open windows and some may be partially or
completely obscured. Minimized windows are automatically opened when selected in this list.
Moving and Resizing Desktop Windows
You can customize the appearance of the desktop by moving and resizing the Status Bar, the Mes-
sage Manager, the Project Manager, the docked Properties window, and the Progress window.
To move one of these windows:
1. Click and hold on the title bar.
2. Drag the cursor towards the region where you want to place the window.
A rectangle shape follows the cursor. As you drag the rectangle to different parts of the desk-
top, the changes in dimension show when you have reached a location where you can place the
window. This can be at the top, left, bottom, and side of the modeler window. You can place a
window next to another, as well as above or below another.
If you drag the window to the center of the 3D Modeler window, you can place it there as a
floating window.
3. Release the mouse button to place the window.
You can also resize the windows in two ways.
To size a desktop window, place the cursor over an edge of the window. Over the inner-edges,
for sizing a window within the desktop, the cursor changes to a double bar with arrows point-
ing each direction. Over the outer-edges, for sizing the desktop, the cursor changes to a line
with arrows pointing each direction. Press and drag to size the window.
To expand a window to fill the horizontal or vertical space it shares with another window, click
Command Description
New Window
Open a new window. New windows shows the model by default.
Cascade
Arranges all non-minimized windows in a cascade with the window
title bar visible.
Tile Horizontally
Arranges all non-minimized windows to use the maximum horizontal
size of the desktop.
Tile Vertically
Arranges all non-minimized windows to use the maximum vertical size
of the desktop.
Arrange Icons
Arranges the icons of any minimized windows along the bottom of the
Desktop.
Close All
Close All currently open desktop windows.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-11
the triangle in the window title bar. When you expand a window, the triangle appears as
inverted and any other windows in the same horizontal or vertical space are compressed to
only the title bar. If a window does not share a horizontal or vertical space with another, the tri-
angle does not appear.
Maxwell 3D Online Help
2-12 Getting Started with Maxwell and RMxprt
Working with the Toolbars
The toolbar buttons and shortcut pull-down lists act as shortcuts for executing various commands.
To execute a command, click a toolbar button or click a selection on the shortcut pull-down list.
To open a help topic about a toolbar buttons functionality, press Shift+F1, and then click the tool-
bar button or a command in the shortcut pull-down list.
To display a brief description of the toolbar button, move the pointer over the button or shortcut
pull-down list.
Related Topics
Customize Toolbar Options
Customize Toolbar Commands
Customizing Toolbars
To customize the Toolbar displays by using the toolbar list:
1. Select Tools>Customize.
This displays the Customize dialog with the Toolbars tab selected. The field lists the available
toolbars, with those currently selected being checked. To the right of the field are three but-
tons:
New... -- launches the New Toolbar dialog that lets you specify a new toolbar name.
Reset -- This resets the toolbar display to apply your current selections.
Reset All -- this resets the toolbar display to match the original defaults.
2. Check the buttons to add additional toolbars to the desktop.
New toolbar icons are added to new rows as you click them. You can drag these to convenient
locations.
3. Uncheck any buttons to remove toolbar icons.
4. Use the OK button to close the dialog, or the Cancel button to close without making changes.
Related Topics
Working with Toolbars
Customize Toolbar Commands
Hint To modify the toolbars on the desktop, do one of the following:
On the Tools menu, click Customize.
Right-click the history tree, and then click Customize on the shortcut menu.
To reset to toolbars to the default positions and settings:
On the Tools menu, click Customize. On the Customize dialog box, click Reset
All.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-13
Customize Toolbar Commands
To customize the Toolbar by dragging icons:
1. Select Tools>Customize.
This displays the Customize dialog with the Commands tab selected. The Categories field
lists the available toolbars. The icons for the currently selected toolbar are shown to the right of
the field.
2. Select from the Categories list to display the icons you want to add to the toolbar.
3. Drag the icons from the Customize dialog to a location on the desktop toolbar.
4. Use the OK button to close the dialog, or the Cancel button to close without making changes.
Related Topics
Customize Toolbar Options
Working with Toolbars
External User Tools
To add an external user tools menu to Maxwell:
1. Click Tools>External Tools
2. This displays the Customize User Tools Menu dialog.
If a User Tools menu has been defined, its contents are displayed. Navigation buttons let you
Move Up, Move Down, Add, and Delete.
3. Click the Add button in the Customize User Tools Menu dialog.
This enables the following fields:
Menu Text field -- this displays [new tool] as text you will replace with the text you want to
appear in the User Tools menu.
Command field -- this will display the external executable. An ellipsis button [...] lets you
navigate to the file location.
Arguments field -- this field accepts command arguments from the > button menu selections
for File Path, File Directory, File Name, File Extension, Project Directory, or Temp Directory.
Initial Directory -- this field specifies the initial directory for the command to operate. The
ellipsis button {...] displays a dialog that lets you navigate folders in your desktop, or acrss the
network.
4. Click OK to add the External Tools menu to Maxwell or Cancel to close the dialog without
changes.
Maxwell 3D Online Help
2-14 Getting Started with Maxwell and RMxprt
You can also add scripts to the Tools menu. Assuming you have a script to generate custom reports
called report.vbs, use the cscript.exe program to execute your script.
This example shows the cscript.exe program added to the Tools menu as RunMyScript. The com-
mand line argument to the csscript.exe program is report.vbs. You can also name the directory in
which it will be run.
Working with the Shortcut Menus
A variety of shortcut menus menus that appear when you right-click a selection are available
in the toolbars area of the desktop, in the Modeler window, and in the Project Manager
window.
Shortcut menu in the
toolbars area
Use the shortcut menu in the toolbars area of the desktop to show or
hide windows or toolbars, and customize the toolbars.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-15
Shortcut Menu in the Toolbars Area
Use the shortcut menu in the toolbars area of the desktop to show or hide windows or toolbars, and
customize the toolbars.
To access the shortcut menu in the toolbars area:
Right-click in the toolbars area at the top of the desktop.
A check box appears next to a command if the item is visible. For example, if a check box appears
next to the Project Manager command, then the Project Manager window is currently visible on
the desktop.
Click Customize to open the Customize dialog box, which enables you to modify the toolbar set-
tings on the desktop.
Shortcut Menu in the Modeler Window
Use the shortcut menu in the Modeler window to select, magnify, and move options (zoom, rotate,
etc.), change the view, assign materials, nets, excitations, or mesh operations to objects, work with
field overlays, and plot objects.
To access the shortcut menu in the Modeler window:
Right-click in the Modeler window (grid area).
Shortcut Menus in the Project Manager Window
Each node, or item, in the project tree has a shortcut menu.
To access the shortcut menu in the Project Manager window, for a particular node:
Select a node or item.
Right-click in the Project Manager window.
Shortcut menu in the
Modeler window
Use the shortcut menu in the Modeler window to select, magnify, and
move options (zoom, rotate, etc.), change the view, perform boolean
operations, assign materials, or mesh operations to objects, and work
with field overlays.
Shortcut menus in the
Project Manager window
Use the shortcut menus in the Project Manager window to manage
Maxwell project and design files and design properties; assign and
edit excitations, and mesh operations; add, analyze, and manage
solution setups; add optimetrics analyses; create post-processing
reports; edit project definitions.
Shortcut menus in the
History Tree
Use the shortcut menus in the History tree to expand or collapse
groupings. If you select particular objects in the history tree, the
shortcut menu lists the commands that you can apply to the selected
object or objects.
Note All of the commands on the shortcut menus are also available on the menu bar.
Maxwell 3D Online Help
2-16 Getting Started with Maxwell and RMxprt
In the project tree, an "unknown" section lists objects that do not fit one of the following dimen-
sionality types: solid, sheet, or wire.
General Purpose Keyboard Shortcuts for Maxwell
The following keyboard shortcuts apply to Maxwell and RMxprt in general
F1: Help
F1 + Shift: Context help
F4 + CTRL: Close program
CTRL + C: Copy
CTRL + N: New project
CTRL + O: Open...
CTRL + P: Print...
CTRL + V: Paste
CTRL + X: Cut
CTRL + Y: Redo
CTRL + Z: Undo
CTRL + 0: Cascade windows
CTRL + 1: Tile windows horizontally
CTRL + 2: Tile windows vertically
To customize the shortcut assignments, use Tools>Keyboard Shortcuts.
Related Topics
Keyboard Shortcuts for the 3D Modeler Window
Custom Keyboard Shortcuts
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-17
Custom Keyboard Shortcuts
Click Tools>Keyboard Shortcuts to display a dialog that lets you view existing assignments, cre-
ate new shortcuts, save and load assignment files.
Selecting a Command category lists the available Commands for that category. If the command has
an assigned shortcut, it is displayed in the Shortcuts for selected command field. You can use the
Remove button to disable the shortcut for the selected command. If the selected command does not
have an assigned shortcut, the Shortcuts for selected command field and the Remove button are
greyed out.
To create a new shortcut key:
1. Select the Category and Command.
2. If you want disable a current assignment for the selected command, click Remove.
3. To assign a keyboard shortcut, place the cursor in the Press new shortcut key field.
The field displays the keystrokes you make. When you have made keystrokes, the dialog
enables the Assign button. If you combine keystrokes these are displayed with a + between
them. For example, Ctrl + p or Alt +o.
Maxwell 3D Online Help
2-18 Getting Started with Maxwell and RMxprt
4. The Use new shortcut in field displays Global by default, which means that the shortcut will
apply to all applicable contexts. If a limited context exists, the menu will offer a selection.
5. When you have made the desired assignments, you can save the assignments to a named file.
Clicking the Save... button displays a browser window that lets you navigate the file structure
and assign a name, using an aks suffix for Ansoft Keyboard Shortcut file.
Buttons on the browser window let you designate the file location as Use Path, Personallib,
Syslib, UserLib, or Project folder.
If you have an existing aks file, you can use the Load... button to display a browser window to
locate the desired file.
6. You can OK the current settings, or Reset to Default.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-19
Working with the Status Bar
The status bar is located at the bottom of the application window. It displays information about the
command currently being performed.
To display or hide the status bar:
Click View>Status Bar.
A check box appears next to this command if the status bar is visible.
Depending on the command being performed, the status bar can display the following:
X, Y, and Z coordinate boxes.
A pull-down list to enter a point's absolute, relative, cartesian, cylindrical, or spherical coordi-
nates.
The model's units of measurement.
When creating object in the model window, you may jump to the coordinate entry boxes by press-
ing the Tab key. In addition, the Tab key moves the focus to the next coordinate box when per-
forming manual data entry.
Exiting the Desktop
To exit the desktop, use File>Exit.
If simulations are running, a message informs you that if you continue, the simulations will be
aborted. If you choose OK, Maxwell does a clean abort before going on with the Exit.
Working with the Project Manager
The Project Manager window displays the open project's structure, which is referred to as the
project tree.
Maxwell 3D Online Help
2-20 Getting Started with Maxwell and RMxprt
The Project Manager window displays details about all open Maxwell projects.
To show or hide the Project Manager window, do one of the following:
Click View>Project Manager.
A check box appears next to this command if the Project Manager window is visible.
Right-click in the toolbars area on the desktop, and then click Project Manager on the short-
cut menu.
A check box appears next to this command if the Project Manager window is visible.
Related Topics
Working with the Project Tree
Shortcut Menus in the Project Manager Window
Working with the Project Tree
The project tree is located in the Project Manager window and contains details about all open
Maxwell projects.
The top node listed in the project tree is the project name. It is named Projectn by default, where n
is the order in which the project was added to the current session of Maxwell. Expand the project
icon to view the project's Maxwell design information and material definitions.
By default, the Project tree icon for the active window is highlighted, as shown in the figure below.
(See General Options:Miscellaneous for the options.) With the option disabled,
Rotational_Act_TR (Transient) in the Project tree would not be highlighted.
In the project tree, an "unknown" section lists objects that do not fit one of the following dimen-
sionality types: solid, sheet, or wire.
Related Topics
Viewing Maxwell Design Details
Setting the Project Tree to Expand Automatically
You can set the project tree to automatically expand when an item is added to a project.
1. Click Tools>Options>General Options.
The Options dialog box appears.
2. Click the Project Options tab.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-21
3. Under Additional Options, select Expand Project Tree on Insert.
4. Click OK.
Viewing Maxwell Design Details
Once you insert a Maxwell design into a project, it is listed as the second node in the project tree. It
is named MaxwellModeln by default, where n is the order in which the design was added to the
project. Expand the design icon in the project tree to view specific data about the model.
The MaxwellModeln node contains the following project details:
In the project tree, an "unknown" section lists objects that are not solid, sheet, or wire.
Design List Dialog Box
You can view the design list for a model in the following ways:
By clicking Maxwell3D, Maxwell2D, or RMxprt and then selecting List.
By double-clicking Model in the project tree.
By right-clicking items in the project tree and selecting List from the shortcut menu.
Model Allows you to display the design list, define motion setup, and set the
symmetry multiplier.
Boundaries Allows you to define boundary conditions on selected faces.
Excitations Allows you to define voltage and current sources on selected objects.
Parameters Allows you to assign executive parameters to solve for (such as force and
torque).
Mesh Operations Displays the mesh operations specified for objects or object faces. Mesh
operations are optional mesh refinement settings that are specified before a
mesh is generated.
Analysis Displays the solution setups for a Maxwell design. A solution setup
specifies how Maxwell computes the solution.
Optimetrics Displays any Optimetrics setups added to a Maxwell design.
Results Displays any post-processing reports that have been generated.
Field Overlays Displays field overlay plots, which are representations of basic or derived
field quantities on surfaces or objects.
Plot folders are listed under Field Overlays. These folders store the
project's plots and can be customized. See Setting Field Plot Defaults for
information on how to customize the plot folders.
Note To edit a project's design details:
In the project tree, double-click the design setup icon that you want to edit.
A dialog box appears with that setup's parameters, which you can then edit.
Maxwell 3D Online Help
2-22 Getting Started with Maxwell and RMxprt
Information about the model, boundaries and excitations, mesh operations, and analysis setup can
be viewed in the Design List dialog box that appears, with the following tabs available:
Model
Machine (for RMxprt projects)
Motion
Boundaries
Excitations
Parameters
Mesh Operations
Analysis Setup
In the Design List dialog box, all objects are shown, regardless of the type of dimensionality (solid,
sheet, wire, or unknown); whereas, in the project tree, an "unknown" section lists objects that are
not solid, sheet, or wire.
Viewing Material Definitions
The definitions node is listed at the bottom of the project tree and displays all of the material defini-
tions that are assigned to the objects in the active model.
Related Topics
Adding New Materials
Working with the Properties Window
The Properties window displays the attributes, or properties, of an item selected in the project tree,
the history tree, or the Modeler window. The Properties window enables you to edit an item's
properties. The properties, and the ability to edit them in the Properties window vary depending on
the type of item selected. The tabs available in the Properties window also vary depending the
selection.
You can choose to show or hide a docked Properties window as part of the desktop. You can move
and resize the docked Properties window within the desktop to suit your workstyle. When you have
a docked Properties window, it displays the properties of any item you select in the Project tree, the
History Tree, or the Modeler window. You select View>Properties Window to toggle the viewing
of the docked properties window.
Regardless of the whether you display a docked Properties window, you can still open an
undocked Properties window for any item in the project tree, the history Tree, or the 3D Modeler
window by double-clicking.
Related Topics
Opening the Properties Window
Showing and Hiding the Properties Window
Setting the Properties Window to Open Automatically
Modifying Object Attributes using the Properties Window
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-23
Modifying Object Command Properties Using the Properties Window
Opening the Properties Window
1. Select the object whose properties you want to view.
2. Click Edit>Properties.
The Properties window for that object appears.
3. When you are finishing making changes, click OK.
Rather than opening a separate window, you can also view an object's properties if you have the
Properties window displayed within the desktop.
Related Topics
Showing and Hiding the Properties Window
Setting the Properties Window to Open Automatically
Modifying Object Attributes using the Properties Window
Modifying Object Command Properties Using the Properties Window
Showing and Hiding the Properties Window
To show or hide the Properties window on the desktop, do one of the following:
Click View>Properties Window.
A check box appears next to this command if the Properties window is visible.
Right-click in the toolbars area at the top of the desktop, and then click Properties on the
shortcut menu.
A check box appears next to this command if the Properties window is visible.
Related Topics
Setting the Properties Window to Open Automatically
Setting the Properties Window to Open Automatically
To modify the object's properties and set the Properties window to open after an object is drawn,
do the following:
1. Click Tools>Options>Modeler Options.
The Modeler Options window appears.
2. Click the Drawing tab.
3. Select Edit property of new primitives.
4. Click OK.
Hereafter, after you draw an object in point mode, the Properties window will open. However,
if you draw an object in Dialog mode, this setting is ignored.
Related Topics
Note You can also click any command or attribute in the Property window, and then click
Edit>Properties to view its properties.
Maxwell 3D Online Help
2-24 Getting Started with Maxwell and RMxprt
Showing and Hiding the Properties Window
Modifying Object Attributes Using the Properties Window
1. Select the object for which you want to edit its attributes by clicking it in the view window or
clicking its name in the history tree.
2. Under the Attribute tab in the Properties window, edit the object attribute.
Depending on the attribute type, you can edit it by doing one of the following:
Select the check box to apply the attribute; clear the check box to disable the attribute.
Click in the field and edit the numeric values or text, and then press Enter.
Click the button and then edit the current settings in the window or dialog box that
appears.
Click the Value column of the attribute, and then select a new setting from the menu that
appears.
Related Topics
Modifying Objects
Modifying Object Command Properties Using the Properties Window
Modifying Object Command Properties Using the Properties Window
The Command tab in the Properties window displays information about an action selected in the
history tree that was performed either to create an object, such as the Draw>Box command, or to
modify an object, such as the Edit>Duplicate>Mirror command.
Not all command properties can be modified. The command properties you can typically modify
include the numeric values, such as position values (base position, normal position, start position,
etc.), size values (height, radius, etc.), and various other coordinate values. You can also modify
many of the unit settings for a command property.
1. In the history tree, select the command for which you want to edit its properties.
2. Under the Command tab in the Properties window, edit the command's properties.
Depending on the property type, you can edit it by doing one of the following:
Select the check box to apply the property; clear the check box to disable the property.
Click in the field and edit the numeric values or text, and then press Enter.
Click the button and then edit the current settings in the window or dialog box that
appears.
Click the attribute, and then select a new setting from the menu that appears.
Related Topics
Modifying Objects
Modifying Object Attributes using the Properties Window
Hint Press and hold Ctrl to select multiple commands. If you select multiple commands, only
the common, or shared, properties are displayed under the Command tab.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-25
Working with the Progress Window
The Progress window monitors a simulation while it is running.
To display or hide the Progress window, do one of the following:
Click View> Progress Window.
A check box appears next to this command if the Progress window is visible.
Right-click the history tree, and then click Progress on the shortcut menu.
A check box appears next to this command if the Progress window is visible.
Related Topics
Stopping or Aborting Simulation Progress
Viewing Distributed Analysis Subtasks
Stopping or Aborting Simulation Progress
To abort progress, right-click in the Progress window, and select Abort.
To stop the simulation cleanly between time steps, right-click in the Progress window, and select
Clean Stop.
Viewing Distributed Analysis Subtasks
While a distributed analysis is running, you can access parent and child progress bars. By
default, only the main progress bar is displayed, while the child progress bars (or subtasks)
remain hidden. You can toggle between showing and hiding the child progress bars.
To show the child progress bars:
Right-click the progress window, and select Show Subtask Progress Bars.
To hide the child progress bars:
Right-click the progress window, and select Hide Subtask Progress Bars.
Working with the Message Manager
The Message Manager displays messages associated with a project's development, such as error
messages about the design's setup or informational messages about the progress of an analysis.
Error messages contain date- and time-stamps with a precision of seconds.
To display or hide the Message Manager:
Click View>Message Manager.
A check box appears next to this command if the Message Manager is visible.
If you right click in the Message Manager window, you see a popup menu that lets you:
Clear the messages for the current model.
Copy the messages to the clipboard. This can be helpful for sending the messages to applica-
tion engineers.
Details. This brings up a information dialog with the project and design for specific message.
Maxwell 3D Online Help
2-26 Getting Started with Maxwell and RMxprt
After you run a validation check, you can right-click on an intersection error message in the Mes-
sage window, and select Go to reference from the shortcut menu. This selects the interesecting
objects.
Related Topics
Showing new messages
Showing errors and warnings
Setting the Message Manager to Open Automatically
Setting the Message Manager to Open Automatically
You can set the Message Manager to open automatically to show new messages and errors and
warnings.
Related Topics
Showing new messages
Showing errors and warnings
Showing new messages
You can set the Message Manager to automatically be brought up when a new message
appears.
1. Click Tools>Options>General Options.
The General Options dialog box appears.
2. Click the Project Options tab.
3. Under Additional Options, select Show Message Window on new messages.
4. Click OK.
Showing errors and warnings
You can set the Message Manager to automatically expand when an item is added to a proj-
ect.
1. Click Tools>Options>General Options.
The General Options dialog box appears.
2. Click the Project Options tab.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-27
3. Under Additional Options, select Expand Message Window Tree on errors and warn-
ings.
4. Click OK.
Clearing Messages for the Project
You can clear all the messages for a particular project.
To clear messages:
1. Right-click the project# in the Message Manager.
A pop-up appears.
2. Click Clear messages for Project#.
Clearing Messages for the Model
You can clear all the messages for a particular model.
To clear messages:
1. Right-click the MaxwellModel# in the Message Manager.
A pop-up appears.
2. Click Clear messages for MaxwellModel#.
Copying Messages
You can copy all the messages for a particular project.
To copy messages:
1. Right-click in the Message Manager.
A pop-up appears.
2. Click Copy messages to clipboard.
Working with the Modeler Window
The Modeler window is the area where you create the model geometry. It appears to the right of the
Project Manager window after you insert a Maxwell design into a project.
Maxwell 3D Online Help
2-28 Getting Started with Maxwell and RMxprt
The Modeler window consists of the model view area, or grid, and the history tree, as shown
below:
To open a new Modeler window, do one of the following:
Insert a Maxwell design into a project.
Double-click a Maxwell design in the project tree.
The model you draw is saved with the current project when you click File>Save.
Objects are drawn in the Modeler window. You can create 3D objects by using Maxwell's Draw
menu commands, or you can draw 1D and 2D objects and then manipulate them to create 3D
objects. For more information, see Drawing a Model.
You can modify the view of objects in the Modeler window without changing their actual dimen-
sions or positions. For more information, see Modifying the Model View.
Related Topics
Modifying the Model View
Keyboard shortcuts for the 3D Modeler Window.
History tree
Model view area
(grid)
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-29
Working with the History Tree
The history tree in the Modeler window lists the active model's structure and grid details, including
the model's objects, coordinate systems, default planes, and any object or face lists.
The history tree contains the following model details:
Invalid Lists all invalid objects
Objects Displays all the models objects and a history of the commands carried out
on each object. By default objects are grouped by material. you can change
this by selecting the Objects icon in the history tree and right-click to
display the shortcut menu with the Group Objects By Material check
box.
Sheets Displays all the sheets in the model 3D design area. By default, all sheet
objects are grouped by boundary assignment. You can change this by
selecting the Sheet icon in the history tree and right-click to display the
shortcut menu with the Group Sheets by Assignment check box.
Lines Displays all line objects included in the active model.
See Drawing a Line for information on how to draw a line object.
Points Displays all point objects included in the active model.
See Drawing a Point for information on how to draw a point object.
Maxwell 3D Online Help
2-30 Getting Started with Maxwell and RMxprt
You can perform the following tasks with the history tree.
Expand or Collapse Groupings in the History Tree
Group Items by Material in the History Tree
Selecting Objects in the History Tree
Use Shortcut Menus in the History Tree
View Properties for History Tree Objects
History of Commands on History Tree Objects
Control the View of Objects in the History Tree
Expand or Collapse Groupings in the History Tree
You can expand or collapse object groupings in the history tree by left clicking the + or - respec-
tively. In addition, right-clicking on any group icon opens a pull-down to Expand All groupings or
Collapse All groupings.
Related Topics
Grouping Items by Material in the History Tree
Selecting Objects in the History Tree
History tree Grouping by Material
In addition, right-clicking on Objects lets you specify whether or not the Objects are sorted by
material (the default is to sort by material.) When the objects are sorted by material, 2D and 3D
objects are listed separately in the history tree.
Related Topics
Coordinate Systems Displays all the coordinate systems for the active model.
See Setting Coordinate Systems for more information on this model detail.
Planes Displays the planes for all the coordinate systems. When you create a
coordinate system, default planes are created on its xy, yz, and xz planes.
Lists Displays the object or face lists for the active model. By default, a list
called "AllObjects" appears.
Creating an object list is a convenient way to identify a group of objects for
a field plot or calculation.
Creating a face list is a convenient way to identify a specific set of surfaces
for a field plot or calculation.
See Creating an Object List.
Note While objects created in Maxwell can always be classed in the history tree as either a
solid, sheet, or wire some imported objects may have mixture of these. Such objects are
placed in an Unclassified folder in the history tree.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-31
Select Objects in the History Tree
History of Commands on Objects
The history tree also lists the history of all commands carried out a models objects. This history is
displayed in the order in which it occurred. Note in the above image the expanded air object and its
history of commands.
Selecting a command in the history highlights the object in the Modeler window and shows that
objects properties (if available) in the docked Properties window. You can look at the fields in the
Properties window to see any editable fields for that command, such as coordinate system, line
type, coordinates, or units.
For some commands, such as Edit>Arrange>Move, or boolean operations, selecting them in the
history tree enables the X (delete) icon on the toolbar and the Edit>Delete menu. In these cases,
you can delete those commands from the history tree as a way of undoing those operations. As an
alternative to deletion, you can check Suppress command in the Properties window for that com-
mand. This undoes the effect of a command on an object without removing it from the History tree.
Selecting Objects in the History Tree
Selecting objects in the History tree also selects them in the View window. This can be useful for
complex objects, when it may be easier to find the objects of interest by name or material, if the
object of interest is inside or behind others.
You can use CTLR-click to make multiple selections. You can select a range of objects by a click
on the first, and then SHIFT-Click to select all in the range. You can also click and drag the mouse
to make rubber band selections. Only visible objects are selected. That is, if the hierarchy is closed
under the selection, any operand parts are ignored and do not interfere with cut and paste opera-
tions.
You can also right click on any History tree object or grouping and right click to display a shortcut
menu with a Select All command. This lets you select at one time all solids, sheets, lines, non-
model objects, or all unclassified objects.
Related Topics
Group Items by Material in the History Tree
Maxwell 3D Online Help
2-32 Getting Started with Maxwell and RMxprt
Shortcut Menus in the History Tree
If you select particular objects in the history tree, right-click displays a shortcut menu lists the com-
mands that you can apply to the selected command, object, or objects. The shortcut menus for
model objects are most extensive.
In other cases, you can only view properties, or expand or collapse hierarchy.
Related Topics
View Properties for History Tree Objects
History of Commands on History Tree Objects
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-33
View Item Properties in the History Tree
To view the properties of an item in the history tree:
Click the items name in the history tree.
The items properties appears in the docked Properties window.
Double-click on an item in the history tree to display a Properties window.
Click the items name in the history tree, and double right click to display a shortcut menu.
Then select Properties to display the Properties window.
Related Topics
Purge History command
Generate History command
View and Edit Commands on History Tree Objects
The history tree also lists the history of all commands carried out a models objects, for example,
CreateBox or Subtract. This history is displayed in the order in which it occurred. Here is a his-
tory tree from the waveguide combiner example.
Selecting a command in the history highlights the object in the Modeler window and shows that
objects properties (if available) in the docked Properties dialog. You can look at the fields in the
Properties dialog to see any editable fields for that command, such as coordinate system, line type,
coordinates, or units.
For some commands, such as Edit>Arrange>Move, or boolean operations, selecting them in the
history tree enables the X (delete) icon on the toolbar and the Edit>Delete menu. In these cases,
you can delete those commands from the history tree as a way of undoing those operations. As an
Maxwell 3D Online Help
2-34 Getting Started with Maxwell and RMxprt
alternative to deletion, you can check Suppress command in the Properties window for that com-
mand. This undoes the effect of a command on an object without removing it from the History tree.
Related Topics
Select Objects in the History Tree
Purge History command
Generate History command
Modifying Objects
Controlling the View of Objects in the History Tree
To control the view and visibility of an object such as a box or PML, right click on an object in the
history tree display the short-cut menu and select View. The short cut menu contains the following
commands:
Fit in Active View
Hide in Active View
Show in Active View
Fit in All Views
Hide in All Views
Show in All Views
Related Topics
Purge History
Generate History
Upgrade Version in History Tree Shortcut Menu
By right-clicking on an operation icon in the history tree in the Modeler window, you can see the
Upgrade Version command.
The Modeler by default opens the legacy project in previous (what ever that the project was saved
with) ACIS version so that you don't see side effects of slight topology changes between ACIS ver-
sions. If you want you can use Upgrade Version to move the operation to use latest ACIS code.
Typically this applies when a needed fix is available with new ACIS version.
Related Topics
Working with the History Tree
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-35
Keyboard Shortcuts for the 3D Modeler Window
The following keyboard shortcuts apply to the 3D Modeler Window
B: Select face/object behind current selection
F: Select faces mode
O: Select objects mode
E: Select edges mode
V: Select verticies mode
M: Mult select mode
Ctrl + A: Select all visible objects
Ctrl + Shift + A: Deselect all objects
Ctrl + D: Fit view
Ctrl + E: Zoom in, screen center
Ctrl + F: Zoom out, screen center
Shift + LMB: Zoom in / out
Alt + LMB: Rotate model
Alt + Shift + LMB: Zoom in / out
Alt + Double-click LMB: Sets model projection to standard isometric projections (cursor must
be in corner of model screen N/NE/E/SE/S etc)
F3: Switch point entry mode to mouse (draw objects by mouse)
F4: Switch to dialogue entry mode (Draw objects by entry in the command and attribute box)
F6: Render model wire frame
F7: Render model smooth shaded
To customize the shortcut assignments, use Tools>Keyboard Shortcuts.
Related Topics
General Purpose Keyboard Shortcuts for Maxwell
Custom Keyboard Shortcuts
Note LMB means Left Mouse Button
Maxwell 3D Online Help
2-36 Getting Started with Maxwell and RMxprt
Running Maxwell From a Command Line
Maxwell includes options that can be used when launching from a command line or terminal
prompt. All command-line arguments are case-insensitive.
Command-line syntax
maxwell <options> <run command> <project name/script name>
Run Commands
The following command line run commands are available in Maxwell. Of the commands
(BatchSave, BatchSolve, RunScript, RunScriptandExit), one or none must be used as argu-
ments after maxwell. Links to the valid options for each run command are listed and/or linked
to descriptions.
-BatchSave <project file name>
Saves a named project to the current version. This is primarily intended for converting
projects to the current software version from a previous version. Generally, conversion is
supported for the previous two releases of the product. The conversion must be done under
Windows before those projects can run on a Linux system.You can run this command with
the -Iconic option, the -Logfile option, and the -ng option (no graphics).
-BatchSolve <project file name>
By default, solve all adaptive setups, sweeps, as well as Optimetrics setups found in the
project file. If parallel solve is possible, you can use the -Distribute option in conjunction
with -BatchSolve. You can run this command with the -Iconic option, the -Logfile option,
the - ng option (no graphics), and the -WaitForLicense option.
Additional parameters for batch solves include the following. It is good practice to put
quotes around the path to the Maxwell executable, and the full path to the project. This
ensures that spaces in the path or project will not be an issue. The same is true of the
design name, if there are indeed spaces. The quotes must enclose the entire argument
including the Nominal or Optimetrics part.
[designName] - batch solve all setups for design with the name given under the project.
[designName]:Nominal - batch solve all nominal setups for design with the name given
under the project.
[designName]:Optimetrics - batch solve all Optimetrics setups for design with the name
given under the project.
[designName]:Nominal:[setupname] - batch solve the specified nominal setup for design
with the name given under the project. The setupname is case insensitive.
[designName]:Optimetrics:[setupname] - batch solve the specified Optimetrics setup for
design with the name given under the project.The setupname is case insensitive.
-Local | -Remote | -Distributed
Perform the -Batchsolve on a local machine, a remote machine, or as a distributed solve using a
specified machine list (see below). These command line options are mutually exclusive. That is,
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-37
only one of these options should be specified. The settings persist only for the current session.
If you specify -Local, a machine list is not needed. For -Remote, you should provide a
machine list with a single hostname. For -Distributed, you should provide a machine list
or file path.
-MachineList list=<machine1>, <machine2>, ... | file="<machine list file path> "
In this format, the DSO machines machine1,machine2,... are listed explicitly on the com-
mand line. The machine names must be separated by commas. The machines may be spec-
ified by IP address or by hostname, provided that the hostnames are able to be resolved on
the Desktop host. If the list contains any whitespace, it must be enclosed in quotes. The
number of distributed COM engines run on each host is equal to the number of times that
the hostname appears in the list. That is, if host1 appears in the list once, and host2 appears
in the list twice, then one COM engine will run on host1 and two COM engines will run
on host2.
-MachineList file=<machine list file path>
In this format, the DSO machines are listed in a file. The machine names are listed in the
text file, one hostname per line. The pathname of the file is file_path_name. The machines
may be specified by IP address or by hostname, provided that the hostnames are able to be
resolved on the local host. The number of distributed COM engines run on each host is
equal to the number of times that the hostname appears in the list. That is, if host1 appears
in the list once, and host2 appears in the list twice, then one COM engine will run on host1
and two COM engines will run on host2.
You can use either form of the MachineList option to indicate the machine(s) on which to
run a distributed batchsolve. The settings persist only for the current session.
When you use a file to define the machines available for a distributed solve you should list
the machine addresses or names on separate lines:
192.168.1.1
192.168.1.2
(etc)
-MachineList num = <numb distributed engines>
This format is used when a scheduler (such as LSF, PBS, SGE or Windows HPC) is used
to manage the jobs sent to a cluster of hosts. In a scheduler environment, you can specify
the number of distributed engines that should be used for distributed processing. In this
case, you do not specify the machine names after the flag because the names are provided
by the scheduler. For example, in the Windows HPC environment, you can write the num-
ber of distributed engines as follows.
-machinelist num=4
The COM engines will be distributed across the hosts allocated to the job by the scheduler.
-batchoptions '<option1>' '<option2>'...
All options that are specified through Tools>Options dialogs go to the user-level registry.
You can override such registry entries via the -batchoptions command line. These over-
Maxwell 3D Online Help
2-38 Getting Started with Maxwell and RMxprt
rides apply only to the current Desktop session. This feature is available for all desktop
products. The registry setting overrides may be specified on the command line, or may be
in a file with the file pathname specified on the command line. The -batchoptions com-
mand line option is only valid for batch jobs; it is ignored if neither -BatchSolve nor
-BatchSave command line options are specified.
The following examples use Maxwell, but this feature is available for all desktop prod-
ucts.
The registry path separator is the slash "/"
Registry key pathnames are enclosed in single quotes
Registry string values are enclosed in single quotes
Backslashes in registry key values must be escaped with another backslash
Example with registry settings specified on the command line
maxwell.exe -batchsolve -batchoptions _
"'Maxwell3D/Preferences/NumberOfProcessors'=4 _
'Desktop/ProjectDirectory'='C:\\projects\\test'"_
projectname.mxwl
This command line overrides the values of the Maxwell3D/Preferences/NumberOfProcessors
and Desktop/ProjectDirectory registry settings.
Notes:
Multiple registry settings may appear in a single -batchoptions value, separated by whitespace
The -batchoptions value must be enclosed in double quotes if it contains any whitespace
Example with registry settings specified in a file
maxwell.exe -batchsolve -batchoptions filename projectname.mxwl
where file filename contains:
$begin 'Config'
'Maxwell3D/Preferences/NumberOfProcessors'=4
'Desktop/ProjectDirectory'='C:/projects/test'
$end 'Config'
This command line overrides the values of the Maxwell3D/Preferences/NumberOfProcessors and
Desktop/ProjectDirectory registry settings. These overrides apply only to the current Maxwell ses-
sion.
The -batchoptions filename value must be enclosed in double quotes if it contains whitespace
The $begin 'Config' and $end 'Config' lines are required
Note The -batchoptions filename value must be enclosed in double quotes if it contains
whitespace
The $begin 'Config' and $end 'Config' lines are required
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-39
-batchoptions Uses Relative Registry Paths
When using the -batchoptions command line option, the registry paths specified on the command
line or in the batchoptions file are relative paths. The paths are relative to the current version of the
current product. If the examples above are used with Maxwell version 15.0, then the following
table shows the relative and absolute paths of the registry overrides in the above examples.
For additional options and paths for use with -batchoptions, see
For -batchoptions Use: Project Directory and Lib Paths
For -batchoptions Use: TempDirectory
For -batchoptions Use: Various Desktop Settings
For -batchoptions Use: Maxwell2D and Maxwell3D Options with Paths
When to Use the -batchoptions Desktop Command Line Option
Many analysis parameter settings may be done using the GUI. For example, a number of Maxwell
options may be set using the Maxwell 3D (or 2D) Options dialog box, which is brought up by the
Tools>Options>Maxwell 3D (or 2D) Options... menu item. These parameter settings include the
following solver options (not a complete list):
NumberOfProcessors
NumberOfProcessorsDistributed
MemLimitSoft: (Desired RAM Limit)
MemLimitHard: (Maximum RAM Limit)
These values of these parameters are saved in the registry when Maxwell is not running.
When running a batch analysis, these parameters will take the values from the registry. The
-batchoptions Desktop command line option allows you to override the parameter values set in the
registry with values specified on the command line or in a file. The values specified using the
-batchoptions command line option only apply to the batch job, and do not affect the parameter
values in the registry. For example, you could specify the following command to ensure that this
analysis uses 2 processors for distributed processing and 2 processors for non-distributed process-
ing. If the -batchoptions value is not specified, then the number of processors for distributed pro-
cessing or for non-distributed processing could be affected by an interactive Maxwell job running
on the same host as the same user.
maxwell -ng -BatchSolve -Distributed
-machinelist num=2 _
-batchoptions _
Relative Path Absolute Path for Maxwell 14.0
Maxwell3D/Preferences/
NumberOfProcessors
HKCU/Software/Ansoft/Maxwell/15.0/Preferences/
NumberOfProcessors
Desktop/ProjectDirectory HKCU/Software/Ansoft/Maxwell/15.0/Desktop/
ProjectDirectory
Maxwell 3D Online Help
2-40 Getting Started with Maxwell and RMxprt
"'Maxwell3D/Preferences/NumberOfProcessorsDistributed'=2 _
'Maxwell3D/Preferences/NumberOfProcessors'=2" Project1.mxwl
-Monitor
You can monitor progress and messages on standard output, during non-graphical analy-
sis. Progress, warning and info messages are logged to the standard output stream. Error
and fatal messages are logged to the standard error stream. Schedulers intercept these
streams and provide commands for display of this output - see individual scheduler docu-
mentation for specifics.
Examples:
C:\Maxwell\maxwell.exe -distributed _
-machinelist list="192.168.1.1,192.168.1.2" _
-batchsolve design_transient:Optimetrics
"C:\distrib_project.adsn"
C:\Maxwell\maxwell.exe -batchsolve Design1:Nominal _
"C:\Project1.mxwl"
"c:/Program Files/Ansoft/Maxwell15.0/maxwell.exe" _
-Iconic -Queue _
-LogFile "H:\Maxwell\_MaxwellQueue\fence-v2__Array with
Fence4.log" _
-BatchSolve "Array with Fence4:Nominal" "H:\Maxwell\fence-
v2.mxwl"
-RunScript <script file name>
Run the specified script. You can use the -ScriptArgs option to add one or more argu-
ments to this command and can use the -Iconic option.
-RunScriptAndExit <script file name>
Run the specified script and exit. You can use the -ScriptArgs option to add one or more
arguments to this command. You can also use the -Iconic option, the -Logfile option, and
the -WaitForLicense option.
<none>
If you do not specify a run command with maxwell on the command line, you can still
specify the -Help and -Iconic options.
<project file>
Open the specified project on start up. If -BatchSolve is also set, the project will be
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-41
solved.
Options
The following options can be associated with one or more of the run commands:
-distribute
Distribute a batch solve to multiple machines. This option must be combined with the -
BatchSolve run command and must be specified before it in the command line. See Dis-
tributed Analysis for more information on distributed analysis.
Example:
C:\Maxwell\maxwell.exe -distribute -batchsolve _
MaxwellDesign1:Optimetrics:ParametricSetup1
"C:\Project1.mxwl"
-Help
Open a window that displays the different command-line options. This is only used when
none of the four run commands is used.
-Iconic
Run Maxwell with the window iconified (minimized). This can be used with all or none of
the run commands.
-LogFile <log file name>
Specify a log file (use in conjunction with the -BatchSave, -BatchSolve, or -RunScrip-
tAndExit run commands). If no log file is specified, it is written to the directory in which
the script or Maxwell project is located, with the name <project_name>.log.
-ng
Run Maxwell in non-graphical mode (use in conjunction with -BatchSave or -Batch-
Solve).
-WaitForLicense
Queue licenses (use in conjunction with -BatchSolve or -RunScriptAndExit).
-ScriptArgs <scriptArguments>
Add arguments to the specified script in conjunction with -RunScript and -RunScrip-
tAndExit.
ScriptArgs looks at the single argument after it and uses those as script arguments. You
can pass multiple arguments to scriptargs by surrounding the script arguments in quotes.
For instance:
maxwell -scriptargs "MaxwellDesign1 Setup1"
-RunScriptAndExit c:\temp\test.vbs
Here, MaxwellDesign1 is taken into Maxwell as the first argument, and Setup1 is the sec-
ond argument. Without the quotes, MaxwellDesign1 is taken as the first argument, and
Note The <project file> must be the last command line entry.
Maxwell 3D Online Help
2-42 Getting Started with Maxwell and RMxprt
Setup1 is not understood by Maxwell.
maxwell -scriptargs MaxwellDesign1 Setup1
-RunScriptAndExit c:\temp\test.vbs
Example:
c:\maxwell\maxwell.exe -runscriptandexit "c:\project1.vbs"
-scriptargs "Setup1"
Example:
C:\maxwell\maxwell.exe -RunScriptAndExit C:\scripts\test.vbs
_-scriptsargs "arg1 arg2 arg3"
Related Topics
Network installations on Windows for Non-graphical batch solves without product-links
Running a Script.
For -batchoptions Use: Project Directory and Lib Paths
For -batchoptions Use: TempDirectory
For -batchoptions Use: Various Desktop Settings
For -batchoptions Use: Maxwell2D and Maxwell3D Options with Paths
Batch Options Command Line Examples
For -batchoptions Use: Project Directory and Lib Paths
The PersonalLib, syslib and userlib settings are a little different from other settings. If the final
directory name is different from what is expected, then PersonalLib, syslib or userlib is appended
as a final directory. In addition, these settings may come from a different registry value if the regis-
try values shown above are not set
Path Name Default Value Units or Values Description
Desktop/
ProjectDirectory
Ansoft subdirectory of user's HOME
directory or "My Documents" directory
Directory pathname Directory where
new projects are
created
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-43
Related Topics
For -batchoptions Use: TempDirectory
For -batchoptions Use: Various Desktop Settings
For -batchoptions Use: Maxwell2D and Maxwell3D Options with Paths
Running Maxwell from a Command Line
For -batchoptions Use: TempDirectory.
Related Topics
For -batchoptions Use: Project Directory and Lib Paths
For -batchoptions Use: Various Desktop Settings
For -batchoptions Use: Maxwell2D and Maxwell3D Options with Paths
Running Maxwell from a Command Line
Desktop/
PersonalLib
PersonalLib subdirectory of user's
HOME directory or "My Documents"
directory
Directory pathname Directory
PersonalLib is
appended if final
directory is not
PersonalLib
Desktop/syslib syslib subdirectory of installation
directory
Directory pathname Directory syslib
is appended if
final directory is
not syslib
Desktop/userlib userlib subdirectory of installation
directory
Directory pathname Directory
userlib is
appended if final
directory is not
userlib
Path Name Default Value Units or Values Description
TempDirectory Set by installer - Directory for temporary files
Path Name Default Value Units or Values Description
Maxwell 3D Online Help
2-44 Getting Started with Maxwell and RMxprt
For -batchoptions Use: Various Desktop Settings
Note that the most of these only affect the GUI.
Path Name Default Value Units or Values Description
Desktop/Settings/
ProjectOptions/
AnimationMemory
200 Megabytes (MB) Stop animations when
available memory falls
below this value
Desktop/Settings/
ProjectOptions/
AnsoftCOMPreferredIPAddress
""
(empty string)
IP Address (as a
string)
IP Address used to
connect from COM
Engine to Desktop
Desktop/Settings/
ProjectOptions/
AutoSaveInterval
10 edits Number of edits to allow
between autosaves
Desktop/Settings/
ProjectOptions/
AutoShowMessageWindow
1 (true) 0 (false) or 1 (true) Show message window
on new messages
Desktop/Settings/
ProjectOptions/
AutoShowProgressWindow
0 (false) 0 (false) or 1 (true) Show progress window
when starting a
simulation
Desktop/Settings/
ProjectOptions/
DiskLimitForAbort
0 Megabytes (MB) A warning is issued when
available disk space falls
below this value
Desktop/Settings/
ProjectOptions/DoAutoSave
1 (true) 0 (false) or 1 (true) Enables autosaves if true
Desktop/Settings/
ProjectOptions/
DrawStateIconsInProjectTree3
1 (true) 0 (false) or 1 (true) Change icon when
selection does not match
active window
Desktop/Settings/
ProjectOptions/
ExpandMessageTreeOnInsert
1 (true) 0 (false) or 1 (true) Ensure that new
messages are visible in
the message window tree
Desktop/Settings/
ProjectOptions/ExpandOnInsert
0 (false) 0 (false) or 1 (true) Expand project tree on
insert
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-45
Related Topics
For -batchoptions Use: Project Directory and Lib Paths
For -batchoptions Use: TempDirectory
For -batchoptions Use: Maxwell2D and Maxwell3D Options with Paths
Running Maxwell from a Command Line
For -batchoptions Use: Maxwell2D and Maxwell 3D Options with Paths
Here are the Maxwell Options with the complete path names:
Desktop/Settings/
ProjectOptions/HighlightActive
ContextInProjectTree2
1 (true) 0 (false) or 1 (true) Emphasize active
command context (menu
and toolbars)
Desktop/Settings/
ProjectOptions/
SavePreviewImagesInProject
File
1 (true) 0 (false) or 1 (true) Save preview images in
project file
Desktop/Settings/
ProjectOptions/
UpdateReportOnFileOpen
0 (false) 0 (false) or 1 (true) Update reports on file
open
Path Name Default Value Units or Values Description
Maxwell2D/
Preferences/
HPCLicenseType
"pack " "pool" or "pack " For Maxwell2D Designs:
"pool" = multiprocessing
enabled by HPC licensing;
"pack" = multiprocessing
enabled by HPC Pack licensing
Maxwell2D/
Preferences/
MemLimitHard
0 (No Limit) KB Maximum RAM Limit
Maxwell2D/
Preferences/
MemLimitSoft
0 (No Limit) KB Desired RAM Limit
Maxwell2D/
Preferences/
NumberOfProcessors
1 - For Maxwell2D Designs:
maximum number of processors
Maxwell2D/
Preferences/
NumberOfProcessors
Distributed
1 - For Maxwell2D Designs:
maximum number of distributed
processors
Path Name Default Value Units or Values Description
Maxwell 3D Online Help
2-46 Getting Started with Maxwell and RMxprt
Related Topics
For -batchoptions Use: Project Directory and Lib Paths
For -batchoptions Use: TempDirectory
For -batchoptions Use: Various Desktop Settings
Running Maxwell from a Command Line
Maxwell2D/
Preferences/
UseHPCForMP
0 (false) 0 (false) or 1 (true) For Maxwell2D Designs: if true
(1), enables multiprocessing
using HPC licenses
Maxwell3D/
Preferences/
HPCLicenseType
"pack " "pool" or "pack " For Maxwell3D Designs:
"pool" = multiprocessing
enabled by HPC licensing;
"pack" = multiprocessing
enabled by HPC Pack licensing
Maxwell3D/
Preferences/
MemLimitHard
0 (No Limit) KB Maximum RAM Limit
Maxwell3D/
Preferences/
MemLimitSoft
0 (No Limit) KB Desired RAM Limit
Maxwell3D/
Preferences/
NumberOfProcessors
1 - For Maxwell3D Designs:
maximum number of processors
Maxwell3D/
Preferences/
NumberOfProcessors
Distributed
1 - For Maxwell3D Designs:
maximum number of distributed
processors
Maxwell3D/
Preferences/
UseHPCForMP
0 (false) 0 (false) or 1 (true) For Maxwell3D Designs: if true
(1), enables multiprocessing
using HPC licenses
Path Name Default Value Units or Values Description
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-47
Running from a Windows Remote Terminal
When running Maxwell from a remote terminal, there are some performance and behavior issues to
consider. These issues are due to the interaction of bandwidth/opengldrivers/remote-terminal-pro-
tocol
Showing axes when interactively drawing objects will slow the performance.
Remote OpenGL performance will be slower in general. Graphics card and driver quality
helps.
All 3D windows will be closed when you switch from remote PC to a console or from a con-
sole to remote. This is to avoid display/opengl instability during the switch.
Grid will not be turned off while viewing a plot from a remote desktop. The mouse over high-
lights on 2D plots may appear as not totally overlapping the line color or as thin dotted lines.
Related Topics
Remote Analysis
Modifying the Model View
Maxwell 3D Online Help
2-48 Getting Started with Maxwell and RMxprt
Windows HPC Commands
Ansofts HPC Integration allows you to submit jobs directly using Ansofts command line argu-
ments for batchsolves. The supported HPC software is described in the Ansoft Installation Guide.
Ansoft products must be accessible from the same directory on all machines. The Ansoft command
line syntax is documented here. You must pass in a -distributed flag as part of the Ansoft command
line arguments if you want to run a distributed simulation.
Before running a job you must you Tools>Windows HPC>Select Head Node to designate the
head node of a cluster. You can then click Tools>Windows HPS> Submit HPC Job to submit the
batch commands for the job.
Related Topics
High Performance Computing (HPC) Integration
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-49
Getting Started Guides
The following getting started guides are available to assist you in familiarizing yourself with the
features and function of Ansofts Maxwell software suite.
3D Rotational Actuator
with Parametrics
3D Transient Rotational
Actuator Problem with
Motion
Maxwell 3D Online Help
2-50 Getting Started with Maxwell and RMxprt
2D Magnetostatic
Solenoid Problem with
Parametrics
A 3D Rotational Actuator Magnetostatic Problem with Parametrics
Open the PDF:
Alternatively:
This Getting Started Guide is written for Maxwell beginners and experienced users who would like
to quickly familiarize themselves with the capabilities of Maxwell 3D. This guide leads you step-
by-step through creating, solving, and analyzing the results of solving a 3D rotational actuator mag-
netostatic problem.
By following the steps in this guide, you will learn how to perform the following tasks:
Draw a geometric model.
Modify a models design parameters.
Assign variables to a models design parameters.
Specify solution settings for a design.
Validate a designs setup.
Run a Maxwell simulation.
Plot the magnetic flux density vector.
Run a parametric analysis.
Create an animation using saved parametric field data.
A 3D Transient Rotational Actuator Problem with Motion
Open the PDF:
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-51
Alternatively:
This Getting Started Guide is written for Maxwell beginners and experienced users who would like
to quickly familiarize themselves with the capabilities of Maxwell 3D. This guide leads you step-
by-step through creating, solving, and analyzing the results of solving a Transient rotational actua-
tor problem with motion. This Getting Started Guide builds on the problem and techniques pre-
sented in the 3D rotational actuator magnetostatic problem.
By following the steps in this guide, you will learn how to perform the following tasks:
Import a geometric model.
Modify a models design parameters.
Assign variables to a models design parameters.
Specify solution settings for a design.
Validate a designs setup.
Run a Maxwell simulation.
Plot the magnetic flux density vector.
Include motion in the simulation.
A 2D Magnetostatic Solenoid Problem with Parametrics
Open the PDF:
Alternatively:
This Getting Started Guide is written for Maxwell beginners and experienced users who would like
to quickly familiarize themselves with the capabilities of Maxwell 2D. This guide leads you step-
by-step through creating, solving, and analyzing the results of solving a 2D axisymmetric solenoid
magnetostatic problem with parametric analysis.
By following the steps in this guide, you will learn how to perform the following tasks:
Draw a geometric model.
Modify a models design parameters.
Assign variables to a models design parameters.
Specify solution settings for a design.
Validate a designs setup.
Run a Maxwell 2D simulation.
Plot the simulation results.
Set up a parametric sweep analysis varying multiple solution variables.
Plot familes of curves of the parametric results.
Maxwell 3D Online Help
2-52 Getting Started with Maxwell and RMxprt
Copyright and Trademark Notices
The information contained in the Maxwell, RMxprt, and Maxwell Circuit Editor online help is sub-
ject to change without notice.
ANSYS, Inc. makes no warranty of any kind with regard to this material, including, but not limited
to, the implied warranties of merchantability and fitness for a particular purpose. ANSYS, Inc. shall
not be liable for errors contained herein or for incidental or consequential damages in connection
with the furnishing, performance, or use of this material.
This document contains proprietary information which is protected by copyright. All rights are
reserved.
ANSYS, Inc.
275 Technology Drive
Canonsburg, PA 15317
Tel: (+1) 724-514-9494
Fax: (+1) 724-514-9494
Ansoft, Simplorer, Maxwell, Maxwell 3D, RMxprt, HFSS, Full-Wave Spice, ePhysics, Q3D
Extractor, Ansoft Designer, Nexxim, and Optimetrics are registered trademarks or trademarks of
SAS IP, LLC. All other trademarks are the property of their respective owners.
2011 SAS IP, Inc. All rights reserved.
Unigraphics and Parasolid geometry translators incorporated in this software are used under license
from Siemens PLM Copyright 2006. All rights reserved.
Third-Party License Agreements
License terms and conditions for third-party software installed with the Maxwell 3D software are
as follows:
Secure Hash Algorithm (SHA)
Copyright 2000-2001, Aaron D. Gifford All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted pro-
vided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and
the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
and the following disclaimer in the documentation and/or other materials provided with the distri-
bution.
3. Neither the name of the copyright holder nor the names of contributors may be used to endorse
or promote products derived from this software without specific prior written permission.
Maxwell 3D Online Help
Getting Started with Maxwell and RMxprt 2-53
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS''
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICU-
LAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBU-
TOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCURE-
MENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Maxwell 3D Online Help
2-54 Getting Started with Maxwell and RMxprt
Getting Help 3-1
3
Getting Help
Ansoft Technical Support
To contact ANSYS technical support, please log on to the ANSYS customer portal, http://
www1.ansys.com/customer. You can also contact your account manager or call the Help-
desk: (800) 711-7199.
E-mail can work well for technical support. All Maxwell software files are ASCII text and can be
sent conveniently by e-mail. When reporting difficulties, it is extremely helpful to include very spe-
cific information about what steps were taken or what stages the simulation reached. This allows
more rapid and effective debugging.
Maxwell 3D Online Help
3-2 Getting Help
Help Menu Commands
To access online help from the menu bar, do the following:
Click Help>Contents
Click Help>Index
Click Help>Search
You can also access help for the scripting commands via the menu bar:
Click Help>Scripting Contents
Click Help>Scripting Index
Click Help>Search Scripting
Context-sensitive help
To access online help from the Maxwell user interface, do one of the following:
Place you cursor over any menu item in the menu bar or in any shortcut menu and press F1 to
get help on that item. The item does not have to be active at the time to obtain help.
To open a help topic about an Maxwell menu command, press Shift+F1 or click and
then click the command or toolbar icon.
To open a help topic about an Maxwell dialog box, open the dialog box, and then press F1.
PDF of Online Help
The pdf of online help provides a format and function better suited for printing than the chm. You
can print ranges of pages encompassing topics and subtopics as needed.
Open the PDF:
.
Related Topics
Scripting in Maxwell
Maxwell 3D Online Help
Getting Help 3-3
Conventions Used in the Online Help
The following documentation conventions are used in the online help.
Procedures are presented as numbered lists. A single bullet indicates that the procedure has
only one step.
Bold type is used for the following:
- Keyboard entries that should be typed in their entirety exactly as shown. For example, "copy
file1" means to type the word copy, to type a space, and then to type file1.
- On-screen prompts and messages, names of options and text boxes, and menu commands.
Menu commands are often separated by carats. For example, click File>Open.
- Labeled keys on the computer keyboard. For example, "Press Return" means to press the key
labeled Return.
Italic type is used for the following:
- Emphasis.
- The titles of publications.
- Keyboard entries when a name or a variable must be typed in place of the words in italics. For
example, "copy file name" means to type the word copy, to type a space, and then to type a file
name.
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.
Toolbar buttons serve as shortcuts for executing commands. Toolbar buttons are displayed
after the command they execute. For example,
"On the Draw menu, click Line " means that you can click the Draw Line toolbar but-
ton to execute the Line command.
Maxwell 3D Online Help
3-4 Getting Help
Searching in Help
The online help system provides four ways to search for information and navigate quickly:
A hierarchical table of contents - you can expand or collapse the hierarchy by clicking, and you
can jump to selected entries by double-clicking.
A searchable index - you can search for indexed terms by typing the text field, and jump to
topic locations by double-clicking on them.
A full text search - you can type text, and search the entire online help. Items are listed accord-
ing to rank in discussing the search text.
A favorites list - you can select topics that you use frequently to create a favorites list.
Maxwell 3D Online Help
Getting Help 3-5
Using WebUpdate
To use WebUpdate:
1. Select Help>Launch WebUpdate.
This displays the WebUpdate dialogue, which lists the applications available for update.
2. Select the application of interest and click Next.
This displays the application and whether it is currently up to date and whether an update is
available
3. If an update is available, enable the application checkbox to select it.
a. You can choose to enable the checkboxes to install the update automatically and to save
the update to disk.
If you choose to update, the Next button is enabled.
b. Click Next to continue the update.
c. The Webupdate shows the progress of the update.
4. Click Close when done
Maxwell 3D Online Help
3-6 Getting Help
Obtaining Information About the Software and Version
To obtain information about
1. Click Help>About Ansoft Maxwell.
The About Ansoft Maxwell dialog box appears, listing information about Maxwell.
2. Click the Installed Components tab to view a list of software installed.
3. Click the Client License Settings tab to view information about the following:
Active Host Ids
Active Servers
Customer Number
Admin Directory
FLEXlm Version
License Files
4. To export the software information:
a. Click Export.
The Save As dialog box appears.
b. Browse to the location where you want to save the information as a text file.
c. Type a name for the file in the File name text box. The Save as type pull-down list is
already specified as Export (*.txt).
d. Click Save.
5. Click OK to close the About Ansoft Maxwell dialog box.
Maxwell 3D Online Help
Getting Help 3-7
Emailing a Help Page URL
To email a help page url from the online help chm:
1. Go to a help page of interest in the online help.
2. Click the Ansoft icon on the lower left corner of the help page.
The help launches an email.
3. Supply an email address and send the email.
4. Upon receiving the email, the recipient follows the directions by opening the online help, and
selecting the Search pane.
5. Select Search titles only..
6. The recipient copies the section title from the email and pastes it into the search field.
7. The recipient clicks the List Topics button.
This displays the topic. The recipient can click the topic to go directly to the help page.
Maxwell 3D Online Help
3-8 Getting Help
Working with Maxwell Projects and Designs 4-1
4
Working with Maxwell Projects and
Designs
A Maxwell project is a folder that includes one or more Maxwellmodels, or designs. Each design
ultimately includes a geometric model, its boundary conditions and material assignments, and field
solution and post-processing information.
A new project called Projectn is automatically created when the software is launched, where n is a
number. If you select the Insert a design of type radio buttion on the General Options:Project
Options tab, a design of the specified type is automatically created for the new project. You can
also open a new project by clicking File>New. In general, use the File menu commands to manage
projects. If you move or change the names of files without using these commands, the software
may not be able to find information necessary to solve the model.
Maxwell 3D Online Help
4-2 Working with Maxwell Projects and Designs
Maxwell Files
When you create a Maxwell project, it is given a .mxwl file extension and stored in the directory
you specify. Any files related to that project are also stored in that directory.
Some common Maxwell file and folder types are listed below:
.mxwl Maxwell project.
project_name.mxwlresults Maxwell folder containing results data for a project.
design_name.results Maxwell folder containing results data for a design. This folder is
stored in the project_name.mxwlresults folder.
design_name.asol Maxwell results data for a design. This file's contents may be
empty if a solution is unavailable. This file is stored in the
project_name.mxwlresults folder.
.cls Ansoft legacy EM projects.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-3
Creating Projects
1. Click File>New .
A new project is listed in the project tree. It is named Projectn by default, where n is the order
in which the project was added to the current session.
Project definitions, such as material assignments, are stored under the project name in the proj-
ect tree.
2. Click Project>Insert Maxwell (2d or 3D) Design.
You specify the name of the project when you save it using the File>Save or File>Save As com-
mands.
Note To insert an RMxprt design, click Project>Insert RMxprt Design.
Maxwell 3D Online Help
4-4 Working with Maxwell Projects and Designs
Creating New 2D Designs from 3D Designs
The Maxwell system contains both 2D and 3D projects. Often, you may want to take a cross section
of a 3D model to perform a 2D analysis. The following cases represent the scenarios available for
automatically converting models.
3D model to 2D XY model
3D model to 2D RZ model
You must keep the following points in mind before you convert any project:
A 2D design is created in the same project.
All 3D geometry is used, you cannot select which geometry to include in the conversion.
If there are any sheet objects in 3D, only those sheets that lie in the same plane as the section
plane are converted.
1D objects are not converted from 3D to 2D.
Related Topics
Converting a 3D Model to 2D
Converting a 3D Model to 2D
To create a 2D design from an existing 3D design:
1. Click Maxwell3D>Create 2D Design.
The Create 2D Design dialog box appears.
2. Select the Coordinate System to be used for creating sections in the 3D model.
3. Choose the Section Plane within the chosen coordinate system. You can choose XY, YZ, or
ZX.
4. Select the Geometry Mode, to use for the target 2D design. You can choose either XY or RZ.
5. Click OK to create the 2D design.
The modeler creates a new design within the current project and generates the 2D model within the
new design. All material properties and material assignments are copied to the new design.
Related Topics
Creating a Cross-Section
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-5
Creating New 3D Designs from 2D Designs
The Maxwell system contains both 2D and 3D projects. Often, you may want to sweep or rotate a
2D model to create a full 3D design. The following cases represent the scenarios available for auto-
matically converting models from 2D to 3D.
2D XY model to 3D model
2D RZ model to 3D model
You must keep the following points in mind before you convert any project:
A 3D design is created in the same project.
All 2D geometry is used, you cannot select which geometry to include in the conversion.
1D objects are converted from 2D into 3D sheet objects.
Related Topics
Converting 2D XY Model to 3D
Converting 2D RZ Model to 3D
Converting 2D XY Model to 3D
To create a 3D design from an existing 2D XY design:
1. Click Maxwell2D>Create 3D Design.
The Sweep Along Vector dialog box appears.
2. Enter a value in the Length along z-axis box to obtain a swept length of the model.
3. Choose the desired Dimension of the sweep distance entered from the pull-down menu.
4. Click OK to create the 3D design.
The modeler creates a new design within the current project and generates the 3D model within the
new design. All material properties and material assignments are copied to the new design.
Related Topics
Sweeping Along a Vector
Converting 2D RZ Model to 3D
To create a 3D design from an existing 2D RZ design:
1. Click Maxwell2D>Create 3D Design.
The Sweep Around Z Axis dialog box appears.
2. Enter the Angle of Sweep to obtain a full 360 3D-model or a wedge model to a selectable
degree.
3. Enter the desired Draft Angle and Draft Type.
Note Entering a draft angle for a model where objects touch the z axis results in a error due to
an invalid object being requested. Draft angles may only be used when no objects are
touching the z axis.
Maxwell 3D Online Help
4-6 Working with Maxwell Projects and Designs
4. Enter the Number of Segments to use in creating the 3D model. If you do not change the
default value (=0), the project will be created with true surfaces.
5. Click OK to create the 3D design.
The modeler creates a new design within the current project and generates the 3D model within the
new design. All material properties and material assignments are copied to the new design.
Related Topics
Sweeping Around an Axis
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-7
Opening Projects
Open a previously saved project using the File>Open command.
1. Click File>Open.
The Open dialog box appears.
2. Use the file browser to find the Maxwell project file.
By default, Maxwell files are displayed. To see other files, change the file filter in the Files of
type pull-down list.
3. Select the file you want to open.
4. Click OK.
The project information appears in the project tree.
If you open another project without editing the automatically-created project, Maxwell
removes the automatically-created project.
You can also open a saved project by:
Dragging a Maxwell project file icon to the Maxwell icon.
Dragging a eMaxwell project file icon to the Maxwell desktop.
Double-clicking on a Maxwell project file icon.
Related Topics
Opening Legacy Maxwell Projects
Opening Example Projects
Maxwell 3D Online Help
4-8 Working with Maxwell Projects and Designs
Opening Example Projects
You can directly access and open example projects included with product install by using
File>Open Examples. This displays a browser open to the Examples folder in the product install.
You can select from various display styles for the folders and projects.
The online help contains additional descriptions of these projects.
Related Topics
Example Projects
Opening Recent Projects
To open a project you recently saved in Maxwell:
Click the name of the project file at the bottom of the File menu.
Opening Legacy Maxwell Projects
1. Click File>Open.
2. Select Ansoft Legacy EM Projects (*.cls) from the Files of type pull-down list.
3. In the Look in pull-down list, click the location of the project. In the folder list, double-click
folders to find the one that contains the project.
4. Double-click the project you want to open.
Note If you open another project without editing the automatically-created project, Maxwell
removes the automatically-created project.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-9
Related Topics:
Translating Legacy Maxwell Projects
Translating Legacy Maxwell Projects
When you open a legacy Maxwell project, virtually all of the project's pre-processing data is trans-
lated. Solution results and Optimetrics setup data are unavailable; however, the nominal model cre-
ated for Optimetrics can be translated if you open the project in the "template" subdirectory.
Objects that were considered non-model in the legacy project (Model Object check box was
cleared in the Properties dialog) are translated but remain non-model objects in the translated proj-
ect.
Following are additional notes about the translation of legacy project information:
Model Geometry The translated geometry's construction history is unavailable; therefore,
the original object properties you defined cannot be modified in the
Properties window. However, you can modify the geometry using
Maxwell's modeling features.
For units unavailable in the current version of Maxwell, such as yards, the
nearest available units are used; the model is scaled slightly to fit the new
units.
Materials Functions defined in legacy projects become project variables in version
12 and later; therefore, functional material properties and functional
material assignment angles are not translated.
Perfect conductors become regular materials with conductivity values of
of 1E30. Maxwell 12 uses a conductivity threshold that treats all
conductors over the threshold as perfect conductors.
When translating a legacy project, Maxwell does not import any variables
that depend on intrinsic variables (this feature is unavailable in Maxwell
12 and later versions). For material properties depending on intrinsic
variables, the variable reference is replaced with its expanded expression.
Mesh Operations Mesh refinement operations performed on arbitrary boxes in legacy
projects are ignored.
Area-based and volume-based mesh operations are translated as length-
based mesh operations in version 12 and later by taking their square roots
and cube roots, respectively.
Maxwell 3D Online Help
4-10 Working with Maxwell Projects and Designs
Optimetrics Setup information, including design variables, is not supported; however,
the nominal model can be translated.
Parameterizing a translated model is limited because geometry
construction history is unavailable.
Solution Setup The design's initial mesh is used for the solution. Meshes are not
translated.
Solutions Solution data is not translated; therefore, you must solve legacy Maxwell
projects again.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-11
Saving Projects
Use the File>Save As command to do the following:
Save a new project.
Save the active project with a different name or in a different location.
Use the File>Save command to save the active project.
Maxwellhas a "Save before solving" setting located in the Tools>Options>Maxwell (3D, or 2D)
Options or Tools/Options/RMxprt Options menu. By default this is on. However, for efficiency
reasons, the project is only saved if it has been modified since its last save.
A prompt appears when you attempt to save a previously-versioned file. If you agree to the prompt,
the file is upgraded to the Maxwellversion in which you are running the software. In this case the
file may no longer be compatible with previous versions. If you do not agree to the prompt, the file
is not saved, so the file retains the previous compatibility.
If you have a simulation running, you see a warning that if you continue, Maxwellwill abort the
simulation. If you OK the warning, Maxwell aborts the simulation and saves the project.
Related Topics
Saving a New Project
Saving the Active Project
Saving a Copy of a Project
Saving a Project as a Technology File
Saving a New Maxwell Project
1. Click File>Save As.
The Save As dialog box appears.
2. Use the file browser to find the directory where you want to save the file.
3. Type the name of the file in the File name box.
By default, all files have the .mxwl extension.
4. Click Save.
Maxwell saves the project to the location you specified.
Related Topics
Saving the Active Project
Saving a Copy of a Project
Warning Be sure to save geometric models periodically. Saving frequently helps prevent the
loss of your work if a problem occurs. Although Maxwell has an "auto-save"
feature, it may not automatically save frequently enough for your needs.
Maxwell 3D Online Help
4-12 Working with Maxwell Projects and Designs
Saving the Active Maxwell Project
Click File>Save.
Maxwell saves the project over the existing one.
Related Topics
Saving a New Project
Saving a Copy of a Project
Saving a Copy of a Project
To save an existing, active project with a new name, a different file extension, or to a new location:
1. Click File>Save As.
2. Use the file browser to find the directory where you want to save the file.
3. Type the name of the file in the File name box.
4. Click Save.
Maxwell saves the project with the new name or file extension to the location you specified.
Related Topics
Saving a New Project
Saving the Active Project
Save a Project as a Technology File
1. Click File>Save As Technology File.
The Save to user library dialog box appears.
2. Click the PersonalLib button or UserLib button to specify the location to save the file.
3. Type the name of the file in the File name box.
By default, all technology files have the .asty extension.
4. Click Save.
Related Topics
Saving a New Project
Saving the Active Project
Saving a Copy of a Project
Warning Be sure to save geometric models periodically. Saving frequently helps prevent the
loss of your work if a problem occurs. Although Maxwell has an "auto-save"
feature, it may not automatically save frequently enough for your needs.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-13
Renaming a Project
To rename an existing, active project:
1. Select the project in the Project tree.
2. Right-click to display the short-cut menu.
3. Select Rename.
This activates the text field for the project name.
4. Type the new project name and press enter.
The new project name appears in the directory and the project remains in the original location.
Saving Project Data Automatically
Maxwell stores recent actions you performed on the active project in an auto-save file in case of a
sudden workstation crash or other unexpected problem. The auto-save file is stored in the same
directory as the project file and is named Projectn.mxwl.auto by default, where n is the order in
which the project was added to the current session. After you have done a Save As, the autosave
file name is <name>.mxwl.auto, where <name> is the name you gave the project when saving.
Maxwell automatically saves all data for the project to the auto-save file, except solution data. By
default, Maxwell automatically saves project data after every ten edits. An "edit" is any action you
perform that changes data in the project or the design, including actions associated with project
management, model creation, and solution analysis.
With auto-save activated, after a problem occurs, you can choose to re-open the original
project file (Projectn.mxwl) in an effort to recover the solution data or to open the auto-save file. If
a crash recovery file contains 0 bytes, the other file is opened instead.
To modify the auto-save settings:
1. Click Tools>Options>General Options.
The Options dialog box appears.
2. Under the Project Options tab, verify that Do Autosave is selected.
This option is selected by default.
3. In the Autosave interval box, enter the number of edits that you want to occur between
automatic saves. By default, this option is set at 10.
4. Click OK to apply the specified auto-save settings.
Once the specified number of edits is carried out, a "model-only" save will occur. This means
that Maxwell does not save solutions data or clear any undo/redo history.
When Maxwell auto-saves, an ".auto" extension is appended to the original project file name.
Note Auto-save always increments forward; therefore, even when you undo a command,
Maxwell counts it as an edit.
Maxwell 3D Online Help
4-14 Working with Maxwell Projects and Designs
For example, "Project1.mxwl" is automatically saved as "Project1.mxwl.auto".
Related Topics
Recovering Project Data in an Auto-Save File
Save Before Solve Option
The Tools>Options>Maxwell 3D Options, Tools>Options>Maxwell 2D Options or Tools/
Options/RMxprt Options commands each display a dialog with a checkbox for an automatic Save
before solving option. The main purpose is to force a full save before running the solve.
In the case where you start a solve while another solve is running, and the Save before solving
option is set, Maxwell asks if you want solve without saving first. This lets you do multiple solves,
and if you have not edited the project in between solves, crash recovery will work. In any case, you
can start a new solve while running another without having to abort the running solve.
Recovering Project Data in an Auto-Save File
Following a sudden workstation crash or other unexpected problem, you can recover the project
data in its auto-save file.
To recover project data in an auto-save file:
1. If Maxwell has crashed, launch Maxwellfrom your desktop.
2. Click File>Open.
3. Select the original Projectn.mxwl project file for which you want to recover its Pro-
jectn.mxwl.auto auto-save file.
The Crash Recovery dialog box appears, giving you the option to open the original project
file or the auto-save file.
4. Select Open project using autosave file to recover project data in the auto-save file, and then
click OK. Maxwell replaces the original project file with the data in the auto-save file.
Maxwell immediately overwrites the original project file data with the auto-save file data,
removing the results directory (solutions data) from the original project file as it overwrites to
the auto-save file.
Related Topics
Saving Project Data Automatically
Warning When you close or rename a project, Maxwell deletes the auto-save file. Maxwell
assumes that you have saved any desired changes at this point.
Warning When you recover a project's auto-save file you cannot recover any solutions data;
recovering an auto-save file means you will lose any solutions data that existed in
the original project file.
Warning If you choose to recover the auto-save file, you cannot recover the original project
file that has been overwritten; recovering data in an auto-save file is not reversible.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-15
Saving a Project From a Previous Version
When you open a Maxwell project from a version earlier than version 11, Maxwell creates a new
project. The v10 or earlier project is not modified.
Maxwell 3D Online Help
4-16 Working with Maxwell Projects and Designs
Closing a Project
To close a Maxwell or RMxprt project:
Click File>Close.
If the project has not been saved since the last change, a message appears asking if you want to save
the project before closing it. Do one of the following:
Click Yes to save the project.
Click No to close the project WITHOUT saving it.
Click Cancel to keep the project open.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-17
Deleting Projects
To delete a project:
1. Select the project in the project tree.
2. Click either Edit>Delete, or right click to display the short-cut menu and select Delete.
A dialog displays the message: "The project selected and all its files will be deleted from the
permanent storage medium. Click OK to proceed."
Click OK to delete the files or Cancel to retain them.
Maxwell 3D Online Help
4-18 Working with Maxwell Projects and Designs
Exiting Maxwell and RMxprt
To exit the Maxwell and RMxprt interfaces:
Click File>Exit.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-19
Undoing Commands
Use the Undo command on the Edit menu to cancel, or undo, the last action you performed on the
active project or design. This is useful for undoing unintended commands related to project man-
agement, model creation, and post-processing.
1. In the Project Manager window, do one of the following:
To undo the last action you performed on the active project, such as inserting a design or
adding project variables, click the project icon.
To undo the last action you performed on the active design, such as drawing an object or
deleting a field overlay plot, click the design icon.
2. Click Edit> Undo, or click the Undo button on the toolbars.
Your last action is now undone.
Related Topics
Redoing Commands
Note You cannot undo an analysis that you have performed on a model, that is, the
Maxwell>Analyze command.
Note When you save a project, Maxwell always clears the entire undo/redo history for the
project and its designs.
Maxwell 3D Online Help
4-20 Working with Maxwell Projects and Designs
Redoing Commands
Use the Redo command on the Edit menu to reapply, or redo, the last action that was canceled, or
undone. You can redo a canceled action related to project management, model creation, and post-
processing.
1. In the Project Manager window, do one of the following:
To redo the last action you canceled on the active project, such as inserting a design or
adding project variables, click the project icon.
To redo the last action you canceled on the active design, such as drawing an object or
deleting a field overlay plot, click the design icon.
2. Click Edit>Redo, or click the Redo button on the toolbars.
Your last canceled action is now reapplied.
Related Topics
Undoing Commands
Note When you save a project, Maxwell always clears the entire undo/redo history for the
project and its designs.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-21
Removing Unused Components from a Project
To remove unused components from a Maxwell project:
1. Click Project>Remove Unused Definitions.
The Unused Definitions dialog box appears.
2. Select the Delete check box for any components you want to remove.
You can also click the Select All button to select all components listed.
3. Click Apply.
A warning message appears, telling you that the undo/redo history will be cleared for the proj-
ect.
4. Click OK to continue, or click Cancel to cancel the deletion.
5. When you are finished removing components, click OK to close the Unused Definitions dia-
log box.
Maxwell 3D Online Help
4-22 Working with Maxwell Projects and Designs
Updating Design Components
To update components defined in the current design:
1. Click Tools>Update Definitions.
The Update Definitions dialog box appears.
2. Select one of the following two radio buttons.
Show Items with newer definitions
Show All Items
3. From the Show Types list in the List Options section, select the types of definitions you want
to show in the Item List list.
4. Select the item you want to update from the Item List list.
5. Click the Select All or Unselect All buttons to select or clear all items listed.
6. Click Update.
A message appears telling you the update was successful. Click OK to close the message.
7. When you are finished updating definitions, click Close.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-23
Managing Projects and Designs
Copy and Paste a Project or Design
To copy a project or design:
1. Select a project or design in the project tree in Project Manage Window to enable the menu
command Edit>Copy.
2. Click Edit>Copy. The project or design is copied for pasting.
To paste a project or design:
1. Select a project or design in the project tree in Project Manage Window to enable the menu
command Edit>Paste.
2. Click Edit>Paste. The project or design is pasted under the seleted project, an icon is added to
the project tree.
Rename a Project or Design
1. Right click the design icon to display the shortcut menu, as shown.
2. Click Rename in the shortcut menu.
3. Define the new name for the design by typing it directly into the Project Window.
Maxwell 3D Online Help
4-24 Working with Maxwell Projects and Designs
4. Press Enter to complete the rename.
Delete a Project or Design
1. Select a project or design in the project tree in Project Manage Window to enable the menu
command Edit>Delete.
2. Click Edit>Delete, or the Delete key.
3. Confirm the warning box to complete the delete operation, the icon is removed from the proj-
ect tree.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-25
Validating Designs
Before you run an analysis on a model, it is very important that you first perform a validation check
on the design. When you perform a validation check on a design, Maxwell runs a check on all setup
details of the active design to verify that the necessary steps have been completed and their param-
eters are reasonable.
To perform a validation check on the active design:
1. Click Maxwell3D or Maxwell2D, and then select Validation Check.
Maxwell checks the project setup, and then the Validation Check window appears.
2. View the results of the validation check in the Validation Check window.
The following icons can appear next to an item:
3. View any messages in the Message Manager window.
4. If the validation check indicates that a step in your design is incomplete or incorrect, carefully
review the setup details for that particular step and revise them as necessary.
5. Run a validation check after you have revised any setup details for an incomplete or incorrect
design step.
6. Click Close.
Related Topics
Modeler Validation Settings
Modeler Validation Settings
You can adjust the degree to which the software checks a model for faults that could jeopardize
mesh accuracy. There are three levels of model validation that a user can specify for a given
design: Warning Only, Basic, and Strict. Note that this setting affects only the "3D Model" stage
of a design validation. The default entity chack level is Strict.
The Warning Only entity check setting allows all models to pass 3D Model validation regard-
less of any faults that are found. These faults are posted in the message window as warnings.
The Basic entity check setting allows most models to pass 3D Model validation. Some faults
are flagged as model errors, thereby prohibiting a design from proceeding to the meshing stage
of an analysis. You must correct such errors before attempting to analyze the design under the
Basic setting, or you must change the Model Validation level to Warning Only.
The Strict entity check setting enforces a tighter tolerance for model faults than the "Warning
Indicates the step is complete.
Indicates the step is incomplete.
Indicates the step may require your attention.
Maxwell 3D Online Help
4-26 Working with Maxwell Projects and Designs
Only" and "Basic" settings. All model faults that are found during 3D Model validation are
posted to the message window. These errors must be corrected before attempting to analyze
the design under the Strict setting, or you must change the Model Validation level to Basic or
Warning Only.
In addition, checkboxes allow you to adjust model validation to Ignore Unclassified Objects and
to Skip Intersection Checks. These settings are unchecked by default.
To adjust the Model Validation Settings:
1. Select Modeler->Validation Settings.
This displays the Model Validation Settings dialog box in which you can set the validation as
Basic, Strict, or Warning Only.
2. Choose the desired level of validation from the Entity Check Level drop down box.
3. Optionally, adjust model validation to Ignore Unclassified Objects, or to Skip Intersection
Checks.
4. Optionally, click the Save as Default button to make the current selections the default settings.
5. Optionally, click the Restore Default button to clear the checkboxes and return the entity
check level to its default Strict setting.
6. Click OK to accept the selection and close the dialog.
Related Topics
Model Analysis
Analyze Objects
Interobject Misalignment
Analyze Surface Mesh
Heal
Technical Notes: Healing and Meshing
Technical Notes: Detecting and Addressing Model Problems to Improve Meshing
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-27
Exporting Files
You can export the following types of files from Maxwell:
Ansoft 2D modeler files
AutoCAD Drawing Interchange Format files
3D model files
Graphics files
Related Topics
Exporting Matrix Data
Exporting Equivalent Circuit Data
Exporting Ansoft 2D Modeler Files
When you export a file in the Ansoft 2D Modeler (.sm2) format, the geometry located within the xy
plane is exported.
To export a file to a .sm2 format:
1. Click Modeler>Export to save the file in an Ansoft 2D Modeler format.
The Export File dialog box appears.
2. Use the file browser to find the directory where you want to save the file.
3. Type the name of the file in the File name box.
4. Select Ansoft 2D Geometry Files(*.sm2) from the Save as type pull-down list.
5. Click Save. The file is exported to the specified location as a .sm2 file.
Related Topics
Exporting 2D AutoCAD Drawing Interchange Format Files
Exporting 3D Model Files
Exporting Graphics Files
Exporting 2D AutoCAD Drawing Interchange Format Files
When you export a file in the AutoCAD Drawing Interchange Format (.dxf), the 2D geometry
located within the xy plane on the working coordinate system is exported.
Note If you want to export a plane that does not coincide with the global xy plane, you must
create a relative coordinate system to redefine the location of the origin and xy plane.
See Creating a Relative Coordinate System for more information.
Note If you want to export a plane that does not coincide with the global xy plane, you must
create a relative coordinate system to redefine the location of the origin.
See Creating a Relative Coordinate System for more information.
Maxwell 3D Online Help
4-28 Working with Maxwell Projects and Designs
To export a file to a .dxf format:
1. Click Modeler>Export.
The Export File dialog box appears.
2. Use the file browser to find the directory where you want to save the file.
3. Type the name of the file in the File name box.
4. Select AutoCAD DXF Files(*.dxf) from the Save as type pull-down list.
5. Click Save. The file is exported to the specified location as a .dxf file.
Related Topics
Exporting 2D Model Files
Exporting 3D Model Files
Exporting Graphics Files
Exporting 3D Model Files
You can export 3D models to the following 3D model file formats:
To export a file to a 3D model format:
1. Click Modeler>Export to save the file in a 3D model format.
The Export File dialog box appears.
2. Use the file browser to find the directory where you want to save the file.
3. Enter the name of the file in the File name box.
4. Select the desired 3D model file format from the Save as type pull-down list.
Extension Contents
.sat ACIS geometry solid model files.
.sm2 Ansoft 2D Geometry File
.sm3 Ansoft 3D Modeler files in ACIS version 2.0 or greater.
.dxf, .dwg AutoCAD Drawing Interchange Format files.
.model, .exp .model - CATIA 4.1.9 to 4.2.4
.Catia V4 Export Files
.gds
GDSII files
.iges, .igs Industry standard Initial Graphics Exchange Specification (IGES) files. AN
additional license is required.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-29
5. If you selected .sm3, the Select Version dialog box appears. Do the following:
Click an ACIS version in which to export the model from the ACIS SM3 Version pull-
down list, and then click OK.
6. Click Save. Unless you selected GDSII, the file is exported to the specified location as a 3D
model file. If you selected GDSII, the GDSII Export dialog appears.
If the model has been defined with layers, those layers are listed by layer number in the
table, with columns for Layer Name, Layer Number, Elevation in units. There is a check-
box to specify whether to include the layer in the exported file.
If you have defined a layer map file for the model, the Layermap button opens a browser
for you to open that file before export. The *.layermap file is a text file that maps the
GDSII layer numbers to layer names in the stackup. The *.layermap file can have the
same format as the .tech file used in GDSII import, but it only needs the layer name and
number in the file. In a *.layermap file, other information is ignored.
In the Polygon Vertices area, check a radio button to select either No Limit to the num-
ber of vertices or Limit the number of vertices to a specified value.
For Arc tolerance, specify a value or accept the default.
7. Click the OK button in the GDSII Export dialog to complete the export. The file is exported to
to the specified location.
Related Topics
Exporting 2D Model Files
Exporting 2D AutoCAD Drawing Interchange Format Files
Exporting Graphics Files
Importing GDSII Format Files
Exporting Graphics Files
You can export the following graphics formats:
.x_b, .x_t Parasolid Binary Files.
Parasolid Text Files
.sab Standard ACIS binary.
.step, .stp Industry standard AP203 STEP files. An additional license is required.
Extension Contents
.bmp Bitmap files.
Extension Contents
Maxwell 3D Online Help
4-30 Working with Maxwell Projects and Designs
To export a file to a graphics format:
1. Click Modeler>Export to save the file in a graphics format.
The Export File dialog box appears.
2. Use the file browser to find the directory where you want to save the file.
3. Type the name of the file in the File name box.
4. Select the desired graphics file format from the Save as type pull-down list.
5. Click Save. The file is exported to the specified location as a graphics file.
Related Topics
Exporting 2D Model Files
Exporting 3D Model Files
Exporting Data Table Files
You must have an existing plot open to see the Report2D menu.
1. Click Report2D>Export to File.
Alternatively, right-click on the data table, and then click Export to File on the shortcut
menu.
The Export plot data to file dialog box appears.
2. Use the file browser to find the directory where you want to save the file.
3. Type the name of the file in the File name box.
4. Select one of the following file formats from the Save as type pull-down list:
5. Click Save. The file is exported to the specified location as a data table file.
.gif Graphics Interchange Format files.
.jpeg Joint Photographics Experts Group files.
.tiff Tagged Image File Format files.
.wrl Virtual Reality Modeling Language (VRML) files.
Extension Contents
.txt Post processor format file
.csv Comma-delimited data file
.tab Tab-separated file
.dat Ansoft plot data file
Extension Contents
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-31
Importing Files
You can import the following types of files to Maxwell:
2D model files
3D model files
Related Topics
Exporting Files
Importing 2D Model Files
You can read the following 2D model files directly into the active Modeler window:
When importing .sm2 files, they will import into the current XY or XZ plane depending upon how
they were originally created. If you want to import them in a specific orientation other than the cur-
rent XY or XZ plane, you must first create a relative coordinate system with the planes in the
desired orientation. See Creating a Relative Coordinate System for more information.
To import a 2D model file:
1. Click Modeler>Import.
The Import File dialog box appears.
2. Select a file type from the Files of type pull-down list. For 2D model files, this would be either
GDSII Files (*.gds) or Ansoft 2D Geometry Files (*.sm2).
3. Use the file browser to find and select the file you want to import.
4. Click Open.
The file is imported into the active Modeler window.
Note If you import a file into an active Modeler window that contains an existing model, the
file is added to the existing model; it will not replace it.
Extension Contents
.gds GDSII is a standard file format for 2D graphical design layout data.
.sm2 Ansoft 2D Modeler files.
Note When importing .sm2 files, they will import into the current XY or XZ plane depending
upon how they were originally created. If you want to import them in a specific
orientation other than the current XY or XZ plane, you must first create a relative
coordinate system with the planes in the desired orientation.
See Creating a Relative Coordinate System for more information.
Maxwell 3D Online Help
4-32 Working with Maxwell Projects and Designs
Related Topics
Importing 3D Model Files
Importing GDSII Format Files
Importing GDSII Format Files
A GDSII format file is one type of 2D model file that can be read directly into the active Modeler
window.
To import a GDSII format file:
1. Click Modeler>Import.
The Import File dialog box appears.
2. Select GDSII Files (*.gds) from the Files of type pull-down list.
3. Use the file browser to find and select the GDSII format file you want to import.
4. Click Open.
The GDSII Import dialog box appears.
5. Select the desired check boxes in the GDSII structures section of the dialog box.
GDSII Structures Panel:
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-33
The GDSII file may contain several top-level structures. You can do one of the following:
Click a structure name in the GDSII Structures panel to highlight it.
Clicking the Select check box in the GDSII Structures panel highlights the structure and
selects that top-level structure to be imported.
When multiple structures are imported, Maxwell 3D creates multiple designs under the current
project, one for each GDSII structure.
6. View the sub-layouts in the Descendants section of the dialog box.
Descendants Panel:
The GDSII file is hierarchical and may contain many sub-layouts. The Descendants panel shows
the sub-layouts in the selected top-level designs.
7. In the Layers for structurenamesection, view the layers for the top-level structure.
Layers for structurenamePanel:
The Layers for structurenamepanel shows the layers for the most recently highlighted top-level
structure [structurename]. GDSII layers are identified by layer numbers.
8. In the All GDSII Layers section, select the layers you want to import.
All GDSII Layers Panel:
The All GDSII Layers panel lists all the layers from all the structures in the file.
Use the Import Layers check boxes in the All GDSII Layers panel to select the layers to import.
You can drag and drop the layers in the list to change the vertical stackup of layers.
9. In the Convert Nodes to section, convert or ignore objects that use the "nodes" data type.
Convert Nodes to Panel:
GDSII supports nodes and boundaries as separate data types. Normally, boundaries represent poly-
gons. Maxwell can do one of the following: Convert objects that use the nodes data type to bound-
ary types, or ignore them. You can do one of the following:
Use the Convert Nodes to radio buttons to select Boundary or Ignore. The default is to con-
vert data type nodes to the data type boundary.
The Flatten Hierarchy check box is automatically selected. Maxwell 3D always flattens any
hierarchical geometry in the GDSII.
10. In the Layer Mapping File section, create a mapping to use for the import.
Layer Mapping File Panel:
If desired, you can create a mapping of the GDSII layer numbers to layer names in the design
stackup. To create and use the mapping, do the following:
Use a text editor to create a text file that maps the GDSII layer numbers to layer names in the
stackup. The layer mapping file must have a .tech suffix. The format of a .tech format layer
mapping file lists includes the layer number and corresponding layer name, color, elevation,
Maxwell 3D Online Help
4-34 Working with Maxwell Projects and Designs
and thickness. For example, a layer mapping file may look like the following:
Click the Open button in the Layer Mapping File section to locate and open an existing layer
mapping file.
11. When you are finished viewing and selecting options in the GDSII Import dialog box, click
OK.
The file is imported into the active Modeler window.
Related Topics:
Importing 2D Model Files
Importing 3D Model Files
You can read the following 3D model files directly into the active Modeler window:
To import a 3D model file:
1. Click Modeler>Import.
The Import File dialog box appears.
2. Select the file type you want from the Files of type pull-down list.
3. Select any import options available for the selected file type.
Some file types permit you to Heal Imported Objects. See the table below and Healing an
Imported Object.
For Ansoft .sm3 files, you can also check the model.
For ProE files, you can choose check to enable the Import Free Surfaces option. This
imports such surfaces as well as parts.
Note If you import a file into an active Modeler window that contains an existing model, the
file is added to the existing model; it will not replace it.
//#
//# Layer Color Elevation Thickness
//# Name Purpose [nm] [nm]
//#--------------------------------------------------------------------
0 ref red 0.000 0.000
17 POLYG blue2 420.0 180.0
18 POLY2 blue2 420.0 180.0
25 PIMP tan 400.0 0.000
26 NIMP blue3 400.0 0.000
29 RPO green 400.0 0.000
30 CONT white 400.0 490.0
31 METAL1 red 890.0 280.0
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-35
For Natran and STL files, you can set the Model Resolution Length in Model Units, or
accept the auto setting.
For STEP and IEGS files, you can specify a Stitch tolerance and units.
4. Use the file browser to find the file you want to import.
5. Select the 3D model file you want to import or enter the name of the file in the File Name box.
6. Click Open.
The file is imported into the active Modeler window.
If you selected Heal Imported Objects with the Manual option selected for the import, then
the Healing Options dialog box opens, allowing you to set parameters for the heal operation.
Note While objects created in Maxwell can always be classed in the history tree as either a
solid, sheet, or wire some imported objects may have mixture of these. Maxwell places
such objects in an Unclassified folder in the history tree.
Extension Contents
.sat ACIS 19 Service Pack 2 geometry solid model files.
1
.sm3 Ansoft 3D modeler files up to ACIS 19 Service Pack 2.
1
.sm2 Ansoft 2D modeler files
.sld Ansoft legacy 3D model files
.dxf, .dwg
.tech
AutoCAD Drawing Interchange Format files. The .tech file is an ASCII file
that contains layer names, units, color, elevation, thickness, and material
information in a tab delimited format. See Importing DXF and DWG Format
Files.
.model,
.CATPart
Catia R4/R5 models.
1
.model - CATIA 4.1.9 to 4.2.4
.CATPart - CATIA V5 R2 through R19
.gds GDSII files.
.iges, .igs Industry standard Initial Graphics Exchange Specification (IGES) files
versions up to 5.3.
1
.nas NASTRAN format files.
2
Maxwell 3D Online Help
4-36 Working with Maxwell Projects and Designs
Related Topics
Importing 2D Model Files
Importing DXF and DWG Format Files.
Exporting 3D Model Files
Importing DXF and DWG Format Files
You can import AutoCAD versions 2.5 through 2009. The entities are imported as 2 dimensional
(not 3D). The types of entities imported are:
2D Polyline, Polyline, and Line
Arc
Circle
Ellipse
Solid
Block
To import a .dxf or .dwg model file (which may use an associated .tech file):
1. Click Modeler>Import.
The Import File dialog box appears.
2. Select AutoCAD Files (*.dxf;*.dwg) from the Files of type pull-down list.
.x_t, .x_b Parasolid Files (10-20).
1
.prt*, .asm* Pro/E model files. For ProE models, the import dialog lets enable Import Free
Surfaces, which will include such surfaces as well as parts.
.Pro/E 16 to Wildfire 4
.sab Standard ACIS binary (ACIS 19).
.step, .stp Industry standard AP203 STEP files and AP214 (geometry only).
1
.stl Stereolithography format files.
2
.prt Unigraphics file (11 to 18, NX to NX6).
1
(Windows only).
1. Automatic or Manual Healing available if desired. See Healing an Imported Object.
2. Defeaturing based on Model Resolution Length. Select Auto, None, or enter a numeric
value directly in the entry box.
Extension Contents
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-37
3. Use the file browser to find the file you want to import.
4. Select the .dxf/.dwg model file you want to import.
5. Click Open.
Initially, the DWG/DXF Import dialog opens with the Layer selection tab displayed.
The Input name field shows the name of the layer in the DXF/DWG file (not editable).
6. Use the Include check boxes to specify which layers to import from the selected file.
7. You can use the browse button [...] to locate a Layer mapping file. The layer mapping file is a
plain text file that includes units, layer names, color, elevation, and thickness information.
units um
//Layer_Name Color Elevation Thickness
BOTTOMLAYER purple 0 200
MIDLAYER green 500 200
TOPLAYER blue 1000 200
Maxwell 3D Online Help
4-38 Working with Maxwell Projects and Designs
8. Click the Options tab.
9. Use the Override pulldown to select the layout units for the imported file (default is mm).
10. Use the Objects check boxes to fine-tune the import:
Auto detect closure causes polylines to be checked to see whether or not they are closed.
If a polyline is closed, the modeler creates a polygon in the design.
Self stitch causes multiple straight line segments to be joined to form polylines. If the
resulting polyline is closed, a polygon is created in the modeler.
Default Tolerance/Tolerance specifies whether you can specify a self stitch Tolerance
value. If particular features in a model are outside of a normal tolerance allowance, you
can set a Tolerance for importing that specific model.
Defeature Tolerance removes certain small features in the imported geometry to reduce
complexity. The features that are removed include: multiple points placed within the spec-
ified distance; thin or narrow regions (thins and spikes); and extraneous points along
straight line segments.
Round coordinates to Decimal place rounds all imported data to the specified number of
decimal points.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-39
Convert closed wide lines to polygons imports wide polylines as polygons. You have
more flexibility to change the shape of such an object when it is imported as a polygon.
Import as 2D sheet bodies causes imported objects to be organized in terms of 2D sheets.
11. For Import method, select Script or Acis.
12. When you have completed selections on all tabs, click OK on any tab.
The file is imported into the active Layout window.
Importing Solution Data
1. Click Maxwell>Results>Import Solutions.
The Imported Data dialog box appears.
2. Click Import Solution.
The S Parameter Import dialog box appears.
3. In the File Name text box, type the name of the solution file you want to import or click
Browse and use the file browser to locate the file.
4. Selecting the file with the file browser loads it, but note that the file has not been imported yet.
5. Optionally, type a new name in the Source Name box or accept the default name.
6. Click the solutions you want to import in the Available Solutions list, and then click Import.
You return to the Imported Data dialog box.
7. Click the solution data you want to import, and then click OK.
Related Topics
Viewing Matrix Data
Importing Data Tables
You can import data table files that contain data in the following formats:
Tab-separated. Maxwellwill recognize complex data if the values are separated by a comma
(e.g. real, imaginary).
Comma-separated. Maxwell will recognize complex data if the values are separated by a space
(e.g. real imaginary).
1. Click Maxwell>Results>Import Solutions.
Alternatively, right-click Results in the project tree and then click Import Solutions on
the shortcut menu.
The Imported Data dialog box appears.
2. Click Import Table.
The Table Import dialog box appears.
3. In the File Name text box, type the name of the data table file you want to import or click
Browse and use the file browser to locate the file.
Maxwell 3D Online Help
4-40 Working with Maxwell Projects and Designs
4. If the data in the table is complex, select the format real/ imaginary, or magnitude/ phase
in which to import the data.
If the data is simple, this option will be ignored.
5. Click Load File. Note that the file has not been imported yet.
6. Optionally, type a new name in the Source Name box that indicates the origin or the data
table, or accept the default name.
7. Optionally, type a new name in the Table Name box that describes the data in the table, or
accept the default name
8. In the All Columns list, the headings of each column in the data file are listed. Optionally,
specify a new name for a column heading by doing the following:
a. In the All Columns list, click the heading you want to change. The heading appears in the
Column Name box.
b. Type a new name in the Column Name box, and then click Set Column Name.
The heading is changed to the new name in every place it appears in the Imported Data
dialog box.
9. In the Independent Data Columns list, the first heading in the data table file is listed by
default. In the Dependent Data Columns list, the second and subsequent headings in the data
table file are listed by default. Optionally, click a heading name and then click an arrow button
to move it from one column to another.
10. If the data in the Dependent Data Columns list contains matrix data, select Matrix Data. If it
contains field data, select Field Data.
11. Click Import.
You return to the Imported Data dialog box.
12. Click the data you want to import in the Current Imports list, and then click OK.
The solution data is now available for post processing.
Related Topics
Adding Datasets
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-41
Inserting a Documentation File into a Project
To insert a documentation file so that it can be accessed from the project tree:
1. Click Project>Insert Documentation File.
The Open dialog box appears.
2. Find and select the file you want to insert.
3. Click Open.
The documentation file appears in the project tree for the current project.
Maxwell 3D Online Help
4-42 Working with Maxwell Projects and Designs
Importing and Converting Materials
To preserve custom materials, you need to import them from a maxwell0.mat file (from a previous
version of Maxwell) into the latest version of Maxwell user library.
To import these materials from previous versions, you must have at least one Maxwell design
loaded in the project window.
To translate custom materials to the latest Maxwell version:
1. From the menu Click Maxwell3D or Maxwell2D, and then select Translate Material Data-
base.
The Translate Legacy Material Database appears.
2. Enter the name of the old database in the Legacy Material DB Name box. You can also click
the ... button to locate the database.
3. Enter a name for the new database in your current project in the User Material DB Name box.
4. Click Translate.
Related Topics
Assigning Materials.
Note The .mat extension shows up as a shortcut in the file browser.
Note To use the library, you need to first use the Tools>Configure Libraries command.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-43
Importing a Model from the Clipboard
You can copy and paste a model to and from the Clipboard in order to use a geometry from a differ-
ent design. To use a geometry with datalink, the geometry ID must be preserved.
To import a model from the Clipboard, the model for the current design must be empty.
To import a 3D model from the Clipboard:
Click Modeler>Import From Clipboard.
The geometry model is pasted from the Clipboard with the ID preserved.
Maxwell 3D Online Help
4-44 Working with Maxwell Projects and Designs
Printing
The printing commands enable you to send an image of the active window to the printer.
To print the project:
1. Click File>Print.
The Print dialog box appears.
2. You can change the printer (if other printer names are listed on the drop down), set the print
range, number of copies, or use the check box to Print to file.
3. Do one of the following:
Click OK to print the project.
Click Cancel to dismiss the window without printing.
Click Properties to define printer settings.
You can also access the printer properties by clicking Printer in the Page Setup dialog box.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-45
Previewing the Printout
To preview how the page will look when printed:
1. Click File>Print Preview.
The preview window appears.
2. To print the project after seeing the preview, click the Print button.
The Print dialog box appears.
3. To navigate through the preview, click the Next Page, Prev Page, and/or Two Page buttons.
4. To zoom in or out on the preview, click the Zoom In or Zoom Out button.
5. To close the preview and return to your project, click Close.
Maxwell 3D Online Help
4-46 Working with Maxwell Projects and Designs
Changing the Page Setup
To set or change the page setup:
1. Click File>Page Setup.
The Page Setup dialog box appears.
2. Under Paper, select a Size and Source for the paper.
3. Under Orientation, select either Portrait or Landscape.
4. Under Margins, change the values as desired in the Left, Right, Top, and Bottom text boxes.
5. Click OK.
You can also access the printer properties by clicking Printer in the Page Setup dialog box.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-47
Saving Design Notes
You can save notes about a design, such as its creation date and a description of the device being
modeled. This is useful for keeping a running log on the project.
To add notes to a project:
1. Click Maxwell3D, Maxwell2D, or RMxprt, and then select Edit Notes. Alternatively, right-
click a design icon in the project tree and select Edit Notes from the shortcut menu.
The Design Notes dialog box appears.
2. Click in the window and type your notes.
3. Click OK to save the notes with the current project.
To edit existing design notes you may:
Double-click the Notes icon in the project tree.
Click Maxwell3D, Maxwell2D, or RMxprt, and then select Edit Notes.
Right-click a design icon in the project tree and select Edit Notes from the shortcut menu.
The Design Notes window appears, in which you can edit the design's notes as shown in the exam-
ple below.
Maxwell 3D Online Help
4-48 Working with Maxwell Projects and Designs
To delete the existing notes for a design:
1. Select the icon Notes in the project tree, click Edit>Delete.
2. Right-click the icon Notes in the project tree, click Delete from the shortcut menu.
The Notes icon is removed from the project tree.
Note Notes are used to document aspects of designs only. For project level documentation,
you can insert a documentation file into a project with the Project>Insert Documentation
Files command.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-49
Using the Password Manager to Control Access to Resources
Maxwell and RMxprt allow you to specify library resources that require password access and
encryption. The same password can apply to multiple resources.
To access the Password Manager, click Tools>Password Manager.
Specifying a New Password Protected Resource
To specify a new password protected resource:
1. Click Tools>Password Manager.
The Password Manager dialog box appears.
2. Click the New button.
The New Encrypted Resource dialog box appears.
3. Specify the name of the resource that you want to protect, and click OK.
The Enter Passwords dialog appears.
4. Select one of the following radio buttons:
Enter password - and confirm for Full Access or for Execute Only Access.
Use Ansoft Password (Execute Only) - This does not require you to enter a password,
but it still encrypts the library.
5. After you have selected a radio button, and, if necessary, specified passwords correctly, click
OK to return to the Password Manager dialog box in which the new resource is now listed.
Encrypting a Resource
To encrypt a resource:
1. Click Tools>Password Manager.
The Password Manager dialog box appears.
2. Select an existing resource to highlight it and enable the Encrypt File button.
A file browser window appears.
3. Select the desired Circuit files (*.lib) file you wish to encrypt.
Any existing resources in the selected directory appear.
4. Click OK.
The resource is encrypted.
Maxwell 3D Online Help
4-50 Working with Maxwell Projects and Designs
Setting Options in Maxwell
You can set the following options from the Maxwell Desktop:
General Options, such as project directory, WebUpdate options, and distributed analysis
options.
Maxwell 3D Options, such as the default solution type and number of processors.
Report Setup Options, including advanced mode editing, the number of significant digits to
display, and drag and drop behavior.
Maxwell 2D Options, such as the default solution type and number of processors.
RMxprt Options , such as the default solution type and material thresholds.
Report2D options, such as formatting and cell size.
Modeler options, such as coordinate system settings, color, and grid settings.
Machine options for RMxprt, such as wire setting.
Fields Reporter options, such as field overlay and phase animation settings.
Setting General Options
To set general options in Maxwell:
1. Click Tools>Options>General Options.
The General Options window appears, displaying six available tabs:
Project Options
Miscellaneous Options
Default Units
Analysis Options
WebUpdate Options
2. Click each tab, and make the desired selections.
3. Click OK.
General Options: Project Options Tab
These options are set on the Project Options tab of the General Options dialog box.
1. To auto-save your project, do the following in the Autosave section:
a. Select the Do Autosave check box.
b. Enter the number of edits after which to save in the Autosave interval text box. The
default is 10.
2. Enter a directory path in the Project Directory text box, or click the ... button to find and
select the desired directory.
3. Enter a directory path in the Temp Directory text box, or click the ... button to find and select
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-51
the desired directory.
4. Enter a directory path in the SysLib, UserLib, and PersonalLib library directory text boxes,
or click the ... button to find and select the desired directory.
5. To reset the library directories to their default locations, click Reset Library Directories.
6. Select or clear the Expand Project Tree on Insert check box in the Additional Options sec-
tion.
7. To specify the type of design to automatically insert when you create a new project, select one
of the following under When creating a new project:
Insert a design of type. Select this radio button, and select RMxprt, Maxwell 3D or
Maxwell 2D from the pull-down list to make it the default design.
Don't insert a design. Select this radio button if you do not want a new design to automat-
ically open every time you insert a new project.
8. You can also have Maxwell Warn when available disk space is less than the specified
num-ber of megabytes.
General Options: Miscellaneous Options Tab
These options are set on the Miscellaneous Options tab of the General Options dialog box.
General
Selecting the Show Message Window on new messages check box causes the application
to display the Message Window when a new message occurs.
Selecting the Ensure that new messages are visible in the Message Window Tree
check box causes new messages to be revealed in the Message Window tree.
Selecting the Show Progress Window when starting a simulation check box cuases the
application to display the Progress Window when a simulation begins.
Selecting the Update reports on file open check box causes the application to update the
reports in a project when it is opened.
Project Tree Visualization Options
Selecting the Emphasize active command context check box causes the label of the
selected Project Tree element that is active (i.e., has focus) to be rendered in bold text.
Selecting the Change icon when selection does not match active window check box
causes a small window-shaped overlay icon to display in the corner of the selected Project
Tree element. This overlay icon is changed only when the data in the active window is
unrelated to the selected project item. (Data are considered related when they affect the
same model.) Clicking the icon will open the window and bring it into focus (on top).
Note Maxwell will delete temporary results saved to the directory you set in Temp Directory
after results are obtained. If you want to keep the temporary results, set an environment
variable (in Windows Control Panel>System Properties>Environment Variables)
PRESERVE_SOLVER_FILES to 1, but you need to delete the temporary results
regularly to avoid using too much disk space.
Maxwell 3D Online Help
4-52 Working with Maxwell Projects and Designs
Report Update Options for Design Type:
Using the Design type pull-down, select Maxwell 3D, Maxwell 2D, or RMxprt.
Select or clear Dynamically update postprocessing data during edits.
This option applies only to solved designs that are being edited.
In the pull-down menu, select the type of updating desired for Dynamically update post-
processing data for new solutions.
Updating numerous reports may a significant amount of time. Updating reports during the
analysis process can impact the overall time to solution. You may want to vary the times
when your reports get updated relative to the impact on overall solve time.
The following options exist for updating reports during solutions:
Automatically - the default. It means update most things immediately.
For "AdaptivePass" plot context, plots are updated at the end of each solution pass. For
"LastAdaptive" or "Transient" the plot is updated at the end of the transient or adaptive
solution.
This option balances report and field plot updating with solution time. For example,
reports may be updated after each adaptive pass but field plots will not be updated until
the solution is complete.
Immediately - update reports and plots as soon as data comes from the solver.
This option will have the greatest impact on the overall solution time but will have the
most rapid updating of reports and field plots. Caution should be used in selecting this
option. Some types of reports and field plots may take a long time to update, especially as
the mesh size increases.
Never - only manual intervention updates reports.
This option will prevent updates from impacting the solution time.
On Completion - as with Never, but a single update is done when the solve completes.
For additional information on these options, see Setting the Report Updating During Analysis
Options.
Animation
Computing animated plots of fields or geometry requires significant memory which depends
upon the size of the mesh and plot type. The animation setting is used to prevent problems
related to low memory should an animation require large memory allocation.
Specify the memory to preserve when computing animation frames using the entry field.
ANSYS Workbench Application
Use the Path field and browse button [...] to set the path to the ANSYS Workbench applica-
tion.
Note The Dynamically Update Options are set and maintained inpedendently for each design
type.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-53
General Options: Default Units Tab
These options are set on the Default Units tab of the General Options dialog box.
Select the desired units from each of the following pull-down lists:
Length
Angle
Time
Temperature
Torque
Magnetic Induction
Pressure
Frequency
Power
Voltage
Current
Speed
Weight
Conductance
Resistance
Inductance
Capacitance
Force
Angular Speed
Mag Field Strength
General Options: Analysis Options Tab
These options are set on the Analysis Options tab of the General Options dialog box.
1. In the Design Analysis Options section, select either Maxwell 3D, Maxwell 2D or RMxprt
Note Units specified in the Default Units Tab are generally for problem definition. The Post
Processor diisplays output in the unit that scales best for plotting, however, the user may
change the unit when creating the plot. Also, the Fields Calculator always works with SI
units.
Maxwell 3D Online Help
4-54 Working with Maxwell Projects and Designs
from the Design Type pull-down list.
2. If you want to select the machine to which to send the analysis immediately before analyzing,
select the Prompt for analysis machine when launching analysis check box. If you select
this check box, a dialog box appears when you start a simulation. You can then select on which
machine you want to run the remote analysis.
3. Under Analysis Machine Options, select whether the default analysis machine should be the
local machine (Local), a remote machine (Remote), or whether analysis should be distributed
across multiple machines (Distributed).
a. If you selected Remote, enter the default analysis machine information either as an IP
address, a DNS name, or a UNC name. See Remote Analysis.
b. If you selected Distributed, you can add machines to a list, or edit an existing machine
list. Select the Edit button to display the Distributed Analysis Machines dialogue. Here
you specify an IP address, a DNS name, or a UNC name for each machine to add to the
list. RMS must be able to determine the IP address for simulation to run. You also recieve
warnings if there are multiple IP addresses for a machine. RMS looks for the IP address at
addr[0]. Control buttons let you Add Machine to List to or Remove machines from the
list. An Enabled column with checkboxes for each machine lets you create a permanent
list, and enable or disable those machines according to circumstance.
In general, Maxwelluses machines in the distributed analysis machines list in the order in
which they appear. If Distributed is selected and you launch multiple analyses from the
same UI, Maxwellselects the machines that are running the fewest number of engines in
the order in which the machines appear in the list. For example, if the list contains 4
machines, and you launch a simulation that requires one machine, Maxwellchooses the
first machine in the list. If another simulation is launched while the previous one is run-
ning, and this simulation requires two machines, Maxwell chooses machines 2 and 3 from
the list. If the first simulation then terminates and we launch another simulation requiring
three machines, Maxwell chooses 1, 4, and 2 (in that order).
The displayed list always shows the order in which you entered them irrespective of the
load on the machines. To control the list order, select one or more machines, and use the
Move up or Move down buttons.
Click OK to accept the changes and close the Distributed Analysis Machines dialog.
Only machines checked as Enabled appear on the distributed machines list in the Analy-
sis tab.
Regardless of the machine(s) on which the analysis is actually run, the number of proces-
sors and Desired RAM Limit settings, and the default process priority settings are now
Note All Analysis Machine Options and Remote Analysis Options are set and maintained
inpedendently for each design type.
Note If the Queue all simulations option is selected, this setting is ignored, and the default
analysis machine is used.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-55
read from the machine from which you launch the analysis. See Maxwell Options: Solver
Tab.
For more information, see distributed analysis.
Once configured, you can also control these selections via toolbar icons for:
4. To launch all analyses as a specific user, rather than the current user, do the following in the
Remote Analysis Options section. (Note: If any of the remote machines are Unix-based, you
must specify the current user.)
The Ansoft Service should be running on this port for all distributed machines. To change
the Ansoft Service Port, click the Change button to display an editable dialog.
The Send analysis request as option selection can be Service User or Specified User.
Selecting Specified User enables the fields for user name, password, and domain informa-
tion.
5. Select Disable access by remote machines to prevent remote machines from accessing the
local machine.
6. Select or clear the Queue all simulations check box. This allows subsequent projects to wait
in a queue till the currently running project solves completely.
Related Topics
Remote Analysis
Specifying the Analysis Options
Using Distributed Analysis
Solving Remotely
Setting Up Distributed Analysis with Licensing
Viewing Distributed Analysis Subtasks
Note If any machines are Unix-based, Current User must be selected. You can only have one
remote analysis user configuration on Unix.
Note The Maxwell Server Setup window does not appear when the Queue all simulations
check box is selected, even if you select the Prompt for analysis machine when
launching analysis check box. This happens because Maxwell does not queue
simulations that will be running on different machines, since they can run concurrently.
Maxwell 3D Online Help
4-56 Working with Maxwell Projects and Designs
General Options: WebUpdate Options Tab
These options are set on the WebUpdate Options tab of the General Options dialog box.
Select one of the following from the Automatically check for updates every pull-down list:
Never
7 days
15 days
30 days
60 days
120 days
180 days
The last time the software was updated, as well as the last attempt, are displayed in the following
two fields:
Last update date
Last update attempt date
General Options in Maxwell 2D/3D
Select the General Options page of interest:
Maxwell 3D Options
Maxwell 2D Options
Solver Options in Maxwell 2D/3D
Select the Solver Options page of interest:
Maxwell 3D Solver Options
Maxwell 2D Solver Options
Setting Maxwell 3D Options
To set Maxwell 3D options:
1. Click Tools>Options>Maxwell 3D Options.
The Maxwell 3D Options window appears, displaying two available tabs:
General Options
Solver
2. Click each tab, and make the desired selections.
3. Click OK.
Maxwell 3D Options: General Options Tab
These options are set on the General Options tab of the Maxwell 3D Options dialog box.
1. To change the default solution type when you initially insert a project, select one of the follow-
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-57
ing from the Default solution type pull-down list:
Magnetostatic
Eddy Current
Transient
Electrostatic
DC Conduction
ElectroDC Conduction
Electric Transient
2. In the Material Threshold Options section, enter the Default perfect conductor and Default
insulator/conductor values in siemens/m.
3. In the Assignment Options section, select or clear the following two check boxes:
Use Wizards for data input when creating new boundaries
When this is checked, the creation of boundaries and excitations use Wizards to guide you
through the process. When this is not checked, the creation of boundaries and excitations
displays a Properties dialog with tabs for different kinds of information.
Duplicate boundaries/mesh operations with geometry
When this is checked, you can duplicate a boundary or excitation when its geometry is
pasted or duplicated. See Duplicating Boundaries and Excitations.
4. Select or clear the following check boxes:
Save before solving
Save Optimetrics field solutions
Apply variation deletions immediately
Related Topics:
Setting the Material Threshold
Maxwell 3D Options: Solver Tab
These options are set on the Solver tab of the Maxwell 3D Options dialog box. Regardless of the
machine(s) on which the analysis is actually run, all of the settings on this panel are read from the
machine from which you launch the analysis.
Note Setting the material thresholds under Tools>Options> impacts the default setting for the
current and all future projects/designs. To change the material threshold for the current
design only, use the Maxwell3D>Design Settings, Maxwell2D>Design Settings, or
RMxprt>Design Settings command and change the material thresholds on the Set
Material Thresholds tab.
Note When you enable the Save before solving setting, the project is only saved if it has been
modified since its last save.
Maxwell 3D Online Help
4-58 Working with Maxwell Projects and Designs
To set the solver options for Maxwell3D:
1. Enter the Number of Processors to use.
This applies to non-distributed solutions (including adaptive passes that come before distrib-
uted frequency sweeps ). The value specifies the maximum number of local processors to use;
if you specify that you want to use 4 processors, and the machine on which you are solving
only has two processors, the solve machine will only use two processors.
This setting affects all Maxwell projects for the current user and machine. However, the solver
considers the number of processors to be optional and reverts to a single processor solution if a
multiple processor licence is not available.
An environment variable allows you to override the number of processors without permanently
changing the value set here. This is useful for unattended solves, for instance when running a
non-graphical batchsolve:
ANSOFT_NUM_PROCESSORS (value is the maximum number of processors to use)
2. Enter the Number of Processors, Distributed to use.
This applies to distributed solutions (parametrics, optimization, frequency sweeps, and
domains).The value specifies the maximum number of distributed processors to use; if you
specify that you want to use 4 processors, and the machine on which you are solving only has
two processors, the solve machine will only use two processors. For distributed solve, if you
want to use as many processors as exist on each solve machine, you can set the number of pro-
cessors to a high value.
3. Select one of the following from the Default Process Priority pull-down list:
Critical (highest) Priority (Not recommended)
Above Normal Priority (Not recommended)
Normal Priority
Below Normal Priority
Idle (lowest) Priority
4. Select one or both of the following check boxes, and enter values in the text boxes:
Desired RAM Limit (MB)
Maximum RAM Limit (MB)
An environment variable allows you to override the desired RAM limit settings without per-
manently change the values set here. This is useful for unattended solves, for instance when
running a non-graphical batchsolve:
ANSOFT_DESIRED_RAM_LIMIT (value is the desired RAM usage limit, in MB, that
you wish to place on the solvers)
5. Select one of the following HPC Licensing Options. The selection determines whether multi-
processing is enabled by an HPC license, or by HPC Pack licensing.
HPC
HPC Pack
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-59
HPC licensing is based on counting the total number of cores in a simulation. For example,
when solving a distributed solution across 10 nodes, with multiprocessing enabling 2 cores per
node, the total number of cores is 2x10, or twenty cores.
The HPC License Type determines the type and number of licenses that will be checked out for
a given number of cores. For the HPC type, one license will be checked out for each core in
use. So a simulation with twenty cores would require twenty HPC licenses. For the HPC Pack
type, a single pack enables eight cores, and each additional pack enables four times as many
cores. So a simulation with twenty cores would require two HPC Pack licenses, enabling up
to 8x4, or 32, cores.
6. Optionally, check Use HPC licenses for multiprocessing and distributed frequency.
This option enables HPC licenses to be used for multiprocessing and distributed frequency
sweeps. In this context, the HPC licenses take the place of the MP license.
For example, a pack (8 cores) could be used to distribute a frequency sweep in any of the fol-
lowing ways:
8 frequencies with one core per frequency
4 frequencies with 2 cores per frequency
2 frequencies with 4 cores per frequency
You can also set these values using VB scripts.
Setting Solver Settings Using VB Scripts
Being able to set the number of processors, desired RAM limit, and maximum RAM limit
using VB scripts allows you to solve a project by running a VB script, without having to toggle
the computer hardware usage settings.
The following macros allow you to set these options:
oDesign.SetDesiredRamMBLimit <integer num in MB>
oDesign.SetMaximumRamMBLimit <integer num in MB>
oDesign.SetNumberOfProcessors <num>
limit = oDesign.GetDesiredRamMBLimit()
limit = oDesign.GetMaximumRamMBLimit()
num = oDesign.GetNumberOfProcessors()
Report Setup Options
To set up general options for Reports
1. Click Tools>Options>Report Setup Options.
The Report Setup Options window appears:
2. Set the Maximum number of significant digits to display in the reporter when displaying
numeric quantities.
Maxwell 3D Online Help
4-60 Working with Maxwell Projects and Designs
3. In the Drag and Drop section, select either Drag Item Data, or Drag Item Definition.
4. Click OK.
Setting Maxwell 2D Options
To set Maxwell 2D options:
1. Click Tools>Options>Maxwell 2D Options.
The Maxwell 2D Options window appears, displaying two tabs:
General Options
Solver
2. Click each tab, and make the desired selections.
3. Click OK.
Maxwell 2D Options: General Options Tab
These options are set on the General Options tab of the Maxwell 2D Options dialog box.
1. To change the default solution type when you initially insert a project, select one of the follow-
ing from the Default solution type pull-down list:
Magnetostatic
Eddy Current
Transient
Electrostatic
DC Conduction
AC Conduction
2. To change the default geometry mode when you initially insert a project, select one of the fol-
lowing from the Default geometry mode pull-down list.
XY
about Z
3. In the Material Threshold Options section, enter the Default perfect conductor and Default
insulator/conductor values in siemens/m.
4. In the Assignment Options section, select or clear the following two check boxes:
Use Wizards for data input when creating new boundaries
When this is checked, the creation of boundaries and excitations use Wizards to guide you
through the process. When this is not checked, the creation of boundaries and excitations
displays a Properties dialog with tabs for different kinds of information.
Note Setting the material thresholds under Tools>Options>Maxwell 3D Options or
Tools>Options>Maxwell 2D options impacts the default setting for the current and all
future projects/designs. To change the material threshold for the current design only, use
the Maxwell>Design Settings command and change the material thresholds on the Set
Material Thresholds tab.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-61
Duplicate boundaries/mesh operations with geometry
When this is checked, you can duplicate a boundary or excitation when its geometry is
pasted or duplicated. See Duplicating Boundaries and Excitations.
5. Select or clear the following check boxes:
Save before solving
Save Optimetrics field solutions
Apply variation deletions immediately
Generate model history when importing legacy 2D projects
Related Topics:
Setting the Material Threshold
Maxwell 2D Options: Solver Tab
These options are set on the Solver tab of the Maxwell 2D Options dialog box.
To set the solver options for Maxwell2D:
1. Enter the Number of Processors to use.
This applies to non-distributed solutions (including adaptive passes that come before distrib-
uted frequency sweeps ). The value specifies the maximum number of local processors to use;
if you specify that you want to use 4 processors, and the machine on which you are solving
only has two processors, the solve machine will only use two processors.
This setting affects all Maxwell projects for the current user and machine. However, the solver
considers the number of processors to be optional and reverts to a single processor solution if a
multiple processor licence is not available.
An environment variable allows you to override the number of processors without permanently
changing the value set here. This is useful for unattended solves, for instance when running a
non-graphical batchsolve:
ANSOFT_NUM_PROCESSORS (value is the maximum number of processors to use)
2. Enter the Number of Processors, Distributed to use.
This applies to distributed solutions (parametrics, optimization, frequency sweeps, and
domains).The value specifies the maximum number of distributed processors to use; if you
specify that you want to use 4 processors, and the machine on which you are solving only has
two processors, the solve machine will only use two processors. For distributed solve, if you
want to use as many processors as exist on each solve machine, you can set the number of pro-
cessors to a high value.
3. Select one of the following from the Default Process Priority pull-down list:
Critical (highest) Priority (Not recommended)
Above Normal Priority (Not recommended)
Note When you enable the Save before solving setting, the project is only saved if it has been
modified since its last save.
Maxwell 3D Online Help
4-62 Working with Maxwell Projects and Designs
Normal Priority
Below Normal Priority
Idle (lowest) Priority
4. Select one or both of the following check boxes, and enter values in the text boxes:
Desired RAM Limit (MB)
Maximum RAM Limit (MB)
An environment variable allows you to override the desired RAM limit settings without per-
manently change the values set here. This is useful for unattended solves, for instance when
running a non-graphical batchsolve:
ANSOFT_DESIRED_RAM_LIMIT (value is the desired RAM usage limit, in MB, that
you wish to place on the solvers)
5. Select one of the following HPC Licensing Options. The selection determines whether multi-
processing is enabled by an HPC license, or by HPC Pack licensing.
HPC
HPC Pack
HPC licensing is based on counting the total number of cores in a simulation. For example,
when solving a distributed solution across 10 nodes, with multiprocessing enabling 2 cores per
node, the total number of cores is 2x10, or twenty cores.
The HPC License Type determines the type and number of licenses that will be checked out for
a given number of cores. For the HPC type, one license will be checked out for each core in
use. So a simulation with twenty cores would require twenty HPC licenses. For the HPC Pack
type, a single pack enables eight cores, and each additional pack enables four times as many
cores. So a simulation with twenty cores would require two HPC Pack licenses, enabling up
to 8x4, or 32, cores.
6. Optionally, check Use HPC licenses for multiprocessing and distributed frequency.
This option enables HPC licenses to be used for multiprocessing and distributed frequency
sweeps. In this context, the HPC licenses take the place of the MP license.
For example, a pack (8 cores) could be used to distribute a frequency sweep in any of the fol-
lowing ways:
8 frequencies with one core per frequency
4 frequencies with 2 cores per frequency
2 frequencies with 4 cores per frequency
You can also set these values using VB scripts.
Setting RMxprt Options
To set RMxprt options:
1. Click Tools>Options>RMxprt Options.
The RMxprt Options window appears, displaying three available tabs:
General Options
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-63
Solver
Export Options
2. Click each tab, and make the desired selections.
3. Click OK.
RMxprt Options: General Options Tab
These options are set on the General Options tab of the RMxprt Options dialog box.
1. To change the default machine type when you initially insert a project, select one of the fol-
lowing from the Default machine type pull-down list:
Three Phase Induction Motor
Single Phase Induction Motor
Three Phase Synchronous Machine
Brushless Permanent-Magnet DC Motor
Adjust-Speed Synchronous Machine
Permanent-Magnet DC Motor
Switched Reluctance Motor
Line-Start PM Synchronous Motor
Universal Motor
DC Machine
Claw-Pole Synchronous Machine
Three Phase Non-Salient Synchronous Machine
Generic Rotating Machines
2. In the Threshold Options section, enter the Default conductivity and Default permeability
values in siemens/m.
3. Select or clear the following check boxes:
Save before solving
Apply variation deletions immediately
Related Topics:
Note Setting the material thresholds under Tools>Options>Maxwell 3D Options or
Tools>Options>Maxwell 2D options impacts the default setting for the current and all
future projects/designs. To change the material threshold for the current design only, use
the Maxwell>Design Settings command and change the material thresholds on the Set
Material Thresholds tab.
Note When you enable the Save before solving setting, the project is only saved if it has been
modified since its last save.
Maxwell 3D Online Help
4-64 Working with Maxwell Projects and Designs
Setting the Material Threshold
RMxprt Options: Solver Tab
These options are set on the Solver tab of the RMxprt Options dialog box.
To set the solver options for RMxprt:
1. Select one of the following from the Default Process Priority pull-down list:
Critical (highest) Priority (Not recommended)
Above Normal Priority (Not recommended)
Normal Priority
Below Normal Priority
Idle (lowest) Priority
RMxprt Options: Export Options Tab
These options are set on the Export Options tab of the RMxprt Options dialog box.
To set the Export options for RMxprt:
1. Choose which options to use when exporting a design from RMxprt to Maxwell3D:
Periodic
Difference
Band Arc
Teeth-Teeth
Segmented Arc
Setting Report2D Options
To set Report2D options in Maxwell:
1. Click Tools>Options>Report2D Options.
The Report2D Options window appears, displaying ten available tabs:
Curve
Axis
Grid Tab
Header Tab
Note Tab
Legend Tab
Marker Tab
Marker Table Tab
General Tab
Table tab
For properties controlled by checkboxes, you can set values for all curves by clicking the col-
umn header cell that contains the property title. Right-clicking on a text field cell displays a
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-65
context menu that lets you cut, copy and paste values. Right-clicking on a menu cell displays a
context menu that lets you copy and paste entire rows.
You can use a Restore Defaults button.
1. Click each tab, and make the desired selections.
2. Click OK.
Report 2D Options: Curve Tab
These options are set on the Curve tab of the Report2D Options dialog box.
1. Line style -- select the options from the drop down menu. The options are Solid, Dot, Dash,
and Dot dash.
2. Color -- set the color by double clicking to display the Set color dialog. Select a default or cus-
tom color and click OK.
3. Width -- set the line width by editing the real value in the text field.
4. Arrows -- use the check box to use arrows on the curve ends.
5. Symbol -- use the check box to have symbols mark the locations of data points on the curve.
6. Sym Freq -- set the symbol frequency by editing the integer value in the text field.
7. Sym Style -- select the symbol to display for the designated data points. The sym style can be
box, circle, vertical ellipse, horizontal ellipse, vertical up triangle, vertical down triangle, hori-
zontal left triangle, horizontal right triangle.
8. Fill Sym -- use the check box to set the symbol display as a solid or as hollow.
9. Sym Color -- set the color for the symbol by double clicking to display the Set color dialog.
Select a default or custom color and click OK.
Report2D Options: Axis Tab
These options are set on the Axis tab of the Report2D Options dialog box.
1. Axis Name -- this describes the axis to which the following options refer.
2. Color -- set the color by double clicking to display the Set color dialog. Select a default or cus-
tom color and click OK.
3. Font color -- set the font color of the axis by double clicking to display the Set color dialog.
Select a default or custom color and click OK.
4. Edit Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from
a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a pre-
view field. OK the selections to apply the font edits and to close the dialog.
5. Font Description -- displays the chosen font properties.
Report2D Options: Grid Tab
These options are set on the Grid tab of the Report2D Options dialog box.
1. Grid Name -- lists the name or letter of the grid. Not editable.
2. Line Style -- select the options from the drop down menu. The options are Solid, Dot, Dash,
and Dot dash.
Maxwell 3D Online Help
4-66 Working with Maxwell Projects and Designs
3. Line Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
Report2D Options: Header Tab
These options are set on the Header tab of the Report2D Options dialog box. For the Title and
SubTitle, you can independently specify the following:
1. Color -- set the color by double clicking to display the Set color dialog. Select a default or cus-
tom color and click OK.
2. Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a list
of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a preview
field. OK the selections to apply the font edits and to close the dialog.
Report2D Options: Note Tab
These options are set on the Note tab of the Report2D Options dialog box.
1. Note Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
2. Note Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from
a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a pre-
view field. OK the selections to apply the font edits and to close the dialog.
3. Background Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
4. Background Visibility -- use the checkbox to toggle the background for the note on or off.
5. Border Line Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
6. Border Visibility -- use the checkbox to toggle the visibility of the note border.
7. Border Line Width -- set the line width by editing the real value in the text field.
Report2D Options: Legend Tab
These options are set on the Legend tab of the Report2D Options dialog box.
1. Show Trace Name -- use the checkbox to toggle the visibility of the trace name.
2. Show Solution Name -- use the checkbox to toggle the visibility of the solution name.
3. Show Variation Key -- use the checkbox to toggle the visibility of the variation key.
4. Text Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
5. Text Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from
a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a pre-
view field. OK the selections to apply the font edits and to close the dialog.
6. Background Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
7. Border Line Color -- set the color by double clicking to display the Set color dialog. Select a
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-67
default or custom color and click OK.
8. Border Line Width -- set the line width by editing the real value in the text field.
9. Grid Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
Report2D Options: Marker tab
These options are set on the Marker tab of the Report2D Options dialog box.
1. Marker Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
2. Marker Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select
from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a
preview field. OK the selections to apply the font edits and to close the dialog.
3. X Marker -- use the following options to set the X Marker properties.
a. Show Intersection -- checkbox to show the intersection.
b. XMarker Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
c. XMarker Font -- click the cell to display the Edit Text Font dialog. The dialog lets you
select from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also
contains a preview field. OK the selections to apply the font edits and to close the dialog.
d. Box Background Color -- set the color by double clicking to display the Set color dialog.
Select a default or custom color and click OK.
e. Line Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
f. Line Style -- select the options from the drop down menu. The options are Solid, Dot,
Dash, and Dot dash.
g. Line Width -- set the line width by editing the real value in the text field.
Related Topics
Modifying Markers on Point Plots
Report2D Options: Marker Table Tab
These options are set on the Marker Table tab of the Report2D Options dialog box.
1. Text Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
2. Text Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from
a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a pre-
view field. OK the selections to apply the font edits and to close the dialog.
3. Background Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
4. Border Line Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
Maxwell 3D Online Help
4-68 Working with Maxwell Projects and Designs
5. Border Line Width -- set the line width by editing the real value in the text field.
6. Grid Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
7. Grid Line Width -- set the line width by editing the real value in the text field.
Report2D Options: General Tab
These options are set on the General tab of the Report2D Options dialog box.
1. Background Color -- set the color by clicking to display the Set color dialog. Select a default
or custom color and click OK.
2. Plot Area Color -- set the color by clicking to display the Set color dialog. Select a default or
custom color and click OK.
3. Highlight Color -- set the color by clicking to display the Set color dialog. Select a default or
custom color and click OK.
4. Accumulate Depth -- set to 4 by default.
5. Curve Tooltip Option -- use the checkboxes to toggle the following properties:
a. Show Trace Name
b. Show Variation Key
c. Show Solution Name
6. Clipboard Option -- use the drop down menus to specify the following properties:
a. Capture Aspect Size Ratio -- this can be As Shown or Full Screen.
b. Capture Background Color -- this can be As Shown or White.
7. Format -- specify the following properties:
a. Field Width -- set the number of digits to display by editing the real value field.
b. Precision -- set the precision for marker placement by editing the real value field.
c. Use Scientific Notation -- use the checkbox to toggle scientific notation on or off.
Report2D Options: Table Tab
These options are set on the Table tab of the Report2D Options dialog box.
1. Rows Per Page - set to 2500 by default.
2. Text Color - set the color by clicking to display the Set color dialog. Select a default or custom
color and click OK.
3. Text Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from
a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a pre-
view field. OK the selections to apply the font edits and to close the dialog.
4. Border Width - set to 2 by default.
5. Border Color - set the color by clicking to display the Set color dialog. Select a default or cus-
tom color and click OK.
6. Grid Width - set to 1 by default.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-69
7. Grid Color - set the color by clicking to display the Set color dialog. Select a default or cus-
tom color and click OK.
8. Background Color - set the color by clicking to display the Set color dialog. Select a default
or custom color and click OK.
9. Page Link Color - set the color by clicking to display the Set color dialog. Select a default or
custom color and click OK.
10. Arrow Color - set the color by clicking to display the Set color dialog. Select a default or cus-
tom color and click OK.
11. Header Row - use the following properties to set the header row format:
a. Text Color - set the color by clicking to display the Set color dialog. Select a default or
custom color and click OK.
b. Text Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select
from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also con-
tains a preview field. OK the selections to apply the font edits and to close the dialog.
c. Background Color - set the color by clicking to display the Set color dialog. Select a
default or custom color and click OK.
12. Format -- use the following properties to set the format:
a. Field Width -- set the table field width by editing the real value in the text field.
b. Precision -- set the table precision by editing the real value in the text field.
c. Use Scientific Notation -- use the checkbox to toggle scientific notation on or off.
13. Copy to Clipboard -- use the following checkboxes to toggle the following properties for
table copy operations:
a. With Header
b. With Tab Separator
Setting Modeler Options
To set modeler options in Maxwell:
1. Click Tools>Options>Modeler Options.
The Modeler Options window appears, displaying three available tabs:
Operation
Display
Drawing
2. Click each tab, and make the desired selections.
3. Click OK.
Modeler Options: Operation Tab
These options are set on the Operation tab of the Modeler Options dialog box.
1. By default, the modeler will delete tool objects when performing tasks such as Uniting, Sub-
tracting, or Intersecting objects. The user may specify that the modeler should make a copy
Maxwell 3D Online Help
4-70 Working with Maxwell Projects and Designs
(clone) of the tool object prior to the operation, allowing the object to remain available for sub-
sequent operations. To specify when to clone tool objects, select or clear the following check
boxes in the Clone section:
Clone tool objects before uniting
Clone tool objects before subtracting
Clone tool options before intersecting
Clone tool objects before imprinting
Clone tool objects before projecting
2. In the Coordinate System section, select or clear the Automatically switch to face coordi-
nate system check box.
By default, the modeler operates within the user selected coordinate system. If this option is
enabled, you can select a face and when a new object creation is started, the modeler first cre-
ates a face coordinate system consistent with the selected face and the new object is created
within the face coordinate system. With this selection, unchecked, you must manually create a
Face Coordinate System before creating an object related to it.
3. In the Polyline section, select or clear the Automatically cover closed polylines check box.
By default, surface objects created with the Polyline command will be created with a cover so
that they become sheet objects. You can choose to leave the polyline as an uncovered object to
perform further operations prior to creating a sheet object
If checked, closed polylines become sheet objects, and are listed as such in the History
tree.
If not checked, closed polylines are listed under lines in the History tree.
4. For the Automatically imprint wrapped sheets option:
If checked, automatically imprint wrapped sheets.
5. For the Select last command on object select option:
If checked, the history tree is expanded after operations on object properties, even if the
tree is collapsed for the item.
If not checked, when you select an object in 3D view, only the object selected, and current
tree collapse/expand state is preserved
6. For the Expand history tree on object select option:
If checked, selecting an object automatically opens the history tree.
If not checked, the history tree does not open on object selection. This can be useful for
speeding the display of multiple object selections, or complex objects.
Modeler Options: Display Tab
These options are set on the Display tab of the Modeler Options dialog box.
1. To specify a default color for a Modeler drawing object or action (such as on select):
Select the object or action from the Default color pull-down list. Then click the color but-
ton.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-71
The Color window appears.
Select a color, and click OK.
2. To specify how to render an object, select WireFrame or SmoothShade from the Default
view render pull-down list.
3. To set the Default transparency, move the slider, or enter a numerical value.
4. Select or clear the Show orientation of selected objects check box.
5. Select or clear the Show coordinate system of selected operations check box.
6. Select or clear the Highlight selection dynamically check box. This option causes objects or
faces (depending on the selection mode) to be highlighted when you pass the mouse pointer
over them. You may want to turn this off for complicated models.
7. Under Default tree layout, select or clear the Group objects by material check box. This fea-
ture is the same as selecting or clearing the Group Objects By Material toggle command
from the Modeler menu.
8. Under History operations visualization, select or clear the Visualize history of objects
check box.
The option lets you view an outline of each part that comprises an object when the given part is
selected in the model history tree. This can help you visualize an objesct that has been merged
with another object. A change to the option takes effect only when you restart Maxwell. The
following figure shows an example history tree with an object selected and the outline view of
that object in the main window.
Maxwell 3D Online Help
4-72 Working with Maxwell Projects and Designs
Modeler Options: Drawing Tab
These options are set on the Drawing tab of the Modeler Options dialog box.
1. To specify snap settings, select or clear the following check boxes in the Snap Mode section:
Grid
Vertex
Edge Center
Face Center
Quadrant
Arc Center
2. Enter how near the mouse needs to be to click a grid item in the Mouse Sensitivity box, in pix-
els.
3. Select or clear the Show measures dialog check box.
This specifies whether a Properties dialog appears on the creation of a new primitive.
4. The Operation Data Entry Mode controls whether you draw new objects directly via the
mouse, or whether a Properties dialog opens for you to enter dimensions for the object. The
Dialog mode drawing feature works with the equation based line, and all two and three dimen-
sional objects.
Point mode - mouse drawing.
Dialog - enter dimensions in the properties dialog.
You can also use F3 for Point mode and F4 for dialog mode.
5. Select or clear the Edit property of new primitives check box. When this check box is
selected, a Properties dialog box appears when a new object (primitive) is created. If the
Check box is unselected, object properties can be edited in the Properties window section of
the Maxwell Desktop.
Setting Machine Options in Maxwell
To set machine options in Maxwell:
1. Click Tools>Options>Machine Options.
The Machine Editor Options window appears, displaying one available tab: General.
2. Select a system wire library from the Wire Setting pull-down list or choose to use the user or
personal libraries for wire data.
3. Click OK.
Related Topics
Wire Specification Library
Setting Fields Reporter Options
The Fields reporter Options dialog contains three tabs:
Phase Animation
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-73
Mesh Plot
Streamline
To set the Fields Reporter options:
1. Click Tools>Options>Fields Reporter Options.
The Fields Reporter Options window appears, displaying three tabs:
Phase Animation
Mesh Plot
Streamline
2. On the Phase Animation tab:
a. Specify whether to Group Field Overlays by Type (default, yes).
b. Set the default Phase Animation settings for Scalar Plots and Vector Plots.
Each of these accepts values for From and To in degrees, and the number of Steps.
3. On the Mesh Plot tab, in the Clipping of volume mesh plot section, choose the conditions
under which the plot is updated dynamically while dragging the clip plane. Options are: Never,
Always, and When number of mesh element is less than (default number is 50000).
4. On the Streamline tab:
a. Set the Streamline drawing stopping criteria.
b. Set the Streamline marker spacing. The default value is 100.
Exporting Options Files
The options files at all levels that may affect a product running as a specific user on a specific host
may easily be exported. You can export options files by selecting the Tools>Options>Export
Options Files ... This brings up a browser dialog that you use to select the destination directory for
the options files. Pressing the Cancel button will cancel the export command. Pressing the Open
button will copy all of the config files for the current user and current host to the specified direc-
tory. Config files for the install, install_machine, user, and user_machine levels will be copied, if
they exist. One additional file, admin.XML, will also be copied to the destination directory. This
file does not contain user configurable options.
Related Topics
Setting Options in Maxwell
Setting Options via Configuration Files
Example Uses for Export Options Features
User Options and the Update Registry Tool
Batchoptions Command Line Examples
Maxwell 3D Online Help
4-74 Working with Maxwell Projects and Designs
Setting Options via Configuration Files
In addition to setting options from the Desktop UI, you can also set options in several configuration
files. Options that you set from the Desktop UI will override the option settings from the configura-
tion files. The option settings from the configuration files are used if they are not overridden using
the Desktop UI. Option settings in the configuration files may apply to all users or only to a specific
user, and they may apply to all hosts or only to specific hosts. There are four levels, listed below
from most specific (highest precedence) to most general (lowest precedence):
host dependent user options (apply to the specified user on the specified host only)
host independent user options (apply to the specified user on all hosts)
host dependent default options (apply to all users on the specified host)
installation default (default for all users on all hosts)
A setting at any level will override settings at lower levels in the list above. If there is no setting in
any file, then the application default value will be used.
Behavior Examples
Rules for Modifying Option Settings
Configuration File Locations
Products with Multiple Desktop Applications
Table of Directories and Files
Behavior Examples
For example, consider running an application as user jsmith on host host123. If there is no host
dependent user setting for the "Expand Project Tree on Insert" option in the host dependent user
options config file for user jsmith on host host123, but there is a setting for the "Expand Project
Tree on Insert" option in the host independent user options config file for user jsmith, then the lat-
ter setting will be used if it is not overridden using the Desktop UI. Any settings in the host depen-
dent default options config file or the installation default config file will be ignored.
For another example, consider running an application as user jdoe on host host123. If there is no
setting for the "Expand Project Tree on Insert" option in the host dependent user user options con-
fig file for jdoe on host123 or in the host independent user options config file for user jdoe or in the
host dependent default options config file for host host123, then the value from the installation
default config file will be used, if present.
Rules for Modifying Option Settings
Option settings displayed in the Desktop UI follow the above rules. That is, if there is a setting in
any of the option config files, then the setting from the highest priority config file is displayed in
the Desktop UI. If there is no setting in any of the option config files, then the global default value
Note Because Maxwell can interact with other Ansoft products, the following sections on
setting options via configuration files include examples and information applicable to
various other Ansoft products.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-75
is used. You can modify settings using the various Options dialog boxes accessed via the
Tools>Options menu. If a dialog box is closed with the Cancel button, then changes made on any
of the tabs are discarded. If the dialog box is closed with the OK button, then any settings that have
been changed by the user are written to the host dependent user options config file. The changed
values written to this file are then used the next time that the application is run by the same user on
the same host. The Desktop UI option settings are not written to any of the other option config files.
Configuration File Locations
Two of the configuration files (the host dependent default options config file and the installation
default config file) reside in the installation config directory, which is the "config" subdirectory of
the product installation directory. The other two configuration files (the host dependent user options
config file and the host independent user options config file) reside in a user-specific config direc-
tory for the application. The user-specific config directory for an Ansoft application is in a subdi-
rectory of the user's My Documents directory on Windows, or a subdirectory of the user's HOME
directory on Linux. The subdirectory pathname is Ansoft/ApplicationPathAndVersion/config,
where ApplicationPathAndVersion is usually the product name concatenated with the product
version, such as Maxwell15.0.
Products with Multiple Desktop Applications
For products that have multiple Desktop applications, each Desktop application will have a sepa-
rate user specific config directory, with a different value for the ApplicationPathAndVersion
directory name. For example, the Maxwell 15.0 product contains two Desktop applications: Max-
well and Maxwell Circuit Editor. For the Maxwell application, the user-specific config subdirec-
tory pathame is Ansoft/Maxwell15.0/config. For the Maxwell Circuit Editor application, the
user-specific config subdirectory pathame is Ansoft/Maxwell Circuit Editor15.0/config. For
products that contain multiple Desktop applications, the installation default option settings and the
host-dependent default options settings each reside in a single file for all applications, while the
host-dependent user option settings and host independent user option settings for each application
are in separate files. Although the installation default option settings and the host dependent default
options settings for all applications are each written to a single file, the settings for different appli-
cations are in separate portions of the file.
Maxwell 3D Online Help
4-76 Working with Maxwell Projects and Designs
Table of Directories and Files
The table below shows the directories and files, where the "Level Name" is the name used to
describe an options config file when using the UpdateRegistry? tool, described below.
NOTES:
$HOME is the user's home directory on Linux
ApplicationPathAndVersion is the Application or Product name concatenated with the Product
Version
MyDocuments is the user's "My Documents" directory on Windows
InstallationDirectory is the directory where the product is installed
The table below shows specific file names and directory names for a typical Maxwell 15.0 installa-
tion on the Linux and 32 bit Microsoft Windows platforms. These are the files that apply to user
jsmith and hostname host123.
Config File Level Name File Name
Linux Directory
Pathname
Windows Directory
Pathname
host dependent
user options
user_machine hostname_user.XML $HOME/Ansoft/
ApplicationPathAn
dVersion/config
MyDocuments/
Ansoft/
ApplicationPathAnd
Version/config
host
independent
user options
user user.XML
host dependent
default options
install_machine hostname.XML InstallationDirecto
ry/config
InstallationDirectory/
config
installation
default
install default.XML
Application Config File Level Name File Name
Linux Directory
Pathname
32 Bit Windows
Directory
Pathname
Maxwell host dependent
user options
user_machine host123_user.XML /home/jsmith/Ansoft/
Maxwell15.0/config
MyDocuments/Ansoft/
Maxwell15.0/config
host independent
user options
user user.XML
host dependent
default options
install_machine
host123.XML /opt/Ansoft/
maxwell15.0/Linux/
config
C:/Program Files/
Ansoft/Maxwell15.0/
Win32/config
installation default install default.XML
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-77
NOTES:
/home/jsmith is the home directory of user jsmith on Linux
MyDocuments is the "My Documents" directory for user jsmith on Windows
The Maxwell 15.0 product is installed in directory /opt/Ansoft/maxwell15.0 on Linux
The Maxwell 15.0 product is installed in the directory C:/Program Files/Ansoft/
Maxwell15.0/Win32 on 32 Bit Microsoft Windows, and is installed in the C:/Program Files/
Ansoft/Maxwell15.0/Win64 directory on 64 Bit Microsoft Windows.
Related Topics
Setting or Removing Option Values in Configuration Files: UpdateRegistry Command
Example Uses for Export Options Features
User Options and the Update Registry Tool
Batchoptions Command Line Examples
Setting or Removing Option Values in Configuration Files:
UpdateRegistry Command
A command line tool, UpdateRegistry, is available to modify option settings in the options config
files. You can use this command to add, change, or remove settings from any of the option config
files. This tool is included in the installation directory of each product.
This feature is intended to make it easier for different users to use Ansoft tools installed on shared
directories or network drives.
The UpdateRegistry command has two command line formats as shown below. The first format is
used to set or change an option value. The second format is used to delete an option setting.
UpdateRegistry -Set Command
This command is used to add or modify an option setting in an option config file. If the option con-
fig file does not exist, it will be created. If the setting does not exist in the specified config file, it
will be added. If the setting already exists in the specified config file, then the value will be
changed to the specified value.
Maxwell Circuit
Editor
host dependent
user options
user_machine host123_user.XML /home/jsmith/Ansoft/
Maxwell Circuit
Editor15.0/config
MyDocuments/Ansoft/
Maxwell Circuit
Editor15.0/config
host independent
user options
user user.XML
host dependent
default options
install_machine
host123.XML /opt/Ansoft/
maxwell15.0/Linux/
config
C:/Program Files/
Ansoft/Maxwell15.0/
Win32/config
installation default install default.XML
Application Config File Level Name File Name
Linux Directory
Pathname
32 Bit Windows
Directory
Pathname
Maxwell 3D Online Help
4-78 Working with Maxwell Projects and Designs
Usage:
UpdateRegistry -Set -ProductName <name> _
-RegistryKey <keyPath> _
-RegistryValue <value> [ -RegistryLevel <level> _
<name>
Required. The application or product name and version, as described above. Examples: HFSS14.0,
Simplorer10.0, or "Maxwell Circuit Editor15.0". If the name contains spaces, it must be quoted.
<keyPath>
Required. The pathname of the option setting. Example:
Desktop/Settings/ProjectOptions/AnimationMemory.
<value>
Required. The new value of the option, typically a string or a number. If the value contains
spaces, it must be quoted.
<level>
Optional. A string denoting which config file to modify. One of: install,
install_machine, user, and user_machine. If the level is not specified, then the
user_machine (host dependent user options) file is modified.
UpdateRegistry -Delete Command
This command is used to remove an option setting from an option config file. If the setting does not
exist in the specified config file, the file will not be changed. If the setting exists in the specified
config file, then it will be removed. A setting may need to be removed from an option config file, to
allow the setting from a lower priority file to be used by the application.
Usage:
UpdateRegistry -Delete -ProductName <name> _
-RegistryKey <keyPath> _
[ -RegistryLevel <level> ]
<name>
Required. The application or product name and version, as described above. Examples:
HFSS14.0, Simplorer10.0, or "Maxwell Circuit Editor15.0". If the name contains spaces, it
must be quoted.
<keyPath>
Required. The pathname of the option setting. Example:
Desktop/Settings/ProjectOptions/AnimationMemory.
<level>
Optional. A string denoting which option config file to modify. One of: install,
install_machine, user, and user_machine. If the level is not specified, then the
user_machine (host dependent user options) file is modified.
Related Topics
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-79
Setting Options via Configuration Files
Example Uses for Export Options Features
User Options and the Update Registry Tool
Batchoptions Command Line Examples
Example Uses for Export Options Features
The Tools>Options>Export Options feature is intended to make it easier for different users to use
Ansoft tools installed on shared directories or network drives. This section outlines some use cases
enabled by this feature.
Options That Apply to All Users
Example for Setting an Installation Default Value
Example for Setting a Host Dependent Default Value
Example for Reverting from a User Defined Option Value to the Administrator Default
Related Topics
Setting Options via Configuration Files
Setting or Removing Option Values in Configuration Files: UpdateRegistry Command
User Options and the Update Registry Tool
Batchoptions Command Line Examples
Options That Apply to All Users
In many cases, an Ansoft tool installation is administered and maintained by a single user or group
and used by a number of other users or groups. The permissions of the Ansoft tool installation may
be set so that the administrator may add, delete, or modify files; but other users may only ready or
execute these files The administrator may set the recommended option settings in the installation
default config file and/or the host-dependent default options config file. These config files reside
within the installation directory hierarchy, and should generally have the same permissions as other
Ansoft tool installation files. This allows the administrator to control these settings, but does not
allow other users to add, remove, or change settings.
Each user can override any of these settings, if needed. This may be done using the Desktop UI,
which affects the host dependent user options config file. It may also be done using the host-inde-
pendent user options config file. If a user has overridden an option setting in either of the user files,
the user may revert back to the option settings provided by the administrator by removing the set-
ting of the same option in the host-dependent user option config file and/or the host-independent
user option config file.
For global defaults, the administrator may set a value in the installation default config file. These
settings will to apply to all users on all hosts.
In some cases, there are significant differences between the capabilities of different hosts. The host-
dependent default config file may be used to specify different default values on some hosts. Any
setting in a host-dependent default config file would affect all users running on the specified host.
Maxwell 3D Online Help
4-80 Working with Maxwell Projects and Designs
The installation default value is used if there is no value specified for the setting in the host-depen-
dent default config file for the current host. Note that the host-dependent default config file is
named hostname.XML, where hostname is the name of the host.
Example for Setting an Installation Default Value
The normal default for the Desktop/Settings/ProjectOptions/DiskLimitForAbort setting is 0
MB. If the administrator is concerned that running out of disk space might be a common problem,
the administrator could set the installation default for the Desktop/Settings/ProjectOptions/Disk-
LimitForAbort setting to 1000 MB, for example. This limit would then apply to all users running
on all hosts. The administrator could use the following command to change this setting for
Maxwell15.0:
UpdateRegistry -Set -ProductName Maxwell15.0 -RegistryKey _
Desktop/Settings/ProjectOptions/DiskLimitForAbort _
-RegistryValue 1000
-RegistryLevel install
Example for Setting a Host Dependent Default Value
For this example, we assume that all hosts have two cores, except for three hosts: bighost1,
bighost2, and bighost3, that have eight cores each. Because most hosts have two cores, the admin-
istrator has set the Simplorer/Preferences/NumberOfProcessorsDistributed option value to 2 in
the installation default config file, as described above. The administrator may then set the Sim-
plorer/Preferences/NumberOfProcessorsDistributed option value to 8 in the host-dependent
default config files for the three hosts having 8 cores: bighost1, bighost2 and bighost3. The user
may login to host bighost1, and run the following command to change this setting for the host-
dependent default options config file for host bighost1 on Maxwell15.0:
UpdateRegistry -Set -ProductName Maxwell15.0 _
-RegistryKey Maxwell/Preferences/NumberOfProcessorsDistributed _
-RegistryValue 8 _
-RegistryLevel install_machine
To make this change for the other two hosts, the adminstrator would login to bighost2 and
bighost3, in turn, and run the same command on each of those hosts.
Example for Reverting from a User Defined Option Value to the
Administrator Default
Consider the case in which Maxwell 15.0 was installed and the administrator initially did not set a
value for the Desktop/Settings/ProjectOptions/DiskLimitForAbort setting in the default instal-
lation config file. User jsmith (who always uses host jshost) wanted to be warned before disk
space dropped to zero, so he set the Desktop/Settings/ProjectOptions/DiskLimitForAbort to 100
MB using the UI (Tools>Options>General Options dialog, Project Options tab, Warn when
available disk space is less than setting). This setting is recorded in the host-dependent user
options config file for host jshost and user jsmith. When the administrator learns that many users
are running into disk space issues, the administrator sets the installation default value for the setting
Desktop/Settings/ProjectOptions/DiskLimitForAbort to 1000 MB, as in the above example.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-81
When user jsmith runs Maxwell 15.0 on host jshost, the disk limit is 100 MB, not 1000 MB,
because the host-dependent user options config file overrides all of the other config files. User
jsmith may revert to the administrator provided default by removing this setting from the host-
dependent user options config file for host jshost and user jsmith. The following command may be
run by user jsmith on host jshost to remove this setting:
UpdateRegistry -Delete -ProductName maxwell15.0 _
-RegistryKey Desktop/Settings/ProjectOptions/DiskLimitForAbort_
-RegistryLevel user_machine
If user jsmith had added a value for this setting to the host independent user options config file,
then user jsmith would also run the following command to remove this setting from the host-inde-
pendent user options config file:
UpdateRegistry -Delete -ProductName Maxwell15.0 _
-RegistryKey Desktop/Settings/ProjectOptions/DiskLimitForAbort
-RegistryLevel user
Related Topics
Setting Options via Configuration Files
Setting or Removing Option Values in Configuration Files: UpdateRegistry Command
User Options and the Update Registry Tool
Batchoptions Command Line Examples
User Options and the Update Registry Tool
When you change an options value using the Desktop UI, the new value is stored in the host depen-
dent user options config file. You can also use the UpdateRegistry tool to add or modify settings in
the host dependent user options config file. You cannot use the Desktop UI to remove settings from
the host dependent user options config file, however. You must use the UpdateRegistry tool to
remove settings from the host dependent user options config file.
If a user has not explicitly created a host dependent user options config file or a host independent
user options config file, then when a user first runs an Ansoft tool on a host, all settings will come
from the host dependent default options config file or the installation default options config file.
Any settings for another host in a host dependent user options config file will not be carried over to
the new host. This may be inconvenient if the user has preferred option settings that differ from the
settings that apply to all users, especially if the user runs the Ansoft tool on a number of different
hosts. In this case, the user may set these option values in the user's host independent user options
config file. Then, these option values will be used on all new hosts, overriding any values set by the
administrator to apply to all users. Any changes made in the UI will only affect the user's host
dependent user options config file for the current host.
Example of Removing a Host Dependent User Option Setting
Example Adding a Host Independent User Option Setting
Setting the Temporary Directory
Example Temporary Directory Configuration File Format
Maxwell 3D Online Help
4-82 Working with Maxwell Projects and Designs
Setting the Temporary Directory Using the GUI
Example of Removing a Host Dependent User Option Setting
For this example, user jsmith always uses host jshost to run Maxwell 15.0. At some point, jsmith
set the Autosave interval in the General Options dialog, Project Options tab to 1000 edits, and
this value was written to the jsmith's host dependent user options config file for host jshost. Now,
jsmith wants to remove this setting and return to the default value of 10. User jsmith may run the
following command on host jshost to remove the Desktop/Settings/ProjectOptions/AutoSaveIn-
terval option value from this config file:
UpdateRegistry -Delete -ProductName Maxwell15.0
-RegistryKey Desktop/Settings/ProjectOptions/AutoSaveInterval
-RegistryLevel user_machine
Related Topics
User Options and the Update Registry Tool
Example Adding a Host Independent User Option Setting
Setting the Temporary Directory
Example Temporary Directory Configuration File Format
Setting the Temporary Directory Using the GUI
Example Adding a Host Independent User Option Setting
Consider the case in which there is no value set for the Desktop/Settings/ProjectOptions/Disk-
LimitForAbort setting for all users for Maxwell 15.0. The default is then 0 MB. User jsmith uses
a variety of hosts and wants to be warned whenever disk space drops to 250 MB on any host. User
jsmith may use the following command to set the Desktop/Settings/ProjectOptions/DiskLimit-
ForAbort option value to 250 MB for all hosts:
UpdateRegistry -Set -ProductName Maxwell15.0
-RegistryKey Desktop/Settings/ProjectOptions/DiskLimitForAbort
-RegistryValue 250 -RegistryLevel user
Related Topics
User Options and the Update Registry Tool
Setting the Temporary Directory
Example Temporary Directory Configuration File Format
Setting the Temporary Directory Using the GUI
Setting the Temporary Directory
As for other option settings, the Temporary Directory may be configured with an installation
default value, as well as a host dependent default value, a host independent user specified value and
a host dependent user specified value. The Temporary Directory settings are stored in different files
from the other option settings. These files are located in the same directories as the configuration
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-83
files for the other option settings. The following table shows the directories and files used to store
the Temporary Directory settings.
NOTES:
$HOME is the user's home directory on Linux
ApplicationPathAndVersion is the Application or Product name concatenated with the Prod-
uct Version
MyDocuments is the user's "My Documents" directory on Windows
InstallationDirectory is the directory where the product is installed
As for other options, the settings in these files have precedence in the following sequence:
user_machine (highest precedence), user, install_machine, install (lowest precedence). The installer
will create the file at the install level. By default, the other files are not created. If the Temporary
Directory is set to an empty string in a configuration file, then that setting is ignored.
Related Topics
User Options and the Update Registry Tool
Example Adding a Host Independent User Option Setting
Example Temporary Directory Configuration File Format
Setting the Temporary Directory Using the GUI
Example Temporary Directory Configuration File Format
This section describes the format of the Temporary Directory configuration files. The format is the
same for files at all four levels: user_machine, user, install_machine, and install. These files are text
files, so any text editor may be used to modify or create Temporary Directory configuration files.
An example temporary directory configuration file is shown below:
$begin 'Config'
Config File Level Name File Name
Linux Directory
Pathname
Windows Directory
Pathname
host dependent user
specific Temporary
Directory
user_machine hostname.cfg $HOME/Ansoft/
ApplicationPathAndVersion/
config
MyDocuments/Ansoft/
ApplicationPathAndVersion/
config
host independent user
specific Temporary
Directory
user default.cfg
host dependent default
default Temporary
Directory
install_machine hostname.cfg InstallationDirectory/config InstallationDirectory/config
installation default
Temporary Directory
install default.cfg
Note The UpdateRegistry tool may not be used to modify Temporary Directory settings.
Maxwell 3D Online Help
4-84 Working with Maxwell Projects and Designs
tempdirectory='C:/TEMP/Ansoft'
$end 'Config'
The temporary directory specified by this configuration file is C:/TEMP/Ansoft.
Additonal notes:
The string containing the pathname of the temporary directory must be enclosed in single
quotes.
The forward slash "/" may be used as a directory separator on Windows and Linux. The back
slash "\" may be used as a directory separator on Windows only.
The back slash "\" is used as an escape character in the tempdirectory string. That it, this char-
acter removes the special meaning of the following character.
The single quote character normally ends the tempdirectory string. The back slash may be used
to remove this special meaning, and include a single quote in the string.
To use a back slash as a directory separator on Windows, it must be escaped. That is, a double
back slash "\\" is used to denote a single directory separator.
On Windows, a UNC path normally begins with two back slash characters. In a tempdirectory
string, each of these back slash characters must be doubled, so four consecutive back slashes
"\\\\" are used in the config file.
UNC Example
Config file:
$begin 'Config'
tempdirectory='\\\\hostxyz\\TEMP\\abc'
$end 'Config'
Here hostxyz is a host with a sharename TEMP having subdirectory abc used as the Temporary
Directory. This shows that four back slashes are required for UNC names and that back slashes
used as directory separators must be doubled.
Single Quote Example
Config file:
$begin 'Config'
tempdirectory='C:/TEMP/ab\'cd'
$end 'Config'
Temporary directory is C:/TEMP/ab'cd. This shows how to include a single quote in a tempdirec-
tory pathname. It also shows that forward slashes may be used as directory separators on Windows.
Related Topics
User Options and the Update Registry Tool
Example Adding a Host Independent User Option Setting
Example for Setting the Temporary Directory
Setting the Temporary Directory Using the GUI
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-85
Setting the Temporary Directory Using the GUI
As for other options, the Temporary Directory may be viewed or set using the Desktop GUI. In the
Tools>Options>General Options dialog, the Temp Directory setting appears in the Directories
group box on the Project Options tab. Activating the Override checkbox allows you to enter a
desired directory pathname in the edit box or to click on the [...] button to bring up a directory file
browser dialog, from which you can select a temp directory. Values set in this manner are written to
the user_machine level configuration file for the Temporary Directory. If the Override checkbox is
unchecked, then when the OK button is pressed, the user_machine level setting for the Temporary
Directory is changed to an empty string. This enables setting from the next highest precedence con-
fig file. The config file which provides the currently active Temporary Directory setting is shown
under the Temp Directory edit box in the Project Options tab of the General Options dialog, if
the Override checkbox is unchecked.
Setting the Temporary Directory From the Command Line
The temporary directory may be set from the command line, using the -batchoptions command
line option. See Running Maxwell from a Command Line. The Batchoptions Command Line
Examples section below includes examples that show how to set the Temporary Directory from the
command line.
Related Topics
Related Topics
User Options and the Update Registry Tool
Example Adding a Host Independent User Option Setting
Example for Setting the Temporary Directory
Example Temporary Directory Configuration File Format
Batchoptions Command Line Examples
Running Maxwell from a Command Line
Batchoptions Command Line Examples
The -batchoptions entries command line argument may be used to specify one or more batchop-
tions settings on the command line. To specify multiple entries using a single -batchoptions argu-
ment, the entries should be enclosed in double quotes. Alternatively, the batchoptions may be
specified in a file using the -batchoptions <filename> command line argument format. In this case,
the filename is an absolute or relative pathname of the file containing the batchoptions, as described
above. The two approaches may not be combined: either all batchoptions must be in a file or all
batchoptions must be specified explicitly on the command line.
Example -BatchOptions with -Remote (Windows)
Example -Batchsolve with -Machinelist (Windows)
Example -Batchsolve with -Machinelist (Linux)
Example -Batchsolve for Local (Windows)
Related Topics
Maxwell 3D Online Help
4-86 Working with Maxwell Projects and Designs
Running Maxwell From a Command Line
Example -BatchOptions with -Remote (Windows)
In this example, we run a batch Maxwell analysis of project file project1.mxwl which contains a 3D
design. We want all temporary files and directories created in directory C:\temp\maxwell instead of
using the installation default for the Temporary Directory. We decide that the analysis will be done
on a remote host, at IP address 12.34.56.78. Because of limited memory on the remote host, we
decide to run the analysis using only a single COM engine. Because the remote host has four cores,
we decide to use four threads for multiprocessing, for both distributed and non-distributed parts of
the analysis. We can use the -Remote option to specify that there will be a single remote COM
engine.
Here is a sample command line for this analysis, where the project file \\somehost\proj-
ects\project1.mxwl is located in a shared directory specified using a UNC path:
maxwell -BatchSolve -Remote -Machinelist list=12.34.56.78 _
-batchoptions "TempDirectory='C:/temp/maxwell' _
Maxwell3D/Preferences/NumberOfProcessors=4 _
Maxwell3D/Preferences/NumberOfProcessorsDistributed=4"_
\\somehost\projects\project1.mxwl
An alternative is to use the -Distributed command line option. Because the -Machinelist list con-
tains only one host, there is a single remote COM engine in this case, also.
maxwell -BatchSolve -Distributed -Machinelist list=12.34.56.78 -batchoptions "TempDirec-
tory='C:\\temp\\maxwell' Maxwell3D/Preferences/NumberOfProcessors=4 Maxwell3D/Prefer-
ences/NumberOfProcessorsDistributed=4" \\somehost\projects\project1.mxwl
The above command lines show that the forward slash "/" may be used as a directory separator on
Windows. The back slash "\" may also be used as a directory separator on Windows, but it must be
doubled to "\\" because the back slash is also an escape character.
Related Topics
Batchoptions Command Line Examples
Example -Batchsolve with -Machinelist (Windows)
Example -Batchsolve with -Machinelist (Linux)
Example -Batchsolve for Local (Windows)
Example -Batchsolve with -Machinelist (Windows)
Suppose that we want to run a batch HFSS analysis of project file project1.hfss. Because all of our
hosts have multiples of 2 cores, we specify that we will use two threads for multiprocessing for
both the distributed (NumberOfProcessorsDistributed) and non-distributed (NumberOfProcessors)
parts of the job. The analysis contains a sweep that will be distributed across three hosts, adam, bill,
and charlie. The hosts adam and bill have four cores each, so we run two distributed COM engines
on each of these hosts, each using two threads. Host charlie has only two cores, so we specify only
one distributed COM engine on this host. This COM engine will also use two threads. We specify a
desired RAM limit of 6 GB and a maximum RAM limit of 8 GB for this analysis. The RAM limits
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-87
are specified in KB, so the desired RAM limit is 6291456 KB, and the maximum RAM limit is
8388608 KB.
Here is a sample command line for this analysis, where the project file \\dennis\proj-
ects\project1.hfss is located in a shared directory specified using a UNC path:
hfss -BatchSolve -Distributed _
-Machinelist list=adam,adam,bill,bill,charlie _
-batchoptions "Hfss/Preferences/MemLimitHard=8388608 _
Hfss/Preferences/MemLimitSoft=6291456 _
Hfss/Preferences/NumberOfProcessors=2 _
Hfss/Preferences/NumberOfProcessorsDistributed=2"_
\\dennis\projects\project1.hfss
Related Topics
Batchoptions Command Line Examples
Example -BatchOptions with -Remote (Windows)
Example -Batchsolve with -Machinelist (Linux)
Example -Batchsolve for Local (Windows)
Example -Batchsolve with -Machinelist (Linux)
In this example, we run a batch HFSS analysis of project file project2.hfss, which contains an
HFSS-IE design. We have four identical hosts host1, host2, host3, and host4 for analysis, and each
host has 4 cores. We do not use multiprocessing for the distributed analysis, so NumberOfProces-
sorsDistributed=1. As each host has four cores, we specify multiprocessing using 4 threads for the
non-distributed part of the analysis, so NumberOfProcessors=4. Because we do not use multipro-
cessing for the distributed analysis, we will run four distributed COM engines on each host, with a
singe core available for each engine. As in Example 1, we specify a desired RAM limit of 6 GB and
a maximum RAM limit of 8 GB for this analysis. The RAM limits are specified in KB, so the
desired RAM limit is 6291456 KB, and the maximum RAM limit is 8388608 KB.
Here is a sample command line for this analysis, where the project file /home/jsmith/projects/
project2.hfss is located in a shared directory:
hfss -BatchSolve -Distributed _
-Machinelist file=/home/jsmith/hosts/list2 _
-batchoptions "HFSS-IE/Preferences/MemLimitHard=8388608 _
HFSS-IE/Preferences/MemLimitSoft=6291456 _
HFSS-IE/Preferences/NumberOfProcessors=4 _
HFSS-IE/Preferences/NumberOfProcessorsDistributed=1" _
/home/jsmith/projects/project2.hfss
For this example, the hostnames are in the text file /home/jsmith/hosts/list2. Here are the file con-
tents:
host1
host1
host1
Maxwell 3D Online Help
4-88 Working with Maxwell Projects and Designs
host1
host2
host2
host2
host2
host3
host3
host3
host3
host4
host4
host4
host4
Related Topics
Batchoptions Command Line Examples
Example -BatchOptions with -Remote (Windows)
Example -Batchsolve with -Machinelist (Windows)
Example -Batchsolve for Local (Windows)
Example -Batchsolve for Local (Windows)
In this example, we run a batch Designer analysis of project file testproject.adsn on the local host.
We want all temporary files and directories created in directory C:\temp\designer instead of using
the installation default for the Temporary Directory. Because the local host has four cores, we
decide to use four threads for multiprocessing, for both distributed and non-distributed parts of the
analysis.
Here is a sample command line for this analysis, where the project file \\host123\projects\testpro-
ject.adsn is located in a shared directory specified using a UNC path:
designer -BatchSolve -Local -batchoptions _
"TempDirectory='C:/temp/designer' _
'Planar EM/SolverOptions/NumProcessors'=4 _
'Planar EM/SolverOptions/NumProcessorsDistrib'=4"_
\\host123\projects\testproject.adsn
Note that the batchoptions pathnames 'Planar EM/SolverOptions/NumProcessors' and 'Planar EM/
SolverOptions/NumProcessorsDistrib' must be in single quotes because they both contain embed-
ded spaces.
Related Topics
Batchoptions Command Line Examples
Example -BatchOptions with -Remote (Windows)
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-89
Example -Batchsolve with -Machinelist (Windows)
Example -Batchsolve with -Machinelist (Linux)
Maxwell 3D Online Help
4-90 Working with Maxwell Projects and Designs
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-91
Working with Variables
A variable is a numerical value, mathematical expression, or mathematical function that can be
assigned to a design parameter in Maxwell. You can assign a variable to any dimensional or mate-
rial property, or output value.Variables are useful in the following situations:
When you expect to change a parameter often.
When you expect to use the same parameter value often.
When you intend to run a parametric analysis, in which you specify a series of variable values
within a range to solve.
When you intend to optimize a parameter value by running an optimization analysis.
When you intend to run a convergence on an output variable.
There are two types of variables in Maxwell:
Related Topics
Defining an Expression
Defining Mathematical Functions
Assigning Variables
Specifying Output Variable Convergence
Specifying Output Variables
Using Optimetrics for Design Analysis
Choosing a Variable to Optimize
Selecting Objects by Variable
Exporting Variables for Documentation
Adding a Project Variable
A project variable can be assigned to a parameter value in the Maxwell project in which it was cre-
ated. Maxwell differentiates project variables from other types of variables by prefixing the vari-
able name with the following symbol: $. You can manually include the symbol $ in the project
variable's name when you create it, or Maxwell automatically appends the project variable's name
Project Variables A project variable can be assigned to any parameter value in the project in
which it was created. Maxwell differentiates project variables from other types
of variables by prefixing the variable name with the $ symbol. You can
manually include the $ symbol in the project variable's name, or Maxwell can
automatically append the $ after you define the variable. Project variables can
be used in any design within the project.
Design Variables A design variable can be assigned to any parameter value in the Maxwell
design in which it was created. Design variables are not available to other
designs within the same project.
Maxwell 3D Online Help
4-92 Working with Maxwell Projects and Designs
with the symbol after you define the variable. Project variables can be used in any design within the
project.
1. Click Project>Project Variables.
Alternatively, right-click the project name in the project tree, and then click Project Vari-
ables on the shortcut menu.
The Properties dialog box appears.
2. Under the Project Variables tab, click Add.
The Add Property dialog box appears.
3. In the Name box, type the name of the variable.
Project variable names must start with the symbol $ followed by a letter. Variable names may
include alphanumeric characters and underscores ( _ ). The names of intrinsic functions and
the pre-defined constant pi () cannot be used as variable names.
You can sort the project variables by clicking on the Name column header. By default, vari-
ables are sorted in original order. Clicking once sorts them in ascending order, noted by a trian-
gle pointing up. Clicking against sorts in descending order, noted by a triangle pointing down.
Clicking a third time sorts in original order, with no triangle.
4. In the Unit Type text box you can use the drop down menu to select from the list of available
unit types. None is the default.
When you select a Unit Type, the choices in drop down menu for the Units text box adapt to
that unit type. For example, selecting Length as the Unit Type causes the Unit menu to show a
range of metric and english units for length. Similarly, if you select the Unit Type as Resis-
tance, the Units drop down lists a range of standard Ohm units.
5. In the Value text box, type the quantity that the variable represents. If you did not specify the
Unit Type and Unit, you can also optionally, include the units of measurement.
The quantity can be a numerical value, a mathematical expression, or a mathematical function.
The quantity entered will be the current, (or default) value for the variable. If the mathematical
expression includes a reference to an existing variable, this variable is treated as a dependent
variable. The units for a dependent variable will automatically change to those of the indepen-
dent variable on which the value depends. Additionally, dependent variables, though useful in
many situations, cannot be the direct subject of optimization, sensitivity analysis, tuning, or
statistical analysis.
6. Click OK.
You return to the Properties dialog box. The new variable and its value are listed in the table.
If the value is an expression, the evaluated value is shown. Updating the expression also
changes the evaluated value display. The evaluated values of any dependent variables also are
Warning If you include the variables units in its definition (in the Value text box), do not
include the variables units when you enter the variable name for a parameter value.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-93
changed.
7. Optionally, type a description of the variable in the Description box.
8. Optionally, select Read-Only. The variable's name, value, unit, and description cannot be
modified when Read-only is selected.
9. Optionally, select Hidden. If you clear the Show Hidden option, the hidden variable does not
appear in the Properties dialog box.
10. Click OK.
The new variable can now be assigned to a parameter value in the project in which it was created.
Related Topics
Adding a Design Variable
Deleting Project Variables
Defining an Expression
Defining Mathematical Functions
Exporting Variables for Documentation
Deleting Project Variables
To delete a project variable:
1. Remove all references to the variable in the project, including dependent variables.
2. Save the project to erase the command history.
3. Click Project>Project Variables to display the Properties dialog with list of variables.
4. Select the variable and click Remove and OK.
Adding a Design Variable
A design variable is associated with a Maxwell or RMxprt design. A design variable can be
assigned to a parameter value in the design in which it was created. Design variables are only avail-
able within the design where they are created and are not available to other designs within the same
project.
1. Click Maxwell3D, Maxwell2D, or RMxprt, and then select Design Properties.
Alternatively, right-click the design name in the project tree, and then click Design Prop-
erties on the shortcut menu.
The Properties dialog box appears opened on the Local Variables tab. From the Properties
dialog you can Add, Add Array, Edit.. or Remove variables. This section describes Add. Use
Maxwell 3D Online Help
4-94 Working with Maxwell Projects and Designs
the links for descriptions of Add Array, .Edit and Remove,
Any existing Design variables are listed in the Properties dialog with the name followed by
cells for Value, Unit, Evaluated Value, Type, Description, and Read-only and Hidden check
boxes. A Show Hidden checkbox on the lower right of the Properties dialog controls the
appearance of any Hidden variables .
Initially, leave the radio button with Value selected until you have defined a variable. The
other radio buttons let you enable defined variables for Optimization, Tuning, Sensitivity or
Statistics. Selecting one of these radio buttons adds a new column to the Variable definition
row for which you can check or uncheck Include for regular variables for that kind of Optimet-
rics simulation. For further discussion, see Optimetrics.
2. Click Add.
The Add Property dialog box appears.
3. In the Name box, type the name of the variable.
Variable names must start with a letter, and may include alphanumeric characters and under-
scores ( _ ). The names of intrinsic functions and the pre-defined constant pi () cannot be
used as variable names.
You can sort the variables by clicking on the Name column header. By default, variables are
sorted in original order. Clicking once sorts them in ascending order, noted by a triangle point-
ing up. Clicking against sorts in descending order, noted by a triangle pointing down. Clicking
a third time sorts in original order, with no triangle.
4. In the Unit Type text box you can use the drop down menu to select from the list of available
unit types. None is the default.
When you select a Unit Type, the choices in drop down menu for the Units text box adapt to
that unit type. For example, selecting Length as the Unit Type causes the Unit menu to show a
range of metric and english units for length. Similarly, if you select the Unit Type as Resis-
tance, the Units drop down lists a range of standard Ohm units.
5. In the Value box, type the quantity that the variable represents. Optionally, include the units of
measurement.
Note If you include the variable's units in its definition (in the Value box), do not include the
variable's units when you enter the variable name for a parameter value.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-95
The quantity can be a numerical value, a mathematical expression, or a mathematical function.
The quantity entered will be the current (or default value) for the variable. If the mathematical
expression includes a reference to an existing variable, this variable is treated as a dependent
variable. The units for a dependent variable will automatically change to those of the indepen-
dent variable on which the value depends. Additionally, dependent variables, though useful in
many situations, cannot be the direct subject of optimization, sensitivity analysis, tuning, or
statistical analysis.
6. Click OK.
You return to the Properties dialog box. The new variable and its value are listed in the table.
If the value is an expression, the evaluated value is shown. Updating the expression also
changes the evaluated value display. The evaluated values of any dependent variables also are
changed.
7. Optionally, type a description of the variable in the Description box.
8. Click OK.
The new variable can now be assigned to a parameter value in the design in which it was created.
Related Topics
Adding a Project Variable
Deleting Design Variables
Deleting Project Variables
Defining an Expression
Defining Mathematical Functions
Add Array of Values for a Design Variable
A design variable is associated with an Maxwell design. You can also add a variable defined with
an array of values.
1. Click Maxwell>Design Properties.
Alternatively, right-click the design name in the project tree, and then click Design Prop-
erties on the shortcut menu.
The Local Variables Properties dialog box appears. From the Properties dialog you can Add,
Add Array, Edit... or Remove variables. This section describes Add Array. Use the links for
Note Complex numbers are not allowed for variables to be used in an Optimetrics sweep, or
for optimization, statistical, sensitivity or tuning setups.
Maxwell 3D Online Help
4-96 Working with Maxwell Projects and Designs
descriptions of Add,.Edit and Remove,
Any existing Design variables are listed in the Properties dialog with the name followed by
cells for Value, Unit, Evaluated Value, Type, Description, and Read-only and Hidden check
boxes. A Show Hidden checkbox on the lower right of the Properties dialog controls the
appearance of any Hidden variables.
Initially, leave the radio button with Value selected until you have defined a variable. The
other radio buttons let you enable regular variables for Optimization, Tuning, Sensitivity or
Statistics. Array variables cannot be enabled for Optimetrics use.
2. Click the Add Array.... button.
The Add Array dialog displays.
3. Specify a variable Name in the text field.
4. Select a Unit Type and Units from the drop down menus.
5. To specify the array with Edit in Grid Selected, you can begin by clicking the Append Rows...
button to display the Number of Rows dialog. (For Edit in plain text field, see below.)
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-97
6. Specify a value and click OK.
This displays a list of indexed data rows in the Add Array dialog. You can type any data value
in the cells. If you enter alphanumeric text in a cell it must be delimited by double quotes. You
can edit the rows relative a row selection by clicking buttons to Add Row Above, Add Row
Below, or Remove Row. All cells must contain a value.
7. When you have completed the array, click OK to close the dialog,
The Array variable is listed in the Design Properties dialog as a Local Variable. The array
variable value field includes the array contents in brackets with the unindexed data values
delimited by commas.
If you elected to edit the array Edit in plain text field in the Add Array dialog, the bracketed
and comma delimited format is used.
Related Topics
Adding a Project Variable
Deleting Design Variables
Deleting Project Variables
Defining an Expression
Defining Mathematical Functions
Editing a Design Variable
A design variable is associated with a Maxwell design. A design variable can be assigned to a
parameter value in the Maxwell design in which it was created. You can also add a variable defined
with an array of values.
1. Click Maxwell>Design Properties.
Alternatively, right-click the design name in the project tree, and then click Design Prop-
erties on the shortcut menu.
The Local Variables Properties dialog box appears. From the Properties dialog you can Add,
Add Array, Edit.. or Remove variables. This section describes Edit. Use the links for descrip-
tions of Add, Add Array and Remove,
Any existing Design variables are listed in the Properties dialog with the name followed by
cells for Value, Unit, Evaluated Value, Type, Description, and Read-only and Hidden check
boxes. A Show Hidden checkbox on the lower right of the Properties dialog controls the
Maxwell 3D Online Help
4-98 Working with Maxwell Projects and Designs
appearance of any Hidden variables.
Initially, leave the radio button with Value selected until you have defined a variable. The
other radio buttons let you enable defined variables for Optimization, Tuning, Sensitivity or
Statistics. Selecting one of these radio buttons add a new column to the Variable definition row
for which you can check or uncheck Include a regular variable for that kind of Optimetrics
simulation. Array variables cannot be Enabled for Optimetrics. For further discussion, see see
Optimetrics.
2. Select a variable to highlight it.
3. Click the Edit button.
For regular variables, the Add Property dialog for that variable opens, and for array variables,
the Edit Array variable dialog for that variable opens.
4. Complete the edits and OK the dialog to apply them.
Deleting Design Variables
To delete a design variable:
1. Remove all references to the variable in the design, including dependent variables.
2. Save the project to erase the command history.
3. Click Maxwell>Design Properties to display the Properties dialog with list of local vari-
ables.
4. Select the variable and click Remove and OK.
Related Topics
Deleting Project Variables
Adding Datasets
Datasets are collections of plotted data points that can be extrapolated into an equation based on the
piecewise linear makeup of the plot. Each plot consists of straight line segments whose vertices
represent their end points. A curve is fitted to the segments of the plot and an expression is derived
from the curve that best fits the segmented plot. The created expression is then used in a piecewise
linear intrinsic function such as: pwl, pwlx or pwl_periodic. You can add datasets at either the Proj-
ect Level or the Design level. They can be for various purposes, including to define frequency depen-
dent port impedances or frequency dependent global variables, and boundary definitions.
Note The descriptions of the various controls and fields for working with datasets are also
applicable to the BH Curve dialog box when Specifying a BH Curve for Nonlinear
Relative Permeability.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-99
The following procedure describes how to add a dataset manually. You can also add datasets:
By importing data from an external file.
By using the SheetScan tool.
1. For a Project level dataset, click Project>Datasets. For a Design level dataset, click Maxwell
2D>Design Datasets, Maxwell 3D>Design Datasets, or RMxprt>Design Datasets.
The Datasets dialog box appears. This lists any existing datasets for the Project or Design
level, respectively.
2. Click Add.
The Add Dataset dialog box appears. The dialog contains fields for the Dataset name, and a
table for x- and y- coordinates. It contains a graphic display that draws a line for the coordi-
nates you add. It also includes buttons for the following functions:
Swap X-Y Data - this swaps the x- and Y- coordinates and adjusts the graphical display.
Import Dataset - this provides a way to import data sets from an external source. The for-
mat is a tab separated points file. Clicking the button opens a file browser window.
Export Dataset -- this provides a way to export the current dataset to a tab separated
points file. Clicking the button opens a file browser window.
Add Row Above - adds a new row to the table above the selected row.
Add Row Below - adds a new row to the table below the selected row/
Append Row - opens a dialog that lets you specify a number of rows to add to the table.
Delete Row - deletes the selected row or rows.
3. Optionally, type a name other than the default for the dataset in the Name box.
4. Enter the x- and y- coordinates by one of the following methods
Type the x- and y-coordinates for the first data point in the row labeled 1.Type the x- and y-
coordinates for the remaining data points in the dataset using the same method.
After you type a points coordinates and move to the next row, the point is added to the plot,
adjusting the display with each newly entered point.
5. When you are finished entering the data point coordinates, click OK.
6. Click Done in the Datasets dialog box.
The dataset plot is extrapolated into an expression that can be used in parametric analyses, bound-
ary definitions, or assigned to a material property value.
Related Topics
Adding a Design Variable
Editing Datasets
Note The x-coordinate values for successive data points must increase within ten
significant digits.
You can also use the Import Dataset button to import data coordinates. Doing so
will overwrite any existing values in the Coordinates panel.
Maxwell 3D Online Help
4-100 Working with Maxwell Projects and Designs
Using Piecewise Linear Functions in Expressions
Using Dataset Expressions
Calculating the Properties for a Non-Linear Permanent Magnet
Using SheetScan
Datasets Dialog Box
The Datasets dialog box provides a browsable listing of all datasets currently defined for the proj-
ect or design. A preview window displays a plot of the currently selected dataset. Controls allow
you to Add, Edit, Remove, and Clone datasets; to Import and Export characteristics data; and to
launch the SheetScan tool that you can use to extract data from graphics such as data sheets.
Add - Opens a blank Add Dataset window in which you can define a dataset by entering data coor-
dinates directly, or by importing data from a file.
Edit - Opens the selected dataset in an Edit Dataset window for editing.
Remove - Removes the selected dataset from the project.
Clone - Copies the selected dataset to an editing window for modification. The original dataset
remains intact.
Import - Opens an Import Dataset window in which you can locate and import characteristics
data from several file types including data exported from the SheetScan tool.
Export - Opens an Export Dataset window in which you can export the selected dataset to a tab-
delimited file.
SheetScan - Opens the SheetScan tool in which you can extract characteristics data from graphics
such as data sheets.
Related Topics
Adding Datasets
Importing Datasets
Editing Datasets
Cloning Datasets
Exporting Datasets
Removing Datasets
Using SheetScan
Dataset Preview Plot Properties
1. You can change the properties of various elements of the preview plot such as the major and
minor grid colors, title font, and trace line style by double-clicking the element to open its
properties dialog box.
2. Depending on the type of element selected, tabs allow you to set the Color, Font, Line Style,
Scaling, Title, and Legend properties.
3. Right-clicking inside the plot window opens a context menu containing commands to add and
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-101
delete data markers and labels, change trace type, and print the plot.
4. Click Save as Defaults to make the changes the default values.
5. Click OK to apply the changes only while the current dataset plot window is open. Click Save
as Defaults to keep the changes.
Importing Datasets
To import data for a dataset from a file:
1. For a Project level dataset, click Project>Datasets. For a Design level dataset, click Maxwell
2D>Design Datasets, Maxwell 3D>Design Datasets, or RMxprt>Design Datasets.
The Datasets dialog box appears.
2. Click the Import button.
3. In the file browser window that appears, choose the tab delimited data file you wish to import,
and click OK to import the data.
4. After importing the data, you can modify it manually (see Editing Datasets).
Related Topics
Adding Datasets
Editing Datasets
Cloning Datasets
Exporting Datasets
Removing Datasets
Using SheetScan
Editing Datasets
1. For Project level datasets, click Project>Datasets. For Design level datasets, click Maxwell
2D>Design Datasets, Maxwell 3D>Design Datasets, or RMxprt>Design Datasets.
The Datasets dialog box appears.
2. Click the dataset name you want to modify, and then click Edit.
The Edit Dataset dialog box appears.
3. Optionally, type a name other than the default for the dataset in the Name box.
4. Type new values for the data points as desired.
The plot is adjusted to reflect the revised data points.
5. When you are finished entering the data point coordinates, click OK.
6. Click Done.
Related Topics
Note You can also import a dataset in the Add Dataset and Edit Dataset windows.
Maxwell 3D Online Help
4-102 Working with Maxwell Projects and Designs
Adding Datasets
Adding a Design Variable
Modifying Datasets
Using Piecewise Linear Functions in Expressions
Using Dataset Expressions
Cloning Datasets
Cloning a dataset generates a copy of an existing dataset. The clone can then be modified as
needed.
1. For Project level datasets, click Project>Datasets. For Design level datasets, click Maxwell
2D>Design Datasets, Maxwell 3D>Design Datasets, or RMxprt>Design Datasets.
The Datasets dialog box appears.
2. Click the dataset name you want to clone, and then click Clone.
The Clone Dataset dialog box appears.
3. Modify the dataset as needed.
Related Topics
Adding Datasets
Importing Datasets
Editing Datasets
Exporting Datasets
Removing Datasets
Using SheetScan
Exporting Datasets
1. For Project level datasets, click Project>Datasets. For Design level datasets, click Maxwell
2D>Design Datasets, Maxwell 3D>Design Datasets, or RMxprt>Design Datasets.
The Datasets dialog box appears.
2. Click the Export button.
The Export Dataset dialog box appears.
3. Browse to the location you want to store the exported dataset.
4. Name the file (exported datasets are tab-delimited and are given a .tab extension), and click
Save to complete the export operation.
Related Topics
Adding Datasets
Importing Datasets
Note You can also export a dataset in the Add Dataset and Edit Dataset windows.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-103
Editing Datasets
Cloning Datasets
Removing Datasets
Using SheetScan
Removing Datasets
1. For Project level datasets, click Project>Datasets. For Design level datasets, click Maxwell
2D>Design Datasets, Maxwell 3D>Design Datasets, or RMxprt>Design Datasets.
The Datasets dialog box appears.
2. Click the dataset name you want to remove, and then click Remove.
3. When finished removing datasets, click Done.
Related Topics
Adding Datasets
Importing Datasets
Editing Datasets
Cloning Datasets
Exporting Datasets
Using SheetScan
Using SheetScan
SheetScan allows you to extract characteristics data from graphics such as data sheets which have
been scanned and saved in any of the following formats: .bmp, .dib, .jpg, .gif, .tif, .tga, .pcx, or .pdf.
In addition to importing graphic files directly, SheetScan also can be used to browse the Internet for
datasheet information and transfer a snapshot of the web page to the SheetScan editor where you
can map axes on the image as an overlay. You can then manually add datapoints to approximate the
characteristic curve(s) on the datasheet.The sampled data can then be converted to Maxwell format,
and the extracted data exported to a Maxwell dataset or saved to a tab-delimited file.
The process for creating a dataset using SheetScan involves four basic operations:
Loading a datasheet into SheetScan.
Defining a coordinate system for the imported datasheet picture.
Defining a characteristic curve using the datasheet picture as reference.
Exporting the characteristic curve data to a file or to a dataset.
Related Topics
SheetScan Toolbars
Note The pdf file type is currently supported only on 32-bit versions of Maxwell 15.0.
Maxwell 3D Online Help
4-104 Working with Maxwell Projects and Designs
SheetScan Settings
The Curve Values Window
Loading a Datasheet into SheetScan
Deleting a Datasheet Picture
Defining a SheetScan Coordinate System
Defining a Characteristic Curve in SheetScan
SheetScan Toolbars
Three toolbars are available in SheetScan. They provide convenient access to commands that are
also found in the SheetScan main menu. Toolbars can be toggled on and off via the View>Toolbar
sub-menu.
The Standard toolbar includes access to basic Windows functions such as file Open and Save,
Cut, Copy, Paste, Print, and Help.
The Curve toolbar contains tools for working with curve values. A pull-down menu allows
you to select the curve on which to work. Other tools allow you to: change curve settings,
change the curves coordinate system, and to select, append, delete, and insert points on the
active curve
The Zoom toolbar provides tools for scaling the current view, zooming in and out, resetting the
zoom to 100 percent, and toggling the display of the curves grid on and off.
Related Topics
SheetScan Settings
The Curve Values Window
Loading a Datasheet Picture into SheetScan
Deleting a Datasheet Picture
Defining a SheetScan Coordinate System
Defining a Characteristic Curve in SheetScan
SheetScan Settings
Default settings are made by choosing Options>Settings. The Settings dialog box contains three
tabs:
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-105
The Document tab allows you to set the Width and Height of the sheet created when a picture
imported into the SheetScan editor. You can either enter the dimensions manually, or allow
SheetScan to adapt the dimensions to the picture being loaded.
The Axis tab allows you to set the default Name, Unit of measure, Scaling factor, and Offset
value for the X and Y axes. Checking Monotonicity in X automatically prevents you from
adding consecutive data points whose X-values are not increasing.
The Representation tab lets you choose whether to connect points on the characteristic curve
and to choose the color of the connecting line. You can also choose to display markers for the
point chosen when defining a curve, to set the color of displayed markers, and to set the color
of markers when they are selected.
Related Topics
Loading a Datasheet Picture into SheetScan
Defining a SheetScan Coordinate System
Defining a Characteristic Curve in SheetScan
The Curve Values Window
The View>Curve Values menu item toggles the display of a dock-able Curve Values window that
displays the data points you place when creating a characteristic curve. Data for each curve on a
sheet is displayed on its own tab. You can manually change the X and Y values in the table to fine-
tune the characteristic curve.
Related Topics
Loading a Datasheet Picture into SheetScan
Defining a SheetScan Coordinate System
Defining a Characteristic Curve in SheetScan
Loading a Datasheet Picture into SheetScan
By default, SheetScan opens a new, blank datasheet editing window. There are two ways to load a
datasheet picture into the editor:
Loading a Datasheet Picture Directly
1. Browse directly to the datasheet picture file by choosing Picture>Load picture to open a
file browser window.
2. When you have located the desired file, click OK to load the image into the SheetScan
editor. Supported file types include: .bmp, .dib, .jpg, .gif, .tif, .tga, .pcx, .pdf, .htm, and
Note You can also override the default settings on the Axis and Representation tabs for
individual curves (see Defining a Characteristic Curve in SheetScan).
Maxwell 3D Online Help
4-106 Working with Maxwell Projects and Designs
.html.
Loading a Datasheet Picture Using the HtmlViewer
1. Choose Picture>Internet to open the Sheetscan HtmlViewer.
2. Browse the Internet for the desired datasheet.
3. Resize the HtmlViewer window and adjust its scrollbars until the desired portion of the
datasheet is in view
4. Click the To SheetScan button to copy the visible contents of the HtmlViewer win-
dow into the SheetScan editor window.
After loading a datasheet picture into the SheetScan editor, the next step is Defining a coordinate
system for the imported picture.
Related Topics
SheetScan Toolbars
SheetScan Settings
The Curve Values Window
Deleting a Datasheet Picture
Loading a Datasheet Picture into SheetScan
Defining a SheetScan Coordinate System
Defining a Characteristic Curve in SheetScan
Deleting a Datasheet Picture
To delete a Datasheet picture, choose Picture>Delete picture.
Related Topics
Loading a Datasheet Picture into SheetScan
Defining a SheetScan Coordinate System
use this procedure to define a coordiante system typically for a graph on a datasheet picture that
you have previously loaded into the SheetScan editor.
Note The pdf file type is currently supported only on 32-bit versions of Maxwell 15.0.
Note To hide the datasheet picture, choose Picture on the View menu.
Warning You cannot undo this action. If you delete a picture from the SheetScan editor, you
must reload it from the source file or Internet web page.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-107
To define the coordinate system:
1. Select Coordinate System>New to open the Coordinate System dialog box.
2. Click the Point1 button.
The Coordinate System dialog box disappears temporarily and the cursor changes to a cross-
hairs.
3. Position the cursor over a corner of the datasheet graph and click the left mouse button.
The Coordinate System dialog box reappears displaying the X- and Y-Coordinate values for
the chosen point.
4. Enter the X-Value and Y-Value for this point. Typically, these values will correspond to the
values taken from the axis scale values on the datasheet.
5. Select the desired scaling (linear, logarithmic, or decibel) for both the X and Y axes.
6. Repeat steps 2 through 4 for the Point2 and Point3 buttons.
7. Click OK. The grid is placed in the graphic.
8. Proceed to Defining a Characteristic Curve in SheetScan.
Related Topics
SheetScan Toolbars
SheetScan Settings
Loading a Datasheet Picture into SheetScan
Defining a Characteristic Curve in SheetScan
Defining a Characteristic Curve in SheetScan
Once you have loaded a datasheet picture in the editor and have defined a coordinate system, you
can define one or more characteristic curves as follows:
1. Choose Curve>New.
The Curve Settings dialog box opens.
2. Define the properties of the curve. Refer to SheetScan Settings for a detailed explanation of the
settings you can make on the Axis and Representation tabs.
3. When finished defining curve properties, click OK.
The cursor changes to cross hairs.
4. Click the points of the characteristic which you want to capture for the dataset. The points are
Note You can edit the grid after placement either by selecting Coordinate
System>Properties from the SheetScan main menu bar, by clicking the coordinate
system icon on the Curve toolbar, or by right-clicking in the SheetScan editing
window and selecting Coordinate system from the context menu.
You can hide the grid by selecting Grid on the View menu, or by clicking the grid
icon on the Curve toolbar.
Maxwell 3D Online Help
4-108 Working with Maxwell Projects and Designs
connected automatically.
5. Repeat steps 1 through 4 for each additional characteristic curve you wish to define.
After characteristic curves have been defined, you can perform various operations on them. Refer
to Performing Operations on SheetScan Curves for details.
Related Topics
SheetScan Toolbars
SheetScan Settings
The Curve Values Window
Performing Operations on SheetScan Curves
You can perform the following operations on existing characteristic curves:
select a curve for editing
edit a curve
delete a curve
change curve settings
check if a curve is monotonically increasing along the X-axis
export the curve data to a dataset
Selecting a SheetScan Characteristic Curve
1. To select a SheetScan curve for editing, do one of the following:
a. Select Curve>Select on the SheetScan menu bar.
b. Right-click in the editor window and choose Select Curve from the context menu.
The Select Curve dialog box opens.
2. Click the desired curve name to highlight it, then click OK to select the curve.
Related Topics
SheetScan Toolbars
SheetScan Settings
The Curve Values Window
Note If the Curve Values window is open, you can also click the tab of the desired curve to
select it.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-109
Changing Characteristic Curve Settings
You can changes curve settings for a characteristic curve as follows:
1. Select the curve whose settings you wish to change.
1. Choose Curve>Change Settings.
The Curve Settings dialog box opens.
2. Change the properties of the curve as desired. Refer to SheetScan Settings for a detailed expla-
nation of the settings you can make on the Axis and Representation tabs.
3. When finished changing curve properties, click OK.
4. Repeat steps 1 through 3 for each additional characteristic curve you wish to change.
Related Topics
SheetScan Toolbars
SheetScan Settings
The Curve Values Window
Editing a SheetScan Characteristic Curve
The following SheetScan curve editing functions are available either via the main Curve menu, the
Curve toolbar, or the editor window context menu:
Select points click on a point to select it. Ctrl+click selects multiple points.
Append points click to add data points to the end of a curve.
Delete points click a data point to remove it from the curve.
Insert points click to insert new data points between existing data points.
Related Topics
SheetScan Toolbars
SheetScan Settings
The Curve Values Window
Deleting a SheetScan Characteristic Curve
To delete a characteristic curve and all of its associated data points:
1. Select the desired curve.
2. Select Curve>Delete.
Warning You cannot undo this action. If you delete a curve and its data points from the
SheetScan editor, you must reconstruct it manually.
Maxwell 3D Online Help
4-110 Working with Maxwell Projects and Designs
Checking for Monotonicity in X
Maxwell requires that characteristics be monotonically increasing along the X-axis. In other words,
successive data points must have increasing X-values, while Y-values may both increase and
decrease. You can check for monotonicity in X as follows:
1. Select Curve>Check Monotonicity.
If the characteristic curve is monotonically increasing in X-value, the check completes without
notice. Typical examples of curves that meet monotonicity criteria are shown below.
2. If the characteristic curve is not monotonically increasing in X-value, a dialog box displays
informing you that errors were found. Click Yes to have SheetScan automatically correct the
errors.
Related Topics
Defining a Characteristic Curve in SheetScan
Importing Characteristic Data into SheetScan
SheetScan supports data import from the following file types: Simplorer Characteristic (*.mdx,
*.mda), Microsoft Access (*.mdb), Microsoft Excel (*.xls), text (*.txt), comma separated value
(*.csv), Spice (*.out), Comtrade (*.cfg), and TEK Oscilloscope (*.dat).
1. To import characteristic curve data into SheetScan, select File>Import.
2. In the file Open dialog box, select the desired data file and click OK.
c. Selecting a .xls file containing multiple sheets opens a Table Properties dialog where you
can choose the desired sheet from a drop-down list. Otherwise, selecting a .xls file imports
the data immediately into the Add Dataset dialog box.
d. Selecting a .txt, .tab, or .csv file opens an Import dialog box in which you can specify
Note Only the first two columns of data are imported, the left-most column containing the
X-coordinate values. The x-coordinate values for successive data points must
increase within ten significant digits. Non-numeric entries are assigned a value of
zero.
The first row of data is assumed to contain column headings and is ignored.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-111
how to settings for reading the data in the file for import. You can choose the Separa-
tor(s) and Decimal Symbol, as well as the line at which to begin the import. The dialog
box shows both the original text and the text as it would appear when imported based on
the current import settings.
When satisfied with the import settings, click OK to import the data.
A Curve Settings dialog box opens.
3. Change Curve Settings as needed and click OK to complete the data import.
The new characteristic curve is added to the current SheetScan sheet.
Exporting SheetScan Data
You can export SheetScan curve data directly to a Maxwell or RMxprt Dataset.
1. To export the curve data, choose File>Export.
2. In the Save dialog box, choose Current Curve (default) to export current curve data, or
Curves if you wish to choose the curve(s) whose data you wish to export. Choosing Curves
reveals a list box showing all of the curves available for export. Check the Export box for the
desired curves.
3. Choose Equidistant if you want to set the Start and Stop X-Channel values and a Sample
Rate or Number of samples for the exported dataset(s),
4. Choose Dataset to export curve data directly to the projects dataset file.
Related Topics
Adding Datasets
Defining Mathematical Functions
A mathematical function is an expression that references another defined variable. A function's def-
inition can include both expressions and variables.
Note The Multidimensional Table option is not currently supported.
Note Exporting data to a file via the File button is not currently supported.
Maxwell 3D Online Help
4-112 Working with Maxwell Projects and Designs
The following mathematical functions may be used to define expressions:
The predefined variables X, Y, Z, Phi, Theta, R, and Rho must be entered as such. X, Y, and Z are
the rectangular coordinates. Phi, Theta, and Rho are the spherical coordinates. R is the cylindrical
radius, and Rho is the spherical radius.
If you do not specify units, all trigonometric expressions expect their arguments to be in radians,
and the inverse trigonometric functions return values are in radians. If you want to use degrees,
you must supply the unit name deg. When the argument to a trigonometric expression is a variable,
the units are assumed to be radians. These function names are reserved and may not be used as vari-
able names.
As far as expression evaluation is concerned: units are conversion factors (that is, from the given
unit to SI). Note also that the evaluated value of an expression) is always interpreted as in SI units.
Related Topics
Setting Coordinate Systems
Expressing Cartesian, Cylindrical or Spherical Coordinates
Defining an Expression
Expressions are mathematical descriptions that typically contain intrinsic functions, such as sin(x),
and arithmetic operators, such as +, -, *, and /, well as defined variables. For example, you could
define: x_size = 1mm, y_size = x_size + sin(x_size). Defining one variable in terms of another
makes a dependent variable. Dependent variables, though useful in many situations, cannot be the
subject of optimization, sensitivity analysis, tuning, or statistical analysis.
The Constants tab of the Project Variables dialog lists the available pre-defined constants.These
may not be reassigned a new value.
Basic
functions
/, +, -, *, mod (modulus), ** (exponentiation), - (Unary minus), ==
(equals), ! (not), != (not equals), > (greater than), < (less than), >= (greater
than equals), <= (less than equals), && (logical and), || (logical or)
Intrinsic
functions
if, sqn, abs, exp, pow, ln (natural log), log (log to the base 10), lg (log to
the base 2), sqrt, floor, ceil, round, rand (returns a random number
between 0 and 1), deg, rad
Trigonometric
expressions
sin, cos, tan, asin, acos, atan, sinh, cosh, tanh
Name Value Description
Boltz 1.3806503E-023 Boltzmann constant (J/K)
c0 299792458 Speed of light in vacuum (m/s)
e0 8.854187817e-012 Permittivity of vaccum (F/m)
elecq 1.602176462e-019 Electron charge (C)
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-113
Numerical values may be entered in Ansoft's shorthand for scientific notation. For example, 5x10
7
could be entered as 5e7.
Related Topics
Defining Mathematical Functions
Using Valid Operators for Expressions
Using Intrinsic Functions for Expressions
Using Piecewise Linear Functions for Expressions
Using Dataset Expressions
Using Valid Operators for Expressions
The operators that can be used to define an expression or function have a sequence in which they
are performed. The following list shows both the valid operators and the sequence in which they are
accepted (listed in decreasing precedence):
eta 376.730313461 Impedance of cacuum (Ohm)
pi 3.14159265358979 Ratio of circle circumference to diameter
u0 1.25663706143582e-066 Permeability of vacuum (H/m)
( ) parenthesis 1
! not 2
^ (or **) exponentiation
(If you use "**" for exponentiation, as in
previous software versions, it is
automatically changed to "^".)
3
- unary minus 4
* multiplication 5
/ division 5
+ addition 6
- subtraction 6
== equals 7
!= not equals 7
> greater than 7
< less than 7
>= greater than or equal to 7
Name Value Description
Maxwell 3D Online Help
4-114 Working with Maxwell Projects and Designs
Related Topics
Defining an Expression
Using Intrinsic Variables
Maxwell recognizes a set of intrinsic variables that can be used to define expressions. Intrinsic
variable names are reserved and may not be used as user-defined variable names.
User-defined variables cannot depend on any intrinsic variables.
The following intrinsic variables may be used to define expressions:
<= less than or equal to 7
&& logic and 8
|| logic or 8
Variable Units Description
_I1 through _I9 mA Terminal current in an interpretive user-defined model
_t Variable to define a parametric equation based curve
_u Variable to define a parametric equation based surface
_v Variable to define a parametric equation based surface
_V1 through _V9 mV Port voltage in an interpretive user-defined model
Ang deg Post-processing variable (cannot be set by the user)
Budget_Index Post-processing variable (cannot be set by the user)
Distance mm
ElectricalDegree deg Electrical degree of the rotating machine (cannot be set by the
user)
F GHz Frequency of the circuit/system analysis
F1 GHz Frequency of tone 1 in the harmonic balance analysis
F2 GHz Frequency of tone 2 in the harmonic balance analysis
F3 GHz Frequency of tone 3 in the harmonic balance analysis
FNoi GHz Offset noise frequency in the harmonic balance noise analysis
Freq GHz Post-processing variable (cannot be set by the user)
Ia and Ib mA Post-processing variable (cannot be set by the user)
Index Post-processing variable (cannot be set by the user)
IWavePhi deg Post-processing variable (cannot be set by the user)
IWaveTheta deg Post-processing variable (cannot be set by the user)
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-115
Using Intrinsic Functions in Expressions
Maxwell recognizes a set of intrinsic trigonometric and mathematical functions that can be used to
define expressions. Intrinsic function names are reserved and may not be used as variable names.
The following intrinsic functions may be used to define expressions:
Normalized
Deformation
Normalized
Distance
Post-processing variable (cannot be set by the user)
OP mW Post-processing variable (cannot be set by the user)
Pass Post-processing variable (cannot be set by the user)
Phase deg Post-processing variable (cannot be set by the user)
Phi deg Post-processing variable (cannot be set by the user)
R mm Post-processing variable (cannot be set by the user)
Rho Post-processing variable (cannot be set by the user)
RSpeed rpm Speed of the machine (cannot be set by the user)
Spectrum GHz Post-processing variable (cannot be set by the user)
Temp cel/deg Analysis temperature (deg)
Theta deg Post-processing variable (cannot be set by the user)
Time ns Time point in a transient analysis
Vac mV Post-processing variable (cannot be set by the user)
Vbe mV Post-processing variable (cannot be set by the user)
Vce mV Post-processing variable (cannot be set by the user)
Vds mV Post-processing variable (cannot be set by the user)
Vgs mV Post-processing variable (cannot be set by the user)
X, Y, and Z mm Post-processing variable (cannot be set by the user)
ZAng and ZRho deg Post-processing variable (cannot be set by the user)
Function Description Syntax
abs Absolute value (|x|) abs(x)
sin Sine sin(x)
cos Cosine cos(x)
tan Tangent tan(x)
Maxwell 3D Online Help
4-116 Working with Maxwell Projects and Designs
asin Arcsine asin(x)
acos Arccosine acos(x)
atan Arctangent (in range
of -/4 to /4 degrees)
atan(x)
atan2 Arctangent (in range
of -/2 to /2 degrees)
atan2(y,x)
asinh Hyperbolic Arcsine asinh(x)
atanh Hyperbolic Arctangent atanh(x)
sinh Hyperbolic Sine sinh(x)
cosh Hyperbolic Cosine cosh(x)
tanh Hyperbolic Tangent tanh(x)
even Returns 1 if integer part of the
number is even; returns 0
otherwise.
even(x)
odd Returns 1 if integer part of the
number is odd; returns 0
otherwise.
odd(x)
sgn Sign extraction sgn(x)
exp Exponential (e
x
) exp(x)
pow Raise to power (x
y
) pow(x,y)
if If if(cond_exp,true_exp, false_exp)
pwl Piecewise Linear with linear
extrapolation on x
pwl(dataset_exp, variable)
pwlx Piecewise Linear x with linear
extrapolation on x
pwlx(dataset_exp, variable)
pwl_periodic Piecewise Linear with periodic
extrapolation on x
pwl_periodic(dataset_exp, variable)
sqrt Square Root sqrt(x)
ln Natural Logarithm
(The "log" function has been
discontinued. If you use "log(x)"
in an expression, the software
automatically changes it to
"ln(x)".)
ln(x)
log10 Logarithm base 10 log10(x)
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-117
Related Topics
Defining an Expression
Using Piecewise Linear Functions in Expressions
The following piecewise linear intrinsic functions are accepted in expressions:
pwl (dataset_expression, variable)
pwlx (dataset_expression, variable)
pwl_periodic (dataset_expression, variable)
The pwl and pwlx functions interpolate along the x-axis and returns a corresponding y value. The
pwl_periodic function also interpolates along the x-axis but periodically.
Related Topics
Adding Datasets
Adding a Design Variable
Modifying Datasets
Using Dataset Expressions
Using Dataset Expressions
Dataset expressions take the following form:
dset((x
0
,y
0
), ..., (x
n
,y
n
))
These expressions may be used as the first parameter to piecewise linear (pwl, pwlx and
pwl_periodic) functions, and may also be assigned to variables, in which case the variable may be
used as the second parameter to pwl, pwlx and pwl_periodic functions.
Dataset expressions are derived from a series of points in a plot created in the Datasets dialog box.
Each plot consists of straight line segments whose vertices represent their end points. A curve is fit-
int Truncated integer function int(x)
nint Nearest integer nint(x)
max Maximum value of two
parameters
max(x,y)
min Minimum value of two
parameters
min(x,y)
mod Modulus mod(x,y)
rem Fractional part (remainder) rem(x.y)
Note If you do not specify units, all trigonometric functions interpret their arguments as
radians. Likewise, inverse trigonometric functions' return values are in given in radians.
When the argument to a trigonometric expression is a variable, the units are assumed to
be radians. If you want values interpreted in degrees, supply the argument with the unit
name deg.
Maxwell 3D Online Help
4-118 Working with Maxwell Projects and Designs
ted to the segments of the plot, and an expression is derived from the curve that best fits the seg-
mented plot. The created expression is then used in the piecewise linear intrinsic functions.
Related Topics
Adding Datasets
Adding a Design Variable
Modifying Datasets
Using Piecewise Linear Functions in Expressions
Assigning Variables
To assign a variable to a parameter in Maxwell:
Type the variable name or mathematical expression in place of a parameter value in a Value
text box.
If you typed a variable name that has not been defined, the Add Variable to DesignNamedia-
log box will appear, enabling you to define the design variable.
If you typed a variable name that included the $ prefix, but that has not been defined, the Add
Variable dialog box appears, enabling you to define the project variable.
Related Topics
Working with Variables
Choosing a Variable to Optimize
Before a variable can be optimized, you must specify that you intend for it to be used during an
optimization analysis in the Properties dialog box.
1. If the variable is a design variable, click Maxwell 2D (or Maxwell 3D, or RMxprt)>Design
Properties.
If the variable is a project variable, click Project>Project Variables.
The Properties dialog box appears.
2. Click the tab that lists the variable you want to optimize.
3. Click the row containing the variable you want to optimize.
4. Select the Optimization option.
5. For the variable you want to optimize, select Include.
The selected variable is now available for optimization in an optimetrics setup defined in the
Note You can assign a variable to nearly any design parameter assigned a numeric value in
Maxwell. See the Maxwell online help about the specific parameter you want to vary to
determine if can be assigned a variable.
Note Dependent variables cannot be optimized.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-119
current design or project.
6. Optionally, override the default minimum and maximum values that Optimetrics uses for the
variable in every optimization analysis. During optimization, the optimizer does not consider
variable values that lie outside of this range.
7. Click OK.
Related Topics
Setting up an Optimization Analysis
Including a Variable in a Sensitivity Analysis
Before a variable can be included in a sensitivity analysis, you must specify that you intend for it to
be used during a sensitivity analysis in the Properties dialog box.
1. If the variable is a design variable, click Maxwell 2D (or Maxwell 3D, or RMxprt)>Design
Properties.
If the variable is a project variable, click Project>Project Variables.
The Properties dialog box appears.
2. Click the tab that lists the variable you want to include in the sensitivity analysis.
3. Click the row containing the variable you want to include in the sensitivity analysis.
4. Select the Sensitivity option.
5. For the variable you want to include in the sensitivity analysis, select Include.
The selected variable is now available for sensitivity analysis in a sensitivity setup defined in
the current design or project.
6. Optionally, override the default minimum and maximum values that Optimetrics uses for the
variable in every sensitivity analysis. During sensitivity analysis, Optimetrics does not con-
sider variable values that lie outside of this range.
7. Optionally, override the default initial displacement value that Optimetrics uses for the vari-
able in every sensitivity analysis. During sensitivity analysis, Optimetrics will not consider a
variable value for the first design variation that is greater than this step size away from the
starting variable value.
8. Click OK.
Note Complex numbers are not allowed for variables to be used in an Optimetrics sweep, or
for optimization, statistical, sensitivity or tuning setups.
Note Dependent variables cannot be included in a sensitivity analysis.
Note Complex numbers are not allowed for variables to be used in an Optimetrics sweep, or
for optimization, statistical, sensitivity or tuning setups.
Maxwell 3D Online Help
4-120 Working with Maxwell Projects and Designs
Related Topics
Setting up a Sensitivity Analysis
Choosing a Variable to Tune
Before a variable can be tuned, you must specify that you intend for it to be tuned in the Properties
dialog box.
1. If the variable is a design variable, click Maxwell 2D (or Maxwell 3D, or RMxprt)>Design
Properties.
If the variable is a project variable, click Project>Project Variables.
The Properties dialog box appears.
2. Click the tab that lists the variable you want to tune.
3. Click the row containing the variable you want to tune.
4. Select the Tuning option.
5. For the variable you want to tune, select Include.
6. Click OK.
The selected variable is now available for tuning in the Tune dialog box.
Related Topics
Tuning a Variable
Including a Variable in a Statistical Analysis
Before a variable can be included in a statistical analysis, you must specify that you intend for it to
be used during a statistical analysis in the Properties dialog box.
1. If the variable is a design variable, click Maxwell 2D (or Maxwell 3D, or RMxprt)>Design
Properties.
If the variable is a project variable, click Project>Project Variables.
The Properties dialog box appears.
2. Click the tab that lists the variable you want to include in the statistical analysis.
3. Click the row containing the variable you want to include in the statistical analysis.
4. Select the Statistics option.
5. For the variable you want to include in the statistical analysis, select Include.
The selected variable is now available for statistical analysis in a statistical setup defined in the
Note Dependent variables cannot be tuned.
Note Complex numbers are not allowed for variables to be used in an Optimetrics sweep, or
for optimization, statistical, sensitivity or tuning setups.
Note Dependent variables cannot be included in a statistical analysis.
Maxwell 3D Online Help
Working with Maxwell Projects and Designs 4-121
current design or project.
6. Optionally, override the distribution criteria that Optimetrics uses for the variable in every sta-
tistical analysis.
7. Click OK.
Related Topics
Setting up a Statistical Analysis
Exporting Variables for Documentation
By right-clicking in the Project Variables dialog, you can copy a a list of variables and their values
to the clipboad. You can then paste these variables elsewhere.
The pasted variables appear in a tab separated column format. Fields that do not contain values are
left blank.:
Related Topics
Assigning Variables
Note Complex numbers are not allowed for variables to be used in an Optimetrics sweep, or
for optimization, statistical, sensitivity or tuning setups.
Name Value Unit "Evaluated Value "Description Read-only Hidden
$width 14.8570192 mm 14.8570192mm false false
$length 7.824547736 mm 7.824547736mm false false
$height 0.45*$width 6.68565864mm false false
Maxwell 3D Online Help
4-122 Working with Maxwell Projects and Designs
Setting Up a Maxwell Design 5-1
5
Setting Up a Maxwell Design
After you insert a design, you do not need to perform the basic steps sequentially, but they all must
be completed before a solution can be generated.
To set up a Maxwell design, follow this general procedure:
1. Insert a Maxwell design into a project. After you insert the design, you can then set the model's
units of measurement and the background material.
2. Draw the model geometry.
3. Specify the solver type.
4. Assign material characteristics to objects.
5. Assign boundaries and excitations.
6. (For Transient Solutions Only) Set up motion.
7. Add parameters for which you want to solve.
8. Specify mesh settings.
9. Specify how Maxwell will compute the solution.
10. (Optional) Set up any optimetrics you want to run.
11. Run the simulation.
12. View solution results, post-process results, view reports, and create field overlays.
13. (Optional) Export the circuit to generate a circuit equivalent of the model.
Maxwell 3D Online Help
5-2 Setting Up a Maxwell Design
Inserting a Maxwell Design
The first step in setting up a Maxwell Project is to add a design to the active project.
To insert a design:
1. Click Project and select one of the following:
Insert Maxwell 3D Design
Insert Maxwell 2D Design
Insert RMxprt Design
2. The new design is listed in the project tree. It is named Maxwell3DDesignn,
Maxwell2DDesignn, or RMxprtDesignn by default, where n is a number signifying the order
in which the design was added to the project.
The Modeler window appears to the right of the Project Manager. You can now create the
model geometry.
Related Topics
Setting the Project Tree to Expand Automatically
Note Click the plus sign to the left of the design icon in the project tree to expand the project
tree and view specific data about the model.
Maxwell 3D Online Help
Setting Up a Maxwell Design 5-3
Setting the Model's Units of Measurement
You can specify the units of measurement for drawing geometric models. After the units of mea-
surement have been specified, they are assigned to the objects in the Modeler window. You can
then choose to display the model's dimensions in the new units, or rescale the model's dimensions
to the new units.
To set the model's units of measurement:
1. Click Modeler>Units.
The Set Model Units dialog box appears.
2. Select the new units for the model from the Select units pull-down list.
3. Specify how the change in units affects the model:
Select the Rescale to new units option to rescale the dimensions to the new units. For
example, selecting centimeters (cm) as the new unit of measurement results in a dimen-
sion of 10 millimeters (mm) becoming 10 cm.
Clear the Rescale to new units option (the default) to convert the dimensions to the new
units without changing their scale. For example, selecting cm as the new unit of measure-
ment results in a dimension of 10 mm becoming 1 cm.
4. Click OK to apply the new units to the model.
Maxwell 3D Online Help
5-4 Setting Up a Maxwell Design
Design Settings
The Design Settings dialog allows you to specify how the simulator will deal with some aspects of
the design. The tabs present in this dialog, and the options available on each tab, vary with the solu-
tion type.
Set the Material Threshold for treating materials as conductors/insulators.
Set the Material Override (Maxwell3D Only) to allow metals to automatically override dielec-
trics.
Set the Matrix Computation method for Magnetostatic Solutions.
u
1 j
------
\ .
| |
1 j tan ( ) = =
Maxwell 3D Online Help
8-8 Assigning Materials
where is the magnetic loss tangent.
For anisotropic magnetic materials, a tensor material property needs to be used. The anisotropic rel-
ative permeability tensor has the following expression:
Magnetostatic and transient solutions only.
Maxwell allows the anisotropic magnetic material to exhibit nonlinear characteristics (magneto-
static and transient solutions only) on all three principle axes of the chosen coordinate system, in
which case the respective nonlinear characteristics must be specified.
For example, for laminations with anisotropic behavior in the plane of the lamination, the Aniso-
tropic type of material should be specified for the Relative Permeability property, and the two
respective B-H curves should be entered. For the third direction (lamination stacking direction),
one of the specified two B-H curves should also be applicable. The composition field should be set
to lamination, and the stacking factor and stacking direction should be specified (see also lamina-
tion model).
General
If the material property is anisotropic, its characteristics are defined by its anisotropy tensor. You
must define three diagonals for anisotropic permeability. Each diagonal represents a tensor of your
model along an axis.
These tensors are relative to the coordinate system specified as the objects Orientation property.
By specifying different orientations, several objects can share the same anisotropic material but be
oriented differently.
1. In the Relative Permeability row in the View/Edit Material window, select Anisotropic
from the Type pull-down list.
Three rows named T(1,1), T(2,2) and T(3,3) are added below the Relative Permeability row.
2. Enter the relative permeability along one axis of the materials permeability tensor in the
Value box of the T(1,1) row.
3. Enter the relative permeability along the second axis in the Value box of the T(2,2) row.
4. Enter the relative permeability along the third axis in the Value box of the T(3,3) row.
If the relative permeability is the same in all directions, use the same values for each axis.
tan
1 j
1
tan ( ) 0 0
0
2
1 j
2
tan ( ) 0
0 0
3
1 j
3
tan ( )
=
Maxwell 3D Online Help
Assigning Materials 8-9
These values can also be defined as variables.
Related Topics
Setting Coordinate Systems
Creating a Relative Coordinate System
Change the Orientation of an object
Defining Anisotropic Relative Permittivity Tensors
Defining Anisotropic Conductivity Tensors
Defining Anisotropic Dielectric Loss Tangent Tensors
Defining Magnetic Loss Tangent Tensors
Defining Anisotropic Relative Permittivity Tensors
Eddy or frequency domain solutions only.
The relative dielectric permittivity of dielectrics is assumed to be a complex quantity, expressed as
the following:
where is the real part of the complex permittivity (the same as the usual relative dielectric con-
stant), is the imaginary part of the complex permittivity, and j is the imaginary unit.
The relationship above can also be written as the following:
where is the dielectric loss tangent.
For anisotropic dielectrics, a tensor material property needs to be used. The anisotropic relative per-
mittivity tensor has the following expression:
j =
1 j
-----
\ .
| |
1 j tan ( ) = =
tan
1 j
1
tan ( ) 0 0
0
2
1 j
2
tan ( ) 0
0 0
3
1 j
3
tan ( )
=
Maxwell 3D Online Help
8-10 Assigning Materials
If the material property is anisotropic, its characteristics are defined by its anisotropy tensor. You
must define three diagonals for anisotropic permittivity. Each diagonal represents a tensor of your
model along an axis.
These tensors are relative to the coordinate system specified as the objects Orientation property.
By specifying different orientations, several objects can share the same anisotropic material but be
oriented differently.
1. In the Relative Permittivity row in the View/Edit Material window, select Anisotropic from
the Type pull-down list.
Three rows named T(1,1), T(2,2) and T(3,3) are added below the Relative Permittivity row.
2. Enter the materials relative permittivity along one tensor axis in the Value box of the T(1,1)
row.
3. Enter the relative permittivity along the second axis in the Value box of the T(2,2) row.
4. Enter the relative permittivity along the third axis in the Value box of the T(3,3) row.
If the relative permittivity is the same in all directions, use the same values for each axis.
These values can also be defined as variables.
Related Topics
Setting Coordinate Systems
Creating a Relative Coordinate System
Change the Orientation of an object
Defining Anisotropic Relative Permeability Tensors
Defining Anisotropic Conductivity Tensors
Defining Anisotropic Dielectric Loss Tangent Tensors
Defining Magnetic Loss Tangent Tensors
Defining Anisotropic Conductivity Tensors
Electric conductivity can be simple or anisotropic. In either case, the corresponding values are
entered in S/m (Siemens per meter).
If the material property is anisotropic, its characteristics are defined by its anisotropy tensor. You
must define three diagonals for anisotropic conductivity. Each diagonal represents a tensor of your
model along an axis.
These tensors are relative to the coordinate system specified as the objects Orientation property.
By specifying different orientations, several objects can share the same anisotropic material but be
oriented differently.
1. In the Bulk Conductivity row in the View/Edit Material window, select Anisotropic from
the Type pull-down list.
Three rows named T(1,1), T(2,2) and T(3,3) are added below the Bulk Conductivity row.
2. Enter the conductivity along one axis of the materials conductivity tensor in the Value box of
the T(1,1) row.
Maxwell 3D Online Help
Assigning Materials 8-11
3. Enter the conductivity along the second axis in the Value box of the T(2,2) row.
4. Enter the conductivity along the third axis in the Value box of the T(3,3) row.
The values of the conductivity along the first and second axis apply to all axes that lie in the xy
cross-section being modeled. The values of the conductivity along the third axis applies to the z-
component. These values affect current flowing in dielectrics between the conductors.
These values can also be defined as variables.
Related Topics
Setting Coordinate Systems
Creating a Relative Coordinate System
Change the Orientation of an object
Defining Anisotropic Relative Permeability Tensors
Defining Anisotropic Relative Permittivity Tensors
Defining Anisotropic Dielectric Loss Tangent Tensors
Defining Magnetic Loss Tangent Tensors
Defining Anisotropic Dielectric Loss Tangent Tensors
To represent a dielectric that dissipates the power of a high-frequency electric field, enter a dielec-
tric loss tangent, , property value for the material. The smaller the loss tangent, the less lossy
the material.
If the material property is anisotropic, its characteristics are defined by its anisotropy tensor. You
must define three diagonals for electric loss tangent. Each diagonal represents a tensor of your
model along an axis.
These tensors are relative to the coordinate system specified as the objects Orientation property.
By specifying different orientations, several objects can share the same anisotropic material but be
oriented differently.
If electric loss tangent is anisotropic, do the following:
1. In the Dielectric Loss Tangent row in the View/Edit Material window, select Anisotropic
from the Type pull-down list.
Three rows named T(1,1), T(2,2) and T(3,3) are added below the Dielectric Loss Tangent
row.
2. Enter the ratio of the imaginary relative permittivity to the real relative permittivity in one
direction in the Value box of the T(1,1) row.
3. Enter the ratio of the imaginary relative permittivity to the real relative permittivity in the sec-
ond direction in the Value box of the T(2,2) row.
4. Enter the ratio of the imaginary relative permittivity to the real relative permittivity in the third
orthogonal direction in the Value box of the T(3,3) row.
If the electric loss tangent is the same in all directions, use the same values for each direction.
These values can also be defined as variables.
d
2
6
------
=
Maxwell 3D Online Help
8-22 Assigning Materials
Minimize the quadratic form to obtain K
1
and K
2
.
where P
vi
,B
mi
the i-th point of the data on the measured loss characteristics curve.
The other two loss coefficients are obtained as
where f
0
is the testing frequency for Loss Curve.
Related Topics:
Core Loss Coefficients for Electrical Steel
Importing a BP Curve From a File
For the loss characteristics (B-P Curve), you first set the Core Loss Type of the material to Electri-
cal Steel (rather than None or Power Ferrite) as a material property in the View Edit window. When
you do so, this enables the Calculate Properties selection for drop down at the bottom of the win-
dow. Select "Core Loss Coefficient" from the drop down menu to open the B-P Curve window.
Do the following in the BP Curve dialog box:
1. Click Import from file.
The Import data dialog box appears.
2. Find and select the tab separated points file containing the BP curve data points.
3. Click Open.
4. Optionally, click Swap X-Y Data to switch the B values and P values if they are in the wrong
columns.
Manually Specifying BP Curve Coordinates
For the loss characteristics (B-P curve), you first open the View / Edit window and set the Core
Loss Type of the material to Electrical Steel (rather than None or Power Ferrite) as a material
property. Doing so enables the Core Loss Coefficient selection in the Calculate Properties for
pull-down list at the bottom of the dialog box.
f K
1
K
2
, ( ) P
vi
K
1
B
mi
2
K
2
B
mi
1.5
+
\ .
| |
2
min = =
K
h
K
1
K
c
f
0
2
\ .
| |
f
0
=
K
e
K
2
f
0
1.5
=
Maxwell 3D Online Help
Assigning Materials 8-23
Select Core Loss Coefficient from the Calculate Properties for pull-down list to open the BP
Curve dialog box.
Do the following in the BP Curve dialog box:
Enter B and P values in each row of the Coordinates table.
As you enter values, the graph is updated.
To add or edit rows, click the following buttons:
Add Row Above
Add Row Below
Append Rows (In the dialog box that appears, specify the number of rows to append to the
table, and click OK.)
Delete Rows
Note The value of B must increase along the curve.
Placing the cursor in the field in the Coordinates table enables the Add Row and Delete
Row buttons.
Maxwell 3D Online Help
8-24 Assigning Materials
Assigning Materials from the Object Properties Window
The Properties dialog for each object includes a materials property. If you click on the current mate-
rial property you see a drop down list that includes and Edit .. command and a list of materials in
the current project. You can select from the list of current materials to assign the selected material
to that object.
Related Topics
Assigning Materials
Maxwell 3D Online Help
Assigning Materials 8-25
Viewing and Modifying Material Attributes
1. In the Select Definition dialog box or the Edit Libraries dialog box, select the material you
want to view or modify.
2. Click View/Edit Materials.
The View/Edit Material dialog box appears. The material name and its property values are
listed.
3. Under View/Edit Material for, select:
Active Design to display properties used in the active design.
This Product to display properties commonly used by this product.
All Products to display all properties available. This enlarges the table of properties to
show all properties possible. You can use the scroll bars or size the dialog to see all prop-
erties.
4. You can modify the material as follows:
a. Provide a new name for the material in the Material Name text box.
b. Under Type, specify whether a material property is Simple, Anisotropic, Vector and
Vector Mag, or for Relative Permeability, Non-linear, as required for that property.
For Simple, you provide a value or variable.
For Anisotropic, you provide tensor values.
For Vector, you provide a Vector Mag.
For Non-Linear, you provide a Data Set.
c. Provide new material property values in the Value boxes.
d. Change the units for a material property.
5. Click OK to save the changes and return to the Select Definition or Edit Libraries dialog
box.
Related Topics
Validating Materials
Defining Variable Material Properties
Note By default, not all of the available properties are displayed in the materials table. Only
the properties commonly used by the product are displayed. To view the complete table
of properties, see Filtering Materials.
Note Materials stored in Ansoft's global material library cannot be modified.
Warning If you modify a material that is assigned in the active project after generating a
solution, the solution becomes invalid.
Maxwell 3D Online Help
8-26 Assigning Materials
Copying Materials
Removing Materials
Export Materials to a Library
Sorting Materials
Filtering Materials
Working with Materials Libraries
Maxwell 3D Online Help
Assigning Materials 8-27
Setting the Material Threshold
The material thresholds tell the Maxwell 2D and Maxwell 3D solvers how to deal with conductors
and insulators. Materials with conductivities above the Perfect Conductor threshold are treated as
having infinite conductivity and surface current only. Materials with conductivity values below the
Insulator/Conductor threshold are treated as insulators with no conductivity and no current carry-
ing capability. Materials that fall between the two thresholds are treated as normal conductors that
can carry current throughout the volume of the material.
1. Click Maxwell>Design Settings. The Design Settings dialog box appears.
The material thresholds are set in the Material Thresholds tab.
2. Type a value in the Perfect Conductor text box.
3. Type a value in the Insulator/Conductor text box.
4. Click OK.
Maxwell 3D Online Help
8-28 Assigning Materials
Validating Materials
Maxwell and RMxprt can validate a material's property parameters for an Ansoft software product.
For example, it checks if the range of values specified for each material property is reasonable.
To validate the material attributes listed in the View/Edit Material dialog box:
In the View/Edit Material dialog box, select a product from the Select Ansoft Product area,
and then click Validate Now.
If a material's property parameters are invalid, an error message appears in the lower-right cor-
ner of the View/Edit Material dialog box. If the parameters are valid, a green check mark
appears.
Maxwell 3D Online Help
Assigning Materials 8-29
Copying Materials
1. In the Select Definition dialog box or the Edit Libraries dialog box, select the material you
want to copy.
2. Click Clone Material(s).
The View/Edit Material dialog box appears.
3. To modify the material's attributes, follow the directions for modifying materials.
4. Click OK to save the copy in the active project's material library.
Maxwell 3D Online Help
8-30 Assigning Materials
Removing Materials
1. In the Select Definition dialog box or the Edit Libraries dialog box, select a material you
want to remove from the active project's material library.
2. Click Remove Material(s).
A message appears asking if you want to continue.
3. Click Yes.
The material is deleted from the project material library.
In a project library, you may want to use the Project>Remove Unused Definitions command
to remove selected materials definitions that your project does not require.
Note The following materials cannot be deleted:
Materials stored in Ansoft's global material library.
Materials that have been assigned to objects in the active project.
Maxwell 3D Online Help
Assigning Materials 8-31
Exporting Materials to a Library
1. In the Select Definition dialog box or the Edit Libraries dialog box, select the material you
want to export.
2. Click Export to Library.
The Save As file browser appears.
3. Do one of the following to specify the location:
Click PersonalLib to export the material to a local project directory, accessible only to the
user that created it.
Click UserLib to export the material to a library that is shared by more than one user, usu-
ally in a central location.
4. Type the library's file name.
5. Click Save.
Maxwell 3D Online Help
8-32 Assigning Materials
Sorting Materials
You can change the order of the materials listed in the Select Definition dialog box or the Edit
Libraries dialog box. You can sort the list of materials by name, library location, or material prop-
erty value.
To change the order of the listed materials:
Click the column heading by which you want to order the materials.
If the arrow in the column heading points up, the material data are listed in ascending order (1
to 9, A to Z) based on the values in the column you chose. If you want the material data to be
listed in descending order (9 to 1, Z to A), click the column heading again. The arrow then
points down.
The Material Filters tab of the Edit Libraries dialog box allows you to specify the default for
whether to filter for This Product or All Products.
Note By default, not all of the available properties are displayed in the materials table. Only
the properties commonly used by the product are displayed. To view the complete table
of properties, see Filtering Materials.
Maxwell 3D Online Help
Assigning Materials 8-33
Filtering Materials
If you want to remove certain materials or material properties from the list in the Select Definition
window, use the filter options under the Material Filters tab. You can filter out materials based on
the product or library with which they are associated. You can also filter out material properties and
types of material properties. And you can remove the filtering in order to see all available material
properties.
To filter materials or material properties listed in the Select Definition window, using the choices
in the Materials tab:
1. The text field under Libraries lists the libraries for the project. Selecting the listed library high-
lights it and cause the table to display the materials in that library.
2. Above the Libraries area, you can check or uncheck boxes to show or hide Project Definitions
and All Libraries.
With both unchecked, nothing appears in the materials table. With both checked, the table
shows all materials and highlights those used in the project.
With only Project Definitions checked, the materials table shows only the materials used
in the project.
With All Libraries checked, the table displays all materials, but may not show all available
properties.
To filter out or show additional material properties in the Materials tab:
1. Click the Material Filters tab.
2. Under Filter Materials and Properties for, select one of the radio buttons:
Click Select All to select all of the products listed. Click Clear to clear all product selec-
tions.
Active Design to display properties used in the active design.
This Product to display properties commonly used by this product.
All Products to display all properties available. Selecting this enlarges the table of proper-
ties shown under the Materials tab to show all properties possible. You can use the scroll
bars or size the dialog to see all properties.
3. Click the Materials tab to save your selections.
Click Cancel to revert back to the last saved selections.
Related Topics
Validating Materials
Copying Materials
Removing Materials
Export Materials to a Library
Sorting Materials
Working with Materials Libraries
Maxwell 3D Online Help
8-34 Assigning Materials
Working with Material Libraries
There are two different kinds of materials libraries in Maxwell, a system library and a user library.
Related Topics
Editing Libraries
Configuring Libraries
Working with Ansoft's System Material Library
Maxwell provides you with a global, or system library of predefined materials. Global materials in
the Ansoft system library are available in every Maxwell project. They cannot be modified.
You can create a global system library that is stored in a common location and available to multiple
users.
Working with User Material Libraries
You can create your own personalized global material library, or user library, that can be used in
any Maxwell project only by the user that created it. User-defined global materials can be modified
at any time.
You can also create a personalized local user library that is used only in the active Maxwell proj-
ect.
Editing Libraries
There are two different methods of editing libraries.
Using right-click on Materials in the project window to display the Edit All Libraries shortcut
menu. Clicking displays the Edit Libraries window.
Editing definitions from the project window does not modify the configured libraries for any
particular design, since this is editing in general.
Using Tools>Edit Configured Libraries>Materials from the menu bar takes the current
design into account and adds any new libraries to the configured list for the design.
Related Topics
Adding New Materials
Configuring Design LIbraries
Editing Material Definitions
Exporting Materials to a Library
Permanent Magnets
Nonlinear Materials
Configuring Design Libraries
To configure system, user, and personal libraries:
1. Click Tools>Configure Libraries.
Maxwell 3D Online Help
Assigning Materials 8-35
The Configure Design Libraries dialog box appears.
2. Select one of the following radio buttons:
System Libraries
User Libraries
Personal Libraries
The libraries update in the Available Libraries list. Depending on which library type you
selected, you can configure the following types of libraries: Materials, RMxprt, Maxwell Cir-
cuit Elements, and User Defined Primitives.
3. In the Available Libraries list, select a library you want to configure, and click the >> button.
The library appears in the Configured Libraries list.
Alternatively, you can double-click the item in the Available Libraries list, to move it to
the Configured Libraries list.
To un-configure a library, move it back from the Configured Libraries list to the Avail-
able Libraries list (by selecting the item and then double-clicking or clicking the << but-
ton).
4. If you want the newly added library to be loaded for each new project and design, select the
Save as default check box.
5. When you are finished configuring libraries, click OK to close the Configure Design Librar-
ies dialog box.
Maxwell 3D Online Help
8-36 Assigning Materials
Related Topics
Exporting Materials to a Library.
Editing Material Definitions
When editing material definitions or adding a material to the user/personal library, use the menu
command (Tools>Edit Configured Libraries>Materials) rather than the project tree. Editing or
defining definitions by right-clicking in the project tree window does not modify the configured
libraries for any particular design it only edits the material in general. When you use the menu
command, the current design is considered, and any new libraries are added to the configured list
for the current design and made available to assign in the current project.
To edit a material's definition:
1. Click Tools>Edit Configured Libraries>Materials.
The Edit Libraries dialog appears.
2. In the Search Parameters section, select the library database. By default the Material System
Library is selected.
3. Select the material you want to edit, and click View/Edit Materials.
The View/Edit Material dialog appears.
4. Make the desired changes to the Material Name, the Material Coordinate System Type, and
the properties listed in the Properties of the Material section.
5. From the View/Edit Material for section, select whether the changes shall apply to the active
design only, to the open product only, or to all products using this material (Active Design,
This Product, or All Products).
6. For 3D Designs Only: You may optionally set a Thermal Modifier to specify that certain mate-
rial properties have characteristics that vary with temperature.
7. Click Validate Material to make sure your changes are valid.
If the material properties are valid, a green check mark appears below the Validate Material
button.
8. Optionally, use the Calculate Properties for... drop down list to calculate properties for a per-
manent magnet or a Non-Linear Permanent Magnet.
9. Optionally, to calculate properties for core loss, select Core Loss Coefficient from the Calcu-
late Properties for... drop down list.
10. When you are done making changes to the material properties, click OK.
The Edit Libraries dialog reappears.
11. If you are finished in the View/Edit Material dialog, click OK to close it.
Setting a Thermal Modifier
Materials used in 3D Designs and for sheet objects in 2D Designs may have a Thermal Modifier
assigned to change specific material properties with temperature, primarily for use when coupling
to ePhysics.
Maxwell 3D Online Help
Assigning Materials 8-37
To specify Thermal modifiers for a material:
1. In the View/ Edit materials dialog you must enable the View/ Edit Modifier checkbox for
Thermal Modifier.
This causes the Properties of the Material table to expand to include a Thermal Modifier col-
umn. By default, the Thermal Modifier property is set to None.
2. Selecting Edit... from the drop down menu, rather than None causes the Edit Thermal Modi-
fier dialog to appear.
3. Select the Expression radio button to display the Parameters Modifier text field or the Qua-
dratic radio button to display the tabs for Basic Coefficient Set and Advanced Coefficient
Set.
With Expression selected, you can write an equation for a thermal modifier in the Param-
eters Modifier text field.
Checking Use temperature dependent data set disables the Modifier text field. You can
then use the drop down menu to select Add/Import Dataset. This lets you define the ther-
mal modifier as a data set.
With the Quadratic radio button selected, in the Basic Coefficient Set tab, you can edit
fields for the TempRef and units, and fields for C1 and C2 for the following equation:
P(Temp) = Pref[1+ C1(Temp - TempRef) + C2(Temp - TempRef)^2]
where the Pref is defined as the reference relative permittivity.
With the Quadratic radio button selected, in the Advanced Coefficient Set tab, you can
edit fields for lower and upper temperature limits (TL and TU respectively) and select
their units from the drop down.
You can also edit the constant value limit for the thermal modifier values outside the lim-
its. By default, these are automatically calculated. Uncheck Auto Calculate TML, TMU
to specify new values for thermal modifier lower (TML) and thermal modifier upper
(TMU) limits.
4. Click OK to accept the edits and return to the View/ Edit materials dialog.
Related Topics
Adding Datasets
View/ Edit materials dialog
Set Ambient Temperature
Maxwell 3D Online Help
8-38 Assigning Materials
Setting the Temperature of Objects
To set the temperature of temperature dependent objects:
1. Use the Maxwell>Set Object Temperature command to display the Temperature of
Objects dialog box.
This dialog box includes a table of the objects in the design. The first column lists the Object
Name. The second column lists the Material. The Temperature Dependent column displays
a checkbox to show whether that object has temperature dependent features. The remaining
columns give the object Temperature and Unit of measure.
2. Maxwell allows you to enable/disable temperature dependency independently for each design
in the same project. To include temperature dependency and enable the editing features, check
Include Temperature Dependence.
This makes the table objects selectable. The headers for the Object Name column and the
Material column include sort direction arrows. You can invert the sort direction in each col-
umn by clicking the header. If the list is longer than the display, you can use a scroll bar on the
Maxwell 3D Online Help
Assigning Materials 8-39
right of the table.
With the dialog enabled, you can use the Select by name field. Enter the name of the object
you want and click Select.
Selected objects are highlighted. You can make multiple selections.
3. To set the initial Temperature for a selected Temperature Dependent object or objects, type
the value or an existing variable name in the text field; then select the unit of measure from the
drop down menu.
4. Click Set to apply the value to the selected temperature dependent objects, or click Set Default
to make the specified values the default.
If you click Set Default, the row(s) for the selected object(s) display the Temperature value
and units.
5. When temperature dependence is enabled, you can edit the material for an object by clicking
on the material for the row to display a drop down menu listing the material and an Edit...
menu item.
Select Edit... to display the Materials dialog in which you can edit the material for the selected
object. When finished, close the dialog to return to the Temperature of Objects dialog
6. The Enable Feedback checkbox appears when Maxwell is used with the ANSYS Workbench.
If checked, you can perform thermal analysis based on a Maxwell solution.
7. To close the Temperature of Objects dialog and accept the changes, click OK.
Related Topics
Reverting Objects to Initial Temperature
Reverting Objects to Initial Temperature
When a design is is enabled for thermal feedback, a Revert to Initial Temperature menu item is
added to the context menu of the solution setup item and analysis setup folder in the project tree.
This menu item is enabled when there are exported thermal data from Mechanical or when thermal
data has been incorporated into the current Maxwell solution. Choosing Revert to Initial Temper-
ature reverts the temperatures of objects to their initial temperatures.
Maxwell 3D Online Help
8-40 Assigning Materials
Setting Deformation of Objects for Stress Feedback
For Maxwell systems that are coupled to ANSYS Structural via Workbench., users can enable
objects for stress feedback in the Deformation of Objects dialog box.
To set the deformation of stress dependent objects:
1. Use the Maxwell>Deformation of Objects command to display the Deformation of Objects
dialog box.
This dialog box includes a table of objects in the design. The first column lists the Object
Name. The second column lists the Material. The Deformation Dependent column displays
a checkbox to show whether that object has deformation-dependentcy enabled.
Objects without an assigned material, non-model objects, non-3D objects in Maxwell 3D
designs, and non-2D objects in Maxwell 2D designs cannot be handled by the solver and thus
do not appear in the table.
2. To include deformation dependency, check Enable Stress Feedback.
This makes the table objects selectable. The headers for the Object Name column and the
Material column include sort direction arrows. You can invert the sort direction in each col-
umn by clicking the header. If the list is longer than the display, you can use a scroll bar on the
right of the table.
3. Check the Deformation Dependent checkbox for those objects you wish to include in the
Maxwell 3D Online Help
Assigning Materials 8-41
stress feedback analysis.
4. To close the Deformation of Objects dialog box and accept the changes, click OK.
Related Topics
Reverting Objects to Zero Displacement
Reverting Objects to Zero Displacement
When a design is is enabled for stress feedback, a Revert to Zero Displacement menu item is
added to the context menu of the solution setup item and analysis setup folder in the project tree.
This menu item is enabled when there are exported displacement data from structural or when dis-
placement data has been incorporated into the current Maxwell solution. Choosing Revert to Zero
Displacement reverts the displacement values of objects to zero.
Note Switching the state of Enable Stress Feeback or Deformation Dependent for any
object invalidates the existing solution. Existing solutions include all field and non-field
solutions, such as force and torque. When these options are switched from on to off,
existing field solutions include previously incorporated displacement data. On the next
simulation, the design will re-solve the last solved pass.
Maxwell 3D Online Help
8-42 Assigning Materials
Permanent Magnets
A permanent magnet is defined as a material that generates a magnetic flux due to permanent mag-
netic dipoles in that material.
Related Topics
Non-Linear vs. Linear Permanent Magnets
Characteristics and Main Parameters of Permanent-magnetic Materials
Calculating the Properties for a Permanent Magnet
Calculating the Properties for a Non-Linear Permanent Magnet
Nonlinear vs. Linear Permanent Magnets
In general, permanent magnets are nonlinear and should be modeled via a B-H curve as shown
below. The magnetic coercivity, H
c
, is defined as the B-H curve's H-axis intercept, and the mag-
netic remanence, B
r
, as its B-axis intercept.
In many applications, however, the permanent magnet's behavior can be approximated using a lin-
ear relationship between B and H. In these cases, there is no need to create a nonlinear material.
Simply enter the appropriate values of B
r
or H
c
for the material when defining its properties.
Related Topics
Characteristics and Main Parameters of Permanent-magnetic Materials
Calculating the Properties for a Permanent Magnet
Calculating the Properties for a Non-Linear Permanent Magnet
Compute Remanent Br from B-H curve
The value of the remanent Br of the individual element after the magnetization field is computed is
determined in such a way: after having located the operating point on the original non-remanent B-
Linear Permanent Magnet
B
H
Br
Hc
Nonlinear Permanent Magnet
Maxwell 3D Online Help
Assigning Materials 8-43
H curve, draw a line which is parallel to the original recoil curve with the slope of and
passes the operating point, the intersection of this line with B-axis is the remanent Br as the result
of the applied magnetization field.
Temperature Dependent Nonlinear Permanent Magnets
To consider the temperature dependence of the demagnetization behavior, the demagnetization
curve is described by temperature dependent parameters, which can be derived from supplier data-
sheets. For a better representation of any types of magnets by a function, it is advantageous to work
with an intrinsic flux density B
i
versus H curve, instead of a flux density B vs H curve. The rela-
tionship between B
i
and B is:
The temperature dependency of an intrinsic BH curve can be specified by two temperature depen-
dent parameters: remanent flux density B
r
and intrinsic coercivity H
ci
. Here B
r
is the value of B
i
(1)
r
0.0 2000.0 4000.0 6000.0 8000.0 10000.0
H [A/m]
0.00
0.20
0.40
0.60
0.80
1.00
1.20
1.40
1.60
1.80
2.00
B
[
T
]
Ansoft LLC
Steel_1010 ANSOFT
B B
i
0
H + =
Maxwell 3D Online Help
8-44 Assigning Materials
(and B) when H=0 and H
ci
is the value of H at B=0. Both B
r
and H
ci
can be described using second
order polynomials of temperature T as:
and
where T
0
is the reference temperature, and
1
,
2
,
1
, and
2
are coefficients which can be identi-
fied from supplier datasheets. In general, the thermal modifiers P(T) and Q(T) also can be described
by any user-defined function of temperature T, in addition to the above second order polynomials.
Consequently, once a B
i
-H curve is constructed by a function using certain techniques, such as
curve fitting at the reference temperature T
0
, any B
i
-H curves at other temperatures can be dynami-
cally reconstructed in terms of the temperature dependence of B
r
(T) and H
ci
(T). Finally, the B-H
curve in the second and the third quadrants can be further derived through the conversion using
equation (1).
Since the model specifies two temperature dependent parameters: remanent flux density B
r
() and
intrinsic coercivity H
ci
(), the thermal modifier P(T) is specified in the field associated with the
input of relative permeability (or B
i
-H curve), and the thermal modifier Q(T) is specified in the
field associated with the the magnitude of coercivity for H
ci
.
Characteristics and Main Parameters of Permanent-magnetic Materials
The permanent-magnetic material belongs to hard-magnetic material. It is characterized with "fat"
hysteresis loop, which encloses large area as shown in the figure. When magnetized, it keeps high
magnetic property with the external magnetic field removed, therefore is used in the permanent-
magnet electric machine to produce magnetic field. The characteristics of the permanent-magnetic
material are represented with its main parameters: residual flux density B
r
, coercive field force H
c
and maximum magnetic energy product (BH)
max
.
(1)
(1)
B
r
T ( ) B
r
T
0
( ) 1
1
T T
0
( )
2
T T
0
( )
2
+ + ( ) B
r
T
0
( )P T ( ) = =
H
ci
T ( ) H
ci
T
0
( ) 1
1
T T
0
( )
2
T T
0
( )
2
+ + ( ) H
ci
T
0
( )Q T ( ) = =
Maxwell 3D Online Help
Assigning Materials 8-45
"Fat" Hysteresis Loop
Related Topics
Demagnetization Curve
Calculating the Properties for a Permanent Magnet
Calculating the Properties for a Non-Linear Permanent Magnet
Temperature Dependent Nonlinear Permanent Magnets
Demagnetization Curve
The part of the maximum hysteresis loop of the permanent-magnetic material in the second quad-
rant is called the demagnetization curve as shown in the next figure. It is the basic characteristics
curve of the permanent-magnetic material. On the demagnetization curve, the magnetic flux den-
sity has positive values, but the magnetic field intensity has negative values. It means that the per-
manent-magnetic material is applied with demagnetization magnetic field intensity. Since H
m
and
B
m
are in opposite directions, when the magnetic flux goes through the permanent-magnetic mate-
rial, the magnetic potential difference along the direction of the magnetic flux does not drop, but
Maxwell 3D Online Help
8-46 Assigning Materials
rises. Therefore, the permanent-magnetic material is a magnetic source, similar to the electric
source in the electric circuit.
Demagnetization Curve
The two extreme positions on the demagnetization curve are the two significant parameters to rep-
resent the magnetic characteristics of the permanent-magnetic material. On the demagnetization
curve, the value of the magnetic flux density corresponding to zero magnetic field intensity H is
termed residual flux density B
r
, on the other hand, the value of the magnetic field intensity corre-
sponding to zero magnetic flux density B is termed coercive field force H
c
. The produce of the
magnetic flux density and the magnetic field intensity at any point on the demagnetization curve is
termed magnetic energy product (BH), which is proportional to the magnetic energy density pos-
sessed by the permanent magnet at the given operating situation. At the two extreme positions
(B = B
r
, H = 0) and (B = 0, H = H
c
), the magnetic energy product is equal to zero. Somewhere at an
intermediate position, the magnetic energy reaches its maximum value and is termed maximum
magnetic energy product (BH)
max
, which is another significant parameter to represent the magnetic
characteristics of the permanent-magnetic material. To some permanent-magnetic materials with
linear demagnetization curve, it is obvious that at (B = B
r
/ 2, H = H
c
/ 2), the magnetic energy
product reaches its maximum value, i.e. (BH)
max
= B
r
H
c
/ 4.
Related Topics
Recoil Lines
Calculating the Properties for a Permanent Magnet
Calculating the Properties for a Non-Linear Permanent Magnet
Temperature Dependent Nonlinear Permanent Magnets
Recoil Lines
The relationship between the magnetic flux density and the magnetic field intensity represented by
the demagnetization curve only exists when the magnetic field intensity varies in the same direc-
Maxwell 3D Online Help
Assigning Materials 8-47
tion. In fact, when the permanent magnet electric machine is working, the demagnetization field
intensity varies repeatedly in both directions. When demagnetization field is applied to the magne-
tized permanent magnet, the magnetic flux density decreases along the curly segment B
r
P on the
demagnetization curve as shown in the next figure. If the external demagnetization field intensity
H
p
is removed when the magnetic flux density reaches the point P, the magnetic flux density will
increase not along the original demagnetization curve, but along another curve PBR. If the external
demagnetization field intensity is reapplied, the magnetic flux density will decrease along the new
curve RB'P. By repeatedly applying the demagnetization field intensity, a localized loop is formed
and is termed local hysteresis loop. On the local hysteresis loop, the rising segment and the drop-
ping segment are quite close to each other, therefore can be approximated by the straight line PR,
which is termed recoil line with P as the starting point. If demagnetization field with intensity H
Q
not exceeding the original value H
p
is applied thereafter, the magnetic flux density will vary revers-
ibly along the recoil line PR. If H
Q
> H
p
, the magnetic flux density drops to a new starting point Q.
It will vary along the new recoil line QS, but not the previous one PR. This sort of irreversible vari-
ation in magnetic flux density causes instability in the characteristics of electric machines and com-
plicates the design computation of permanent magnet electric machines, therefore should be
avoided as possible.
Demagnetization Curve
The ratio of the average slope of the recoil line to the magnetic permeability in vacuum
0
.
(
0
= 4 x 10
-7
H/m) is termed relative recoil magnetic permeability or recoil magnetic permeability
for short
r
:
If the demagnetization curve is curly, the value of
r
depends on the location of the starting point
and is a variable, but typically varies within a small range. Therefore, it is approximated as a con-
stant and is taken as the slop of the tangent to the point (B
r
, 0) on the demagnetization curve. In
H
B 1
0
r
--- =
n E Zn n H ( ) =
Maxwell 3D Online Help
9-46 Assigning Boundaries and Excitations for 3D
cally a face).
2. Click Maxwell>Boundaries>Assign>Impedance.
The Impedance Boundary window appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. Enter the conductivity (in inverse ohm-meters) in the Conductivity field.
5. Enter the conductor's relative permeability in the Permeability field.
6. Optionally, click Use Defaults to revert to the default values in the window.
7. Click OK to assign the boundary to the selected object.
Related Topics
Impedance Boundary
Impedance Boundary
Impedance boundaries allow you to simulate the effect of induced currents in a conductor without
explicitly computing them. Use this boundary condition for models where:
The skin depth in the conductor is less than two orders of magnitude smaller than the dimen-
sions of the structure. In models like this, the meshmaker may not be able to create a fine
enough mesh in the conductor to compute eddy currents.
The magnetic field decays much more rapidly inside the conductor in the direction thats nor-
mal to the surface than it does in directions that are tangential to the surface.
The AC current source is relatively far away from the surface where eddy currents occur, com-
pared to the size of the skin depth.
The conductor itself must be excluded from the solution region . When setting up the model, do one
of the following:
For external boundaries, when drawing the model, make the surface along which eddy currents
are to be computed an outer surface of the problem region.
For internal boundaries: assign a perfect conductor to the object in the Material Manager, and
also exclude the object from the solution by unchecking Solve Inside under the object attri-
butes. The solver does not find solutions inside a perfect conductor.
Then, when defining boundaries, assign an impedance boundary to the individual surfaces of the
problem region (for external boundaries) or to the entire object (for internal boundaries). By enter-
ing the conductivity, s, and the relative permeability, mr, of the object, you specify the skin depth of
induced eddy currents. The simulator uses this skin depth value when computing the electromag-
netic field solution. It assumes that the H-field falls off exponentially inside the conductor. The
Maxwell 3D Online Help
Assigning Boundaries and Excitations for 3D
ohmic loss due to induced currents can then be computed from the tangential components of the H-
field along the impedance boundary the surface of the object that you are interested in.
Related Topics
When to use Impedance Boundaries
When to Use Impedance Boundaries
A typical situation where impedance boundaries can be used to reduce the complexity of a model is
shown below. Suppose you want to compute eddy current losses in the conductor next to the current
source shown below on the left. If the source carries AC current at a frequency of 1 MHz, the skin
depth in the conductor is 6.6 x 105 meters. This is several orders of magnitude smaller than the
conductors thickness. Since the conductor where currents are induced is also relatively far away
from the current source, an impedance boundary can be used to model the induced currents as
shown on the right.
The conductor itself must be excluded from the model. Instead, the outside boundary of the model
is moved to the inside surface of the conductor. This outside surface is defined as an impedance
boundary, using the conductivity and permeability specified previously. Since the simulator does
not have to actually compute a solution inside the conductor, the field solution is computed more
quickly and uses less memory. After solving, you can compute the ohmic loss for the surface using
the solution calculator and plot the loss density on the boundary.
Note An impedance boundary only approximates the effect of eddy currents acting at a
shallow skin depth. It does not directly compute them. In general, the fields modeled
using an impedance boundary will closely match the field patterns that would actually
occur in the structure. However, at discontinuities in the surface (such as corners), the
field patterns may be different.
Current Source
1 MHz
0.5 m
Skin Depth = 6.6x10
5
m
Conductor:
r
=1
= 5.8x10
7
S/m
0.5 m
Impedance
Boundary:
r
=1
= 5.8x10
7
S/m
Current Source
1 MHz
Model without Impedance Boundary Model with Impedance Boundary
Outside
edge of
problem
region
Thickness
1x10
-3
m
Maxwell 3D Online Help
9-48 Assigning Boundaries and Excitations for 3D
Eddy Current Excitations
The eddy current solver allows you to define the following sources of AC magnetic fields:
Assigning a Current Density Excitation for the Eddy Current Solver
This command specifies the x-, y-, and z-components of the AC current density in a conduction
path. If the current density is a function of position, the value is entered in ampere/m
2
, even if you
change the units in the problem.
To define the current density:
1. Select the section of the geometry (i.e., the conductor) in which you want to apply the excita-
tion (typically a 3D object).
2. Click Maxwell>Excitations>Assign>Current Density.
The Current Density Excitation window appears.
3. Enter a name for the excitation in the Name box, or accept the default.
4. In the Parameters section, specify the following options:
a. Enter the X Component, Y Component, and Z Component values to define the respec-
tive components of the current density vector.
b. Do the following in the two Coordinate System pull-down lists:
From the first pull-down list, select either Global or RelativeCS1 (where x = 1,2,3
if any relative coordinate systems have been defined).
From the second pull-down list, select Cartesian, Cylindrical, or Spherical.
c. Enter the phase angle, , of the current density in the Phase field.
Excitation Type of Excitation
Current Density The current density in a conductor. In this case, you must also define the
current density terminals for the conductor.
Current Density
Terminal
Specifies the cross section of the conductor where current density is specified,
to be used as a terminal object. Current Density and Current Density Terminal
are required to be used in conjunction.
Current The total current in a conductor.
Note When entering current, the arrow associated with current in the selected object shows the
direction as if a positive value is entered for the current. If a negative value is entered the
actual current flow direction is opposite to what the arrow shows. Click Reverse
Direction if you want to reverse the direction of the arrow.
Note When a source conductor touches an outer boundary, Maxwell assumes current will flow
perpendicular to the boundary. If you do not want current to cross the outer boundary, an
insulating boundary should be used.
Maxwell 3D Online Help
Assigning Boundaries and Excitations for 3D
5. Optionally, click Use Defaults to revert to the default values in the window.
6. Click OK to assign the excitation to the selected object.
To complete the current density definition, you also need to specify any related current density ter-
minals, which must be assigned to a 2D object or face of the respective conduction path.
Related Topics
Assigning a Current Density Terminal
Assigning a Current Density Terminal Excitation for the Eddy Current Solver
To define the current density terminal:
1. Select the section of the geometry (i.e., the conductor) in which you want to apply the excita-
tion (typically a 3D object).
2. Click Maxwell>Excitations>Assign>Current Density Terminal.
The Current Density Terminal Excitation window appears.
3. Enter a name for the excitation in the Name box, or accept the default.
4. Click OK to assign the excitation to the selected target(s).
Related Topics
Assigning a Current Density Excitation
Assigning a Current Excitation for the Eddy Current Solver
Specifies the total AC current in a conduction path. The conduction path may be contained com-
pletely within the problem region (for example, a coil), or may touch the edges of the problem
region.
To specify the total AC current:
1. Select the 2D section of the geometry on which you want to apply the excitation.
2. Click Maxwell>Excitations>Assign>Current.
The Current Excitation window appears.
3. Enter a name for the excitation in the Name box, or accept the default.
4. Enter the current strength in the Value box.
5. Enter the phase for the current in the Phase box.
6. Select either Solid or Stranded to define the Type for the conductor. For a stranded conductor,
a uniformly distributed current density is assumed without considering eddy effects.
7. Optionally, click Swap Direction to change the direction of the current flow.
8. Optionally, click Use Defaults to revert to the default values in the window.
Note Select the names of the sheet objects to serve as the current density terminals. This
object must form an exact cross-section of the current density conduction path.You must
create 2D objects which represent locations where current flows into and out of the
problem region, or branches at any location in the conduction path. In current loops, any
exact 2D cross-section may serve as a terminal.
Maxwell 3D Online Help
9-50 Assigning Boundaries and Excitations for 3D
9. Click OK to assign the excitation to the selected object.
Maxwell 3D Online Help
Assigning Boundaries and Excitations for 3D
Transient Boundaries and Excitations
Define at least one of the following as a source of magnetic fields:
The stranded or solid windings, with a voltage or current supply or connected to an exter-
nal circuit winding.
A permanent magnet.
You may need to set at least one outer boundary to the following:
The default boundary conditions.
An odd symmetry (flux tangential) boundary.
An even symmetry (flux normal) boundary.
Related Topics
Technical Notes: 3D Transient Excitations (Sources)
Specifying the Solver Type
Transient Boundaries
The transient field solver allows you to define the same types of boundary conditions as magneto-
static ones.
Boundary Type H-Field Behavior Used to model...
Default Boundary
Conditions
(Natural and
Neumann)
Field behaves as follows:
Natural boundaries H is continuous
across the boundary.
Neumann boundaries H is tangential
to the boundary and flux cannot cross it.
Ordinary field behavior.
Initially, object interfaces are
natural boundaries; outer
boundaries, and excluded
objects are Neumann
boundaries.
Zero Tangential
H Field
The tangential components of H are set to
zero. Flux is perpendicular.
External magnetic fields.
Maxwell 3D Online Help
9-52 Assigning Boundaries and Excitations for 3D
Default Boundary Conditions for a Transient Solver
These boundary conditions are automatically defined for a transient model:
Natural boundaries are assigned to the surfaces between objects.
Neumann boundaries are assigned to the outside edges of the problem region.
To leave a surface set to its default boundary condition, you do not need to set any boundary condi-
tions. Deleted boundary conditions and excitations automatically reset to the default boundary con-
ditions.
Assigning a Zero Tangential H Field Boundary for a Transient Solver
This type of boundary defines external magnetic fields in a model.
To define a zero tangential H field boundary:
1. Select the section of the geometry on which you want to apply the boundary condition (typi-
cally a face).
2. Click Maxwell>Boundaries>Assign>Zero Tangential H Field.
The Zero Tangential H Field window appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. Click OK to assign the boundary to the selected object.
Insulating Same as Neumann, except that current cannot
cross the boundary.
Thin, perfectly insulating
sheets between touching
conductors.
Symmetry Field behaves as follows:
Odd Symmetry (Flux Tangential) H is
tangential to the boundary; its normal
components are zero.
Even Symmetry (Flux Normal) H is
normal to the boundary; its tangential
components are zero.
Planes of geometric and
magnetic symmetry.
Matching
(Master and Slave)
The H-field on the slave boundary is forced to
match the magnitude and direction (or the
negative of the direction) of the H-field on the
master boundary.
Planes of symmetry in periodic
structures where H is oblique
to the boundary.
Warning When using zero tangential magnetic field boundary conditions, always double-
check that Ampere's law is not violated!
Maxwell 3D Online Help
Assigning Boundaries and Excitations for 3D
Assigning an Insulating Boundary for a Transient Solver
This boundary condition is used to model very thin sheets of perfectly insulated material between
touching conductors. Current cannot cross an insulating boundary.
To set an insulating boundary:
1. Select the section of the geometry on which you want to apply the boundary condition (typi-
cally a face).
2. Click Maxwell>Boundaries>Assign>Insulating.
The Insulating Boundary window appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. Click OK to assign the boundary to the selected object.
Assigning a Symmetry Boundary for a Transient Solver
This boundary condition defines a plane of geometric or magnetic symmetry in a structure. Assign
it only to the outer surfaces of the problem region.
To set a symmetry boundary:
1. Select the section of the geometry on which you want to apply the boundary condition (typi-
cally a face).
2. Click Maxwell>Boundaries>Assign>Symmetry.
The Symmetry Boundary window appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. Select one of the following as the type of symmetry:
5. Optionally, click Use Defaults to revert to the default values in the window.
6. Click OK to assign the boundary to the selected object.
Assigning a Master Boundary for a Transient Solver
Master and slave boundaries enable you to model planes of periodicity where the H-field at every
point on the slave boundary surface is forced to match the H-field of every corresponding point on
the master boundary surface. The transformation used to map the H-field from the master to the
slave is determined by specifying a coordinate system on both the master and slave boundaries.
Note An insulating boundary condition can operate on the source current. It can also be used
to control the flow of induced eddy currents.
Odd
(Flux Tangential)
H is tangential to the boundary; its normal components are zero.
Even
(Flux Normal)
H is normal to the boundary; its tangential components are zero.
Warning When using even symmetry boundaries, always double-check that Ampere's law is
not violated!
Maxwell 3D Online Help
9-54 Assigning Boundaries and Excitations for 3D
To set a master boundary:
1. Select the face to which you want to assign the master boundary.
2. Click Maxwell>Boundaries>Assign>Master.
The Master Boundary window appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. In the Coordinate System section, do the following to define the coordinate system:
a. Select New Vector from the U Vector pull-down list.
The Create Line message appears, asking you to draw the U vector of the coordinate sys-
tem in the plane of the selected face, and the Master Boundary dialog box disappears
while you draw the U vector.
b. Select the U vector's origin, which must be on the boundary's surface, in one of the follow-
ing ways:
Click the point.
Type the point's coordinates in the in the X, Y, and Z boxes.
c. Select a point on the u-axis.
The Master Boundary dialog box reappears
5. To reverse the direction of the vector, select the Reverse Direction check box.
6. Optionally, click Use Defaults to revert to the default values in the window.
7. Click OK.
Maxwell computes the H-field on this boundary and maps it to the slave boundary using the trans-
formation defined by the master and slave coordinate systems.
Assigning a Slave Boundary for a Transient Solver
Assigning a slave boundary is the second step in creating matching boundaries. The field on the
master boundary is mapped to the slave boundary.
To set a slave boundary:
1. Select the section of the geometry on which you want to apply the boundary condition (typi-
cally a face).
2. Click Maxwell>Boundaries>Assign>Slave.
Note You must specify the coordinate system in the plane on which the boundary exists. First
draw the U vector of the coordinate system. Maxwell uses the U vector you draw and the
normal vector of the boundary face to calculate the v-axis. Then specify the direction of
the V vector.
Note You must define a master boundary before creating the slave boundaries that are
associated with it. Assign slave boundaries only to the outer surfaces of the problem
region.
Maxwell 3D Online Help
Assigning Boundaries and Excitations for 3D
The Slave Boundary window appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. Select the master boundary to which the slave is to be assigned from the Master Boundary
pull-down list.
5. To specify the coordinate system, do the following in the Coordinate System section:
a. Select New Vector from the U Vector pull-down list.
The Create Line message appears asking you to draw the U vector of the coordinate sys-
tem in the plane of the selected face, and the Slave Boundary dialog box disappears while
you draw the U vector.
b. Select the U vector's origin in one of the following ways:
Click the point.
Type the point's coordinates in the in the X, Y, and Z boxes.
c. Select a point on the u-axis in the same way.
When the second point is identified, the vector is set, and the Slave Boundary window
reappears, with Defined listed in the U Vector pull-down list.
d. To specify the direction of the V vector, select or clear the Reverse Direction check box.
6. In the Relation section, select one of the following to specify the field behavior on the bound-
ary:
7. Optionally, click Use Defaults to revert to the default values in the window.
8. Click OK to assign the boundary to the selected object.
Note You must specify the coordinate system in the plane on which the boundary exists. First
draw the U vector of the coordinate system. Maxwell uses the U vector you draw and the
normal vector of the boundary face to calculate the v-axis. Then specify the direction of
the V vector.
Note The U vector's origin must be on the boundary's surface.
Hs = Hm Click this radio button if the slave and master boundaries have the same
magnitude and direction.
Hs = -Hm Click this radio button if the slave boundary field has the same magnitude
as but the opposite direction from the master boundary field.
Note The origin must be a vertex point of one of the objects.
Maxwell 3D Online Help
9-56 Assigning Boundaries and Excitations for 3D
Transient Excitations
After defining the coil terminals for the model, you can use these terminals to define one or more
windings using the Maxwell>Excitations>Add Winding option. Transient problems use the fol-
lowing sources of magnetic fields:
In addition, permanent magnets serve as sources of magnetic fields.
Assigning a Coil Terminal for a Transient Solver
To assign a coil terminal as a transient excitation:
1. Select the section of the geometry on which you want to apply the excitation (typically a 2D
planar object).
2. Click Maxwell>Excitations>Assign>Coil Terminal. (You can also right-click an existing
winding in the project tree, and select Assign Coil Terminal.)
The Coil Terminal Excitation dialog box appears.
3. Enter a name for the excitation in the Name box, or accept the default.
4. In the Parameters section, enter the number of conductors for the coil terminal in the Number
of Conductors box.
Excitation Type of Excitation
Coil Terminal Used to define one or more model windings.
Winding With
Current
Current for both a stranded and solid conductor.
Winding With
Voltage
Voltage for both a stranded and solid conductor.
Winding With
External Circuit
Connection
External circuit connection for both a stranded and solid conductor.
Note A winding is a flexible excitation. Six different combinations can be used: Current,
Voltage, and External Circuit each with a solid or stranded conductor. The Coil
Terminal type of excitation is needed to set up a winding.
Note When a source conductor touches an outer boundary, Maxwell assumes current will flow
perpendicular to the boundary. If you do not want current to cross the outer boundary, an
insulating boundary should be used.
Note This value represents only the number of conductors inside of the selected geometry. If
the Coil Terminal is cut due to symmetry, then only enter the Number of Conductors in
the portion modeled.
Maxwell 3D Online Help
Assigning Boundaries and Excitations for 3D
5. If you want to switch the direction for the coil terminal, click Swap Direction.
6. Optionally, click Use Defaults to revert to the default values in the window.
7. Click OK to assign the coil terminal to the selected object.
Assigning a Winding Setup for a Transient Solver
You can use the pre-defined coil terminal(s) to define one or more current or voltage windings.
To define a winding for your model:
1. Click Maxwell>Excitations>Add Winding.
The Winding dialog box appears.
2. Enter a name for the winding in the Name box, or accept the default.
3. In the Parameters section, select Current, Voltage, or External from the Type pull-down
list.
4. Select the Solid or Stranded radio button to specify the type of conductor.
5. Enter values in the following fields, and select the desired units:
Note The direction is shown in the model by a bold red arrow.
Note To add this coil terminal to an existing winding, do the following:
1. In the project tree, right-click the coil terminal, and select Add to Winding.
The Add to Winding dialog box appears.
2. Select the winding to which you ant to add the coil terminal, and click OK.
Note To remove a coil terminal from an existing winding, do the following:
In the project tree, right-click the coil terminal, and select Remove from Winding.
The terminal is removed from the winding and moved up one level in the project
tree (directly beneath Excitations).
Note Maxwell transient designs can be dynamically coupled to Simplorer components
through the Simplorer user interface. You can enable this feature on the Advanced
Product Coupling tab of the Design Settings dialog box. Source windings set to
External are available as conservative pins in Simplorer. For more information, refer to
the Online Help for Simplorer Version 8 and later.
For a current
winding
For a voltage
winding
a
For an external
winding
Current Initial Current Initial Current
Resistance
Maxwell 3D Online Help
9-58 Assigning Boundaries and Excitations for 3D
6. Optionally, click Use Defaults to revert to the default values in the window.
7. Click OK to assign the excitation to the selected object
Inductance
Voltage
a. For a solid winding, the resistance term can represent: the resistance of a
portion of the winding which is not modeled (for instance, end-effects), the
leads connecting the winding to the source, or the source resistance. (The main
winding resistance is calculated directly by the solver.) For a stranded wind-
ing, the resistance term is the complete DC resistance of the winding (since the
solver does not determine resistance of a stranded winding) as well as the re-
sistance of the end-effects, leads, source, etc.
For both solid and stranded windings, the inductance term can represent: the
extra inductance for a portion of the winding of the winding which is not mod-
eled (for instance, end-effects), the leads connecting the winding to the source,
or the source inductance. (The main winding inductance itself is calculated di-
rectly by the solver.)
Note You can also type a function as an expression for any of these items except initial
current.
For a current
winding
For a voltage
winding
a
For an external
winding
Maxwell 3D Online Help
Assigning Boundaries and Excitations for 3D
A winding is now defined for your model.
Setting Up an External Circuit
The driving circuit for the winding in this design consists of a voltage source in series with a resis-
tor and with the winding. When complete, the circuit should look similar to the figure below.
To set up the external circuit, follow this general procedure:
1. Add the circuit elements.
2. Connect the circuit elements in series.
Note To add a coil terminal to this winding, do the following:
1. In the project tree, right-click the winding, and select Add Terminals.
The Add Terminals dialog box appears, listing all coil terminals that do not
already belong to that winding.
2. Select the coil terminal (s) you want to add. To select multiple terminals, press
CTRL and click each terminal.
3. Click OK.
To assign a coil terminal excitation and add it to this winding, do the following:
1. Select the section of the geometry on which you want to apply the coil terminal
excitation.
2. In the project tree, right-click the winding, and select Assign Coil Terminal.
The Coil Terminal Excitation dialog box appears.
3. Click OK to assign the coil terminal excitation.
The coil terminal excitation is assigned and is added to the winding.
To delete all coil terminal excitations that belong to this winding, do the following:
In the project tree, right-click the winding, and select Delete All Terminals.
All coil terminal excitations are removed from the winding and deleted from the
excitations.
Note One use for an external circuit can be to supply an excitation to a coil terminal, rather
than using a voltage type of excitation.
Maxwell 3D Online Help
9-60 Assigning Boundaries and Excitations for 3D
3. Export the netlist.
4. Save the Maxwell Circuit Editor project.
5. Assign the external circuit.
Related Topics:
Editing the External Circuit Connection
Add the Circuit Elements
To add the circuit elements in Maxwell Circuit Editor:
1. Open the Maxwell Circuit Editor: Click Start>Programs>Ansoft>
Maxwell>Maxwell Circuit Editor.
The Maxwell Circuit Editor program opens.
2. Click Project>Insert Maxwell Circuit Design.
The circuit sheet appears.
3. Click the Components tab in the project tree.
4. Place the winding circuit element on the sheet:
a. In the project tree, under Maxwell Circuit Elements/Dedicated Elements, select the
Winding element.
b. Drag it onto the sheet.
c. Right-click, and select Finish to place the component.
Maxwell 3D Online Help
Assigning Boundaries and Excitations for 3D
d. To view the properties, double-click the component in the Schematic window.
The Properties window appears.
e. Change the Name to currentwinding, the same name you used when defining the wind-
ing in the Maxwell design.
f. Click OK.
g. Click Draw>Rotate, and position the winding vertically.
5. Place a resistor on the sheet:
a. In the project tree, under Passive Elements, select Resistor.
b. Drag the resistor onto the sheet.
c. Right-click, and select Finish to place it where desired.
d. Double-click the symbol of the resistor, change the value of the resistor, R, to 3.09, keep
the Unit value set to ohm, and click OK. The default is 100 Ohms.
6. Place a voltage pulse on the sheet:
a. In the project tree, under Sources select a VPulse element (Pulse Voltage Source).
b. Drag it to the sheet, and then right-click and select Finish to place it onto the sheet.
c. Double-click the source element symbol on the sheet, and then specify the following
source characteristics:
d. Leave the other fields set to the default values, and click OK.
Connect the Circuit Elements in Series
To connect the circuit elements in series:
1. From within the Maxwell Circuit Editor, click Draw>Wire.
2. Click each terminal.
3. When done, place the Ground symbol: Click Draw>Ground (or click the Ground symbol on
the toolbar), place the Ground symbol on the sheet, right-click, and select Finish to place the
symbol.
4. Connect the ground to the circuit: Click Draw>Wire, and draw the final wire.
Parameter Value Description
V1 0 Initialvoltage
V2 5.97 Peakvoltage
Tr 0.001 Risetime
Tf 0.001 Falltime
Pw 1 Pulsewidth
Period 2
Maxwell 3D Online Help
9-62 Assigning Boundaries and Excitations for 3D
Export the Netlist
To export the netlist:
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 a name for the circuit in the File name box.
4. Click Save.
The Netlist Export dialog box closes and the Maxwell Circuit Editor reappears.
Save the Maxwell Circuit Editor Project
To save the project and exit Maxwell Circuit Editor:
1. Click File>Save, type a name for the project, and click Save to save the Maxwell Circuit Edi-
tor project.
2. Click File>Exit to close the Maxwell Circuit Editor program.
Assign the External Circuit
To assign the circuit in Maxwell (which should still be open):
1. Click Maxwell>Excitations>External Circuit>Edit External Circuit.
The Edit External Circuit dialog box appears.
2. Click Import Circuit.
The Select File dialog box appears.
3. Select Designer Net List Files (*.sph) from the Files of type pull-down list.
4. Browse to the location where you saved the circuit, select it, and click Open to import it.
5. Click OK to close the Edit External Circuit dialog box.
Editing the External Circuit Connection
To add or edit an external circuit:
1. Click Maxwell>Excitations>External Circuit>Edit External Circuit.
The Edit External Circuit dialog box appears, listing the externally-connected windings set
up for your model.
2. To import a circuit:
a. Click the Winding Information tab.
b. Click Import Circuit.
The Select File dialog box appears.
Note To view the netlist before exporting it, click Maxwell Circuit>Browse Netlist.
Note If
Maxwell 3D Online Help
Assigning Boundaries and Excitations for 3D
c. Select the circuit you want to import, and click Open.
The Edit External Circuit dialog box reappears.
3. To view available inductors, click the Available Inductors tab.
4. To view the sources used in the externally connected windings, click the Source Type tab.
5. Variables used in the circuit and their values are listed on the Parameters tab. You may create
a datalink to the circuit by mapping to design or project variables within the circuit as follows:
a. In the Parameters tab, click in the value column of the parameter to be mapped.
b. Enter a new variable for use by Maxwell.
The Add Variable dialog appears.
c. Enter a Value for the variable and click OK.
The new variable in Maxwell is now mapped to the variable in Maxwell Circuit Editor and can
be varied directly from Maxwell or Optimetrics.
6. If the imported file is a .sph file, you can click the Circuit Path tab to view the original project
and design names (which are removed after you import a non-sph file).
7. Click OK to close the Edit External Circuit dialog box.
Related Topics:
Setting Up an External Circuit
Note The user-set time steps can be modified when external circuits are used to drive the
windings of the transient finite element model. Following is a list of situations that will
lead to a time step change:
All power electronic switching instances that do not coincide with user-specified
solve times request a new solution time from the transient solver. The respective
switching generating a new solve time request for the transient solver can be time,
position, or speed dependent.
When current and/or voltage sources with a piecewise linear variation are used, a
new solution time is requested from the transient solver at each (time) definition
point used in the corresponding source definition table.
When the change in any winding inductance value is excessive, a new time step
(smaller) is calculated and a new solution generated (re-calculated) accordingly.
If a user-specified save field time is missed because of the above reasons, the next solved
time step fields are saved instead.
Maxwell 3D Online Help
9-64 Assigning Boundaries and Excitations for 3D
Electric Transient Solver Boundaries and Excitations
Specify at least one of the following excitations as a source of electric fields:
The total charge on object.
The volume charge density inside an object.
The current.
Define the electric potential on each surface using a voltage excitation.
Related Topics
Electric Transient Excitations
Specifying the Solver Type
Electric Transient Solver
Electric Transient Excitations
The following excitations are available for the electric transient problems:
Charge defines the total charge on an object.
Volume Charge Density defines the volume charge density on an object.
Related Topics
Specifying the Solver Type
Electric Transient Solver
Assigning a Charge Excitation for an Electric Transient Solver
To define a charge excitation:
1. Select the section of the geometry on which you want to apply the excitation.
2. Click Maxwell>Excitations>Assign>Charge.
The Charge Excitation dialog box appears.
3. Enter a name for the excitation in the Name box, or accept the default.
4. In the Parameters section, enter the charge in the Value box.
5. Optionally, click Use Defaults to revert to the default values.
6. Click OK to assign the excitation to the selected object.
Related Topics
Electric Transient Excitations
Specifying the Solver Type
Electric Transient Solver
Maxwell 3D Online Help
Assigning Boundaries and Excitations for 3D
Assigning a Volume Charge Density Excitation for an Electric Transient
Solver
To define a volume charge density excitation:
1. Select the section of the geometry on which you want to apply the excitation.
2. Click Maxwell>Excitations>Assign>Volume Charge Density.
The Volume Charge Density Excitation dialog box appears.
3. Enter a name for the excitation in the Name box, or accept the default.
4. In the Parameters section, enter the volume charge density in the Value box.
5. Optionally, click Use Defaults to revert to the default values.
6. Click OK to assign the excitation to the selected object.
Related Topics
Electric Transient Excitations
Specifying the Solver Type
Electric Transient Solver
Maxwell 3D Online Help
9-66 Assigning Boundaries and Excitations for 3D
Assigning Boundaries and Excitations for 2D
10
Assigning Boundaries and Excitations
for 2D Designs
For every design, you need to assign boundaries and excitations. You can use the Maxwell 2D
menu or the project tree to do the following:
Define boundary conditions that control how the electric or magnetic field behaves planes of
symmetry, periodicity, or edges of the problem region.
Define solution type specific excitations of voltage, charge, coil, and current.
For magnetic transient designs, if needed, set up a winding and an external circuit connection.
Each field solver requires you to specify excitations of electric or magnetic fields and references for
computing these fields.
Magnetostatic Boundaries and Excitations
Electrostatic Boundaries and Excitations
AC Conduction Boundaries and Excitation
DC Conduction Boundaries and Excitations
Eddy Current Boundaries and Excitations
Transient Boundaries and Excitations
You must specify at least one of the boundary conditions or excitations listed in these sections so
that the simulator can compute accurate values for fields and parameters.
Related Topics
Specifying the Solver Type
Selecting Objects and Faces in the 2D Geometry
Before creating a boundary or excitation, you must specify its location by selecting the object or
surface on which to assign the boundary condition or source excitation.
Maxwell 2D Online Help
10-2 Assigning Boundaries and Excitations for 2D
Defining Boundary Conditions in 2D
The specific boundary types you can define depend on the solver you have chosen for your design.
Magnetostatic Boundary Conditions
Electrostatic Boundary Conditions
AC Conduction (Electric) Boundary Conditions
DC Conduction (Electric) Boundary Conditions
Eddy Current Boundary Conditions
2D Transient Boundary Conditions
Make sure you include the required references for the specified solver type.
To assign a boundary condition:
1. Select the section of the geometry on which you want to apply the boundary condition.
2. Click Maxwell 2D>Boundaries>Assign, or right-click Boundaries in the project tree and
click Assign.
A submenu appears with choices that depend upon the solver type.
3. Select one of the following boundary types from the submenu:
Impedance
Resistance
Vector Potential
Symmetry
Balloon
Master
Slave
4. Enter the name for the boundary or accept the default.
5. Optionally, you may need to define the local coordinates, depending on the boundary type.
6. Enter the value of the boundary in the Value box.
7. Click OK to create the new boundary.
The new boundary is added to the boundary list in the project tree.
Defining 2D Excitations
The specific excitations you can define depend on the solver you have chosen for your design.
Magnetostatic Excitations
Electrostatic (Electric) Excitations
AC Conduction (Electric) Excitations
DC Conduction (Electric) Excitations
Eddy Current Excitations
Maxwell 2D Online Help
Assigning Boundaries and Excitations for 2D
2D Transient Excitations
To assign an excitation:
1. Select the section of the geometry on which you want to apply the excitation.
2. Click Maxwell 2D>Excitations>Assign, or right-click Excitations in the project tree and
click Assign.
A submenu appears with choices that depend upon the solver type.
3. Select one of the following excitation types from the submenu:
Voltage
Charge
Floating
Charge Density
Current Density
Current
Coil
End Connection
4. Enter the name for the excitation type or accept the default.
5. Select the units for the excitation.
6. Enter the value of the excitation in the Value box. You can also enter a mathematical function
to determine the value of the potential, current density, charge density, and other parameters.
7. Click OK to create the new excitation.
The new excitation is added to the excitation list in the project tree.
Related Topics
Specifying the Solver Type
Note When entering current, or coil terminals, the arrow associated with current in the
selected object shows the direction as if a positive value is entered for the current. If a
negative value is entered the actual current flow direction is opposite to what the arrow
shows. Click Swap Direction if you want to reverse the direction of the arrow.
Maxwell 2D Online Help
10-4 Assigning Boundaries and Excitations for 2D
Viewing 2D Boundaries and Excitations
To view a list of all boundaries or excitations set for the design:
1. In the project tree, right-click Boundaries or Excitations.
A shortcut menu appears.
2. Select List from the shortcut menu.
The Design List dialog box appears, with the tab page visible for the item you selected. This
dialog box contains tabs for Model, Boundaries, Excitations, Parameters, Mesh Opera-
tions, and Analysis Setup.
3. To view the properties for an item in the list, select the item, and click Properties.
4. To delete an item from the list, select the item, and click Delete.
5. When you are finished in the Design List dialog box, click Done to close it.
Setting the Visibility for 2D Boundaries and Excitations
To show or hide a boundary:
1. Click View>Active View Visibility.
The Active View Visibility dialog box appears.
2. Click the Boundaries tab.
3. Select or clear the Visibility check box for each boundary listed.
4. Click Done.
To show or hide a excitation:
1. Click View>Active View Visibility.
The Active View Visibility dialog box appears.
2. Click the Excitations tab.
3. Select or clear the Visibility check box for each excitation listed.
4. Click Done.
Functional Boundaries and Excitations in 2D
Functional boundaries and excitations can be used to do the following:
Define the value of a boundary or excitation quantity (such as the voltage, magnetic field, or
current density) using a mathematical relationship such as one relating its value to that of
another quantity.
Define the value of a boundary or excitation as a function of position.
Current Density Excitation (Magnetostatic or Eddy Current solver type)
Voltage Excitation (Electric solver types)
Volume Charge Density Excitation (Electrostatic or Electrostatic + DC solver types)
If the parametric analysis capability is installed, identify which boundary or excitation quanti-
ties are to be varied during a parametric sweep. These variables are always set to constant val-
ues in the parametric analysis.
Maxwell 2D Online Help
Assigning Boundaries and Excitations for 2D
Setting Eddy Effects and Displacement Current in 2D
(2D Eddy Current and/or Transient Solvers)
For both eddy current and transient solvers in 2D, you may need to specify the following additional
setting:
The behavior of eddy currents and the AC magnetic field in conductors. When you activate the
Eddy Effect setting, the solver computes the induced eddy currents.
Typically, background objects are excluded from eddy current settings.
To set eddy effects:
1. Select the section of the geometry on which you want to apply the excitation.
2. Click Maxwell2D>Excitations>Set Eddy Effects.
The Set Eddy Effect dialog box appears showing only objects which are valid for eddy effect
calculation, specifically objects with conductivity greater than 1.
3. For each object in the list, select or clear the check boxes for Eddy Effect. When selecting
multiple entries, the changes are synchronized for all selected rows.
4. Click the Select By Name button to enter the name of a specific object for selection. Multiple
objects may be selected using the * and ? wildcards.
5. Optionally, click the Use suggested values button to set the Eddy Effects for all elements rec-
ommended by Maxwell2D.
6. Click OK.
The Deselect All button will deselect all selected objects in the list.
Related Topics
Technical Notes: Eddy Current Field SImulation
Technical Notes: Transient SImulation
Modifying 2D Boundary Conditions and Excitations
Save your project before modifying boundary conditions and excitations. You can modify bound-
ary conditions and excitations after a solution has been generated, but you may lose some solution
data.
Related Topics
Duplicating 2D Boundaries and Excitations
Setting Default Values for 2D Boundaries and Excitations
Reassigning 2D Boundaries
Note Multi-select is supported by holding the CTRL or Shift key while clicking.
Maxwell 2D Online Help
10-6 Assigning Boundaries and Excitations for 2D
Reassigning 2D Excitations
Duplicating 2D Boundaries and Excitations
To duplicate a boundary or excitation when its geometry is pasted or duplicated:
1. Click Tools>Options>Maxwell 2D Options.
The Maxwell 2D Options dialog box appears.
2. Click the General Options tab.
3. Select Duplicate boundaries with geometry.
4. Click OK.
All boundaries and excitations are duplicated with their associated geometries until you clear
this option.
Related Topics
Copying and Pasting Objects
Showing and Hiding Boundaries and Excitations in 2D
You can choose to show or hide a boundary or excitation's geometry, name, or vectors, in the active
view window or in all view windows.
Related Topics
Showing and Hiding 2D Boundaries/Excitations in Every View Window
Showing and Hiding 2D Boundaries and Excitations in Every View Window
1. Click Maxwell 2D>Boundaries>Visualization or Maxwell 2D>Excitations>Visualization.
The Boundary Visualization Options dialog box appears.
2. Select one of the following from the Select pull-down menu:
All
All Boundaries
All Excitations
By Name
Hint Use this option to copy and paste boundaries.
For example, do the following to use the same boundary on multiple objects:
1. Select the face to which you want to assign the boundary.
2. Click Modeler>Surface>Create Object From Face to create a new object
from the existing face.
3. Assign the boundary to the new face object.
4. Copy and paste the new face object to copy and paste the boundary.
Maxwell 2D Online Help
Assigning Boundaries and Excitations for 2D
3. If you select By Name, enter a name in the Select By Name dialog box, and click OK.
4. To clear the selection of all boundaries and excitations, click Deselect All.
5. Click Close to close the Boundary Visualization Options dialog box.
Setting Default Values for 2D Boundaries and Excitations
When assigning a boundary or excitation, many of the fields in the boundary and excitation dialog
boxes have default values associated with them. These default values are initially set by Maxwell
2D, but can be overridden.
To modify the default values associated with a specific boundary or excitation type:
1. Assign a boundary or excitation.
2. Modify any default values.
3. Close the boundary or excitation's dialog box.
4. Re-open the new boundary or excitation's dialog box by right-clicking the boundary or excita-
tion in the project manager and selecting Properties. The dialog now includes a Defaults tab.
5. Under the Defaults tab, click Save Defaults.
The values assigned to this boundary are saved as the default values and are assigned when
new boundaries of this type are created.
6. Optionally, click Revert to Standard Defaults.
The default values you set for this boundary type are cleared and will revert to the default val-
ues set by Maxwell 2D.
Reassigning 2D Boundaries
You can reassign a boundary to another surface. This is useful when you modify objects with
assigned boundaries, invalidating the boundaries. For example, if you unite two objects with
assigned boundaries, the second object's boundary becomes invalid because united objects maintain
the characteristics of the first object selected. In this case, you would need to reassign the boundary
or delete it.
To reassign a boundary:
1. Select the object or object face to which you want to assign an existing boundary.
2. Click Maxwell 2D>Boundaries>Reassign.
The Reassign Boundary dialog box appears.
3. Select the boundary you want to reassign, and click OK.
Hint Alternatively, select the object or object face to which you want to assign an existing
boundary. Right-click the existing boundary in the project tree, and then click Reassign
on the shortcut menu.
Note When reassigning a boundary that includes vectors in its definition, Maxwell attempts to
preserve the vectors with the new assignment, but this is not always possible.
Maxwell 2D Online Help
10-8 Assigning Boundaries and Excitations for 2D
Related Topics
Reassigning 2D Excitations
Reassigning 2D Excitations
To reassign an excitation:
1. Select the object or object face to which you want to assign an existing excitation.
2. Click Maxwell 2D>Excitations>Reassign.
The Reassign Excitation dialog box appears.
3. Select the excitation you want to reassign, and click OK.
Related Topics
Reassigning 2D Boundaries
Deleting All 2D Boundaries and/or Excitations
To delete all boundaries or excitations:
Click Maxwell 2D>Boundaries>Delete All or Maxwell 2D>Excitations>Delete All.
Viewing and Editing 2D Boundary or Excitation Properties
To open the Properties dialog box for a boundary or excitation that is already assigned:
1. In the project tree, under either Boundaries or Excitations, right-click a specific boundary or
excitation, and select Properties.
The Properties dialog box for that boundary/excitation appears.
2. Make the desired changes, and click OK.
Related Topics
Assigning Boundaries and Excitations for 2D Designs
Modifying 2D Boundary Conditions and Excitations
Hint Alternatively, select the object or object face to which you want to assign an existing
excitation. Right-click the existing excitation in the project tree, and then click Reassign
on the shortcut menu.
Note When reassigning an excitation that includes vectors in its definition, Maxwell attempts
to preserve the vectors with the new assignment, but this is not always possible.
Maxwell 2D Online Help
Assigning Boundaries and Excitations for 2D
2D Magnetostatic Boundaries and Excitations
Define at least one of the following as a source of static magnetic fields:
The current in a conduction path, which can be either stranded or solid.
The current density in a conductor.
The magnetic field on an outside surface.
Related Topics
2D Magnetostatic Boundaries
2D Magnetostatic Excitations
Technical Notes: Magnetostatic Field Calculation
Specifying the Solver Type
Permanent Magnet Excitations
2D Magnetostatic Boundaries
The magnetostatic field solver allows you to define the following types of boundaries:
Boundary Type H-Field Behavior Used to model...
Default Boundary
Conditions
(Natural and
Neumann)
Field behaves as follows:
At the interface between objects, the H
tangent and B normal are continuous.
On outer boundaries, B field is normal.
As a rule, this behavior needs to be
modified at least for some portions of the
outer boundary to insure uniqueness of
the solution.
Initially, object interfaces are
natural boundaries; outer
boundaries, and excluded
objects are Neumann
boundaries.
Vector Potential Sets the magnetic vector potential , or
, on the boundary. The behavior of H
depends on whether or is
constant or functional.
Outer boundaries at specific
vector potentials; externally
applied magnetic fields.
A
Z
rA
A
Z
rA
t ( )
A
Z
t ( ) rA
t ( )
Maxwell 2D Online Help
Assigning Boundaries and Excitations for 2D
Default Boundary Conditions for the 2D Eddy Current Solver
These boundary conditions are automatically defined for an eddy current model:
Natural boundaries are assigned to the surfaces between objects. Tangential H and normal B
are continuous across surfaces without current density distribution; tangential H has a jump if
the surface has current density distribution.
Neumann boundaries are assigned to the outside edges of the problem region. Magnetic Field
is tangential to the boundary and flux cannot cross it.
To leave a surface set to its default boundary condition, do nothing. Deleted boundary conditions
and excitations automatically reset to the default boundary conditions.
Assigning a Vector Potential for the 2D Eddy Current Solver
To define a vector potential boundary:
1. Select the section of the geometry on which you want to apply the boundary condition (typi-
cally an edge).
2. Click Maxwell2D>Boundaries>Assign>Vector Potential.
The Vector Potential Boundary dialog box appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. In the Parameters section, enter the value of the potential. The value may be specified as a
single numeric value or as a spatial function.
5. If a functional value is specified, select a Coordinate System from the pull-down list:
6. Enter a value in the Phase text box, and select a unit from the pull-down list.
7. Optionally, click Use Defaults to revert to the default values in the dialog box.
8. Click OK to assign the boundary to the selected object.
The new boundary is added to the boundary list in the project tree.
Assigning an Impedance Boundary for the 2D Eddy Current Solver
This boundary condition is used to simulate the effect of induced currents in a conductor without
explicitly computing them. Since the conductor must be excluded in the model (saving time needed
to mesh and solve for currents), assign the impedance boundary condition to an outside edge of the
problem region or to an excluded object. Exclude the object from the problem region by making the
object a perfect conductor in the Material Manager.
To define an impedance boundary:
1. Select the section of the geometry on which you want to apply the boundary condition (typi-
cally an edge).
2. Click Maxwell2D>Boundaries>Assign>Impedance.
The Impedance Boundary dialog box appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. Enter the conductivity (in inverse ohm-meters) in the Conductivity field.
5. Enter the conductor's relative permeability in the Permeability field.
Maxwell 2D Online Help
10-34 Assigning Boundaries and Excitations for 2D
6. Optionally, click Use Defaults to revert to the default values in the dialog box.
7. Click OK to assign the boundary to the selected object.
Related Topics
Impedance Boundary
2D Impedance Boundary
Impedance boundaries allow you to simulate the effect of induced currents in a conductor without
explicitly computing them. Use this boundary condition for models where:
The skin depth in the conductor is less than two orders of magnitude smaller than the dimen-
sions of the structure. In models like this, the meshmaker may not be able to create a fine
enough mesh in the conductor to compute eddy currents.
The magnetic field decays much more rapidly inside the conductor in the direction thats nor-
mal to the surface than it does in directions that are tangential to the surface.
The AC current source is relatively far away from the surface where eddy currents occur, com-
pared to the size of the skin depth.
The conductor itself must be excluded from the solution region. When setting up the model, do one
of the following:
For external boundaries, when drawing the model, make the surface along which eddy currents
are to be computed an outer surface of the problem region.
For internal boundaries: assign a perfect conductor to the object in the Material Manager, and
also exclude the object from the solution by unchecking Solve Inside under the object attri-
butes. The solver does not find solutions inside a perfect conductor.
Then, when defining boundaries, assign an impedance boundary to the individual surfaces of the
problem region (for external boundaries) or to the entire object (for internal boundaries). By enter-
ing the conductivity, s, and the relative permeability,
r
, of the object, you specify the skin depth of
induced eddy currents. The simulator uses this skin depth value when computing the electromag-
netic field solution. It assumes that the Magnetic Field falls off exponentially inside the conductor.
The ohmic loss due to induced currents can then be computed from the Magnetic Vector Potential
along the impedance boundary - on the surface of the object that you are interested in - according to
the formula below or by using the quantity EdgeLossDensity in the 2D calculator.
where:
= z component of the Magnetic Vector Potential
= complex conjugate of the z component of the Magnetic Vector Potential
= permeability of free space
= relative permeability of the impedance boundary
= conductivity of the impedance boundary (S/m)
f = frequency (Hz)
EdgeLossDensity W m
2
( ) f
f
r
----------- A
z
A
z
[ ] =
A
z
A
z
r
=1
= 5.8x10
7
S/m
0.5 m
Impedance
Boundary:
r
=1
= 5.8x10
7
S/m
Current Source
1 MHz
Model without Impedance Boundary Model with Impedance Boundary
Outside
edge of
problem
region
Thickness
1x10
-3
m
Maxwell 2D Online Help
10-36 Assigning Boundaries and Excitations for 2D
solution is computed more quickly and uses less memory. After solving, you can compute the
ohmic loss for the surface using the solution calculator and plot the loss density on the boundary.
Related Topics
Assigning an Impedance Boundary for the 2D Eddy Current Solver
Assigning a Symmetry Boundary for the 2D Eddy Current Solver
This boundary condition defines a plane of geometric or magnetic symmetry in a structure. Assign
it only to the outer surfaces of the problem region.
To set a symmetry boundary:
1. Select the section of the geometry on which you want to apply the boundary condition (typi-
cally an edge).
2. Click Maxwell2D>Boundaries>Assign>Symmetry.
The Symmetry Boundary dialog box appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. Select one of the following as the type of symmetry:
5. Optionally, click Use Defaults to revert to the default values in the dialog box.
6. Click OK to assign the boundary to the selected object.
Assigning a Balloon Boundary Condition for the 2D Eddy Current Solver
To set a balloon boundary:
1. Select the section of the geometry on which you want to apply the boundary condition (typi-
cally an edge).
2. Click Maxwell2D>Boundaries>Assign>Balloon.
The Balloon Boundary dialog box appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. Click OK to assign the boundary to the selected object.
Assigning a Master Boundary for the 2D Eddy Current Solver
Master and slave boundaries enable you to model planes of periodicity where the Magnetic Field
at every point on the slave boundary surface is forced to match the Magnetic Field of every corre-
sponding point on the master boundary surface. The transformation used to map the Magnetic
Field from the master to the slave is determined by specifying a coordinate system on both the mas-
ter and slave boundaries.
Odd
(Flux Tangential)
Magnetic field is tangential to the boundary; its normal components are
zero.
Even
(Flux Normal)
Magnetic field is normal to the boundary; its tangential components are
zero.
Maxwell 2D Online Help
Assigning Boundaries and Excitations for 2D
To set a master boundary:
1. Select the edge to which you want to assign the master boundary.
2. Click Maxwell2D>Boundaries>Assign>Master.
The Master Boundary dialog box appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. To reverse the direction of the vector, select the Swap Direction check box.
5. Optionally, click Use Defaults to revert to the default values in the dialog box.
6. Click OK.
Assigning a Slave Boundary for the 2D Eddy Current Solver
Assigning a slave boundary is the second step in creating matching boundaries. The field on the
master boundary is mapped to the slave boundary.
To set a slave boundary:
1. Select the section of the geometry on which you want to apply the boundary condition (typi-
cally an edge).
2. Click Maxwell2D>Boundaries>Assign>Slave.
The Slave Boundary dialog box appears.
3. Enter a name for the boundary in the Name box, or accept the default.
4. Select the master boundary to which the slave is to be assigned from the Master Boundary
pull-down list.
5. In the Relation section, select one of the following to specify the field behavior on the bound-
ary:
6. Optionally, click Use Defaults to revert to the default values in the dialog box.
7. Click OK to assign the boundary to the selected object.
Note You must define a master boundary before creating the slave boundaries that are
associated with it. Assign slave boundaries only to the outer surfaces of the problem
region.
Bs = Bm Click this radio button if the magnetic fields on the slave and master
boundaries have the same magnitude and the fields oscillate in phase.
Bs = -Bm Click this radio button if the magnetic fields on the slave boundary have
the same magnitude as the master boundary field but the fields oscillate
180 degrees out of phase.
Maxwell 2D Online Help
10-38 Assigning Boundaries and Excitations for 2D
2D Eddy Current Excitations
The eddy current solver allows you to define the following sources of AC magnetic fields:
Assigning a Current Excitation for the 2D Eddy Current Solver
Specifies the total AC current in a conduction path. The conduction path may be contained com-
pletely within the problem region (for example, a coil), or may touch the edges of the problem
region.
To specify the total AC current:
1. Select the 2D section of the geometry on which you want to apply the excitation.
2. Click Maxwell2D>Excitations>Assign>Current.
The Current Excitation dialog box appears.
3. Enter a name for the excitation in the Name box, or accept the default.
4. Enter the current strength in the Value box.
5. Enter the phase for the current in the Phase box.
6. Select the Solid or Stranded radio button to specify the type of conductor.
7. Select either Positive or Negative as the Ref. Direction for the conductor.
8. Optionally, click Use Defaults to revert to the default values in the dialog box.
9. Click OK to assign the excitation to the selected object.
Assigning a Parallel Current Excitation for the 2D Eddy Current Solver
Specifies the total AC current in a parallel conduction path consisting of at least two conductors.
To specify the total AC current:
1. Select the 2D sections of the geometry on which you want to apply the excitation. At least two
section must be specified
2. Click Maxwell2D>Excitations>Assign>Parallel Current.
The Parallel Current Excitation dialog box appears.
3. Enter a name for the excitation in the Name box, or accept the default.
Excitation Type of Excitation
Current The total current in a conductor.
Parallel Current The total current to be divided among several conductors in parallel. The
method of dividing the current depends upon the choice of solid of stranded.
Current Density The current density in a conductor. In this case, you must also define the
current density terminals for the conductor.
Note When entering current, the arrow associated with current in the selected object shows the
direction as if a positive value is entered for the current. If a negative value is entered the
actual current flow direction is opposite to what the arrow shows. Select the Positive or
Negative radio button under Ref. Direction to switch the direction of current flow.
Maxwell 2D Online Help
Assigning Boundaries and Excitations for 2D
4. Enter the current strength in the Value box.
5. Enter the phase for the current in the Phase box.
6. Select the Solid or Stranded radio button to specify the type of conductor.
7. Select either Positive or Negative as the Ref. Direction for the conductor.
8. Optionally, click Use Defaults to revert to the default values in the dialog box.
9. Click OK to assign the excitation to the selected object.
Assigning a Current Density Excitation for the 2D Eddy Current Solver
This command specifies the applicable component (depending on XY or RZ solution type) of the
AC current density. If the current density is a function of position, the value is entered in ampere/
m
2
, even if you change the units in the problem.
To define the current density:
1. Select the section of the geometry (i.e., the conductor) in which you want to apply the excita-
tion (typically a 2D object).
2. Click Maxwell2D>Excitations>Assign>Current Density.
The Current Density Excitation dialog box appears.
3. Enter a name for the excitation in the Name box, or accept the default.
4. In the Parameters section, specify the following options:
a. Enter the current strength in the Value box. The value may be a single numeric value or a
spatial function.
b. If the value is specified as a spatial function, select the Coordinate System from the pull-
down list.
c. Enter the phase angle, , of the current density in the Phase field, and select a unit from
the pull-down list.
5. Optionally, click Use Defaults to revert to the default values in the dialog box.
6. Click OK to assign the excitation to the selected object.
Note For parallel solid conductors, the current split will be based upon the overall field
solution including eddy effects (the currents in individual parallel conductors will have
complex values, which are proportional with the respective admittances, and in general
will have different phase angles between them). If stranded conductors are specified, the
current is split based upon the relative areas of the selected conductors.
Maxwell 2D Online Help
10-40 Assigning Boundaries and Excitations for 2D
2D Transient Boundaries and Excitations
Define at least one of the following as a source of magnetic fields:
The stranded or solid windings, with a voltage or current supply or connected to an external
circuit.
Permanent magnet(s).
You will need to set at least one outer boundary to the following:
Value (vector potential) boundary conditions.
An odd symmetry (flux tangential) boundary.
An even symmetry (flux normal) boundary.
Related Topics
2D Transient Boundaries
2D Transient Excitations
Technical Notes: Transient Simulation
Specifying the Solver Type
Permanent Magnet Excitations
2D Transient Boundaries
The transient field solver allows you to define the same types of boundary conditions as magneto-
static ones.
Boundary Type H-Field Behavior Used to model...
Default Boundary
Conditions
(Natural and
Neumann)
Field behaves as follows:
Natural boundaries Tangential H and
normal B are continuous across surfaces
without current density distribution.
Tangential H has a jump if the surface
has current density distribution.
Neumann boundaries Magnetic field
is normal to the boundary.
Initially, object interfaces have
natural boundaries; outer
boundaries, and excluded
objects have Neumann
boundaries.
Vector Potential Sets the magnetic vector potential , or
, on the boundary. The behavior of H
depends on whether or is
constant or functional.
Outer boundaries at specific
vector potentials; externally
applied magnetic fields.
A
Z
rA
A
Z
rA
----------------------------
=
M
ii
M
jj
--- J
2
V d
vol
}
=
Maxwell 3D Online Help
Post Processing and Generating Reports 19-85
Named Expressions
Named expressions can contain any combination of scalar, vector, or geometry functions. When
you plot a field overlay or create a report based on a named expression, only corresponding quanti-
ties are available.
For example, if you select a point for the Geometry and a Category that is a named expression
based on the point (or other scalar, non-3D value), then the Quantity list only lists expressions that
returns a single scalar value. If you have added named expressions that take the magnitude of the
ScalarX(), ScalarY(), or ScalarZ() of a vector point value, then you can create output variables for
those expressions only in this case.
Named expressions can be plotted in the following three ways:
To create a field overlay of a named expression, the expression must be a real value (scalar or vec-
tor) that has values everywhere in space (or at least on every point in the geometry you plan to use
for the field overlay).
To create a 2D report from a named expression that evaluates in the Fields Calculator as a single
scalar value, the expression must result in a single-valued, real, scalar value. A single-valued item
could be the value on a single point in space or the result of a function that returns a single value
(such as an integration, max/value, min/value, or other function).
To create a 2D report from a named expression that is evaluated (in the Fields Calculator) along a
polyline, the expression must be a real scalar that has values everywhere in space (or at least every-
where on the line object you want to use to sample the values).
Named expressions can be created in the Fields Calculator.
Plotting Derived Field Quantities
Derived field quantities are field quantity representations that have been deduced from the original
field solution using the Fields Calculator.
1. Select a point, line, surface, or object to create the plot on or within. You may also select a
Stranded
Loss
There are two types of stranded loss quantities, StrandedLoss and
StrandedLossR:
StrandedLoss represents the resistive loss in a 2D or 3D volume and is
calculated by:
where J is the conductivity of the material. (Reported for a stranded voltage
or current source using an external circuit; assumes winding fill factor =
100%.)
StrandedLossR represents the loss based on I
2
times the resistance R
(Reported for a stranded voltage source not in an external circuit.)
StrandedLoss
1
--- J
2
V d
vol
}
=
Maxwell 3D Online Help
19-86 Post Processing and Generating Reports
plane or object list in the History Tree.
If it does not exist, create it.
2. Click Maxwell3D or Maxwell2D and select Fields>Fields>Named Expression.
The Selecting calculated expression dialog box appears.
3. Select the derived quantity you want to plot, and then click OK.
The Create Field Plot dialog box appears.
4. To specify a name for the plot other than the default, select Specify Name, and then type a new
name in the Name box.
5. To specify a folder other than the default in which to store the plot, select Specify Folder, and
then click a folder in the pull-down list. Plot folders are listed under Field Overlays in the
project tree.
6. Select the solution to plot from the Solution pull-down list.
7. Select the derived field quantity to plot from the Quantity list.
8. Select the volume or surface (region) in which to plot the field from the In Volume list.
This selection enables you to limit plots to the intersection of a volume and the selected object.
9. Click Done.
The derived field quantity you created in the Fields Calculator is plotted on the surfaces or
objects you selected. The new plot is listed in the project tree under Field Overlays.
Creating 2D Reports From Named Expressions
You can create a 2D report from named expressions that evaluate as a single scalar value or that
evaluate along polylines.
To create a report from a named expression evaluating as a single scalar value:
1. Click Maxwell2D or Maxwell3D>Results>Create Report.
The Create Report dialog box appears.
2. In the Target Design pull-down list, click the design containing the solution data you want to
Note For 2D Designs, a plane selection must be consistent with the drawing plane or an error
will result.
Note If you select a point for the Geometry and a Category that is a named expression based
on the point (or other scalar, non-3D value), then the Quantity list only lists expressions
that returns a single scalar value. If you have added named expressions that take the
magnitude of the ScalarX(), ScalarY(), or ScalarZ() of a vector point value, then you can
create output variables for those expressions only in this case.
Note If you select a polyline for the Geometry and a Category that is a named expression
based on the line, then the Quantity list only lists corresponding expressions (i.e., will
not list scalar values when a line is selected as the geometry).
Maxwell 3D Online Help
Post Processing and Generating Reports 19-87
plot.
3. Select Fields from the Report Type pull-down list.
4. In the Display Type pull-down list, select the type of report you want to create.
5. Click OK.
The Traces dialog box appears.
6. In the Solution pull-down list, click the solution containing the data you want to plot.
7. Add one or more traces to include in the report.
8. Click Done.
The report appears in the view window and is listed in the project tree. Once you have created
a report, additional options become available on the Results submenu.
To create a report from a named expression evaluating along a polyline:
1. Click Maxwell3D, Maxwell2D or RMxprt and select Results>Create Report.
The Create Report dialog box appears.
2. In the Target Design pull-down list, click the design containing the solution data you want to
plot.
3. Select Fields from the Report Type pull-down list.
4. In the Display Type pull-down list, select the type of report you want to create.
5. Click OK.
The Traces dialog box appears.
6. In the Solution pull-down list, click the solution containing the data you want to plot.
7. Select the geometry you want to plot from the Geometry pull-down list.
8. Add one or more traces to include in the report.
9. Click Done.
The report appears in the view window and is listed in the project tree. Once you have created
a report, additional options become available on the Results submenu.
Note If you select a point for the Geometry and a Category that is a named expression based
on the point (or other scalar, non-3D value), then the Quantity list only lists expressions
that returns a single scalar value. If you have added named expressions that take the
magnitude of the ScalarX(), ScalarY(), or ScalarZ() of a vector point value, then you can
create output variables for those expressions only in this case.
Note If you select a polyline for the Geometry and a Category that is a named expression
based on the line, then the Quantity list only lists corresponding expressions (i.e., will
not list scalar values when a line is selected as the geometry).
Maxwell 3D Online Help
19-88 Post Processing and Generating Reports
Creating Scalar Field Plots
A scalar plot uses shaded colors or contoured lines to illustrate the magnitude of field quantities on
surfaces or volumes.
1. Do one of the following:
a. To create a scalar surface plot, select the faces on which you want to plot the fields.
b. To create a scalar volume plot, select the objects within which you want to plot the fields.
2. Click Maxwell3D or Maxwell2D and then select Fields>Fields.
3. On the Fields submenu, click the scalar field quantity you want to plot.
The Create Field Plot dialog box appears.
4. Follow the procedure for plotting field overlays.
The new plot is listed in the specified plot folder in the project tree.
Related Topics
Modifying Field Plot Attributes
Creating Vector Field Plots
A vector plot uses arrows to illustrate the magnitudes of the x-, y-, and z-components of field quan-
tities. Vector plots can be created on surfaces or volumes.
1. Do one of the following:
a. To create a vector surface plot, select the faces on which you want to plot the fields.
b. To create a vector volume plot, select the objects within which you want to plot the fields.
2. Click Maxwell3D or Maxwell2D and then select Fields>Fields.
3. On the Fields submenu, click the vector field quantity you want to plot.
4. Follow the procedure for plotting field overlays.
If you select a vector quantity, you can also check Streamline for the plot.
Related Topics
Modifying Field Plot Attributes
Plotting Field Overlays
Modifying Field Plots
1. Click Maxwell3D or Maxwell2D and then select Fields>Modify Plots , or in the Project
tree, select the Field Overlays icon, right-click, and select Modify Plots or use the "m" hot-
key.
The Select Field Plot(s) dialog box appears.
2. Select the plot you want to modify from the Select column, and then click OK.
The Modify Field Plot dialog box appears.
3. Optionally, click a different solution to plot from the Solution pull-down list.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-89
4. Optionally, click the Specify Name check box to enable the name field.
5. Optionally, specify a different folder in which to store the plot.
6. Optionally, select a different field quantity to plot from the Quantity list.
To choose a calculated expression, select Calculator from the Category pull-down list.
To choose a default field quantity, select Standard from the Category pull-down list.
7. Under Intrinsic Variables, specify the time at which the field quantity will be evaluated.
8. Select the volume, or region, in which the field is to be plotted from the In Volume list.
This selection enables you to limit plots to the intersection of a volume and the selected object.
9. Click Apply, and then click Done.
The field quantity is plotted on the surfaces or within the objects you selected. The new plot is
listed in the specified plot folder in the project tree.
The plot uses the attributes specified in the Plot Attributes dialog box.
Related Topics
Setting a Plots Visibility
Add Trace Characteristics
Setting Field Plot Attributes
Setting Field Plot Attributes
After creating a vector or scalar field overlay on a surface or volume, you can modify its appear-
ance by changing the settings in the Plot Attributes dialog box. When you modify the settings for
a plot folder, all plots in that folder are modified with the same attributes.
1. Click Maxwell3D or Maxwell2D and select Fields>Modify Plot Attributes , or in the
Project Manager window, select the Field Overlays icon, and select Modify Attributes.
The Select Plot Folder window appears.
2. Select the plot folder you want to modify, and then click OK. (You can also select the specific
plot in the Project tree, and select Modify Attributes from the right click menu.)
A dialog box with attribute settings for the selected plot appears.
3. Change the desired plot attributes. Under the following tabs in the dialog box, you can control
the following attributes:
Color map The number of colors used and how they are displayed.
Scale The scale of field quantities.
Marker/
Arrow
The appearance of points (for scalar point plots).
The appearance of arrows (for vector plots).
Deformation
Scale
Select whether to show or hide the deformation and also
scale the plot. (Applicable only when stress feedback
coupling with ANSYS Structural is enabled.)
Maxwell 3D Online Help
19-90 Post Processing and Generating Reports
4. Optionally, click Save as default if you want the tab's settings to apply to field overlay plots
created after this point.
5. Select Real time mode if you want the changes to take effect immediately in the view win-
dow. If this option is cleared, click Apply when you want to see the changes.
6. For Mesh plots, the following attributes can be modified: You can use the Save As Default
button to apply these settings to all meshes in the folder.
Plots
(if not
streamline)
The plot selected.
To display or hide the mesh on the plots surface or volume.
The type of isovalue display (for scalar plots.)
The transparency based on solution value.
Whether to add a grid (that is, a mesh overlay), and to set the
grid color.
Specify the plot resolution as Coarse, Normal, Fine, or
Very Fine.
This affects the use of memory for animating plots. For large
plots with more frames to animate, use Coarse or Normal to
reduce memory requirements and improve performance. For
smaller plots with few frames, if higher resolution is
required, use Fine or Very Fine.
The spacing of arrows (for vector plots).
Plots
(if streamline
is checked)
The plot selected
The linestyle as solid or cylinder from dropdown menu.
Line width, specified using a slider.
Whether to show marker on streamline.
Seeds density spacing. This affects the number of stream
lines used to represent the quantity in the plot. Moving the
slider to the left decreases the spacing and increases the
number of stream lines. Moving the slider to the right
increases the spacing and decreases the number of lines used
to represent the quantity.
Min. and Max. values represented.
Plot A drop down list of available plots.
Scale Factor The size at which the tets are displayed. Scaling may let you analyze
particular situations better.
Transparency The degree of transparency for the tets.
Wire Frame or
Shaded
Whether to display the tets as wire frame or shaded.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-91
7. Click Close to dismiss the dialog box.
Related Topics
Setting a Plots Visibility
Plotting the Mesh
Setting Mesh Plot Attributes
Plotting Field Overlays
Modifying Field Plot Colors
1. Click Maxwell3D or Maxwell2D and select Fields>Modify Plot Attributes , or in the
Project tree, right click on the Field Overlays icon and select Modify Plots from the short-cut
menu,.
The Select Plot Folder window appears.
2. Select the plot you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
3. Click the Color map tab.
4. Select one of the following color types:
You can choose Save as Default, if you want to use the current settings.
Select Real time mode if you want these, or subsequent changes to take effect immediately in
the view window.
If this option is cleared, click Apply when you want to see the changes.
5. Click the Scale Tab.
6. In the Num. Divisions field, enter the number of colors to use in the plot.
Mesh Color for
Line and Fill
The color for the tet edge lines and fill. Clicking the button for each
displays a color selection dialog.
Surface Only Whether to plot the surface only, or the 3D structure.
Real Time Whether to show changes to a mesh in real time.
Note All plots in the selected folder are modified.
Uniform Field quantities are plotted in a single color. Select the plot color
from the Color palette.
Ramp Field quantities are plotted in shades of a single color. Select the
plot color from the Color palette. The shade of the color
corresponds to its field value.
Spectrum Field quantities are plotted in multiple colors. Select a color
spectrum from the pull-down list. Each field value is assigned a
color from the selected spectrum.
Maxwell 3D Online Help
19-92 Post Processing and Generating Reports
You can choose Save as Default, if you want to use the current settings.
Select Real time mode if you want the changes to take effect immediately in the view win-
dow.
If this option is cleared, click Apply when you want to see the changes.
7. Click Close to dismiss the dialog box.
Related Topics
Setting a Plots Visibility
Setting the Color Key Visibility
Moving the Color Key
Setting the Color Key Visibility
The color key (shown below) displays the range of plotted field values for a field overlay plot.
It displays the colors that correspond to the range of field values on the plot.
1. Click View>Active View Visibility .
The Active View Visibility dialog box appears.
2. Click the Color Keys tab.
3. In the Visibility column, select the field overlay or mesh plots in which you want to dis-
play the color key. Clear the plots for which you want to hide the color key from view.
4. Click Done to close the dialog box.
Alternatively, to hide the color key, right-click on the color key in the view window, and then
click Hide from the shortcut menu.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-93
Only the color keys in the selected plots are visible.
Related Topics
Modifying Field Plot Colors
Moving the Color Key
Moving the Color Key
Click on the active field overlay plot's color key and drag it to a new location.
Related Topics
Setting the Color Key Visibility
Modifying the Field Plot Scale
To change how field quantities are scaled on the field overlay plot:
1. Click Maxwell3D or Maxwell2D and select Fields>Modify Plot Attributes or in the
Project tree, right click on the Field Overlays icon and select Modify Plots from the short-cut
menu.
The Select Plot Folder window appears.
2. Select the plot folder you want to modify, and then click OK.
Note All plots in the selected folder are modified.
Range of Plotted
Field Values
Color Map
Plot Title
Maxwell 3D Online Help
19-94 Post Processing and Generating Reports
A dialog box with attribute settings for the selected folder appears.
3. Click the Scale tab.
4. Optionally, to change the number of divisions in the field plot scale, set the Num. Division
field to a new value. You can click Save as Default, if desired.
5. Select one of the following scale options:
a. If you selected Use Limits, enter the lowest field value to be plotted in the Min. box and
the highest field value to be plotted in the Max. box.
b. If you selected Auto, the Auto Scale Options are enabled. You should only change this
for cases where auto-min is a small number. Use the Limits Max/Min precision to check-
box to enable setting the drop down menu for the precision limit. The auto-min is the
greater of the following:
Actual computed Min
Max/pow(10, num digits of field precision)
c. If you selected Specify Values, you can click the Scale Values button. This opens a dia-
log with an editable, scrollable list of the current scale values. To apply the changes you
make, click the OK button. To close the dialog without make changes, click Cancel.
6. Optionally, use the Units drop down menu to select the default unit of measure for the plot.
7. If you selected Auto or use Limits, you can select one of the following options:
8. Select Real time mode if you want the changes to take effect immediately in the view win-
dow.
Auto The full range of field values will be plotted on the selected surface or
volume. Selecting Auto enables the Auto Scale Options and disables the
Min and Max fields. By default, precision is not limited and auto-min is
the actual computed min on the plotted geometry.
Use Limits Only the field values between the minimum and maximum values will be
plotted. Field values below or above these values will be plotted in the
colors assigned to the minimum or maximum limits, respectively.
Selecting Use Limits enables the Min and Max fields and disables the
Auto Scale Options.
Field values have a precision of at most 6 decimal places (field solution
files are saved in floating precision), so Min/Max numbers are displayed to
this precision.
Specify Values This enables a Scale Values button..
Linear Field values are plotted on a linear scale.
Log Field values are plotted on a logarithmic scale. If field plots have negative
and positive values and when auto-scale is selected, the log-scale choice
automatically sets the Min value as the Max/Min Ratio. (If field plots
have all negative values, Log is not allowed.)
Maxwell 3D Online Help
Post Processing and Generating Reports 19-95
If this option is cleared, click Apply when you want to see the changes.
9. Optionally, you can use the Save As Default button to save the following to registry:
Whether to limit field precision,
The number of digits of field precision,
Whether to use log/linear scale.
Auto scale is always be default for new plots. For scalar-in-volume plots, iso-surface (rather
than cloud) is the default display
10. Click Apply, and then click Close to dismiss the window.
Modifying Vector Field Plot Arrows
To change the appearance of a vector field plot's arrows:
1. Click Maxwell3D or Maxwell2D and select Fields>Modify Plot Attributes .
The Select Plot Folder window appears.
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
3. Click the Marker/Arrow tab.
4. Under Arrow options, select one of the following arrow types from the Type pull-down list:
5. Use the Size slider to increase (move to the right) or decrease (move to the left) the length and
dimensions of the arrows. The arrows are resized relative to the size of the model geometry.
6. Select Map size to scale the size of the arrows to the magnitude of the field quantity being
plotted.
7. Select Arrow tail to include tails on all arrows.
8. Click the Plots tab.
9. Under Vector plot, use the Spacing slider to increase (move to the right) or decrease (move to
the left) the distance between arrows (grid points.)
10. If you want the arrows to be spaced equally, select Uniform, and enter values in the Min and
Max boxes.
Note All plots in the selected folder are modified.
Line The arrows are displayed as 2D/flat.
Cylinder The arrow tails are displayed as cylinders. The arrowheads are
displayed as 3D/round.
Umbrella The arrow tails are displayed as 1D lines. The arrowheads are
displayed as 3D/round.
Note Maxwell plots arrows on a grid that is superimposed on the surface or object you
selected for the plot.
Maxwell 3D Online Help
19-96 Post Processing and Generating Reports
11. Select Real time mode if you want the changes to take effect immediately in the view win-
dow. If this option is cleared, click Apply when you want to see the changes.
12. Click Apply, and then click Close to dismiss the window.
Setting the Mesh Visibility on Field Plots
To display or hide the mesh on field plots or to change the mesh's color:
1. Click Maxwell3D or Maxwell2D and select Fields>Modify Plot Attributes .
The Select Plot Folder window appears.
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
3. Click the Plots tab.
4. Select Add grid to display the mesh.
5. Optionally, select a color for the mesh from the Color palette.
6. Select Real time mode if you want the changes to take effect immediately in the view win-
dow.
If this option is cleared, click Apply when you want to see the changes.
7. Click Apply, and then click Close.
Related Topics
Plotting the Mesh
Setting a Plots Visibility
Modifying Scalar Field Plot Isovalues
1. Click Maxwell3D or Maxwell2D and select Fields>Modify Plot Attributes .
The Select Plot Folder window appears.
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
3. Click the Plots tab.
4. If the plot is a scalar surface plot, do the following:
a. Select one of the following isosurface display types from the IsoValType pull-down list:
Note All plots in the selected folder are modified.
Note All plots in the selected folder are modified.
Line Lines are drawn along the isovalues.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-97
b. Optionally, if you selected Fringe or Tone, select Outline to add a border line between
isovalues.
5. Use the Map transp. slider to increase (move to the right) or decrease (move to the left) the
transparency of the plot.
If you select Map transp., the transparency of field values increases as the solution values
decrease.
6. If the plot is a scalar volume plot, do the following:
a. Select one of the following display types:
b. Optionally, if you selected Cloud, use the Cloud density slider to increase or decrease the
number of points that represent the density on the volume.
c. Optionally, if you selected Cloud, enter a point size for the clouds in the Point size box.
7. Use the Map transp. slider to increase (move to the right) or decrease (move to the left) the
transparency of the plot.
If you select Map transp., the transparency of field values increases as the solution values
decrease.
8. Select Real time mode if you want the changes to take effect immediately in the view win-
dow. If this option is cleared, click Apply when you want to see the changes.
9. Click Apply, and then click Close to dismiss the window.
Mapping Scalar Field Plot Transparency to Field Values
1. Click Maxwell3D or Maxwell2D and select Fields>Modify Plot Attributes .
The Select Plot Folder window appears.
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
3. Click the Plots tab.
4. Use the Map transp. slider to increase (move to the right) or decrease (move to the left) the
transparency of the plot.
If you select Map transp., the transparency of field values increases as the solution values
Fringe Color is constant between isovalues.
Tone Color varies continuously between isovalues.
Gourard Color varies continuously across the plot.
IsoValSurface Color is drawn on the isovalues.
Cloud Field values are represented by points that illustrate the spatial
distribution of the solution. The higher the solution value, the
greater the cloud density.
Note All plots in the selected folder are modified.
Maxwell 3D Online Help
19-98 Post Processing and Generating Reports
decrease.
5. Select Real time mode if you want the changes to take effect immediately in the view win-
dow.
If this option is cleared, click Apply when you want to see the changes.
6. Click Apply, and then click Close to dismiss the window.
Modifying Markers on Point Plots
For scalar point plots, a marker is used to represent a field quantity at a selected point. (For vector
point plots, arrows are used.) Modify the shape and size of markers in the plot attributes window.
1. Click Maxwell3D or Maxwell2D and select Fields>Modify Plot Attributes.
The Select Plot Folder window appears.
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
3. Click the Marker/Arrow tab in the plot attributes window.
4. Under Marker options, select one of the following marker types to represent the field quantity
at the point:
Sphere
Box
Tetrahedron
Octahedron
5. Use the Size slider to increase (move to the right) or decrease (move to the left) the size of the
marker.
6. Select Map size to scale the size of the marker to the magnitude of the quantity being plotted.
7. Select Real time mode if you want the changes to take effect immediately in the view win-
dow. If this option is cleared, click Apply when you want to see the changes.
8. Click Apply, and then click Close.
Related Topics
Drawing a Point
Viewing Data Markers
The difference between two markers can be viewed on a plot.
1. Click Report 2D>Data Marker.
2. Click the first point on the graph.
3. Hold-and-drag the mouse and release at the second point.
Under the XY plot, you can see the difference between the two marker points.
Note All plots in the selected folder are modified.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-99
Modifying Line Plots
Field quantities can be plotted directly on a line object. Scalar quantities are plotted as 3D color-
shaded lines. Vector quantities are plotted as arrows that are based on the line.
To modify the appearance of line plots:
1. Click Maxwell3D or Maxwell2D and select Fields>Modify Plot Attributes .
The Select Plot Folder window appears.
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
3. Click the Plots tab.
4. Select one of the following isosurface display types from the IsoValType pull-down list:
5. Select one of the following styles for the line object from the Line style pull-down list:
6. Use the Line width slider to increase (move to the right) or decrease (move to the left) the
thickness of the line.
7. By default, a polyline object is divided into 100 equally spaced points for post processing. To
modify the number of points on the line, type a new value in the Number of points box.
8. Select Real time mode if you want the changes to take effect immediately in the view win-
dow. If this option is cleared, click Apply when you want to see the changes.
9. Click Apply, and then click Close.
Related Topics
Drawing a Polyline
Setting a Plot's Visibility
To display or hide a field overlay or mesh plot from view in the 3D Modeler window:
Note All plots in the selected folder are modified.
Fringe Color is constant between isovalues.
Tone Color varies continuously between isovalues.
Gourard Color varies continuously across the plot.
Cylinder The line object is shaped like a cylinder.
Solid The line object is a 3D solid.
Dash-Dash The line object is represented by dashed black line segments.
Dot-Dot The line object is represented by a series of dots.
Dash-Dot The line object is represented by a a series of alternating dashed black line
segments and dots.
Maxwell 3D Online Help
19-100 Post Processing and Generating Reports
1. Click View>Active View Visibility . Alternatively, you can select the Active View Vis-
ibility icon from the toolbar.
The Active View Visibility dialog box appears.
2. Click the FieldsReporter tab.
3. In the Visibility column, select the field overlay or mesh plots you want to display. Clear the
plots you want to hide from view.
4. Click Done.
Only the selected plots are visible.
Saving a Field Overlay Plot
Field overlay and mesh plots are saved in the project file (.adsn); however, you can save a plot to a
Maxwell Field Plot File format (.dsp) and then open it in Maxwell.
To save field overlay or mesh plot data to a .dsp file:
1. In the project tree, click the plot you want to export.
2. Click Maxwell3D or Maxwell2D and select Fields>Save as .
The Select Field Plot(s) dialog box appears.
3. Select the plots you want to export by checking the Select box, and then click OK.
A file browser appears.
4. Make sure that Field Plot Files (.dsp) is the selected file type.
5. Specify the name of the .dsp file and the location in which to save it.
6. Click Save.
The plot is exported to the specified .dsp file.
The file you created can be opened in Maxwell version 9 and later. Simply click Maxwell3D or
Maxwell2D and select Fields>Open.
Opening a Field Overlay Plot
To open a field overlay or mesh plot that you have saved to Maxwell Field Plot File format (.dsp) in
Maxwell version 9 and later:
1. Click Maxwell3D or Maxwell2D and select Fields>Open .
A file browser Open dialog box appears.
2. Make sure that Field Plot Files (.dsp) is the selected file type in the Files of type pull-down
list.
3. Browse to the location of the .dsp file you want to open, and then click the file name.
4. Click Open.
The plot appears in the view window and is listed under Field Overlays in the project tree.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-101
Deleting a Field Overlay Plot
1. Click Maxwell3D or Maxwell2D and select Fields>Delete Plot .
The Delete Plots dialog box appears.
2. Select the plot(s) you want to delete by checking the Delete check box in the appropriate row.
3. Click OK.
The selected plots are deleted.
Alternatively, click the plot in the project tree that you want to delete, and then press Delete.
Setting Field Plot Defaults
Each new field plot uses the default plot settings specified in the Set Plot Defaults dialog box.
To modify the default plot settings:
1. If a plot folder has not been created, click Field Overlays in the project tree.
2. Click Maxwell3D or Maxwell2D and select Fields>Set Plot Defaults .
The Set Plot Defaults dialog box appears.
3. Select the solution to plot from the Solution pull-down list.
4. Select the plot folder in which new plots will be stored from the Plot Folder pull-down list.
Select from one of the following options:
5. Under Intrinsic Variables, specify the frequency and phase angle at which the field quantity
is evaluated.
6. Click OK.
Renaming a Plot
To rename a plot, do the following in the project tree:
1. Under Field Overlays, expand the field type, and right-click the specific plot you want to
rename.
A shortcut menu appears.
2. Select Rename.
The text becomes editable in the project tree.
3. Type the new name, and press Enter.
New Folder Each new plot is stored in a separate folder in the project tree.
Automatic Each new plot is stored in a folder determined by Maxwell as the most
appropriate based on the plotted field quantity. For example, all surface
magnitude E plots are stored in the same folder.
An existing folder Select the existing folder in which you want to store new plots.
Note Plots stored in the same folder use the same color key. The Auto scale setting is based on
the maximum field solution value present in a plot.
Maxwell 3D Online Help
19-102 Post Processing and Generating Reports
Using the Fields Calculator
The Fields calculator enables you to perform computations using basic field quantities. The calcu-
lator computes derived quantities from the general electromagnetic field solution; writes field
quantities to files, locates maximum and minimum field values, and performs other operations on
the field solution.
The calculator allows you to define a series of calculations to be performed on the field solution but
does not actually perform the computations until data is required, for a field plot as an example.
This makes it more efficient, saving computing resources and time. You can do all the calculations
without regard to data storage of all the calculated points of the field. It is generally easier to do all
the calculations first, then plot the results.
Related Topics
Opening the Fields Calculator
Context Area
Calculator Stack
Registers
The Stack Commands
Input Commands
General Commands
Scalar Commands
Vector Commands
Output Commands
Calculating Derived Output Quantities
Named Expression Library
Opening the Fields Calculator
To open the Fields Calculator, do one of the following:
Click Maxwell3D or Maxwell2D and select Fields>Calculator .
Right-click Field Overlays in the project tree, and then click Calculator on the shortcut menu.
The Fields Calculator dialog box appears.
To view information on a command or screen area, click over the button or screen area on the illus-
tration below.
Note In Maxwell2D, the Fields Calculator accounts for the difference between XY and RZ
models when handling data and results. For example, the integral command will perform
an XY integral on the model assuming a 1 meter depth, while for an RZ model it will
perform an integral on the 360 degree equivalent volume.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-103
Maxwell 3D Online Help
19-104 Post Processing and Generating Reports
Context Area
The panel at the upper right of the window identifies the context to be used for the calculations. The
top line identifies the design. Depending on the design, text entry boxes allow you to select a Solu-
tion, Field Type, or Time.
The Field Type here is not related to the edit sources. This is a general term among Ansoft products
(HFSS, Maxwell, and Q3D). Some products have more than one field type for different solution
types. If only one Field Type is available the box is grayed out.
The Change Variable Values button opens a Set Variable Values dialog. By default it has Use
Nominal Design checked. Unchecking the box lets you select another variable value. OK the dia-
log to accept the selection.
Related Topics
Opening the Fields Calculator
The Calculator Stack
The calculator is made up of a stack of registers, each of which can hold:
Field quantities.
Functional or constant scalars and vectors.
Geometries points, lines, surfaces, or volumes on which a field quantity is to be evalu-
ated.
To perform a computation on the field solution, you must first load a basic field quantity into a reg-
ister on the stack. Once a quantity is loaded into a register, it can be:
Manipulated using mathematical operations such as curls, gradients, cross products, diver-
gences, and dot products.
Integrated over lines, surfaces, or subvolumes of the solution region either predefined sur-
faces, volumes, and lists, or lines, surfaces, and volumes that were defined using the Draw
commands.
Plotted on a point, line, surface, or volume.
Exported to a file, allowing you to superimpose saved solutions.
Related Topics
Registers
Using the Fields Calculator
Registers
Calculator registers hold field quantities, numbers, vectors, and geometries. No registers are cre-
ated until you load something into the calculator; therefore, this part of the window is initially
blank. As items are loaded into the calculator, it creates new registers to hold them.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-105
Each register is labeled with its contents as follows:
When examining calculator registers, keep the following in mind:
To move or delete calculator registers, use the stack commands.
To save a register to a disk file, use the Write command.
Related Topics
Enlarging the Register Display Area
Units of Measure
Enlarging the Register Display Area
If there are too many registers to fit into the display area, do one of the following:
Use the scroll bars to view the hidden registers.
Enlarge the calculator window using the windows borders.
Related Topics
Registers
Units of Measure
Unless you are prompted specifically for the unit of measure, all measurements should be assumed
to be in SI base units, not model units.
Related Topics
Registers
Stack Commands
Use these commands to manipulate the registers in the calculator stack.
Vec Vector quantities, which have both direction and magnitude at each point in space.
The x-, y-, and z-components of these quantities are stored in the register.
Scl Scalar quantities, which have a magnitude only.
CVc Complex vector quantities.
CSc Complex scalar quantities.
Pnt Points.
Lin Lines.
Srf Surfaces.
Vol Volumes.
SclLin Scalar value on a line.
VecLine Vector value on a line.
SclSrf Scalar value on a surface.
VecSrf Vector value on a surface.
Maxwell 3D Online Help
19-106 Post Processing and Generating Reports
Push
Reloads the quantity in the top register onto the top of the stack, creating a new register. The con-
tents of the top two registers are identical.
Pop
Deletes the top register from the stack.
RlUp
Rolls the top register to the bottom of the stack, moving the other registers up the stack.
RlDn
Rolls the bottom register to the top of the stack, moving the other registers down the stack.
Exch
Exchanges the top two registers in the stack.
Clear
Clears the contents of the stack.
Undo
Use this command to undo the effect of the last operation you performed on the contents of the top
register. Successive Undo commands act on any previous operations.
Related Topics
Using the Fields Calculator
Input Commands
Use the following commands to load data onto the top of the calculator stack:
Note You cannot undo a simple operation such as loading a field quantity, constant, function,
or geometry into the calculator. Instead, use the Pop or Clear commands to delete these
items from the calculator stack.
Quantity Basic quantities, such as current, magnetic field, etc.
Geometry Geometries such as planes, points, polylines, and volumes.
Constant Predefined constants such as ,
0
, and conversion factors between
various units of measurement.
Number Vector and scalar constants, including complex numbers.
Function Previously saved calculator registers containing field quantities.
Geom Settings Vector and scalar math functions.
Read Reads an input saved externally.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-107
These quantities can be manipulated using the Stack commands, General commands, Scalar com-
mands, and Vector commands. The results of these calculations can then be examined using the
Output commands.
Related Topics
Using the Fields Calculator
Quantity Command
The Quantity command loads a field quantity into the top register of the calculator. The quantities
available depend upon the solution and design type. These are the same field quantities available
for plotting from the Maxwell3D>Fields and Maxwell2D>Fields menu.
Related Topics
Plotting Standard Field Quantities
Using the Fields Calculator
Geometry Command
The Fields Calculator Geometry command opens a dialog that lets you select a geometry to load
into the top register of the calculator. Do this to:
Find the value of derived field quantities on any point, line, surface, or volume.
Plot quantities directly from the calculator.
Display a previously defined isosurface, maximum or minimum field point using the Draw
command.
The following types of geometries are available:
To load a geometry into the calculator:
1. In the Fields Calculator, click Geometry.
The Geometry dialog box appears.
2. Select a geometry type.
Point - See drawing a point object. Points you draw are listed in the history tree, and in the
Calculator Geometry dialog when you select Point.
Line- See drawing a line object. Lines you draw are listed in the history tree, and in the Calculator
Geometry dialog when you select Line. To set the number of points on a line, see Geom Settings .
Surface - Sheet objects and face lists which you can make, are listed under surface in the history
tree and in the Calculator Geometry dialog when you select Surface.
Due to the ambiguity of the normal vector of a sheet, the result may require a multiplication by ( 1 ) or ( -1 ).
Volume - 3D objects, Regions, and object lists of 3D objects including AllObjects are available in
the Calculator Geometry dialog when you select Volume.
Coord - Coordinate systems are available in the Calculator Geometry dialog when you select
Coord.
Maxwell 3D Online Help
19-108 Post Processing and Generating Reports
A list of all available geometries appears.
3. Click the geometry.
4. Click OK to load the geometry.
Related Topics
Using the Fields Calculator
Input Commands
Domain command
Export Command
Geom Settings
Constant Command
The Constant command loads one of these predefined constants or a conversion constant into the
top register of the calculator:
Related Topics
Using the Fields Calculator
Input Commands
Note Consider a box (Box2) that is completely enclosed in a bigger box (Box1), so that no
faces of Box2 are touching any faces of Box1.
If you explicitly subtract Box2 from Box1, any calculation on the surface (faces) of
Box1 will use the 6 exterior faces and the 6 interior faces. Any calculation on the volume
of Box1 will use the difference in volume between Box1 and Box2.
If you do not explicitly subtract Box2 from Box1, the inner box is only implicitly
subtracted. Any calculation on the surface of Box1 in this case will use only the 6
exterior faces of Box1. Any calculation on the volume of Box1 will use the entire
volume without subtracting the volume of Box2.
Pi = 3.14159265358979
Epsi0 The permittivity of free space,
0
= 8.85418782 x 10
12
F/m.
Mu0 The permeability of free space,
0
= 4 x 10
7
H/m.
C The speed of light in vacuum, c = 2.99792458 x 10
8
m/s.
conversion
constant
Displays the Enter Units Conversion Factor dialog box. This dialog box lists a
range of Quantities (such as frequency, resistance, and others) along with a list of
Units (Hz to Thz, and rps) to convert From and To. The ratio of the Units from
to the Units to is displayed for the selected values as the Conversion Factor.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-109
Number Command
The Number command enters one of the following into the top register of the calculator:
Related Topics
Using the Fields Calculator
Input Commands
Function Command
Any functions you use must be defined before using this operation.
Scalar A scalar constant. To enter a constant scalar number:
1. Click Number.
The Input Number dialog box appears.
2. Select Scalar.
3. Type the scalar value in the Value box.
4. Click OK to load the number into the top register.
Vector A vector constant.
To enter a constant vector:
1. Click Number.
The Input Number dialog box appears.
2. Select Vector.
3. Enter the x-, y-, and z-components of the vector.
4. Click OK to load the vector into the top register.
Complex A complex constant. Complex constants are entered in the form
C=A+jB, where A represents the real part of the constant and B
represents the imaginary part.
1. Click Number.
The Input Number dialog box appears.
2. Select Scalar or Vector.
3. Select Complex.
4. Enter the real and imaginary components of the number.
5. Click OK to load the number into the top register.
Maxwell 3D Online Help
19-110 Post Processing and Generating Reports
Enters one of the following into the top register of the calculator:
Related Topics
Using the Fields Calculator
Input Commands
Geometry Settings
Clicking the Geom Settings button opens the Geometric Settings dialog box. The dialog box
allows you to specify the line discretization, the number of equally-spaced points used to integrate
fields and other quantities on a line. The default is 1000 points.
To set the line spacing for geometry settings:
1. In the Fields Calculator, click Geom Settings.
The Geometry Settings dialog box appears.
2. Enter a value in the Line Discretization box, and click OK.
Related Topics
Using the Fields Calculator
Input Commands
Scalar A scalar function.
To enter a function:
1. Click Function.
The Function dialog box appears.
2. Select Scalar.
3. Select the function from the list.
4. Click OK to load the functional scalar into the top register.
Vector A vector function, in which the values of the vector's x-, y-, and z-
components are given by functions.
To enter a functional vector:
1. Click Function.
The Function dialog box appears.
2. Select Vector.
3. Select the function from the list.
4. For each component of the vector, click SetX, SetY, and SetZ.
5. Click OK to load the functional vector into the top register.
Note The predefined variables X, Y, Z, RHO, THETA, R, and PHI and any functions that
you created can be used to define functional scalar and vector quantities.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-111
Reading an External Input
This command copies the contents of a disk file into the top register. The register must be one that
has been saved using the Write output command.
To read an external input into the register:
1. Click Read.
The Open dialog box appears.
2. Use the file browser to specify the registers file name and directory path. A .reg extension is
automatically assumed for register files, and click Open.
The contents of the file are copied to the top register in the stack.
Related Topics
Using the Fields Calculator
Input Commands
General Commands
Use these Fields Calculator commands to perform operations on both vector and scalar quantities.
+ (Add)
Adds the quantities in the top two registers of the calculator.
(Subtract)
Subtracts the quantity in the top register from the quantity in the second register. The two reg-
isters must hold the same type of quantity (both scalar or both vector). You cannot subtract a
scalar from a vector (or vice versa).
* (Multiply)
Multiplies the quantity in the top register by the quantity in the second register. One of the two
registers must contain a scalar value; the other register can be either a scalar or a vector.
/ (Divide)
Divides the quantity in the second register by the quantity in the top register. The second regis-
ter must contain a scalar value; the top register can be either a scalar or a vector.
Neg
Changes the sign of the quantity in the top register.
Abs
Takes the absolute value of the quantity in the top register.
+ (Add) / (Divide) Smooth
- (Substract) Neg Complex
* (Multiply) Abs Domain
Maxwell 3D Online Help
19-112 Post Processing and Generating Reports
Smooth
Smooths the quantity in the top register. Because of the numerical solution technique used,
field values are not always continuous across the boundaries of the individual elements that
make up the finite-element mesh. Smoothing makes the values continuous. In general, use
smoothing before plotting a quantity.
Complex
These commands perform operations on a complex quantity in the top register. Complex quan-
tities are indicated by a C at the beginning of the register label. They can be represented in
terms of real and imaginary components, or in terms of magnitude and phase:
where:
A is the real part of the complex number.
B is the imaginary part of the complex number.
M is its magnitude, which is equal to sqrt(A
2
+ B
2
).
is its phase, which is equal to atan(B/A).
The Complex commands let you do the following:
Real Takes the real part of the complex quantity (A).
Imag Takes the imaginary part of the complex quantity (B).
CmplxMag Takes the magnitude of the complex quantity (M). Due to interpolation issues,
the sequence of calculations may cause a loss of accuracy. It is best to define
the points , separately obtain the value of the real part, then the imaginary part,
and use those values to calculate the magnitude and and phase. For the
sequence for using the Fields Calculator to obtain the real and imaginary parts,
see the procedure here.
CmplxPhase Takes the phase of the complex quantity ().
Conj Takes the complex conjugate of the quantity in the top register. If a complex
number is given by C = A + jB, its complex conjugate is given by C* = A jB.
C A jB + Me
j
= =
Maxwell 3D Online Help
Post Processing and Generating Reports 19-113
Domain
This limits a calculation to the volume you specify. The domain filter works for scalars, vec-
tors, complex scalars and complex vectors. This operation requires the top two entries of the
stack to be a volume geometry and a numeric field quantity. To do this:
1. Load the field quantity into the top register, and perform any necessary operations on it.
2. Load the volume using the Geometry command.
3. Click Domain.
The Domain command is often used to limit a calculation or plot to the intersection of a sur-
face and an object or group of objects. If you export a domain filtered numeric, points that are
filtered out by the domain will not be written out.
Related Topics
Using the Fields Calculator
Export Command
Steps for Calculating the Complex Vector Electric Field
Steps for Calculating the Complex Vector Electric Field
These are the field calculator steps to obtain the real part, the imaginary part, and the magnitude of
the x-directed, y-directed, and z-directed components of the phasor electric field. For each of these
AtPhase Specify the phase angle, t, at which a field quantity is evaluated. These
quantities can be represented in the form:
where
is the angular frequency at which the quantities are oscillating,
specified during the solution.
(x,y,z) is the phase angle (the offset from a cosine wave that peaks at
t=0).
Entering the phase angle lets you compute the real part of the field's
magnitude at different points in its cycle.
CmplxReal Converts the real scalar of the top register to the real part of a complex
number.
CmplxImag Converts the real scalar of the top register to the imaginary part of a complex
number.
ComplxPeak Calculates the peak value of a given complex vector. Intuitively, this
calculates the maximum magnitude of the equivalent real vector in a
waveform.
A x y z t , , , ( ) A x y , z , ( ) t x y , z , ( ) + ( ) cos =
Maxwell 3D Online Help
19-114 Post Processing and Generating Reports
vector components, the magnitude should be equal to sqrt(real^2+imag^2), but the need to interpo-
late values and the calculation sequence means that HFSS does not give this value unless the speci-
fied location is directly on a mesh element node.
1. Calculate real part of complex vector electric field (in x, y, and z directions):
a. Qty > E
b. Complex > Real
c. Geometry > Point > fieldcalc_point
d. Value
e. Eval
2. Calculate imaginary part of complex vector electric field (in x, y, and z directions):
a. Qty > E
b. Complex > Imag
c. Geometry > Point > fieldcalc_point
d. Value
e. Eval
Use the real and imaginary components to manually calculate the magnitude as the sqrt
(Real^2+imag^2).
Scalar Commands
Use these commands to perform operations on scalar quantities.
Related Topics
Vec? Makes the scalar quantity in the top register a vector component.
1/x Takes the inverse of the scalar quantity in the top register.
Pow Raises a scalar quantity to the power you specify.
Square Root Takes the square root of the quantity in the top register.
Trig Takes a trigonometric value of the value in the top register of the calculator
stack.
d/d? Takes the partial derivative of the quantity in the top register with respect to x, y,
or z as shosen in the pull-down menu.
Integral Takes the integral of a scalar quantity over a volume, surface, or line.
Min Computes the minimum of a scalar field quantity on a line, surface, or volume.
Max Computes the maximum of a scalar field quantity on a line, surface, or volume.
Gradient Computes the minimum of a scalar field quantity on a line, surface, or volume.
Ln Calculates the log (base e) value.
Log Calculates the logarithmic value(base 10).
Maxwell 3D Online Help
Post Processing and Generating Reports 19-115
Using the Fields Calculator
Vec? Command
Makes the scalar quantity in the top register a vector component. Choose from the following:
Related Topics
Using the Fields Calculator
Scalar Commands
1/x (Inverse) Command
Takes the inverse of the scalar quantity in the top register.
Related Topics
Using the Fields Calculator
Scalar Commands
Pow Command
Raises a scalar quantity to the power you specify.
To raise a scalar quantity to a power:
1. Enter the quantity into the calculator.
2. Enter the exponent to which it is to be raised into the calculator.
3. Click Pow.
The results are displayed in the top register.
Related Topics
Using the Fields Calculator
Scalar Commands
(Square Root) Command
Takes the square root of the quantity in the top register.
Related Topics
Using the Fields Calculator
Scalar Commands
VecX The x-component of a vector.
VecY The y-component of a vector.
VecZ The z-component of a vector.
Maxwell 3D Online Help
19-116 Post Processing and Generating Reports
Trig
Takes one of the following trigonometric values of the value in the top register of the calculator
stack:
Related Topics
Using the Fields Calculator
Scalar Commands
d/d? (Partial Derivative) Command
Takes the partial derivative of the quantity in the top register:
Related Topics
Using the Fields Calculator
Scalar Commands
(Integral) Command
Takes the integral of a scalar quantity over a volume, surface, or line. The top register must contain
a geometry, and the second register must contain the scalar quantity to be integrated.
To perform an integration:
1. Load a quantity into the top register of the calculator, and perform any required operations on
it.
2. Use one of the Geometry commands to load the line, surface, or volume over which the quan-
tity is to be integrated.
Sin Sine.
Cos Cosine.
Tan Tangent.
ASin Arcsine.
ACos Arccosine.
ATan Arctangent.
ATan2 Arctangent squared.
d/dx Takes the partial derivative of the quantity with respect to x.
d/dy Takes the partial derivative of the quantity with respect to y.
d/dz Takes the partial derivative of the quantity with respect to z.
Note If you computed the tangent or normal of the quantity to be integrated, you do not have
to load a geometry onto the calculator stack. Maxwell integrates the tangential or normal
component of the quantity over the line on which you computed its tangent, or the
surface on which you computed its normal.
}
Maxwell 3D Online Help
Post Processing and Generating Reports 19-117
3. Click the Integral command to integrate the scalar quantity over the geometry. In 2D designs,
you must further select either XY or RZ.
To find the numerical results of an integration, use the Eval command.
Related Topics
Using the Fields Calculator
Scalar Commands
Min Command
Computes the minimum of a scalar field quantity on a line, surface, or volume. Two options are
available:
These commands operate in the same way as the Max commands. Use the Eval command to dis-
play the actual minimum field value or the coordinates of the point where it occurs.
Related Topics
Using the Fields Calculator
Scalar Commands
Max Command
Computes the maximum of a scalar field quantity on a line, surface, or volume. Two options are
available:
Note In Maxwell2D, the Fields Calculator accounts for the difference between XY and RZ
models when handling data and results. The integral command will perform an XY
integral on the model assuming a 1 meter depth, while for an RZ model it will perform
an integral on the 360 degree equivalent volume.
Value Finds the magnitude of the minimum value of the field.
Position Finds the point where the minimum field value occurs. You can then:
Plot the minimum field value at the point using the Plot command.
Plot basic field quantities at the point.
Load the point into the calculator.
Change the points location.
Value Finds the magnitude of the maximum value of the field.
Position Finds the point where the maximum field value occurs. You can then:
Plot the maximum field at the point using the Plot command.
Plot field quantities at the point.
Load the point into the calculator.
Change the points location.
Maxwell 3D Online Help
19-118 Post Processing and Generating Reports
To compute the maximum field value:
1. Load a field quantity into the calculator, and perform any necessary operations on it. Keep the
following in mind:
You cannot find the maximum value of a vector quantity. Therefore, make sure that the
result is a scalar.
Before computing the maximum value of a complex quantity, you must convert it to a sca-
lar quantity using the Cmplex/Real or Cmplex/AtPhase commands.
2. Load a point, line, or volume into the calculator using one of the Geometry commands.
3. Do one of the following:
Click Max/Value to compute the maximum field value on the geometry.
Click Max/Position to identify the point at which this value occurs.
Use the Eval command to display the actual maximum field value or the coordinates of the point
where it occurs.
Related Topics
Using the Fields Calculator
Scalar Commands
(Gradient) Command
Computes the gradient of the scalar quantity in the top register.
Related Topics
Using the Fields Calculator
Scalar Commands
Ln Command
Takes the natural logarithm (base e) of the scalar quantity in the top register.
Related Topics
Using the Fields Calculator
Scalar Commands
Log Command
Takes the logarithm (base 10) of the scalar quantity in the top register.
Related Topics
Using the Fields Calculator
Scalar Commands
r
where
0
is the permeability of free space
Differential Permeability (dmu)
Conductivity (cond)
Permittivity (epsi)
Mass Density: based on the value of the Mass Density material property. MassDensity is
treated like a named expression. Selecting MassDensity disables the Operation radio but-
tons for Multiply or Divide in the Material Operations dialog.
Admittivity
3. Select an operation Multiply or Divide.
4. Click OK to multiply or divide the field quantity by a material property or Cancel to stop the
operation. If you selected MassDensity and click OK, a scalar named expression MassDensity
is pushed onto the stack.
Related Topics
Using the Fields Calculator
Vector Commands
Mag Command
Takes the magnitude of the vector quantity in the top register. The magnitude of a complex vector
is defined to be the length of the real vector resulting from taking the modulus of each component
of the original complex vector.
With a complex vector on the calculator stack, the Mag button returns a nonnegative scalar. In pre-
vious software versions, this command returned a complex scalar.
Related Topics
Using the Fields Calculator
Vector Commands
Dot Command
Takes the dot product of the vector quantities in the top two registers.
Related Topics
Using the Fields Calculator
Vector Commands
Maxwell 3D Online Help
Post Processing and Generating Reports 19-121
Cross Command
Takes the cross product of the vector quantities in the top two registers.
Related Topics
Using the Fields Calculator
Vector Commands
Divg Command
Takes the divergence of the vector quantity in the top register.
Related Topics
Using the Fields Calculator
Vector Commands
Curl Command
Takes the curl of the vector quantity in the top register.
Related Topics
Using the Fields Calculator
Vector Commands
Tangent Command
Computes the tangential component of a vector quantity along a line.
To take the tangent of a vector:
1. Load a vector quantity into the top register.
2. Load a line into the top register using the Geometry/Line command.
3. Click Tangent.
Related Topics
Using the Fields Calculator
Vector Commands
Line
Vector quantity
Tangential Component
Magnitude
Maxwell 3D Online Help
19-122 Post Processing and Generating Reports
Normal Command
Computes the normal component of a vector quantity on a surface such as a cutplane or object sur-
face. This is the equivalent of taking the dot product of the quantity with the surface's unit normal
vector:
To take the normal of a vector:
1. Load a vector quantity into the top register.
2. Load a surface into the top register using the Geometry/Surface command.
3. Click Normal.
Related Topics
Using the Fields Calculator
Vector Commands
Unit Vec Command
Computes the normal or tangent unit vector. The unit vector is a "wild card" entry. The context is
specified at the time of plotting, integrating, or report generation.
Note Because surface normals of sheets are not well defined the fields calculator can produce
incorrect results if an expression is evaluated on a sheet. To enforce the correct direction
of the surface normal of a sheet, a faceted 3D object (such as a box) can be defined such
that one of its planar faces is coincident with the sheet. Because surface normals of a
valid object are always defined in an outward direction in Maxwell, the fields calculator
uses the surface normal of the face of the 3D object that is coincident with the sheet.
Normal A x y z , , ( ) n
=
Vector quantity
Surface
Normal Component
A(x,y,z)
Magnitude
Maxwell 3D Online Help
Post Processing and Generating Reports 19-123
Select from the following:
Related Topics
Using the Fields Calculator
Vector Commands
Output Commands
Use these commands to compute or evaluate expressions and to output the data in the calculator.
Related Topics
Using the Fields Calculator
Value Command
This computes the value of a field quantity at a point. Use it to find:
The magnitude of a scalar field quantity at that point.
The x-, y-, and z-components of a vector field quantity at that point.
To find the value of a field quantity at a point:
1. Load the field quantity into the top register, and perform any needed operations on it.
2. Load the appropriate point into the calculator using the Geometry/Point command.
3. Click Value.
Tangent Computes the unit vector tangent to the line in the top register of the calculator
stack.
Normal Computes the unit vector normal to the surface in the top register of the
calculator stack.
CoordSys(X) Computes the unit vector in the X-dimension of the relative coordinate system in
the top register of the calculator stack. Add the relative CS as a geometric object
using the Geometry/Coord command.
CoordSys(Y) Computes the unit vector in the Y-dimension of the relative coordinate system in
the top register of the calculator stack. Add the relative CS as a geometric object
using the Geometry/Coord command.
CoordSys(Z) Computes the unit vector in the Z-dimension of the relative coordinate system in
the top register of the calculator stack. Add the relative CS as a geometric object
using the Geometry/Coord command.
Value command Computes the value of a field quantity at a point.
Eval command Numerically evaluates and displays the results of calculator operations.
Write command Saves the contents of the top register to a disk file.
Export command Saves field quantities in a format that can be read by other modeling or
post-processing software packages.
Maxwell 3D Online Help
19-124 Post Processing and Generating Reports
To view the numerical results of this operation, use the Eval command.
You can also use the Value command to access the intermediate SurfaceValue function
For example, after inputting an expression for a quantity, such as an E field,, and then selecting a
surface geometry, the calculator stack displays something like this.
Clicking the Value command changes the display to the following, showing the intermediate Sur-
faceValue function.
In this case SurfaceValue provides the x, y, z, coordinates of the FEM mesh and Lagrangian points
so you can use Write to generate an .fld file containing an evaluated scalar quantity at those points.
In general for Value:
1. Enter any quantity onto the stack.
2. Enter a volume / surface / line / point onto the stack.
3. Press the Value button and you will get an appropriate geometry value on the stack.
Now you can perform suitable operations such as Write, Integrate, etc. For PointValue you can also
do Eval.
Related Topics
Using the Fields Calculator
Eval Command
This command numerically evaluates and displays the results of calculator operations such as inte-
grations, maximum or minimum field computations, field values at points, and so forth. The quan-
tity to be evaluated must be in the top register. The Eval command computes the numerical results
of the operation, which replace the contents of the register.
For instance, to find the current around a loop, you must numerically evaluate the following inte-
gral for that loop: .
Since H and I are complex quantities, you first need to evaluate the real part of H to obtain the real
part of I, then evaluate the imaginary part of H to obtain the imaginary part of I. To do this:
1. Load H into the calculator using the Qty command.
2. Take the real part of H using the Cmplex/Real command.
3. Load the rectangular loop using the Geom/Line command. Create the loop, a closed polyline,
to integrate over.
4. Click Tangent to get the component of H along the line.
5. Take the integral around the loop using the command.
I H l d
}
=
}
Maxwell 3D Online Help
Post Processing and Generating Reports 19-125
6. Click Eval to evaluate the integral. The real part of I appears in the top register.
7. Repeat this process using the imaginary part of H (found with the Complex/Imag command)
to obtain the imaginary part of I.
Related Topics
Using the Fields Calculator
Write Command
This command saves the contents of the top register to a disk file. Use this command to:
Save registers for use during a later post-processing session.
Save a field quantity for use when post processing a different model.
To save a register:
1. Click Write.
2. If the register includes numeric with a constrained quantity (such as jsurf), you see a dialog
that gives a choice of constraining geometries. For example:
3. Select the geometry of interest, and select OK.
This displays a file browser.
4. Use the file browser to specify the registers file name and directory path. A .reg extension is
automatically assigned to register files and a .fld extension is assigned to field files. You can
choose to save both .reg and .fld files, or either one.
5. Click OK.
The contents of the file are saved to the file you specified.
Related Topics
Using the Fields Calculator
Maxwell 3D Online Help
19-126 Post Processing and Generating Reports
Export Command
This command opens the Export Solution dialog, from which you can export the field quantity in
the top register to a file, mapping it to a grid of points. Use this command to save field quantities in
a format that can be read by other modeling or post-processing software packages. Two options are
available for defining the grid points on which to export:
To export a field quantity to a customized grid:
1. Load the quantity into the top register for the fields calculator, and perform any operations on
it.
2. If desired, load a volume using the Geometry command.
You can use the Domain command to limit the calculation to the volume you specify. If you
export a Domain filtered numeric, points that are filtered out by the domain will not be written
out.
3. Click the Export button in the Fields Calculator.
This opens the Export Solution dialog.
4. Type or select the name of the file in which the field quantity is to be saved in the Output File
Name text box. You can use the file icon to open the file browser to specify the file name and
directory path. A .reg extension is automatically assigned to this file.
5. Click either the Input grid points from file button if you have a created a .pts file containing
the grid points, or click the Calculate grid points button. For each grid dimension (X, Y, and
Z), enter the following:
If you select Input grid points from file, either type the name and directory of the file
containing the points on which the field is to be mapped, or, click on the file icon and use
Input grid points from
file
Maps the field quantity to a customized grid of points. Before using this
command, you must create a file containing the points and units.
Calculate grid points Maps the field quantity to a three-dimensional cartesian grid. You
specify the dimensions and spacing of the grid in the x, y, and z
directions, with units that you specify. The initial units are taken from
the model.
Minimum The minimum x-, y-, or z-coordinate of the grid, and unit of measure.
Maximum The maximum x-, y-, or z-coordinate of the grid, and unit of measure.
Spacing The distance between grid points, and unit of measure.
When you export fields on a 1D or 2D line/surface from the field
calculator, the start and stop values must be the same for one or two of
the XYZ start/stop ranges. If you specify a zero spacing for a
dimension, the export uses only the minimum value.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-127
the file browser to locate the point file (.pts extension).
If you select Calculate grid points button. For each grid dimension (X, Y, and Z), enter
the following:
6. For larger files, you may want to uncheck the Include points in output file box. If you
uncheck the box, the file header will include minimum, maximum and spacing information
from which you can recalculate the grid points.
7. Click OK to export the file.
The field quantity is mapped to the grid and saved to the file you specified (.reg extension.).
Related Topics
Using the Fields Calculator
Input Commands
Domain command
Calculating Derived Field Quantities
The Named Expressions panel displays expressions that can be included in register definitions by
name. You can add additional expressions to the Named expression list by creating the expression
in the register display area, and the clicking the Add button. This lets you add to the Named expres-
sion library.
When a Maxwell design is open and a Solution Setup has been performed, numerous predefined
named expressions may be available depending upon the solution type. Generally, predefined
Note By default, the field calculator uses SI units. Optionally, you can also specify the units
that you want while exporting. Add a line in the beginning of the .pts file to specify the
units. For example, if you want to use mm, a sample file would like this:
Unit=mm
-5.5 -5.5 -5.21475
-5.5 -5.5 -5.14425
-5.5 -5.5 -5.07375
-5.5 -5.5 -5.021
Minimum The minimum x-, y-, or z-coordinate of the grid, and unit of measure.
Maximum The maximum x-, y-, or z-coordinate of the grid, and unit of measure.
Spacing The distance between grid points, and unit of measure.
When you export fields on a 1D or 2D line/surface from the field
calculator, the start and stop values must be the same for one or two of
the XYZ start/stop ranges. If you specify a zero spacing for a
dimension, the export uses only the minimum value.
Maxwell 3D Online Help
19-128 Post Processing and Generating Reports
expressions related to electric or magnetic field magnitude, current magnitude, vector field values,
energy, and losses are available
Click on a named expression to select it. When a named expression has been selected, the Copy to
Stack button is activated. Click Copy to Stack to push the expression on the top of the stack.
Related Topics
Named Expressions
Named Expression Library
Named Expression Library
The named expression library in the Fields Calculator provides a way to conveniently calculate fre-
quently used quantities. The library comes with several predefined expressions. You can combine
calculator Input commands in any legal fashion, including complex quantities, to produce new
named expressions.
Adding named expressions to the Fields Calculator expression library
Copying named expressions to the Calculator Stack
Saving named expressions to a Personal Library
Loading named expressions
Deleting named expressions that you added
To add a named expression of your own to the Fields Calculator list:
1. In the register display area, create the expression by using the calculator Input commands.
You can combine input commands in any legal fashion, including the use of complex quanti-
ties. If you select an input command that is not legal for a current operation, you receive an
error message.
2. When you finish creating the expression, click Add in the Named Expressions panel.
The Named Expression dialog box appears.
3. Type a name for the expression in the Name text box.
The new expression is added to the list of named expressions.
To copy a named expressions to the Calculator Stack
You can scroll through the list, select any desired named expression, and click Copy to Stack
to move it to the calculator stack, where you can use it to generate calculated outputs.
To delete named expressions that you added:
When the Named Expression list contains one or more user-defined expressions, the Delete and
Clear All buttons are active (you cannot delete or clear the predefined named expressions.)
To delete the selected user-defined named expression, click Delete. To delete all user-defined
named expressions, click Clear All.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-129
To save one or more named expressions for the Fields Calculator to a personal Library:
1. Click the Save To button on the Fields Calculator.
The Select Expressions for Saving dialog displays.
2. If any new named expressions exist, you can select one or more to save to a file.
3. Give a file name, and click OK to save the file.
To load named expressions for the Fields Calculator from a personal library:
1. From the Fields Calculator, click Load From.
This displays a file browser that you can use to search for existing .clc files.
2. Select the library to load and click OK.
This loads the expression file you have selected.
Related Topics
Calculating Derived Field Quantities
Exiting the Fields Calculator
Click Done to exit the Fields Calculator.
Related Topics
Using the Fields Calculator
Maxwell 3D Online Help
19-130 Post Processing and Generating Reports
Plotting the Mesh
Before or after the solution is complete, you can plot the finite element mesh on surfaces or within
3D objects.
1. Select a surface or object to create the mesh plot on or within.
If it does not exist, create it.
2. Click Maxwell3D>Fields>Plot Mesh or Maxwell2D>Fields>Plot Mesh.
The Create Mesh Plot dialog box appears.
3. Enter a name, or accept the default name.
4. Select the solution to plot from the Solution pull-down list.
5. Select the field quantity to plot from the Field Type pull-down list.
6. Click Done.
The mesh appears on the surface or object you selected. An icon for the mesh also appears in
the Project tree under Field Overlays -- Mesh Plots.
If a solution is ongoing, you can select the Mesh Plots icon in the in the Project tree, right-click
to display the shortcut menu, and click Update Plots. This updates the mesh plot to latest data
available. After the last adaptive pass, the Mesh plot is automatically updated.
If a mesh includes seeding, these effects appear at the start of the adaptive passes. Any mesh
adaptation at the start of a sub sequent pass is not plotted until after that pass is completed. This
delay ensures that mesh plots and actual solutions remain consistent with each other.
You can modify an existing plot by selecting the plot and changing the properties.
Related Topics
Setting Mesh Plot Attributes
Setting Mesh Plot Attributes
1. Click Maxwell3D or Maxwell2D and select Fields>Modify Plot Attributes.
The Select Plot Folder window appears.
2. Select the folder containing the mesh plot you want to modify, and then click OK.
A dialog box with mesh plot attribute settings appears.
3. Click the mesh plot you want to modify from the Plot pull-down list.
4. Use the Scale factor slider to increase (move to the right) or decrease (move to the left) the
percentage of the tetrahedra size.
For example, a scale factor of 80% draws the tetrahedra at 80% of their original size.
5. Use the Transparency slider to increase (move to the right) or decrease (move to the left) the
transparency of the plot.
Note All plots in the selected folder are modified.
Maxwell 3D Online Help
Post Processing and Generating Reports 19-131
This is useful for viewing objects or plots behind the current plot.
6. Select one of the following display options:
7. Under Mesh color, click the Line color box, and then select a color for the outline of the tetra-
hedra from the Color palette.
8. Under Mesh color, click the Filled color box, and then select a color to fill the tetrahedra with
from the Color palette.
9. Select Surface only to only display the faces of tetrahedra that lie on object surfaces.
Clear this option to draw all tetrahedra inside selected objects.
10. By default the Plot Quality selection is Normal. You can use the drop down menu to select
Coarse, Normal, Fine, or Very Fine. The higher the resolution, the more memory used.
Higher quality selections permit visualization of curvilinear mesh elements. With the Course
setting, facets to not snap to the midpoint edge.
Normal setting displays snapping to the midpoint edge.
Fine setting displays more of the curvilinear tets.
Wire frame Draws wire frame outlines of the tetrahedra.
Shaded Draws shaded tetrahedra.
Add Grid Displays the mesh.
Maxwell 3D Online Help
19-132 Post Processing and Generating Reports
Very fine gives the most accurate display, though using the most memory.
11. Click Save as default if you want the tab's settings to apply to mesh plots created after this
point.
12. Select Real time mode if you want the changes to take effect immediately in the view win-
dow.
If this option is cleared, click Apply when you want to see the changes.
13. Click Close to dismiss the dialog box.
Related Topics
Plotting the Mesh
Maxwell Online Help
Generating Reports and Post-Processing 19 -133
User Defined Outputs: Introduction
User defined outputs (UDOs) allow users to define calculations through IronPython scripts or any
.NET language (and used by the IronPython script). The UDO scripts need to be in the UserDe-
finedOutputs directory under either of syslib, userlib or Personallib with any directory structure
needed for organization. (The Lib directory name is special and its purpose will be explained in a
subsequent section.)
The UDO scripts that are in syslib/UserDefinedOutputs, userlib/UserDefinedOutputs, or Per-
sonallib/UserDefinedOutputs become available to the user to create "User Defined Solutions"
through the Results>Create User Defined Solution menu. Use Results>Create User Defined
Solution>Update Menu to refresh the menu to include the new UDO scripts that might have been
copied to syslib, userlib or Personallib, or exclude them if they have been deleted, after the launch
of desktop. Once the user-defined-solution is created, the solution and the calculations defined by
UDO become available in Reporter as any other quantities in a new "User Defined" report type.
These user defined solutions are currently not available for Optimetrics calculations..
Named Probes and Properties in User Defined Outputs
Computation of Traces Based UDO Calculations
Dimensions Reduction by UDO Calculations
Dynamic Probes
Related Topics
User Defined Outputs: Python Script API
User Defined Outputs: Script Organization
Named Probes and Properties in User Defined Outputs
UDOs allow processing data across traces, solutions and report types. A UDO specifies the named
probes and properties for which user selects/enters the values at the time of creation of user defined
Maxwell Online Help
19 -134 Generating Reports and Post-Processing
solution. Probes are very similar to traces except that the user selects the values of only intrinsic
variables for probes. The values of design/project variables are selected when a trace is created
based upon the user defined solution in reporter.
For example, you could create a user defined solution called EyeTiming_1.
You can then access this solution in the Reporter.
Computation of Traces Based UDO Calculations
When traces that are based upon UDO outputs are computed, the data for probes is computed and
passed to the UDO script for each design variation. Along with the probe data, the values of proper-
ties entered by user are also passed. The information about the UDO calculations that need to be
computed is also made available. The UDO then performs the computation and passes the results to
reporter. Note that UDOs can compute and pass back more calculations than have been requested at
Maxwell Online Help
Generating Reports and Post-Processing 19 -135
that point of time. This allows UDOs to compute a set of calculations that take almost same amount
of computational resources as any one calculation in that set and cache that with reporter.
Dimensions Reduction by UDO Calculations
The probes in a UDO can have heterogeneous dimensions of data, for example, one probe in a
UDO can have data that is function of n intrinsic variable, while another probe in same UDO can
have data that is a function of m intrinsic variables, with n and m potentially being different. UDOs
allow reducing any number of these intrinsic variables e.g in above example UDO calculations can
be function of any number of intrinsic variables including not being function of any intrinsic vari-
able at all. UDO calculations can also be a function an intrinsic variable that none of the probes is
function of. The only restriction is that Freq cannot be reduced if any of the probes are on a
Fields report type.
Dynamic Probes
In addition to named probes and properties, UDOs can specify named dynamic probes. The differ-
ence between probes and dynamic probes is that while the end-user of UDO specifies the complete
trace definition for probe, the expression for dynamic probe is specified by UDO code itself and not
by the end-user. This allows UDOs to access the data for probes without having the end-user to
enter each individual probe. For example a UDO can access data for a huge S matrix for a 100 port
design without requiring the end-user to enter the probe information for each of those 10,000 quan-
tities. Each dynamic probe is associated with a named probe that is entered by the user; and infor-
mation about solution, context, and intrinsic variables is used from user-selected probe. However
multiple dynamic probes can be associated with the same user-selected probe. The dynamic probes
are enquired from UDOs at the time of trace computation and not at the time of creation of user-
defined solution.
Note When those calculations are subsequently plotted by the user, reporter will use the
cached results instead of invoking the computation on UDO.
Maxwell Online Help
19 -136 Generating Reports and Post-Processing
This means that you select solution, context, and values of intrinsic variables just once; and the
same information is used (in this case) for all clock and data signals. The expression for those sig-
nals comes from the UDO code.
Maxwell Online Help
Generating Reports and Post-Processing 19 -137
User Defined Outputs: Python Script API
A User Defined Output (UDO) extension is implemented as an IronPython script that defines a
class with a specific name: UDOExtension which derives from a specific base class IUDOPl-
uginExtension and implements its abstract methods.
UDO Extension IMPLEMENTATION
Optional Functions in IDO Extension Abstract Class
Data Types Used in Python Script
Working With Properties for UDO
Other Application Specific Classes Used in Python Scripts
User Defined Outputs: Messaging Methods
Using .NET Collection Classes and Interfaces in Python Scripts
Related Topics
User Defined Outputs: An Introduction
User Defined Outputs: Script Organization
UDO Extension IMPLEMENTATION
The purpose, argument list and expected return types for each of the IUDOPluginExtension
abstract methods, which the UDO author is expected to implement are described below.
Import Statements
UDOExtension Class
IUDOPluginExtension Abstract Class
Import Statements
The base class to be used and the types it uses in turn are contained in .NET assemblies. The use of
these requires that the assemblies be imported into the UDO script: the following import statements
should be added to the top of the python script:
from Ansys.Ansoft.ModulePluginDotNet.Common.API import *
from Ansys.Ansoft.ModulePluginDotNet.Common.API.Interfaces import *
from Ansys.Ansoft.ModulePluginDotNet.UDO.API.Interfaces import *
from Ansys.Ansoft.ModulePluginDotNet.UDO.API.Data import *
DOExtension Class
The UDO itself should be implemented as an IronPython class called UDOExtension which must
derive from the I UDOPluginExtension abstract base class (from the Ansys.Ansoft.ModulePl-
uginDotNet.UDO.API.Interfaces namespace).
Maxwell Online Help
19 -138 Generating Reports and Post-Processing
Note that power users could derive a class hierarchy tuned toward a specific type of UDOs and that
they can derive from their own base classes. The only requirement is that directly or indirectly, the
UDO class must derive from I UDOPluginExtension.
Example:
def BaseClassUDO ((IUDOPluginExtension):
#base class implementation
e
i
i
N
j
e
i
0
s
i
g
i
=
s
i
g
i
s
i
g
i
>
e
i
s
i
g
i
=
e
i
0
g
i
s
i
=
s
i
g
i
s
i
g
i
<
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-39
Modifying the Starting Variable Value for Optimization
A variable's starting value is the first value to be solved during the optimization analysis. Optimet-
rics automatically sets the starting value of a variable to be the current value set for the nominal
design. You can modify this value for each optimization setup.
1. In the Setup Optimization dialog box, click the Variables tab.
All of the variables that were selected for the optimization analysis are listed.
2. Type a new value in the Starting Value text box for the value you want to override, and then
press Enter.
The Override option is now selected. This indicates that the value you entered is used for this
optimization analysis, and the current value set for the nominal model is ignored.
Alternatively, you can select the Override option first, and then type a new variable value
in the Starting Value text box.
3. Optionally, click a new unit system in one of the Units text boxes.
Related Topics
Setting the Min. and Max. Variable Values for Optimization
Step Size
Setting the Min and Max Focus
Modifying the Starting Variable Value for Sensitivity Analysis
Modifying the Starting Variable Value for Statistical Analysis
Setting the Min. and Max. Variable Values for Optimization
For every optimization setup, Optimetrics automatically sets the minimum and maximum values it
will consider for a variable being optimized. Optimetrics sets a variable's minimum value equal to
approximately 50% of its starting value. (The starting value is the variable's current value set for
the nominal design.) Optimetrics sets the variable's maximum value equal to approximately 150%
of the starting value. During the optimization analysis, variable values that lie outside of this range
are not considered.
Related Topics
Override the default min and max variable values for a single optimization setup.
Note If you choose to solve a parametric setup before an optimization analysis, a variable's
starting value is ignored if a more appropriate starting value is calculated for it during the
parametric analysis.
Note To revert to the default starting value, clear the Override checkbox.
Warning Variable values must be single real numbers, or expressions that evaluate to single
real numbers. Complex numbers cannot be used as the values of variables in any
optimetric analysis.
Maxwell 3D Online Help
21-40 Setting up an Optimetrics Analysis
Change the default min and max variable values for every optimization setup.
Overriding the Min. and Max. Variable Values for a Single Optimization
Setup
1. In the Setup Optimization dialog box, click the Variables tab.
All of the variables that were selected for optimization analysis are listed.
2. Type a new value in the Min or Max text box for the value you want to override, and then
press Enter.
The Override option is now selected. This indicates that the value you entered is used for this
optimization analysis; the variable's current Min or Max value in the nominal design is
ignored.
Alternatively, you can select the Override option first, and then type a new value in the
Min or Max text box.
3. Optionally, click a new unit system in one of the Units text boxes.
To revert to the default minimum and maximum values, clear the Override option.
Changing the Min. and Max. Variable Values for Every Optimization Setup
1. Make sure that the variable's minimum and maximum values are not being overridden in any
single optimization setup.
2. If the variable is a design variable, do the following: Click Maxwell3D or
Maxwell2D>Design Properties.
If the variable is a project variable, do the following: Click Project>Project Variables.
The Properties dialog box appears.
3. Select Optimization.
4. Type a new value in the Min or Max text box for the value you want to override, and then
press Enter.
5. Click OK.
When Optimetrics solves an optimization setup, it does not consider variable values that lie
outside of this range.
Step Size
To make the search for the minimum cost value reasonable, the search algorithm is limited in two
ways. First, you do not want the optimizer to continue the search if the step size becomes irrelevant
or small. This limitation impacts the accuracy of the final optimum. Second, in some cases you do
not want the optimizer to take large steps either. In case the cost function is suspected to possess
large variations in a relatively small vicinity of the design space, large steps may result in too many
trial steps, which do not improve the cost value. In these cases, it is safer to proceed with limited
size steps and have more frequent improvements.
For these two limitations, the optimizer uses two independent distance measures. Both are based on
user-defined quantities: the minimum and maximum step limits for individual optimization vari-
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-41
ables. Since the particular step is in a general direction, these measures are combined together in
order to derive the limitation for that particular direction.
The step vector between the i
th
and (i+1)
th
iterate is as follows:
The natural distance measure is,
which is the Euclidean norm.
A more general distance measure incorporates some "stretching" of the design space:,
where the matrix D incorporates the linear operation of the stretching of design space. The simplest
case is when the D matrix is diagonal, meaning that the design space is stretched along the orthog-
onal direction of the base vectors.
The optimizer stops the search if,
where D
min
consists of diagonal elements
equal to the inverse of the Min. Step value assigned to the corresponding optimization variable.
Similarly the optimizer truncates steps for which
where D
max
has diagonal elements equal to the inverse of Max. Step values of the corresponding
optimization variables.
Related Topics
Setting the Min. and Max. Step Sizes
s
i
x
i 1 +
x
i
=
s
i
s
i
T
s
i
=
s
i
D
s
i
T
D
T
Ds
i
=
s
i
D
min
1 <
s
i
D
max
1 >
Maxwell 3D Online Help
21-42 Setting up an Optimetrics Analysis
Cost Function
Adding a Cost Function
Setting the Min. and Max. Step Sizes
For the Quasi Newton and Pattern Search optimizers, the step size is the difference in a variable's
value between one solved design variation and the next. The step size is determined when Optimet-
rics locates the next design variation that should be solved in an effort to meet the cost function.
1. In the Setup Optimization dialog box, click the Variables tab.
2. Optimetrics displays Min Step and Max Step columns, with default values for each variable
to be optimized.
3. In the Min Step text box, type the minimum step size value. Optionally, modify the unit sys-
tem in the Units text box.
4. In the Max Step text box, type the maximum step size value. Optionally, modify the unit sys-
tem in the Units text box.
5. Click OK.
Related Topics
Step Size
Setting the Min and Max Focus
For the SNLP, SMINLP and Genetic Algorithm optimizers, the min focus and max focus criteria
allow you to specify a sub-range of parameter values where the optimizer should look when per-
forming the optimization. This focus box is where you suspect the optimal solution will be, so it is
a hint for the optimizer.
The domain limits the search. The domain = physical limits.
The focus box does not limit the search. Rather, the Focus box = an initial guess of optimum
search domain. The starting point is the center of the focus box, but the search does extend
beyond the box.
This focus must be inside the domain limits. Consequently, it has to be equal or smaller size.
Hint A value of zero is recommended for the minimum step size.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-43
An error message is generated if you specify a focus outside the domain.
The focus box must be at least one hundredth of the domain size. Otherwise, an error message
is sent.
Equalizing the influence of different optimization variables.
The optimizer seeks optimal values for the optimization variables. These variables are usually
quantities with specified units. The change in one variable could be measured in [mm] and the
change in other variable could be measured in [mA]. Instead of those units, the optimizer uses
internal abstract units, so that a change in one variable changes the design behavior about as much
as the same change in another variable, where changes are measured in the respective internal
abstract units. When you define the focus box, the unit of the abstract internal unit is defined as the
difference of the upper and lower focus limits. This way you can use the focus box to equalize the
influence of different optimization variables on the design behavior.
To set the Min and Max Focus values:
1. In the Setup Optimization dialog box, click the Variables tab.
2. Optimetrics displays Min. Focus and Max. Focus columns, with default values for each vari-
able to be optimized.
If you do not have an initial guess based on your knowledge of the problem, make the focus
box equal to the domain; that is, the physical limits. This tells SNLP to search the entire deci-
sion space.
In the Min. Focus text box, type the minimum value of the focus range. Optionally, mod-
ify the unit system in the Units text box.
In the Max. Focus text box, type the maximum value of the focus range. Optionally, mod-
ify the unit system in the Units text box.
Click OK.
Solving a Parametric Setup Before an Optimization
Solving a parametric setup before an optimization setup is useful for guiding Optimetrics during an
optimization.
To solve a parametric setup before an optimization setup:
1. In the Setup Optimization dialog box, click the General tab.
2. In the Parametric Analysis pull-down list, click the parametric setup you want Optimetrics to
solve before optimization.
3. Select Solve the parametric sweep before optimization.
If the parametric setup has not yet been solved, Optimetrics solves it. Optimetrics uses the cost
value evaluated at each parametric design variation to determine the next step in the optimization
Note The parametric setup must include sweep definitions for the variables you are
optimizing.
Maxwell 3D Online Help
21-44 Setting up an Optimetrics Analysis
analysis. This enables you to guide the direction in which the optimizer searches for the optimal
design variation.
Related Topics
Solving a Parametric Setup During an Optimization
Solving a Parametric Setup During an Optimization
Solving a parametric setup during an optimization analysis is useful when you want Optimetrics to
solve every design variation specified in the parametric setup at each optimization iteration. A cost
function goal could then depend on the value of the variable swept in the parametric setup.
To solve a parametric setup during an optimization analysis:
1. In the Setup Optimization dialog box, click the General tab.
2. In the Parametric Analysis pull-down list, click the parametric setup you want Optimetrics to
solve during an optimization.
3. Select Solve the parametric sweep during optimization.
4. Optionally, you can adjust the sweep values to be used during the optimization.
a. Click on the Goal tab, click Setup Calculations to specify a calculation.
The Add/Edit Calculation dialog box is displayed.
b. Click the Calculation Range tab.
c. Click the Edit button for the sweep to be modified.
d. In the pop-up dialog box, select the sweep values to use.
e. Close the pup-up dialog box. Click Done to close the Add/Edit Calculation dialog.
Automatically Updating a Variable's Value After Optimization
When Optimetrics finds an optimal variable value by solving an optimization setup, it can automat-
ically update that variable's current value set for the nominal model to the optimal value.
1. In the Setup Optimization dialog box, click the General tab.
2. Select Update design parameters' values after optimization.
When optimization is complete, the current variable value for each optimized variable is
changed to the optimal value.
Changing the Cost Function Norm
You can select the norm to be used in the calculation of the cost goal.
1. In the Setup Optimization dialog box, click the Goals tab.
2. Select Show Advanced Options.
3. Select a norm from the pull-down in the Cost Function Norm Type field. The options are L1,
L2, and Maximum. L2 is the default.
Related Topics
Explanation of L1, L2 and Max Norms in Optimization
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-45
Cost Function
Explanation of L1, L2 and Max norms in Optimization
When you set multiple goals for an optimization, the question arises as to what is actually going to
drive the optimizer which is not a multi-objective one. The cost function will have a lot to do with
it. The following discussion explains how the cost function is put together when there are multiple
goals.
The general goal setting structure in Optimetrics is a logical sentence with the format:
Calculation
(i)
Condition
(i)
Goal
(i)
Weight
(i)
The cost function that the optimizer uses is built based on the norm setting as long as there are mul-
tiple goals and none of those use the minimize or maximize conditions. Thus, in this case the
error associated with each individual goal (weighted) is combined in a way that is specific for each
norm type chosen.
For L1 norm the actual cost function uses the sum of absolute weighted values of the individual
goal errors:
For L2 norm the actual cost function uses the weighted sum of absolute values of the individual
For the Maximum norm the cost function uses the maximum among all the weighted goal errors:
For all the above situations N is the number of individual goals w
i
i
are individual weighting fac-
tors and residual error respectively. A minimization of the cost function is performed during opti-
mization since it makes sense to minimize the error in the sense of the chosen norm type.
Cost w
i
i
1
N
=
Cost w
i
2
i
1
N
=
Cost Max
N
1
W
i
i
=
Maxwell 3D Online Help
21-46 Setting up an Optimetrics Analysis
The graphical representation of the error is possible and depends upon the actual condition being
used. If a < condition is used, the error can be represented as below:
If a > condition is used, the error can be represented as below:
If a = condition is used, the error is double-sided and can be represented as below:
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-47
The norm type doesnt impact goal setting that use as condition the minimize or maximize sce-
narios. Note that when using minimize or maximize settings for the condition there should be a
single goal setting which in this case coincides with the cost function.
Related Topics
Cost Function
Advanced Genetic Algorithm Optimizer Options
The Genetic Algorithm (GA) search for Optimization analysis is an iterative process that goes
through a number of generations. In each generation some new individuals (Children / Number of
Individuals) are created and the so grown population participates in a selection (natural-selection)
process that in turn reduces the size of the population to a desired level (Next Generation / Number
of Individuals).
If you select the Genetic Algorithm for an Optimization analysis, a Setup button is enabled on the
Setup Optimization page.
1. Click the Setup button to open the Advanced Genetic Algorithm Optimizer Options dialog.
2. Select the Stopping Criteria. Any of the three following, or any combination of these can be
selected.
Maximum number of generations. If checked, this enables a value field.
Elapsed time. If checked, this enables a drop down menu with times ranging from five
minutes to two weeks.
Slow convergence.
3. Specify the Parents.
The first step towards mating is a selection process that determines the participating individu-
als. Potential parents are selected from the Current Generation. This is a set of individuals that
is always a subset of the current generation.
Number of individuals value field -- specify the number of parents for the optimizer to
use. You can set the Number of Individuals to less than or equal to the size of the "Current
Generation". One reason to consider fewer parents than the possible maximum is to steer
the GA towards improvement by selecting the better portion of the current generation to
be able to mate.
Roulette selection checkbox -- if checked, this enables the Selection pressure value
field. This number defines how many times more probable is the selection of the best indi-
vidual over the worst individual in an elementary spin of the roulette wheel.
4. Specify the Mating pool.
The Mating pool is created by selecting randomly from the parents, but with each selection, the
parent gets "cloned" so it can be selected again and again.
Number of individuals field -- specify the number individuals to include in the mating
pool.
Reproduction setup-- this button opens the Genetic Algorithm Optimizer Reproduc-
Maxwell 3D Online Help
21-48 Setting up an Optimetrics Analysis
tion Setup dialog.
5. Click the Reproduction setup button for the dialog to specify the Crossover setup, and the
Mutation setup.
The crossover and mutation operator have different roles: Crossover mixes "features" of the
parents in a new combination, while mutation slightly alters the "features" of the individuals.
Both need to be present in a GA. The crossover is a way to discover new combinations while
the mutation acts as a local search or fine-tuning step. Mutation also keeps diversity in a popu-
lation, which is a must for GA.
The crossover operator has two steps. It first alters the variable values of the parents according
to a distribution. This tends to produce one child that looks a lot like one parent, and one child
that looks a lot like the other parent. Next, some of the variable values of the two children can
be exchanged in order to achieve more variation.
For crossover there are four possible parameters.
a. Individual Crossover Probability determines, for each pair in the mating pool, the prob-
ability that their features will be mixed. Usually, this probability should be close or equal
to one. If you set it set less than one, some parents will produce two children which are
exact clones of the parents. This means that some children inherit all the features of their
parents unchanged.
b. Parents often have multiple variables. If the parent is a candidate for mixing, the Variable
Crossover Probability determines, for each variable, the probability of mixing. This is
usually set high to ensure that most or all variables mix.
c. Variable Exchange Probability: After the slight change in the variable values has been
made, the crossover operation is also able to exchange the values of the variables between
the two children that are being constructed. The Variable Exchange Probability governs
the likelihood of exchange of any variable.
d. Mu is a general parameter defining the sharpness of the distribution that might be used for
the Variable Crossover Probability. Mu should be greater than one. There is no theoret-
ical upper limit, but we recommend not exceeding 30.
6. Select one of the four Crossover types from the drop-down menu.
The crossover type selected affects the options available.
Uniform Individual crossover probability
Variable crossover probability
One point Individual crossover probability
Two point Individual crossover probability
Simulated binary
crossover
Individual crossover probability
Variable crossover probability
Variable exchange probability
Mu
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-49
7. Select the Mutation type--this can be one of three types, which you select from a drop-down
menu.
Uniform Distribution
Gaussian Distribution
Polynomial Mutation.
8. For the selected mutation type, set the following parameters:
Uniform Mutation Probability: If this is more than zero (recommendation is to have still
a small probability here), then there will be some children whose features are simply a
completely random design (design variables randomly selected over the domain).
Individual Mutation Probability controls, for each child, the likelihood of a mild muta-
tion.
Variable Mutation Probability. If the child will be mutated, this probability controls at
the variable level the likelihood of a mutation of the variables.
Standard Deviation is the standard deviation of the selected distribution that is being
used for the mutation and it is measured relatively to the optimization-domain.
9. When you have completed the Reproduction setup in the Genetic Algorithm Optimizer
Reproduction Setup dialog, click OK to close it and return to the Advanced Genetic Algo-
rithm Optimizer Options dialog.
10. In the Advanced Genetic Algorithm Optimizer Options dialog, specify the children as a
Number of Individuals.
11. Set the Pareto Front value.
This the number of the very best individuals (identified relative to the cost function) to keep for
future generations.
12. Set the Next Generation parameters. The Next Generation is selected from the Parents, the
children, and the Pareto front.
Number of individuals value field -- specify the number of individuals to survive to form
the next generation for the optimizer to use.
Roulette selection checkbox -- if checked, this enables the Selection pressure value
field. This number defines how many times more probable is the selection of the best indi-
vidual over the worst individual in an elementary spin of the roulette wheel.
13. Click OK to accept the settings for the Genetic Algorithm and to close the dialog.
Related Topics
Setting up an Optimization Analysis
Adding a cost function
Optimization Overview
Acceptable Cost
Explanation of L1, L2, and Max Norms in Optimization
Choosing an Optimizer
Maxwell 3D Online Help
21-50 Setting up an Optimetrics Analysis
Sensitivity Analysis Overview
During a sensitivity analysis, Optimetrics explores the vicinity of the design point to determine the
sensitivity of the design to small changes in variables. The variables and their attributes define the
design point, the problem around which the sensitivity analysis is performed.
When Optimetrics performs a sensitivity analysis, its goal is to calculate the second-order regres-
sion polynomials for all of the design's output parameters. The algorithm first determines an appro-
priate interval for each variable. The intervals are further sub-divided according to the available
number of iterations and variables. If the master output is not used, the specified initial displace-
ment values define those intervals.
When all of the design calculations are complete, the second-order polynomials are fitted for all the
output parameters. Optimetrics then reports the following quantities:
Regression value at the current variable value.
First derivative of the regression.
Second derivative of the regression.
Related Topics
Setting Up a Sensitivity Analysis
Selecting a Master Output
Selecting a Master Output
During a sensitivity analysis, the design variations that Optimetrics selects to solve are close to the
design point, but not so close that numerical noise (from the finite element mesh) affects the analy-
sis. The algorithm that Optimetrics uses to determine the design variations to solve must be based
on only one output parameter and that output parameter's numerical noise. Therefore, if you have
defined more than one output parameter, be sure to select Master Output for the output variable on
which you want the selection of design variations to be based.
Related Topics
Setting Up an Output Parameter
Setting Up a Sensitivity Analysis
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-51
Setting Up a Sensitivity Analysis
Following is the general procedure for setting up a sensitivity analysis. Once you have created a
setup, you can Copy and Paste it, and then make changes to the copy, rather than redoing the whole
process for minor changes.
1. Before a variable can be included in a sensitivity analysis, you must specify that you intend for
it to be used during a sensitivity analysis in the Design Properties dialog box.
2. On the Maxwell3D or Maxwell2D menu, point to Optimetrics Analysis, and then click Add
Sensitivity .
The Setup Sensitivity Analysis dialog box appears.
3. Under the Calculations tab, type the maximum number of iterations per variable value that
you want Maxwell to perform in the Max. No. of Iterations/Sensitivity Variable text box.
4. Set up an output parameter calculation and select a Master Output
5. Specify the value of the design point at which the sensitivity analysis should stop in the
Approximate Error in Master Output text box.
6. In the Variables tab, specify the Min/Max values for variables included in the optimization,
and the Initial Displacement (Initial Disp.) for the analysis.
You may also override the variable starting values by clicking the Override checkbox and
entering the desired value in the Starting Value field.
7. In the General tab, specify whether Optimetrics should use the results of a previous Paramet-
ric analysis or perform one as part of the optimization process.
8. Under the Options tab, if you want to save the field solution data for every solved design vari-
ations in the optimization analysis, select Save Fields And Mesh.
You may also select Copy geometrically equivalent meshes to reuse the mesh when geome-
try changes are not required, for example when optimizing on a material property or source
excitation.This will provide some speed improvement in the overall optimization process.
The following optional sensitivity analysis setup options can also be used:
Modify the starting variable value.
Modify the minimum and maximum values of variables that will be solved.
Exclude variables from the sensitivity analysis.
Set the initial displacement.
Modify the values of fixed variables that are not being modified during the sensitivity
analysis.
Set linear constraints.
Note Do not select this option when requesting a large number of iterations as the data
generated will be very large and the system may become slow due to the large I/O
requirements.
Maxwell 3D Online Help
21-52 Setting up an Optimetrics Analysis
Request that Optimetrics solve a parametric sweep before a sensitivity analysis.
You can also request that Optimetrics solve a parametric sweep during a sensitivity anal-
ysis.
Related Topics
Sensitivity Analysis Overview
Setting the Maximum Iteration Per Variable
Setting the Maximum Iterations Per Variable
The Max. No. of Iterations/Sensitivity Variable value is the maximum number of design varia-
tions that Optimetrics solves per variable during a sensitivity analysis. This value is a stopping cri-
terion; if the maximum number of iterations has been completed, the sensitivity analysis stops. If
the maximum number of iterations has not been completed, the sensitivity analysis continues by
performing another iteration, that is, by solving another design variation. It performs iterations until
the approximate error in master output value is reached or until Optimetrics cannot proceed as a
result of other sensitivity setup constraints, such as when it searches for a variable value that is
larger than the maximum value.
To set the maximum number of iterations for a sensitivity analysis:
Under the Calculations tab of the Setup Sensitivity Analysis dialog box, type a value in the
Max. No. of Iterations/Sensitivity Variable text box.
Related Topics
Setting Up an Output Parameter
Setting Up an Output Parameter
Following is the general procedure for adding an output parameter to a sensitivity setup:
1. Under the Calculations tab of the Setup Sensitivity Analysis dialog box, click Setup Calcu-
lations to open the Add/Edit Calculations dialog box.
2. In the Add/Edit Calculations dialog box, set up output parameter calculations to be evaluated
for sensitivity.
3. To modify the solution from which the output parameter is to be extracted, click in the Solu-
tion column and select from the options in the pop-up list.
4. You can modify the Calculation specified by clicking on the output parameter in the table and
selecting Edit.
5. For output parameters based on swept variable, you must choose a single value in the Calcula-
tion Range at which to evaluate the output parameter.
6. If you have more than one output parameter, select Master Output if you want Optimetrics to
Note Sweeping or using a complex variable is not allowed in any optimetrics setup, including
optimization, statistical, sensitivity, and tuning setups.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-53
use the output parameter to base its selection of solved design variations.
Related Topics
Selecting a Master Output
Specifying a Solution Quantity for an Output Parameter
When setting up an output parameter, you must identify the solution quantity on which to base the
output parameter. Solution quantities are specified by mathematical expressions that are composed
of basic quantities, such as matrix parameters; and output variables.
The Add/Edit Calculation dialog box allows you to define the mathematical equation for one or
multiple output parameters. To set up an output parameter:
1. In the Context section of the dialog:
Select the Report Type with a pull-down selection list containing the available types for
this design.
Select the Solution from the drop down selection list. This lists the available setups and
sweeps. As a minimum, the LastAdaptive solution is available.
Select the Geometry from the drop down selection list or select none (the default). This
modifies the list of quantities available to the ones that apply to the specific geometry.
When selecting a geometry, you may also be required to specify a point within the geome-
try where the calculation is to be performed.
2. The Output Variables button opens the Output Variables dialog box allowing you to create
special output variables to be used in the output parameter.
3. The Calculation Expression field in the Trace tab is used to enter the equation to be used for
the output parameter. To enter an expression, you may type it directly into the field or use the
Category, Quantity, and Function lists as follows:
Select the Category, these depend on the Solution type and the design. This lets you spec-
ify the category of information to be used in the output parameter.
Select a Quantity from the list. Available quantities depend upon the Solution type, as
well as the Geometry and Category selection. Selecting a Quantity automatically enters it
into the Calculation Expression field.
Select a Function to apply to the value in the calculated expression.
For swept variables, the Range Function button opens the Set Range Function dialog to
apply functions to the expression that apply over the sweep range.
Note During a sensitivity analysis, the design variations that Optimetrics selects to solve are
close to the design point, but not so close that numerical noise (from the finite element
mesh) affects the analysis. The algorithm that Optimetrics uses to determine the design
variations to solve must be based on only one output parameter and that output
parameters numerical noise. If you have defined more than one output parameter, be
sure to select Master Output for the output variable on which you want the selection of
design variations to be based.
Maxwell 3D Online Help
21-54 Setting up an Optimetrics Analysis
4. The Calculation Range tab applies to swept variables and allows you to specify the range of
the sweep over which to apply the calculation.
5. When the desired Calculation Expression has been obtained, click the Add Calculation but-
ton to add the entry to the calculation table in the Setup Sensitivity Analysis dialog box. You
may add multiple entries to the table simply by changing the Calculation Expression and
using the Add Calculation button.
6. To update or edit a selected cost function, enter the desired Calculation Expression and click
the Update Calculation button.
7. Click Done to return to the Setup Sensitivity Analysis dialog box.
Related Topics
Setting the Calculation Range of an Output Parameter
Setting the Calculation Range of an Output Parameter
The calculation range of a solution quantity determines the intrinsic variable value at which the
solution quantity is to be extracted. For a sensitivity setup, the calculation range must be a single
value. If you specified that the solution quantity be extracted from a frequency sweep solution, by
default, Optimetrics uses the starting frequency in the sweep.
1. Under the Calculations tab of the Setup Sensitivity Analysis dialog box, click in the Calcula-
tion Range column of the table for the calculation to be modified.
The Edit Calculation Range dialog box appears.
2. In the table, click the Edit button in the row to be modified.
If you choose to solve a parametric setup during the sensitivity analysis, the variables swept in
that parametric setup are available in the pop-up list dialog box. If you sweep a variable in the
parametric setup that is also a sensitivity variable, that variable is excluded from the sensitivity
analysis.
3. Click on the value for the calculation range in the list and dismiss the pop-up dialog box.
4. Click OK in the Edit Calculation Range dialog box to accept the new value for the intrinsic
variable, and return to the Setup Sensitivity Analysis dialog box.
Related Topics
Setting Up an Output Parameter
Modifying the Starting Variable Value for Sensitivity Analysis
The design point of the sensitivity analysis is the starting value of the sensitivity variable and is
usually the first variation to be solved. Optimetrics automatically sets the starting value of a vari-
Note The solution quantity you specify must be able to be evaluated to a single, real number.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-55
able to be the current value set for the nominal design. You can modify the design point for each
sensitivity setup.
1. In the Setup Sensitivity Analysis dialog box, click the Variables tab.
All of the variables that were selected for the sensitivity analysis are listed.
2. Type a new value in the Starting Value text box for the value you want to override, and then
press Enter.
The Override option is now selected. This indicates that the value you entered is to be used for
this sensitivity analysis; the current value set for the nominal model will be ignored.
Alternatively, you can select the Override option first, and then type a new variable value
in the Starting Value text box.
3. Optionally, click a new unit system in one of the Units text boxes.
To revert to the default starting value, clear the Override option.
Related Topics
Setting Up a Sensitivity Analysis
Setting the Min. and Max. Variable Values
For every sensitivity setup, Optimetrics automatically sets the minimum and maximum values that
it will consider for a sensitivity variable. Optimetrics sets a variables minimum value equal to
approximately one-half its starting value. (The starting value is the variables current value set for
the nominal design.) Optimetrics sets the variables maximum value equal to approximately 1.5
times the starting value. During sensitivity analysis, variable values outside this range are not con-
sidered.
Related Topics
Override the default minimum and maximum variable values for a single sensitivity setup.
Change the default minimum and maximum variable values for every sensitivity setup.
Overriding the Min. and Max. Variable Values for a Single Sensitivity Setup
1. In the Setup Sensitivity Analysis dialog box, click the Variables tab.
All of the variables that were selected for sensitivity analysis are listed.
2. Type a new value in the Min or Max text box for the value you want to override, and then
press Enter.
Warning Variable values must be single real numbers, or expressions that evaluate to single
real numbers. Complex numbers cannot be used as the values of variables in any
optimetric analysis.
Warning Variable values must be single real numbers, or expressions that evaluate to single
real numbers. Complex numbers cannot be used as the values of variables in any
optimetric analysis.
Maxwell 3D Online Help
21-56 Setting up an Optimetrics Analysis
The Override option is now selected. This indicates that the value you entered is to be used for
this sensitivity analysis; the variable's current Min or Max value set in the nominal design is
ignored.
Alternatively, you can select the Override option first, and then type a new value in the
Min or Max text box.
3. Optionally, click a new unit system in one of the Units text boxes.
To revert to the default minimum and maximum values, clear the Override option.
Related Topics
Setting Up a Sensitivity Analysis
Changing the Min. and Max. Variable Values for Every Sensitivity Setup
1. Make sure the variable's minimum and maximum values are not being overridden in any sensi-
tivity setup.
2. If the variable is a design variable, do the following: Click Maxwell3D or
Maxwell2D>Design Properties.
If the variable is a project variable, do the following: Click Project>Project Variables.
The Properties dialog box appears.
3. Select Sensitivity.
4. Type a new value in the Min or Max text box for the value you want to override, and then
press Enter.
When Optimetrics solves a sensitivity setup, it does not consider variable values that lie out-
side of this range.
Related Topics
Setting Up a Sensitivity Analysis
Setting the Initial Displacement
The initial displacement is the difference in a variable's starting value and the next solved design
variation. During the sensitivity analysis, Optimetrics does not consider an initial variable value
that is greater than this step size away from the starting variable value.
1. In the Setup Sensitivity Analysis dialog box, click the Variables tab.
2. Optimetrics displays the Initial Disp. column, with default values for each sensitivity variable.
3. In the Initial Disp. text box, type the initial displacement value. Optionally, modify the unit
system in the Units text box.
Related Topics
Setting Up a Sensitivity Analysis
Solving a Parametric Setup Before a Sensitivity Analysis
Solving a parametric setup before a sensitivity setup is useful for guiding Optimetrics in a sensitiv-
ity analysis.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-57
To solve a parametric setup before a sensitivity setup:
1. In the Setup Sensitivity Analysis dialog box, click the General tab.
2. Click the parametric setup you want Optimetrics to solve before the sensitivity setup from the
Parametric Analysis pull-down list.
3. Select Solve the parametric sweep before analysis.
If the parametric setup has not yet been solved, Optimetrics solves it. Optimetrics uses the results
(of the solution calculation you requested under the Goals tab of the Setup Sensitivity dialog box)
to determine the next design variation to solve for the sensitivity analysis.
Related Topics
Setting Up a Sensitivity Analysis
Solving a Parametric Setup During a Sensitivity Analysis
Solving a parametric setup during a sensitivity analysis is useful when you want Optimetrics to
solve every design variation in the parametric setup at each sensitivity analysis iteration. An output
parameter goal could then depend on the value of the variable swept in the parametric setup.
To solve a parametric setup during a sensitivity analysis:
1. In the Setup Sensitivity Analysis dialog box, click the General tab.
2. Click the parametric setup you want Optimetrics to solve during the sensitivity analysis from
the Parametric Analysis pull-down list.
3. Select Solve the parametric sweep during analysis.
Related Topics
Setting Up a Sensitivity Analysis
Note The parametric setup must include sweep definitions for the sensitivity variables.
Maxwell 3D Online Help
21-58 Setting up an Optimetrics Analysis
Statistical Analysis Overview
Statistical analysis allows you to explore the effects of random combinations of values of selected
variables on selected global or local available analysis results. Therefore, before a variable can be
included in a statistical analysis, you must specify that you intend for it to be used during a statisti-
cal analysis. For each variable you must specify the type of distribution (Uniform, Gaussian, Log-
normal or User Defined) and the corresponding parameters of the selected distribution.
In addition to specifying the variables to be used in the statistical analysis and the parameters of the
chosen distribution, the output quantities of interest also need to be specified. These quantities can
be global ones such as previously defined parameters (Force/torque, inductance / capacitance, etc),
other named quantities, quantities defined in the field calculator as global (such a domain integral
of a certain field quantity) or local (such as field value at a certain location). The calculations to be
performed during the statistical analysis are specified during setup, in a manner similar to other
types of analysis in Optimetrics.
Following the analysis the statistical distribution of the output quantities can be visualized in histo-
gram format. To access available reports, after the statistical analysis is complete, right click the
respective Statistical analysis setup and select View Analysis Result.
Related Topics
Setting Up a Statistical Analysis
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-59
Setting Up a Statistical Analysis
Following is the general procedure for setting up a statistical analysis. Once you have created a
setup, you can Copy and Paste it, and then make changes to the copy, rather than redoing the whole
process for minor changes.
1. Before a variable can be included in a statistical analysis, you must specify that you intend for
it to be used during a statistical analysis in the Properties dialog box.
2. On the Maxwell3D or Maxwell2D menu, point to Optimetrics Analysis, and then click Add
Statistical .
3. The Setup Statistical Analysis dialog box appears.
4. Under the Calculations tab, type the maximum number of iterations you want Maxwell to per-
form in the Maximum Iterations text box.
5. Specify a solution quantity to evaluate.
6. In the Calculation text box, set the value at which the solution quantity is to be computed.
7. Optionally, modify the distribution criteria to be used.
8. The following optional statistical analysis setup options can also be used:
Modify the starting variable value.
Exclude variables from the statistical analysis.
Modify the values of fixed variables that are not being modified during the statistical anal-
ysis.
Request that Optimetrics solve a parametric sweep during a statistical analysis.
9. If you want to save the field solution data for the design variations solved during analysis,
select Save Fields.
Related Topics
Statistical Analysis Overview
Setting the Maximum Iterations for a Statistical Analysis
The Maximum Iterations value is the maximum number of design variations Optimetrics solves
during a statistical analysis. This value is a stopping criterion; if the maximum number of iterations
has been completed, the analysis stops. If the maximum number of iterations has not been com-
pleted, Optimetrics continues by performing another iteration, that is, by solving another design
variation.
To set the maximum number of iterations for a statistical analysis:
Under the Calculations tab of the Setup Sensitivity Analysis dialog box, type a value in the
Maximum Iterations text box.
Note Sweeping or using a complex variable is not allowed in any optimetrics setup, including
optimization, statistical, sensitivity, and tuning setups.
Maxwell 3D Online Help
21-60 Setting up an Optimetrics Analysis
Related Topics
Setting up a Statistical Analysis
Specifying the Solution Quantity to Evaluate for Statistical Analysis
When you add a statistical setup, you can identify one or more solution quantities to evaluate. The
solution quantities are specified by mathematical expressions that are composed of basic quantities.
When you view the results, Maxwell displays the distribution of the solution quantities.
1. In the Calculations tab of the Setup Statistical Analysis dialog box, click Setup Calcula-
tions.
The Add/Edit Calculations dialog box is displayed, allowing you to define one or more math-
ematical expressions for statistical evaluation.
2. In the Context section of the dialog:
Select the Report Type with a pull-down selection list containing the available types for
this design.
Select the Solution from the drop down selection list. This lists the available setups and
sweeps. As a minimum, the LastAdaptive solution is available.
Select the Geometry from the drop down selection list or select none (the default). This
modifies the list of quantities available to the ones that apply to the specific geometry.
When selecting a geometry, you may also be required to specify a point within the geome-
try where the calculation is to be performed.
3. The Output Variables button opens the Output Variables dialog box allowing you to create
special output variables to be used in the output parameter.
4. The Calculation Expression field in the Trace tab is used to enter the equation to be used for
the solution quantities. To enter an expression, you may type it directly into the field or use the
Category, Quantity, and Function lists as follows:
Select the Category, these depend on the Solution type and the design. This lets you spec-
ify the category of information to be used in the output parameter.
Select a Quantity from the list. Available quantities depend upon the Solution type, as
well as the Geometry and Category selection. Selecting a Quantity automatically enters it
into the Calculation Expression field.
Select a Function to apply to the value in the calculated expression.
For swept variables, the Range Function button opens the Set Range Function dialog to
apply functions to the expression that apply over the sweep range.
5. The Calculation Range tab applies to swept variables and allows you to specify the range of
the sweep over which to apply the calculation.
6. When the desired Calculation Expression has been obtained, click the Add Calculation but-
ton to add the entry to the calculation table in the Setup Statistical Analysis dialog box. You
may add multiple entries to the table simply by changing the Calculated Expression and using
the Add Calculation button.
7. To update or edit a selected cost function, enter the desired Calculation Expression and click
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-61
the Update Calculation button.
8. Click Done to return to the Setup Statistical Analysis dialog box.
Related Topics
Setting up a Statistical Analysis
Setting the Maximum Iterations for a Statistical Analysis
Setting the Solution Quantity's Calculation Range
The calculation range of a solution quantity determines the intrinsic variable value at which the
solution quantity is extracted. For a statistical setup, the calculation range must be a single value. If
you specified that the solution quantity be extracted from a frequency sweep solution, Optimetrics
will use the starting frequency in the sweep by default.The calculation range should be set during
the setup of the solution quantity for statistical evaluation. In order to modify the calculation range,
do the following:
1. Under the Calculations tab of the Setup Statistical Analysis dialog box, click in the Calcula-
tion Range column of the table for the calculation to be modified.
The Edit Calculation Range dialog box appears.
2. In the table, click the Edit button in the row to be modified.
If you choose to solve a parametric setup during the statistical analysis, the variables swept in
that parametric setup are available in the pop-up list dialog box. If you sweep a variable in the
parametric setup that is also a statistics variable, that variable is excluded from the statistics
analysis.
3. Click on the value for the calculation range in the list and dismiss the pop-up dialog box.
4. Click OK in the Edit Calculation Range dialog box to accept the new value for the intrinsic
variable, and return to the Setup Statistical Analysis dialog box.
Related Topics
Setting up a Statistical Analysis
Setting the Distribution Criteria
For every statistical setup, Optimetrics automatically sets the distribution criteria to be uniform
within a 10% tolerance of the variable's starting value. You can modify the distribution type and
criteria for a single statistical setup or for every statistical setup.
Related Topics
Override the default distribution criteria for a single statistical setup.
Change the default distribution criteria for every statistical setup.
Note The solution quantity you specify must be able to be evaluated to a single, real number.
Maxwell 3D Online Help
21-62 Setting up an Optimetrics Analysis
Overriding the Distribution Criteria for a Single Statistical Setup
To override the default distribution criteria for a single statistical setup:
1. In the Setup Statistical Analysis dialog box, click the Variables tab.
All of the variables that were selected for statistical analysis are listed.
2. Check or clear the Include checkbox for each variable to define the specific variables to be
varied in the statistical analysis setup.
3. For each included variable, select Uniform, Gaussian, Lognormal, or User Defined in the
Distribution column for the variable you want to override.
If you changed the distribution type, the Override option is now selected. This indicates that
the distribution type you selected is to be used for this optimization analysis; the current distri-
bution type selected for the variable in the nominal design is ignored in this statistical analysis.
Alternatively, you can select the Override option first, and then select a different distribu-
tion type in the Distribution text box.
4. Optionally, if you want to change the distribution criteria, click in Distribution Criteria col-
umn for the variable you want to override.
The Edit Distribution dialog box appears.
5. If the distribution type is Gaussian, do the following:
a. Type the lower limit of the distribution in the Cutoff Probability text box. This is a value
=>0 and < 0.1.
b. Type the mean value of the distribution in the Mean text box.
c. Type the standard deviation of the distribution in the Std Dev text box.
Maxwell will solve design variations using a Gaussian distribution within the low and
high cutoff values.
6. If the distribution type is Uniform, do the following:
Enter a tolerance value in the text box.
Maxwell will solve design variations within the tolerance range of the starting value, using
an even distribution.
7. If the distribution type is Lognormal, do the following:
a. Enter the cutoff probability in the Cutoff Probability text box.
b. Enter the sigma value of the distribution in the Sigma text box and select a unit from the
pull-down.
c. Enter the m value of the distribution in the M text box.
d. Enter the theta value in the Theta text box and select a unit from the pull-down.
8. If the distribution type is User Defined, do the following:
a. Enter the cutoff probability in the Cutoff Probability text box.
b. Click Edit XY Data to open the Edit Datasets dialog box in which you can select an
existing dataset, or create a new one.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-63
9. By default, all variables are set to sample using Latin Hypercube sampling. This sampling
method provides for greater variability than random sampling by keeping track of chosen sam-
ples and guaranteeing that samples cannot be repeated. You may revert to random sampling by
clearing the checkbox in the Latin Hypercube column for any desired variable.
10. Click OK.
To revert to the default distribution settings, clear the Override option.
Related Topics
Statistical Cutoffs
Changing the Distribution Criteria for Every Statistical Setup
To change the default distribution criteria for every statistical setup:
1. Make sure that the variable's distribution criteria are not being overridden in any statistical
setup.
2. If the variable is a design variable, do the following: On the Maxwell3D or Maxwell2D menu,
click Design Properties.
If the variable is a project variable, do the following: Click Project>Project Variables.
The Properties dialog box appears.
3. Select Statistics.
4. Click in the Distribution column for the variable you want to change, and then select Uni-
form, Gaussian, Lognormal, or User Defined.
5. Optionally, if you want to change the distribution criteria, click in the Distribution Criteria
column for the variable you want to change.
If the distribution type is Gaussian, the Gaussian Distribution dialog box appears. If the dis-
tribution type is Uniform, the Uniform Distribution dialog box appears.
6. If the distribution type is Gaussian, do the following:
a. Type the lower limit of the distribution in the Cutoff Probability text box. This is a value
=>0 and < 0.1.
b. Type the mean value of the distribution in the Mean text box.
c. Type the standard deviation of the distribution in the Std Dev text box.
Maxwell will solve design variations using a Gaussian distribution within the low and
high cutoff values.
7. If the distribution type is Uniform, do the following:
a. Type a cutoff probability value in the Cutoff Probability text box.
b. Type mean and tolerance values in the corresponding text boxes.
Maxwell will solve design variations within the tolerance range of the starting value, using
an even distribution.
8. If the distribution type is Lognormal, do the following:
a. Type a cutoff probability value in the Cutoff Probability text box.
Maxwell 3D Online Help
21-64 Setting up an Optimetrics Analysis
b. Type values for Sigma, M, and Theta in the corresponding text boxes.
9. If the distribution type is User Defined, do the following:
a. Type a cutoff probability value in the Cutoff Probability text box.
b. Click Edit XY Data to open the Edit Dataset dialog.
c. Either type or import the X and Y data values for the distribution in the Edit Dataset dia-
log.
10. Click OK.
Related Topic
Statistical Cutoffs
Statistical Cutoffs
The cutoff probability values affects the Gaussian distribution criteria. This is a value =>0 and <
0.1. Maxwell solves design variations using a Gaussian distribution using a lower limit cutoff prob-
ability and specified mean and standard deviation values.
Uniform distributions such as variable length above use only the Tolerance value, and do not
have a cutoff probability.
Edit Distribution
When setting the distribution type for a variable, you have the option of changing the distribution
parameters from the default values.
1. If the distribution type is Gaussian, do the following:
a. Type the lower limit of the distribution in the Cutoff Probability text box. This is a value
=>0 and < 0.1.
b. Type the mean value of the distribution in the Mean text box.
c. Type the standard deviation of the distribution in the Std Dev text box.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-65
Maxwell solves design variations using a Gaussian distribution within the specified mean
and standard deviation values.
2. If the distribution type is Uniform, do the following:
a. Type the lower limit of the distribution in the Cutoff Probability text box.
b. Type the mean value of the distribution in the Mean text box.
c. Enter the tolerance in the Tolerance text box.
Maxwell solves design variations within the tolerance range of the starting value, using an
even distribution.
3. If the distribution type is Lognormal, do the following:
a. Type the lower limit of the distribution in the Cutoff Probability text box.
b. Enter the shape parameter of the distribution in the Sigma text box.
c. Enter the scale parameter in the M text box. The scale parameter should be set to 1 for the
standard lognormal distribution.
d. Enter the location parameter value for Theta in the text box. The value for a standard log-
normal distribution is 0.
.Maxwell solves design variations with a logarithmic distribution using the shape, scale
and location parameters provided.
4. If the distribution type is User Defined, do the following:
a. Type the lower limit of the distribution in the Cutoff Probability text box.
b. Select the Edit XY Data button to manually define the data distribution using datasets.
Maxwell 3D Online Help
21-66 Setting up an Optimetrics Analysis
Related Topics
Adding Datasets
Changing the Distribution Criteria for Every Statistical Setup
Overriding the Distribution Criteria for a Single Statistical Setup
Modifying the Starting Variable Value for Statistical Analysis
A variable's starting value is the first value that is solved during the statistical analysis. Optimetrics
automatically sets the starting value of a variable to be the current value set for the nominal design.
You can modify this value for each statistical setup.
1. In the Setup Statistical Analysis dialog box, click the Variables tab.
All of the variables selected for the statistical analysis are listed.
2. Type a new value in the Starting Value text box for the value you want to override, and then
press Enter.
The Override option is now selected. This indicates that the value you entered is to be used for
this statistical analysis; the current value set for the nominal model will be ignored.
Alternatively, you can select the Override option first, and then type a new variable value
in the Starting Value text box.
3. Optionally, click a new unit system in one of the Units text boxes.
To revert to the default starting value, clear the Override option.
Related Topics
Setting up a Statistical Analysis
Solving a Parametric Setup During a Statistical Analysis
Solving a parametric setup during a statistical analysis is useful when you want Optimetrics to
solve every design variation in the parametric setup at each statistical analysis iteration.
To solve a parametric setup during a statistical analysis:
1. In the Setup Statistical Analysis dialog box, click the General tab.
2. Click the parametric setup you want Optimetrics to solve during the statistical analysis from
the Parametric Analysis pull-down list.
3. Select Solve the parametric sweep during analysis.
Related Topics
Setting up a Statistical Analysis
Warning Variable values must be single real numbers, or expressions that evaluate to single
real numbers. Complex numbers cannot be used as the values of variables in any
optimetric analysis.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-67
Tuning Overview
Tuning a variable is useful when you want to manually modify its value and immediately perform
an analysis of the design. For example, it is useful after performing an optimization analysis, in
which Optimetrics has determined an optimal variable value, and you want to fine tune the value to
see how the design results (for example, traces in a report) are affected.
A design can be updated after a tuning analysis to reflect a design variation solved during a tuning
analysis and the results, including field solutions if you select Save Fields and Mesh on the
Options tab of the setup.
Related Topics
Tuning a Variable
Maxwell 3D Online Help
21-68 Setting up an Optimetrics Analysis
Tuning a Variable
If you want to ensure that tuning does not resolve variations already solved by an optimization
setup, you must check Save Fields and Mesh in the Options tab of that setup.
1. Before a variable can be tuned, you must specify that you intend for it to be used during a tun-
ing analysis in a Project or Design Properties dialog box.
2. On the Maxwell3D or Maxwell2D menu, click Optimetrics Analysis>Tune .
The Tune dialog box appears, listing the variables which have been included for tuning.
3. Clear the Real Time option.
Clearing the Real Time option enables the Tune button. If this option is selected, a simulation
begins immediately after you move the slider. Otherwise, you use the Tune button to apply the
current values to a simulation.
4. If you want to see updates to an open Report plot while tuning a post processing variable, you
must select the Browse available variations checkbox. Selecting Browse available varia-
tions disables the sweep checkbox, and the fields for minimum and maximum variable values.
This feature lets you see the effect of changes to the post processing variables on plotted
results.
Clearing Browse available variations enables the Sweep checkbox, the minimum and maxi-
mum fields, and changes the Nominal field to Step. See step 6.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-69
5. In the Sim. Setups column, select the solution setup you want Maxwell to use when it solves
the specified design variation.
Maxwell solves the analysis using the solution setup you select. If you select more than one,
results are generated for all selected solution setups.
Checking the Tune box for a Sim Setup enables the Real Time checkbox, the Browse available
variations checkbox, and the Snap radio buttons. Clearing the Tune box disables those selec-
tions.
6. In the Nominal text box for the variable you want to tune, type the value of the variable you
want Maxwell to solve, or drag the slider to increase or decrease its value.
Alternatively, if you want Maxwell to solve a range of values, specify a linear range of values
with a constant step size:
a. Select the Sweep check box.
b. In the text box below the Step value, type the starting value in the variable range.
c. Type the step size, or difference between variable values in the sweep definition, in the
Step text box. The step size determines the number of design variations between the start
and stop values. Maxwell solves the model at each step in the specified range, including
the start and stop values.
d. In the text box just below the variable name, type a stopping value in the variable range.
7. If you have cleared the Real Time checkbox, click Tune to apply the changes you have made
to the variable values.
8. Changing a variable value with the sliders of by typing in the text field enables the Save and
Reset buttons.
Clicking Save opens a Save As dialog with a name field, and an Apply tuned values to design
checkbox.
Clicking Reset changes the variable values back to what they were originally.
9. If you have changed one or more included variables, clicking Close on the Tuning dialog
opens the Apply Tuned Variation dialog. This lists the included variables and the values for
each tuning. If you have tried multiple values, they are listed, and the current value is high-
lighted. Select another value to change the highlight. Click OK to apply the highlighted values
to the design, or Dont Apply to ignore the changes from the original variable values.
If you have applied variant values, you should see the new values listed in the relevant Design
or Project Properties lists of variables and values, and if the changes affect plots or physical
Warning Variable values must be single real numbers, or expressions that evaluate to single
real numbers. Complex numbers cannot be used as the values of variables in any
optimetric analysis.
Note Sweeping or using a complex variable is not allowed in any optimetrics setup, including
optimization, statistical, sensitivity, and tuning setups.
Maxwell 3D Online Help
21-70 Setting up an Optimetrics Analysis
features of a model, those changes should also appear.
Click Cancel to close the dialog and go back to the Tune dialog.
Related Topics
Applying a Tuned State to a Design
Tuning Overview
Resetting Variable Values after Tuning
Applying a Tuned State to a Design
You can apply the variable values solved during a tuning analysis to the nominal design in one of
the following three ways:
When closing the Tune dialog box:
1. Click Close to exit the Tune dialog box.
The Apply Tuned Variation dialog box appears.
2. Click the design variation you want to apply, and then click OK.
The variable values from the solved design variation become the current variable values
for the nominal design. If you have applied variant values, you should see the new values
listed in the relevant Design or Project Properties lists of variables and values, and if the
changes affect plots or physical features of a model, those changes should also be appar-
ent.
When saving a tuned state.
When reverting to a tuned state.
Saving a Tuned State
You can save the settings in the Tune dialog box, including the variable values you specified for a
tuning analysis. Saved states are only available during the current session of the Tune dialog box;
they are not stored for the next session.
1. After tuning a variable, click Save in the Tune dialog box.
A Save As dialog box appears.
2. Type a name for the tuned state in the text box.
3. Select Apply tuned values to design if you want to update the model to the new variable val-
ues.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-71
4. Click OK to return to the Tune dialog box.
Related Topics
Reverting to a Saved Tuned State
Reverting to a Saved Tuned State
You can revert to a group of saved settings in the Tune dialog box, including the variable values
you specified for a specific tuning analysis. Saved states are only available during the current ses-
sion of the Tune dialog box; they are not stored for the next session.
1. In the Tune dialog box, click Revert.
The Revert dialog box appears.
2. Type the name of the tuned state you want to apply or click a name in the pull-down list.
3. Select Apply tuned values to design if you want to update the model to the selected tuned
state's variable values.
4. Click OK to return to the Tune dialog box.
Related Topics
Saving a Tuned State
Resetting Variable Values after Tuning
If you want to reset variable values to the values they were set to when you started the current ses-
sion of the Tune dialog box:
After tuning a variable, click Reset in the Tune dialog box.
Solutions for the design variations solved during tuning analyses remain available for post pro-
cessing.
Maxwell 3D Online Help
21-72 Setting up an Optimetrics Analysis
Saving Field Solutions for Optimetrics Analyses
In order to preserve disk space, by default Maxwell does not save field solution data for every
solved design variation in an optimization analysis. It only saves the field solutions for the nominal
design when an adaptive analysis is specified in the solution setup or when you request that fields
be saved for each solved point in a frequency sweep. If the nominal design is not included in the
optimization analysis, all field solutions are deleted.
To save the fields for all design variations, change the default setting for all projects:
1. Select Tools>Options, and then select either Maxwell3D Options or Maxwell2DOptions.
The appropriate Options dialog box appears.
2. Under the General tab, select Save Optimetrics field solutions.
Save Fields is selected by default when you create a new Optimetrics setup.
Related Topics
Saving Field Solutions for a Parametric Setup
Saving Field Solutions for an Optimization Setup
Saving Field Solutions for a Sensitivity Setup
Saving Field Solutions for a Tuning Analysis
Saving Field Solutions for a Statistical Setup
Copy Geometrically Equivalent Meshes
Saving Field Solutions for a Parametric Setup
In order to preserve disk space, by default Maxwell does not save field solution data for every
solved design variation in a parametric setup. It only saves the field solutions for the nominal
design. If the nominal design is not included in the parametric setup, by default field solutions will
not be available.
To save the fields for all design variations solved during a parametric analysis:
1. Either Add Sweep or right click on an existing sweep to open the Setup Sweep Analysis dia-
log box.
2. Select the Options tab.
3. Click the Save Fields And Mesh check box. Optionally, select Copy geometrically equiva-
lent meshes.
Maxwell will save the field solution data for every solved design variation in the parametric
setup.
Related Topics
Saving Field Solutions for Optimetrics Analyses
Saving Field Solutions for an Optimization Setup
In order to preserve disk space, by default Maxwell does not save field solution data for every
solved design variation in an optimization analysis. It only saves the field solutions for the nominal
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-73
design when an adaptive analysis is specified in the solution setup or when you request that fields
be saved for each solved point in a frequency sweep. If the nominal design is not included in the
optimization analysis, all field solutions are deleted.
To save the fields for all design variations solved during an optimization analysis:
1. Open an Edit Sweep dialog by either adding a sweep or right-click on a an existing sweep to
view the short cut menu and selecting Properties.
2. Select the Options tab.
3. Click the Save Fields And Mesh check box. Optionally, select Copy geometrically equiva-
lent mashes.
Maxwell will save the field solution data for every solved design variation in the optimization
setup.
Related Topics
Saving Field Solutions for Optimetrics Analyses
Saving Field Solutions for a Sensitivity Setup
In order to preserve disk space, by default Maxwell does not save field solution data for every
solved design variation in a sensitivity analysis. It only saves the field solutions for the nominal
design when an adaptive analysis is specified in the solution setup or when you request that fields
be saved for each solved point in a frequency sweep. If the nominal design is not included in the
sensitivity analysis, all field solutions are deleted.
To save the fields for all design variations solved during a sensitivity analysis:
1. Open the Setup Sensitivity Analysis dialog box.
2. Select the Options tab.
3. Click the Save Fields And Mesh check box. Optionally, select Copy geometrically equiva-
lent mashes.
Maxwell will save the field solution data for every solved design variation in the sensitivity
analysis.
Related Topics
Saving Field Solutions for Optimetrics Analyses
Saving Field Solutions for a Tuning Analysis
In order to preserve disk space, by default Maxwell does not save field solution data for every
design variation solved in a tuning analysis. It only saves the field solutions for the nominal design
when an adaptive analysis is specified in the solution setup or when you request that fields be saved
for each solved point in a frequency sweep. If the nominal design is not included in the tuning anal-
ysis, all field solutions are deleted.
To save the fields for all design variations solved during a tuning analysis:
In the Tuning dialog box, select Save Fields.
Maxwell will save the field solution data for every solved design variation in a tuning analysis.
Maxwell 3D Online Help
21-74 Setting up an Optimetrics Analysis
Related Topics
Saving Field Solutions for Optimetrics Analyses
Saving Field Solutions for a Statistical Setup
In order to preserve disk space, by default Maxwell does not save field solution data for every
design variation solved in a statistical analysis. It only saves the field solutions for the nominal
design when an adaptive analysis is specified in the solution setup or when you request that fields
be saved for each solved point in a frequency sweep. If the nominal design is not included in the
statistical analysis, all field solutions are deleted.
To save the fields for all design variations solved during a statistical analysis:
1. Open the Setup Statistical Analysis dialog box.
2. Select the Options tab.
3. Click the Save Fields And Mesh check box. Optionally, select Copy geometrically equiva-
lent mashes.
Maxwell will save the field solution data for every solved design variation in the statistical
setup.
Related Topics
Saving Field Solutions for Optimetrics Analyses
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-75
Copying Meshes in Optimetrics Sweeps
An option in the Optimetrics Analysis setups allows you to request Maxwell to copy a mesh that
was calculated for one sweep variation for reuse on a geometrically-equivalent sweep variation. For
example, with this option selected a sweep on a scan angle would not need to generate meshes for
each solution. The option is available on the setups for sweeps on parametrics, optimization, sensi-
tivity, and statistics.
To copy and reuse meshes on geometrically-equivalent parametric variations:
1. Define a variable for the kind of Optimetrics sweep you intent to setup.
2. Select Maxwell3D or Maxwell2D and then select the appropriate Optimetrics>Add com-
mand to display a Setup dialog box.
3. Click the Options tab in the Setup dialog box.
4. Select Copy geometrically equivalent meshes.
Maxwell will copy the mesh solution calculated for a particular parametric sweep for reuse on
each geometrically-equivalent sweep variation.
The Copy geometrically equivalent mesh option is not recommended for use when the frequency
is varying, since meshing is frequency-dependent. You may wish to turn this option off when the
first geometrically equivalent variation requires numerous passes after the initial mesh, but the
other geometrically-equivalent variations require fewer additional passes, so that it is cheaper to
start with the initial mesh each time.
Note This option is available with all Optimetrics setups, and is applied when these
analyses generate geometrically-equivalent values. However, it is most relevant
to parametric sweep, where such equivalences are more likely to occur.
Maxwell 3D Online Help
21-76 Setting up an Optimetrics Analysis
Adding an Expression in the Output Variables Window
When you are in the Output Variables window (after clicking Edit Calculation from the one of
the setup analysis windows), do the following to specify an expression:
1. Type a name for the expression in the Name text box.
2. Do the following in the Calculation section of the window to insert a quantity into the expres-
sion:
a. Select the Report Type and Solution from the pull-down lists.
b. Select a Category, Quantity, and Function from the lists, and click Insert Quantity Into
Expression.
c. If you want to insert a specific pre-defined function, select one from the Function pull-
down list, and click Insert Function.
3. You can also type numbers or expression by hand directly into the Expression area.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-77
Excluding a Variable from an Optimetrics Analysis
To exclude a variable from being optimized or included in a sensitivity or statistical analysis:
1. Do one of the following:
In the Setup Optimization dialog box, click the Variables tab.
In the Setup Sensitivity Analysis dialog box, click the Variables tab.
In the Setup Statistical Analysis dialog box, click the Variables tab.
All of the independent variables that were selected for the optimization analysis are listed.
2. Clear the Include option for the variable you want to exclude from the analysis.
The Override option is now selected. This indicates that, for this optimization analysis, the
variable is not included.
3. Click OK.
Note Alternatively, you can select the Override option first, and then clear the Include option
for the variable you want to exclude.
Maxwell 3D Online Help
21-78 Setting up an Optimetrics Analysis
Modifying the Value of a Fixed Variable
If you are not including a variable in an optimization, sensitivity, or statistical analysis, Optimetrics
uses that variable's current value during the analysis.
To override the current value of a fixed variable for an Optimetrics setup:
1. Do one of the following:
In the Setup Optimization dialog box, click the Variables tab.
In the Setup Sensitivity Analysis dialog box, click the Variables tab.
In the Setup Statistical Analysis dialog box, click the Variables tab.
2. Click Set Fixed Variables.
The Setup Fixed Variables dialog box appears. Under Fixed Variables, all of the current
independent variable values are listed.
3. Click the Value text box of the variable with the value you want to override.
4. Type a new value in the Value text box, and then press Enter.
The Override option is now selected. This indicates that the value you entered is used for this
Optimetrics setup; the current variable value set for the nominal design is ignored.
5. Optionally, click a new unit system in the Units text box.
6. Click OK.
To revert to a default variable value, clear the Override option.
Note Alternatively, you can select the Override option first, and then type a new value in the
Value text box.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-79
Linear Constraints
Once the optimization variables are specified, the optimizer handles each of them as an n-dimen-
sional vector x. Any point in the design space corresponds to a particular x-vector and to a design
instance. Each design instance may be evaluated via Finite Element Analysis and assigned a cost
value; therefore, the cost function is defined over the design space (cost(x): R
n
R), where n is the
number of optimization variables.
In practice, a solution of the minimization problem is sought only on a bounded subset of the R
n
space. This subset is called the feasible domain and is defined via linear constraints.
You may constrain the feasible domain of a design variable by defining linear constraints for the
optimization process. The feasible domain is defined as the domain of all design variables that sat-
isfy all upper and lower bounds and constraints. Linear constraints are defined by the following
inequalities:
where
ij
are coefficients.
c
j
is a comparison value for the j
th
linear constraint.
x
i
is the i
th
designer parameter.
Related Topics
Setting a Linear Constraint
Setting a Linear Constraint
A linear constraint defines the linear relationship between variables. Setting linear constraints in
Optimetrics is useful for establishing limitations involving linear combinations of variable values.
1. Do one of the following:
If you are setting up an optimization analysis: In the Setup Optimization dialog box,
click the Variables tab.
If you are setting up a sensitivity analysis: In the Setup Sensitivity Analysis dialog box,
click the Variables tab.
2. Click Linear Constraint.
The Linear Constraint dialog box appears.
3. Click Add.
The Edit Linear Constraint dialog box appears.
4. Click a Coeff text box and type a positive or negative coefficient value.
ij
i
x
i
c
j
j <
Maxwell 3D Online Help
21-80 Setting up an Optimetrics Analysis
5. Click a condition, < (less than) or > (greater than), from the pull-down list.
6. Type the inequality value, which should be a constant value, in the text box to the right of the
condition.
7. Click OK.
You return to the Linear Constraint dialog box. The left-hand side of the constraint appears
in the LHS (left-hand side) column. The condition is listed in the Condition column, and the
inequality value is listed in the RHS (right-hand side) column.
Related Topics
Modifying a Linear Constraint
Deleting a Linear Constraint
Linear Constraints
Modifying a Linear Constraint
1. Do one of the following:
If you are setting up an optimization analysis: In the Setup Optimization dialog box,
click the Variables tab.
If you are setting up a sensitivity analysis: In the Setup Sensitivity Analysis dialog box,
click the Variables tab.
2. Click Linear Constraint.
The Linear Constraint dialog box appears.
3. Click the row listing the constraint you want to modify, and then click Edit.
The Edit Linear Constraint dialog box appears.
4. Optionally, click a Coeff text box and type a new coefficient value.
5. Optionally, click a different condition, < (less than) or > (greater than), in the pull-down list.
6. Optionally, type a different inequality value in the text box to the right of the condition, and
then click OK.
You return to the Linear Constraint dialog box. The new coefficient value, the condition, and
the inequality value appear in the LHS (left-hand side), Condition, and RHS (right-hand side)
columns, respectively.
Deleting a Linear Constraint
1. Do one of the following:
If you are setting up an optimization analysis: In the Setup Optimization dialog box,
click the Variables tab.
If you are setting up a sensitivity analysis: In the Setup Sensitivity Analysis dialog box,
click the Variables tab.
2. Click Linear Constraint.
The Linear Constraint dialog box appears.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-81
3. Click the row listing the constraint you want to delete, and then click Delete.
The constraint is deleted.
Maxwell 3D Online Help
21-82 Setting up an Optimetrics Analysis
Running an Optimetrics Analysis
Once you have created all necessary Optimetrics based analyses, you have several options for run-
ning the simulations.
To use the Analyze All command at the Project or design level to simulate the nominal prob-
lem and subsequently run all Optimetrics setups, do the following:
1. In the Project Manager window, right-click on the project or design name.
2. Click Analyze All from the shortcut menu.
To use the Analyze All command from the Optimetrics menu to simulate only the Optimetrics
based setups, do the following:
1. In the Project Manager window, right-click on Optimetrics.
2. Click Analyze>All from the shortcut menu.
You can choose to analyze only the setups related to a specific Optimetrics type of analysis. In
order to simulate setups of a specific type, do the following::
1. In the Project Manager window, right-click on Optimetrics.
2. Click Analyze>All {TYPE} from the shortcut menu where TYPE is the specific anal-
ysis type of interest, Parametric, Optimization, Sensitivity, or Statistical.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-83
Viewing Analysis Results for Optimetrics Solutions
To view data specific to an Optimetrics solution, in general, do the following:
In the project tree, right-click the Optimetrics setup for which you want to view the results, and
then click View Analysis Result on the shortcut menu.
The Post Analysis Display dialog box appears.
Select from available setups by using the dropdown selection menu.
Select the Result tab to view results in plot or table form. When you view results in Table form
you can resort the results based on each column. For example, click the Variation column head
to invert the sort from lowest to highest setup number. Click the variable name column to
resort the results by step value. Click the Cost column head to sort the results from lowest cost
to highest cost. Clicking a column again inverts the current sort.
Select the Profile tab to view start, stop, and elapsed times for each variable, and the analysis
machine for each variation. You can click the column heads to sort the table by variation num-
ber,variable value, start, stop, or elapsed time, or (if you have run a distributed analysis)
machine.
See the help topics in this section for more details about viewing optimization analysis results.
Related Topics
Viewing Solution Data for an Optimetrics Design Variation
Viewing an Optimetrics Solution's Profile Data
Viewing Results for Parametric Solution Quantities
Viewing Cost Results for an Optimization Analysis
Viewing Output Parameter Results for Sensitivity Analysis
Viewing Distribution Results for Statistical Analysis
Viewing Solution Data for an Optimetrics Design Variation
To view the convergence information, computing resources used, or matrices computed for any
design variation solved during an optimization analysis, you must first select the design variation in
the Set Design Variation dialog box. This dialog box is accessible from the Solutions Data win-
dow and via the Results>Apply Solved Variation command in the Maxwell3D, Maxwell2D, or
RMxprt menu.
1. Click Maxwell3D, Maxwell2D, or RMxprt and then select Results>Solution Data.
The Solutions dialog box appears.
2. Click the browsing dots beside the Design Variation box.
The Set Design Variation dialog box appears.
3. Clear the Use nominal design option.
4. Click the design variation for which you want to view the solution data, and then click OK.
The solution data is displayed in the table.
Maxwell 3D Online Help
21-84 Setting up an Optimetrics Analysis
Related Topics
Viewing an Optimetrics Solution's Profile Data
Viewing an Optimetrics Solution's Profile Data
At any time during or after the Optimetrics solution process, you can see an overview of the com-
puting resources or profile data that was used by Maxwell as it solved each design variation. The
profile data indicates the how long each design variation took to solve.
1. In the project tree, right-click the Optimetrics solution setup of interest, and then click View
Analysis Result on the shortcut menu.
The Post Analysis Display dialog box appears.
2. Click the Profile tab.
3. Select the Optimetrics setup with the results you want to view from the pull-down list at the
top of the dialog box.
4. Optionally, to examine more detailed profile data for a specific design variation, do the follow-
ing:
a. Click a design variation in the table.
b. Click Solver Profile.
The Solutions dialog box appears with the profile data for the selected design variation.
The profile line for the matrix solver is in the following format:
Solver 123
where:
1 is the precision type: M (mixed) or D (double)
2 is the matrix data type: R (real) or C (complex)
3 is the symmetry type: S (symmetric), A (asymmetric), H (hermitian)
Related Topics
Viewing a Solution's Profile
Viewing Solution Data for an Optimetrics Design Variation
Viewing Results for Parametric Solution Quantities
1. In the project tree, right-click the parametric setup for which you want to view the results cal-
culated for the solution quantities, and then click View Analysis Result on the shortcut menu.
The Post Analysis Display dialog box appears.
2. Select the parametric setup with the results you want to view from the pull-down list at the top
of the dialog box.
3. If it is not already selected, select Table as the view type.
The results for the selected solution quantities are listed in table format for each solved design
variation. The variation column in the table lists the entries in order. Clicking the Vision
header inverts the order. Clicking other headers sorts the entries by value, and clicking again
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-85
inverts the order.
4. Optionally, select Show complete output name.
The complete name of the solution for which the results are being displayed will be listed in
the column headings.
5. Optionally, click a design variation in the table, and then click Apply (at the far right side of
the dialog box).
The design displayed in the 3D Modeler window is changed to represent the selected design
variation.
Related Topics
Plotting Solution Quantity Results vs. a Swept Variable
Plotting Solution Quantity Results vs. a Swept Variable
To plot solution quantity results versus a swept variable's values on a rectangular (x - y) plot:
1. In the project tree, right-click the parametric setup for which you want to view the results, and
then click View Analysis Result on the shortcut menu.
The Post Analysis Display dialog box appears.
2. If it is not already selected, select Plot as the view type.
3. Select the variable with the swept values you want to plot on the x-axis from the X pull-down
list.
4. Only one sweep variable at a time can be plotted against solution quantity results. Any other
variables that were swept during the parametric analysis remain constant.
Optionally, to modify the constant values of other swept variables, do the following:
a. Click Set Other Sweep Variables Value.
The Setup Plot dialog box appears. All of the other solved variable values are listed.
b. Click the row with the variable value you want to use as the constant value in the plot, and
then click OK.
5. Select the solution quantity results you want to plot on the y-axis from the Y pull-down list.
The xy plot appears in the view window.
6. Right-click in the plot area to get the shortcut menu where you can set modify the plots display
properties, print, copy to the clipboard, or export the data to a file.
Viewing Cost Results for an Optimization Analysis
To view cost values versus completed iterations in data table format:
1. In the project tree, right-click the optimization setup for which you want to view the cost
results, and then click View Analysis Result on the shortcut menu.
The Post Analysis Display dialog box appears.
2. Under the Result tab, select Table as the view type, if it is not already selected.
The cost value at each solved design variation is listed in table format.
Maxwell 3D Online Help
21-86 Setting up an Optimetrics Analysis
3. Optionally, click a design variation in the table, and then click Apply.
Maxwell now points to the selected design variation as the nominal solution and as a result, the
design displayed in the Modeler window is changed to represent the selected design variation.
Click Revert to return the design in the view window to the original value.
Related Topics
Plotting Cost Data for an Optimization Analysis
Viewing Solution Data for an Optimetrics Design Variation
Plotting Cost Results for an Optimization Analysis
To view cost values versus completed iterations in rectangular (x-y) plot format:
1. In the project tree, right-click the optimization setup for which you want to view the cost
results, and then click View Analysis Result on the shortcut menu.
The Post Analysis Display dialog box appears.
2. Under the Result tab, select Plot as the view type.
A plot of the cost value at each iteration appears.
Viewing Output Parameter Results for a Sensitivity Analysis
To view actual output parameter values versus design point in data table format:
1. In the project tree, right-click the sensitivity setup for which you want to view the parameter
results, and then click View Analysis Result on the shortcut menu.
The Post Analysis Display dialog box appears.
2. Under the Result tab, select Table as the view type, if it is not already selected.
The following values are listed in table format:
The regression value of the output parameter at the design point is listed in the Func.
Value column.
The first derivative of the regression is listed in the 1st D column.
The second derivative of the regression is listed in the 2nd D column.
3. Click Apply.
Maxwell now points to the selected design variation as the nominal solution and as a result, the
design displayed in the Modeler window is changed to represent the selected design variation.
Click Revert to return the design in the view window to the original value.
Related Topics
Plotting Output Parameter Results for a Sensitivity Analysis
Viewing Solution Data for an Optimetrics Design Variation
Plotting Output Parameter Results for a Sensitivity Analysis
To plot output parameter results versus sensitivity variable values on a rectangular (xy) plot:
1. In the project tree, right-click the sensitivity setup for which you want to view the output
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-87
parameter results, and then click View Analysis Result on the shortcut menu.
The Post Analysis Display dialog box appears.
2. Under the Result tab, select Plot as the view type.
3. Select the sensitivity variable with the sweep values you want to plot on the x-axis from the X
pull-down list.
4. Select the output parameter results you want to plot on the y-axis from the Y pull-down list.
The xy plot appears in the Post Analysis Display dialog box.
The plot displays actual output parameter results for each solved design variation. It also dis-
plays a parabola that best fits these results. The parabola is a more accurate representation of
sensitivity around the design point than any individual solved design variation.
Viewing Distribution Results for a Statistical Analysis
1. In the project tree, right-click the statistical setup for which you want to view the distribution
results calculated for the solution quantities, and then click View Analysis Result on the short-
cut menu.
The Post Analysis Display dialog box appears.
2. Select the statistical setup with the results you want to view from the pull-down list at the top
of the dialog box.
3. To view the results in tabular form, select Table as the view type.
The distribution results for the selected solution quantities are listed in table format for each
solved design variation.
4. Optionally, click a design variation in the table, and then click Apply (at the far right side of
the dialog box).
The design displayed in the 3D Modeler window is changed to represent the selected design
variation.
5. To view the results in graphic format, select Plot as the view type.
6. Type the number of bins you want to plot on the x-axis.
7. Select the solution quantity for which you want to plot distribution results on the y-axis from
the Y pull-down list.
A histogram plot appears in the Post Analysis Display dialog box. It displays the distribution
of the selected solution quantity.
8. Optionally, click a design variation in the table, and then click Apply (at the far right side of
the dialog box).
Maxwell now points to the selected design variation as the nominal solution and as a result, the
design displayed in the Modeler window is changed to represent the selected design variation.
Click Revert to return the design in the view window to the original value.
Related Topics
Plotting Distribution Results for a Statistical Analysis
Maxwell 3D Online Help
21-88 Setting up an Optimetrics Analysis
Viewing Solution Data for an Optimetrics Design Variation
Plotting Distribution Results for a Statistical Analysis
1. In the project tree, right-click the statistical setup for which you want to view the distribution
results calculated for the solution quantities, and then click View Analysis Result on the short-
cut menu.
The Post Analysis Display dialog box appears.
2. Select the statistical setup with the results you want to view from the pull-down list at the top
of the dialog box.
3. If it is not already selected, select Plot as the view type.
4. Type the number of bins you want to plot on the x-axis.
5. Select the solution quantity for which you want to plot distribution results on the y-axis from
the Y pull-down list.
A histogram plot appears in the Post Analysis Display dialog box. It displays the distribution
of the selected solution quantity.
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-89
Link to Design Xplorer
You can export a .xml file containing information on a Maxwell setup, optimization variables, and
output variables that enables ANSYS Design Xplorer to manage Maxwell simulations, for exam-
ple, for design of experiments and optimization. Design Xplorer will launch Maxwell simulations
of design variations and evaluate the Maxwell outputs.
To do so:
1. Click Maxwell>Optimetrics Analysis>Add Design Xplorer Setup... or right-click on Opti-
metrics in the Project window, and select Add Design Xplorer Setup... from the short-cut
menu.
This opens the Design Xplorer dialog with the General tab selected. it lists the setups avail-
able in the current project, and the input variables it contains.
2. Check Include for the simulation setups you want to use.
3. Check the Design variables to use. You can also chose to Override the value of a design vari-
able. You can edit the Value and Units fields. Unchecking Override returns the values to their
original state.
4. To setup any output calculations, click the Calculation tab and click the Setup Calculations
button.
This opens the Add/Edit Calculation dialog. Here you can define the simulation results of
interest. The dialog box contains distinct panes and tabs to set the Context, the Calculation
Expression, and the Calculation Range. See Setup Calculations for Optimetrics for details.
Use the Add Calculation button to add expressions to the Calculations table of the Design
Maxwell 3D Online Help
21-90 Setting up an Optimetrics Analysis
Xplorer Setup dialog, Calculations tab.
5. When you have added the calculations of interest, click OK to save the setup.
An icon for the Design Xplorer setup appears under Optimization in the Project tree.
6. To create a .xml file with the setup information for Design Xplorer, first Save your project.
7. Then right-click on the setup and select Export External Connector Addin Configuration.
This displays a browser dialog that you can use to navigate your file system, and name and
saves the .xml file. The .xml file contains information regarding the Maxwell path along with
the setup, variables, and simulation results that you specified.
8. If you have an ANSYS Workbench installation you can perform additional steps. You should
have provided a path to the Workbench installation in the Tools>General Options dialog Mis-
cellaneous tab, to provide a path.
9. Then click Create Workbench Project.
This lets you name a Workbench project containing the information in the setup. The ANSYS
Workbench will be launched with the connection to the Maxwell project established. To this
Maxwell 3D Online Help
Setting up an Optimetrics Analysis 21-91
connection, you can add a Design Xplorer Setup. See the documentation of Ansys Workbench
for details on Design Xplorer.
Maxwell 3D Online Help
21-92 Setting up an Optimetrics Analysis
Maxwell 2D Technical Notes 22-1
22
Maxwell 2D Technical Notes
Maxwell 2D is an interactive software package that uses the finite element method (FEM) analy-
sis to simulate and solve two-dimensional electromagnetic field problems. Maxwell integrates with
other Ansoft software to perform complex tasks while remaining easy to use.
Maxwell 2D is used for analyzing electric and magnetic fields in structures with uniform
cross-sections or full rotational symmetry where the field patterns in the entire device can be
analyzed by modeling the field patterns in its cross-section.
In general, 2D modeling of electromagnetic fields solves for the fields in a 2D cross section of a
device which is considered to be placed far away from the extremities of the devices, thus ignoring
end effects. While it can provide excellent accuracy for all applicable modeling tasks, 2D solution
sequences cannot be always used to accurately model electromagnetic devices. Devices where end
effects are significant or that may not exhibit complete rotational symmetry must be modeled in 3D
for greatest accuracy.
Maxwell 2D Online Help
22-2 Maxwell 2D Technical Notes
Technical Notes
These technical notes contain background information on the theory behind the Maxwell 2D,
including:
A list of all Maxwell 2D software modules.
Discussion of: background theory; capacitance, inductance, impedance, conductance, and
admittance matrices; virtual force and torque; flux linkage; and current flow for the following
field solvers:
Electrostatic
Magnetostatic
Eddy current
DC conduction
AC conduction
Transient
The differences between field solutions in cartesian (XY) and axisymmetric (RZ) models.
An overview of the phasor notation used in this guide to represent complex field quantities.
Related Topics
Optimization Overview
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-3
Solvers
Maxwell 2D consists of the following solver modules:
Electrostatic
Field Solver
Computes the static electric field that exists in a structure given a
distribution of DC voltages and static charges. A capacitance matrix,
force, torque, and flux linkage may also be computed from the electric
field.
Magnetostatic
Field Solver
Computes the static magnetic field that exists in a structure given a
distribution of DC currents and permanent magnets. The magnetic field
may be computed in structures with both nonlinear and linear materials.
An inductance matrix, force, torque, and flux linkage may also be
computed from the energy stored in the magnetic field.
AC Conduction
Field Solver
Computes the AC voltages and current density distribution in a material
having both conductive and dielectric properties given a distribution of
AC voltages. An admittance matrix and current flow may also be
computed from the calculated fields.
DC Conduction Field
Solver
Computes the DC currents that flow in a lossy dielectric given a
distribution of DC voltages. A conductance matrix and current flow may
also be computed from the computed electric field solution.
Eddy Current Field
Solver
Computes the oscillating magnetic field that exists in a structure given a
distribution of AC currents. Also computes current densities, taking into
account all eddy current effects (including skin effects). An impedance
matrix, force, torque, core loss, and current flow may also be computed
from the computed field solution.
Transient Magnetic
Solver
Computes transient (Time Domain) magnetic fields caused by permanent
magnets, conductors, and windings supplied by voltage and/or current
sources with arbitrary variation as functions of time, position and speed.
It can also be coupled with external circuits. Rotational or translational
motion effects can be included in the simulation.
Maxwell 2D Online Help
22-4 Maxwell 2D Technical Notes
Electrostatic Field Simulation
The electrostatic field simulator computes static electric fields arising from potential differences
and charge distributions.
Electrostatic Theory
The electrostatic field simulator solves for the electric potential, (x,y), in this field equation:
where:
(x,y) is the electric potential.
r
is the relative permittivity. It can be different for each material.
o
is the permittivity of free space, 8.854 x 10
12
F/m.
(x,y) is the charge density.
This equation is derived from Gausss Law and from Faradays law of induction. Gausss Law indi-
cates that the net electric flux passing through any closed surface is equal to the net positive charge
enclosed by that surface. In differential form, Gausss Law is:
where D(x,y) is the electric flux density. Since D=
r
o
E, then:
In a static field, as a consequence of Faradays law, . Therefore,
which is the equation that the electrostatic field simulator solves using the finite element method.
After the solution for the potential is generated, the system automatically computes the E-field and
D-field using the relations and D=
r
o
E.
0
x y , ( ) ( ) =
D =
0
E x y , ( ) ( ) =
E =
0
x y , ( ) ( ) =
E =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-5
An contour plot of electric potential generated by the electrostatic field simulator is shown below:
Capacitance
At the simplest level, capacitance relates to the amount of energy stored in the electric field in and
surrounding a structure. In a single circuit, the capacitance represents the amount of energy stored
in the electric field that arises due to a voltage differential across a dielectric.
where W
e
is the energy stored in the electric field, C is the capacitance, and v is the voltage across
the dielectric.
Maxwell 2D computes the capacitance between two conductors by simulating the electric field that
arises when a voltage differential is applied. By computing the energy stored in the field, the corre-
sponding capacitance can be computed.
To compute capacitances using this method, the E-field and D-field associated with a given distri-
bution of voltages must first be computed. The electrostatic field simulator, which computes the
electric potential at all points in the problem region, does this.
W
e
1
2
-- -
Cv
2
=
Maxwell 2D Online Help
22-6 Maxwell 2D Technical Notes
Capacitance in Terms of Charges and Voltages
A capacitance matrix represents the charge coupling within a group of conductors that is, the
relationship between charges and voltages for the conductors. Given the three conductors shown
below, with the outside boundary taken as a reference, the net charge on each object will be:
Q
1
= C
10
V
1
+ C
12
(V
1
- V
2
) + C
13
(V
1
- V
3
)
Q
2
= C
20
V
2
+ C
12
(V
2
- V
1
) + C
23
(V
2
- V
3
)
Q
3
= C
30
V
3
+ C
13
(V
3
- V
1
) + C
23
(V
3
- V
2
)
This can be expressed in matrix form as:
The capacitance matrix above gives the relationship between Q and V for the three conductors and
ground. In a device with n conductors, this relationship would be expressed by an n x n capacitance
matrix. Capacitance matrix values are specified in farads (coulombs/volt).
C
2W
e
v
2
-----------
=
C
13
C
12
C
23
C
10
C
30
C
20
Conductor
1
Conductor
Conductor
3
2
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-7
If one volt is applied to Conductor 1 and zero volts is applied to the other two conductors, the
capacitance matrix becomes:
The diagonal elements in the matrix (such as C
(1,1)
) are the sum of all capacitances from one con-
ductor to all other conductors. These terms represent the self-capacitance of the conductors. Each is
numerically equal to the charge on a conductor when one volt is applied to that conductor and the
other conductors (including ground) are set to zero volts. For instance,
C
(1,1)
= C
10
+ C
12
+ C
13
The off-diagonal terms in each column (such as C
(1,2)
, C
(1,3)
) are numerically equal to the charges
induced on other conductors in the system when one volt is applied to that conductor. For instance,
in column one of the example capacitance matrix, C
(1,2)
is equal to
-C
12
. This is equal to the charge induced on Conductor 2 when one volt is applied to Conductor 1
and zero volts are applied to Conductor 2.
The off-diagonal terms are simply the negative values of the capacitances between the correspond-
ing conductors (the mutual capacitances). In column one of the example capacitance matrix, the
off-diagonal terms represent the capacitances between Conductor 1 and the other two conductors;
in column two, the terms represent the capacitance between Conductor 2 and the other conductors;
and so forth.
Note that the capacitance matrix is symmetric about the diagonal. This indicates that the mutual
effects between any two objects are identical. For instance, C
(1,3)
, the capacitance between Con-
ductor 1 and Conductor 3 (-C
13
), is equal to C
(3,1)
, the capacitance between Conductor 3 and Con-
ductor 1.
Capacitance in Terms of Currents and Time Varying Voltages
A capacitance matrix can also represent the relationship between currents and time varying volt-
ages in a system of conductors.
Q
1
Q
2
Q
3
C
10
C
12
C
13
+ + C
12
C
13
C
12
C
20
C
12
C
23
+ + C
23
C
13
C
23
C
30
C
13
C
23
+ +
V
1
V
2
V
3
=
Q
1
Q
2
Q
3
C
1
0
0
C
10
C
12
C
13
+ +
C
12
C
13
= =
Maxwell 2D Online Help
22-8 Maxwell 2D Technical Notes
Given the three transmission lines shown here,
the currents caused by the time varying voltage source on each line are given by the following rela-
tionship:
If dV
2
/dt and dV
3
/dt are set to zero, this relationship becomes:
This gives the currents that are induced on Line 2 and Line 3 when a time varying voltage source is
applied to Line 1 that is, the capacitive coupling between the three lines, or the short circuit
capacitance.
t d
dV
1
t d
dV
2
t d
dV
3
Line 1
Line 2
Line 3
i
1
i
2
i
3
R
L
R
L
R
L
i
1
i
2
i
3
C
10
C
12
C
13
+ + C
12
C
13
C
12
C
20
C
12
C
23
+ + C
23
C
13
C
23
C
30
C
13
C
23
+ +
dV
1
dt ( )
dV
2
dt ( )
dV
3
dt ( )
=
i
1
i
2
i
3
C
dV
1
dt ( )
0
0
C
10
C
12
C
13
+ +
C
12
C
13
dV
1
dt ( ) ( ) = =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-9
Computing Capacitance
To compute a capacitance matrix for a structure, the Maxwell 2D performs a sequence of electro-
static field simulations. In each field simulation, one volt is applied to a single conductor and zero
volts is applied to all other conductors. Therefore, for an n-conductor system, n field simulations
are automatically performed.
The energy stored in the electric field associated with the capacitance between two conductors is
given by the following relation:
where:
Wij is the energy in the electric field associated with flux lines that connect charges on conduc-
tor i to those on conductor j.
Di is the electric flux density associated with the case in which one volt is placed on conductor
i.
Ej is the electric field associated with the case in which one volt is placed on conductor j.
The capacitance between conductors i and j is therefore:
Virtual Forces (Electrostatic)
To compute the virtual force on an object, the electrostatic field simulator uses the principle of vir-
tual work. In the structure shown below, the force on the bottom plate (plate B) in the direction of
the displacement, x, is given by the following relationship:
W
ij
1
2
---
D
i
E
j
d
}
=
C
2W
ij
v
2
------------
D
i
E
j
d
}
= =
F
B
dW v x , ( )
dx
---------------------
V Constant =
=
Maxwell 2D Online Help
22-10 Maxwell 2D Technical Notes
where W is the stored energy of the system,
Unlike the classical virtual work method, the plate is not actually moved during the numerical pro-
cess of the force computation. Instead, only the triangles that lie along the outside surface of the
object are virtually distorted. W and its derivative, dW/dx, are calculated from a single field solu-
tion using finite element interpolation functions.
Virtual Torques (Electrostatic)
Similar to the virtual force calculation, the system uses virtual work principles to compute the
torque on an object. In the structure shown below, the virtual torque on the bottom plate (plate B)
about the axis of rotation is given by the following relationship:
W v x , ( )
1
2
---
E DdVol
Vol
}
=
A
B
i
V F
B
x
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
D, E
i = dq / dt
+ q
- q
T
B
dW v , ( )
d
----------------------
V Constant =
=
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-11
where W is the stored energy of the system,
Unlike the classical virtual work method, the plate is not actually rotated during the numerical pro-
cess of the torque computation. Instead, only the triangles that lie along the outside surface of the
object are virtually distorted. W and its derivative, dW/d, are calculated from a single field solu-
tion using finite element interpolation functions.
Flux Linkage (Electrostatic)
To compute the electric flux linkage, the electrostatic field solver uses the following relationship:
where E is the electric field and A is the area over which flux density is computed.
In cartesian (XY) models, the area is found by sweeping the flux line youve drawn in the xy-
plane into the z direction forming a 3D surface. The electric flux value computed is the flux
per meter depth in the z direction.
In axisymmetric (RZ) models, the area is found by rotating the flux line youve drawn in the
rz-plane 360 degrees about the z axis. The electric flux computed is the total flux that passes
through this surface.
A separate flux linkage value is computed for each line you draw.
W v , ( )
1
2
---
E DdVol
Vol
}
=
A
B
i
V
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
D, E
i = dq / dt
T
B
Axis of rotation
F
B
E A d
}
=
Maxwell 2D Online Help
22-12 Maxwell 2D Technical Notes
Magnetostatic Field Simulation
The magnetostatic field simulator lets you compute static magnetic fields arising from DC currents
and other sources like permanent magnets and external magnetic fields. Magnetic fields in both lin-
ear and nonlinear materials can be simulated.
Magnetostatic Theory
The magnetostatic field simulator solves for the magnetic vector potential, A
z
(x,y) in this field
equation:
where:
Az(x,y) is the z component of the magnetic vector potential.
Jz(x,y) is the DC current density field flowing in the direction of transmission.
r
is the relative permeability of each material.
0
is the permeability of free space.
Given Jz(x,y) as an excitation, the magnetostatic field simulator computes the magnetic vector
potential at all points in space.
The equation that the magnetostatic field solver computes is derived from Amperes law, which is:
and from Maxwells equation, . Since , then:
Since , due to , then:
The magnetostatic field simulator solves this equation using the finite element method.
Note In general, both J and A are vectors. However, J is assumed to only have a z-
component. A consequence of this is that A only has a z-component as well. Both
quantities can therefore be treated as scalars.
J
z
x y , ( )
1
0
-------------
A
z
x y , ( ) ( )
\ .
| |
=
H J =
B 0 = H
B
0
----------- =
B
0
-------------
\ .
| |
J =
B A = B 0 =
1
0
-------------
A
\ .
| |
J =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-13
After A
z
(x,y) is computed, the magnetic flux density, B, and the magnetic field, H, can then be
computed using the relationships:
and H, for linear materials, is:
Both B and H lie in the xy cross-section being analyzed. An arrow plot of a B-field generated by
the magnetostatic field simulator is shown below:
Inductance
At the simplest level, inductance relates to how much energy is stored in the magnetic field when
current flows.
where:
Wm is the energy stored in the magnetic field
B A =
H
B
0
-------------
=
W
m
1
2
-- -
Li
2
=
Maxwell 2D Online Help
22-14 Maxwell 2D Technical Notes
L is the inductance
i is the current flowing in the circuit
The Maxwell 2D computes inductances associated with a structure by simulating the magnetic field
that arises when various voltages and currents are applied. Then, by computing the energy stored in
those fields, it can then compute the necessary inductances:
To compute inductances using this method, the B-field and H-field associated with a distribution of
currents must first be computed. The magnetostatic field simulator, which computes the magnetic
vector potential at all points in the problem region, performs this task.
Inductance in Terms of Flux Linkage and Currents
An inductance matrix represents the magnetic flux linkage between the current loops in a system.
Given the three current loops below, the relationship between induced flux and currents is as fol-
lows:
1
= L
11
i
1
+ L
12
i
2
+ L
13
i
3
2
= L
12
i
1
+ L
22
i
2
+ L
23
i
3
3
= L
13
i
1
+ L
23
i
2
+ L
33
i
3
This can be expressed in matrix form as:
The inductance matrix above gives the relationship between and i for the three independent cur-
rent loops. In a device with n current loops, this relationship would be expressed by an nn induc-
tance matrix. Inductance matrix values are specified in henries.
L
2W
m
i
2
------------
=
i
1
i
2
i
3
V
1
V
2
V
3
L
22
L
12
L
11 L
13
L
23
L
33
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-15
If one ampere is applied to Current Loop 1 and zero amperes are applied to the other two loops, the
inductance matrix becomes:
The diagonal terms in the matrix (such as L
11
) represent the self-inductance of each current loop.
Self-inductance is numerically equal to the flux linkage in a current loop when one ampere is flow-
ing in it, and no current is flowing in the other loops. For example, L
11
is equal to the flux in Cur-
rent Loop 1 when one ampere is flowing in that current loop, and no current is flowing in the other
loops.
The off-diagonal terms (such as L
12
, L
13
) represent the mutual inductances between the current
loops. Mutual inductance is numerically equal to the flux linkage in a current loop when one
ampere is flowing through another loop, and no current is flowing anywhere else. For example, L
12
is equal to the flux linkage in Loop1 when one ampere is applied to Loop 2 and no current is flow-
ing in the other loops.
Note that the inductance matrix is symmetric about the diagonal. This indicates that the mutual
effects between any two loops are identical. For instance, L
13
, the inductance between Current
Loop 1 and Current Loop 3, is equal to the inductance between Current Loop 3 and Current Loop 1.
3
L
11
L
12
L
13
L
12
L
22
L
23
L
13
L
23
L
33
i
1
i
2
i
3
=
3
L
1
0
0
L
11
L
12
L
13
= =
Maxwell 2D Online Help
22-16 Maxwell 2D Technical Notes
Inductance in Terms of Voltages and Time Varying Currents
An inductance matrix can also represent the relationship between voltage and current fluctuations
in a system. Given the three transmission lines shown below, the voltage changes caused by the
time varying current source on each line are given by:
The inductance matrix above gives the relationship between V and di/dt for the three independent
transmission lines.
If di
2
/dt and di
3
/dt are set to zero, this relationship becomes
This gives the voltage changes that are induced on Lines 2 and 3 when a time-varying current
source is applied to Line 1 that is, the inductive coupling between all the loops.
V
1
V
2
V
3
L
11
L
12
L
13
L
12
L
22
L
23
L
13
L
23
L
33
di
1
( ) dt ( )
di
2
( ) dt ( )
di
3
( ) dt ( )
=
t d
di
1
t d
di
2
t d
di
3
Line 1
Line 2
Line 3
V
1
V
2
V
3
R
L
R
L
R
L
V
1
V
2
V
3
L
di
1
( ) dt ( )
0
0
L
11
L
12
L
13
di
1
( ) dt ( ) = =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-17
Computing an Inductance Matrix
To compute an inductance matrix, the software performs a sequence of magnetostatic field simula-
tions. In each field simulation, one ampere is allowed to flow in a single conductor. The current
returns as defined under Maxwell2D>Parameters>Assign>Matrix either in the conductor you
identified as the return path, or along outside balloon, value (Dirichlet) or odd symmetry boundar-
ies. No current flows in any other conductor.
For an n-conductor system, n field simulations are automatically performed. The energy stored in
the magnetic field that couples two conductors is:
where:
Wij is the energy stored in the magnetic field linking conductor i with conductor j.
I is the current in conductor i.
Bi is the magnetic flux density where one ampere is allowed to flow through conductor i.
Hj is the magnetic field where one ampere is allowed to flow through conductor j.
The inductance coupling conductors i and j is therefore:
For multiturn conductors, the net value of inductance is the value given by:
where N is the number of turns in the coil.
Virtual Forces (Magnetostatic)
To compute the force on an object, the system uses the principle of virtual work. In the structure
shown below, the force on the plate in the direction of the displacement, s, is given by the following
relationship:
W
ij
1
2
---
LI
2 1
2
-- -
B
i
H
j
d
}
= =
L
ij
2W
ij
I
2
------------
B
i
H
j
d
}
= =
L
net
N
2
L
matrix
=
F
plate
dW s i , ( )
ds
--------------------
i const =
s
B dH
0
H
}
\ .
| |
V
}
dV = =
Maxwell 2D Online Help
22-18 Maxwell 2D Technical Notes
where W(s,i) is the magnetic coenergy of the system. The current, i, is held constant.
Unlike the classical virtual work method, the plate is not actually moved during the force computa-
tion. Instead, only the triangles that lie along the outside surface of the object are virtually distorted.
Thus, the force computation only requires one field solution.
Virtual Torques (Magnetostatic)
Similar to the virtual force calculation, the system uses virtual work principles to compute the
torque on an object. In the structure shown below, the torque on Object B about the axis of rotation
is given by the following relationship:
s
F
Plate
i
Core
Plate
T
B
dW i , ( )
d
---------------------
i const =
B dH
0
H
}
\ .
| |
dV
V
}
= =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-19
where W(, i) is the magnetic coenergy of the system. The current, i, is held constant.
Unlike the classical virtual work method, Object B is not actually rotated during the torque compu-
tation. Instead, only the triangles that lie along the outside surface of the object are virtually dis-
torted. Thus, the change in the systems coenergy (and therefore the virtual torque) is given by the
change in the coenergy of these triangles.
Flux Linkage (Magnetostatic)
To compute the magnetic flux linkage, the magnetostatic field solver uses the following relation-
ship:
where B is the magnetic flux density and A is the area over which flux density is computed.
In cartesian (XY) models, the area is found by sweeping the flux line youve drawn in the xy-
plane into the z direction forming a 3D surface. The magnetic flux value computed is the
flux per meter depth in the z direction.
In axisymmetric (RZ) models, the area is found by revolving the flux line youve drawn in the
rz-plane 360 degrees around the z-axis forming a 3D surface. The magnetic flux value com-
puted is the total flux that passes through this surface.
A separate flux linkage value is computed for each line you draw.
T
B
Object A
Object B
Axis of rotation
i
i
B A d
}
=
Maxwell 2D Online Help
22-20 Maxwell 2D Technical Notes
Eddy Current Field Simulation
The eddy current field simulator allows you to simulate the effects of time-varying currents in par-
allel-conductor structures including eddy current effects in conductors.
Eddy Current Theory
Time-varying currents flowing in a conductor produce a time-varying magnetic field in planes per-
pendicular to the conductor. In turn, this magnetic field induces eddy currents in the source conduc-
tor and in any other conductor parallel to it. The eddy current field solver calculates the eddy
currents by solving for A and in the field equation:
where:
A is the magnetic vector potential.
is the electric scalar potential.
is the absolute magnetic permeability.
is the angular frequency at which all quantities are oscillating.
is the conductivity.
is the absolute permittivity.
Note The eddy current equation is derived from Maxwells equations. Phasor notation is used
to represent complex quantities.
1
---
A ( ) j + ( ) jA ( ) =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-21
A plot of flux lines produced by eddy currents that were computed in a structure by the eddy cur-
rent solver is shown below:
Components of Current Density
Notice that the right side of the equation:
consists of a complex conductivity multiplied by the complex value of E . It is
therefore equal to the complex current density, J, which has three components:
J
s
, the source current density due to differences in electric potential, .
J
e
, the induced eddy current density due to time-varying magnetic fields, - jA.
J
d
, the displacement current density (time-varying electric fields), .
The total current density is the sum of these three components. The j term in the eddy and dis-
placement components indicate that they are a function of frequency and become increasingly sig-
nificant as the frequency increases.
Integrating the Current Density
When setting up a problem, you specify the total current flowing in any conductor that is connected
to an external source. Therefore, the eddy current module is able to make use of a second equation:
1
---
A ( ) j + ( ) jA ( ) =
jA ( )
j jA ( )
Maxwell 2D Online Help
22-22 Maxwell 2D Technical Notes
which simply reflects the fact the total current in a conductor equals the integral of the current den-
sity over the cross-section of the conductor, .
Eddy Current Assumptions
The eddy current field solver makes the following assumptions about the field quantities for which
it solves:
Time-varying electromagnetic quantities are assumed to have the periodic waveform:
All quantities must have the same frequency (angular frequency), but can have different phase
angles (). If a current is not a pure sinusoid, decompose it into sinusoidal harmonics, and
solve separately at each frequency, but only for linear problems.
All currents (source, eddy, and displacement) are assumed to flow perpendicular to the plane
being studied (that is, in the z-direction for XY applications). Therefore, the magnetic fields
associated with these currents lie within the xy-plane. As a result, A, the magnetic vector
potential, has a z-component only.
Because no currents flow in the xy-plane, the electric field, E, has a z-component only. It fol-
lows that is constant over the cross section of each conductor in the problem.
Deriving the Eddy Current Equation
The eddy current field solver uses the finite element method to compute A and using these two
relationships:
where:
A is the magnetic vector potential.
is the electric scalar potential.
is the magnetic permeability.
is the angular frequency at which all quantities are oscillating.
is the conductivity.
I
T
j + ( ) jA ( ) d
}
=
F t ( ) F
m
t + ( ) cos =
1
---
A ( ) j + ( ) jA ( ) =
I
T
j + ( ) jA ( ) d
}
=
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-23
is the permittivity.
I
T
is the total current flowing in conductors.
The following section shows how these equations are derived from Maxwells equations.
Maxwells Equations
The eddy current field simulator solves for time harmonic electromagnetic fields governed by Max-
wells equations:
where:
E is the electric field.
D is the electric displacement, E.
B is the magnetic flux density.
H is the magnetic field intensity, B/.
J is the conduction current density, E.
is the charge density.
The eddy current solver assumes that all time-varying electromagnetic quantities in the problem
have the form:
Using Eulers formula:
If = t+, F(t) equals the real portion of e
j(t+)
:
H J
t
D
+ =
E
B
t
-------
=
D =
B 0 =
F t ( ) F
m
t + ( ) cos =
e
j
cos j sin + =
F t ( ) F
m
e
j t + ( )
F
m
t + ( ) cos j t + ( ) sin + ( ) [ ] F
m
t + ( ) cos = = =
Maxwell 2D Online Help
22-24 Maxwell 2D Technical Notes
Now, because each time-varying quantity has the form , and are equal to
jD and jB.
Therefore, with this simplification and the relations H=B, D=E, and J=E, Maxwells equations
reduce to:
Relationship of Magnetic and Electric Field
The quantity that the eddy current field simulator actually solves for is A, the magnetic vector
potential. It is given by:
Substituting this into the first of Maxwells equations, the result is:
A solution for E in terms of A is given by:
where is the electric potential. Substituting the right side of this relationship for E into the previ-
ous equation results in:
This equation is one of the two used by the eddy current solver to compute A and .
Relationship of Current and Current Density
Notice that the previous equation is in the form of a complex conductivity, (+j), times the com-
plex value of E. The result is the complex current density, J. Therefore, the integral of this expres-
F
m
e
j
e
jt
t
D
t
B
1
---
B E jE + ( ) =
E jB =
E =
B 0 =
A B =
1
---
A ( ) E jE + ( ) =
E jA =
1
---
A ( ) jA ( ) j + ( ) =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-25
sion over the cross-section of a conductor is constrained to equal the total current that is specified
as flowing in that conductor:
This is the second equation that the eddy current solver uses in computing A and .
The total current, It, in this equation is the quantity you specify when setting up a problem. It is the
total current flowing in a conductor, and includes:
I
s
, the current from an external source, .
I
e
, the induced eddy current, .
I
d
, the displacement current, .
For problems solved by the eddy current solver, B is assumed to lie in the xy plane. Therefore, A
can only have a component in the z-direction. The simulator does not have to solve for the x and y
components of A. Since E only has a z-component, is a constant for each cross section of a con-
ductor. Therefore, Maxwell does not have to solve for at every node.
For a more detailed discussion of eddy current and skin effect problems in multiconductor systems,
see:
J. Weiss, Z. Cendes. A One-Step Finite Element Method for Multiconductor Skin Effect
Problems, IEEE Transactions on Power Apparatus and Systems, Vol. PAS-101, No. 10 Octo-
ber 1982.
Eddy Currents and Skin Depth
Induced currents allow magnetic fields to penetrate conductors only to a certain depth, which is
approximated by the formula:
where:
is the angular frequency, which is equal to 2f. (f is the frequency at which source currents
and voltages oscillate during the solution.)
is the conductors conductivity, in siemens/meter.
r
is the conductors relative permeability, in amperes/meter.
0
is the permeability of free space, which is equal to 4 x 10
-7
A/m.
I
t
J d
}
1
---
j + ( ) jA ( ) d
}
= =
d
jA d
j jA ( ) d
r
--------------------- = (in meters)
Maxwell 2D Online Help
22-26 Maxwell 2D Technical Notes
Currents will be concentrated near the surface of the conductor, decaying rapidly past the skin
depth. As the formula above indicates, the skin depth gets smaller as the frequency increases.
Impedance Matrix
An impedance matrix summarizes the relationship between AC voltages and AC currents in multi-
conductor systems. Given the two current loops below, the relationships between voltages and cur-
rents in each loop is as follows:
This can be expressed in matrix form as:
where:
Vi and Ii
are phasors.
Z11 = R
11
+ jL
11
(the self-impedance of Loop 1).
Z12 = R
12
+ jL
12
(the mutual impedance between Loops 1 and 2).
Z22 = R
22
+ jL
22
(the self-impedance of Loop 2).
The impedance matrix above gives the relationship between V and I for the two current loops. In a
device with n current loops, this relationship would be expressed by an n x n impedance matrix.
V
1
I
1
R
11
I
2
R
12
I +
1
jL
11
I
2
jL
12
+ + = ( )Size
V
2
I
2
R
22
I
1
R
12
I
2
jL
22
I
1
jL
12
+ + + =
V
1
I
1
R
11
L
11
+ -
V
2
I
2
R
22
L
22
+ -
Loop 1
Loop 2
L
12 R
12
V
1
V
2
Z
11
Z
12
Z
12
Z
22
I
1
I
2
=
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-27
The matrix values displayed by the software are resistance and inductance (not resistance and reac-
tance) and therefore do not include j.
Computing an Impedance Matrix
Maxwell 2D breaks down the impedance matrix computation into two parts. First, it solves for the
inductance matrix (L-matrix) associated with the model. It then solves for the resistance matrix (R-
matrix). When it finishes solving for these matrices, the simulator combines them to form the
impedance matrix, using the relationship Z=R+jL.
To compute the inductance and resistance matrices for the impedance solution, the simulator gener-
ates an eddy-current field solution for each conductor in the matrix.
In the first solution, the current in the first conductor is set to one ampere; currents in the other con-
ductors that are included in the impedance matrix are set to zero. This is done by imposing current
sources on the conductors.
In the second solution, the current in the second conductor is set to one ampere, and all other con-
ductors that are included in the impedance matrix are set to zero amperes, and so forth. Conductors
that are not included in the impedance matrix are not affected.
Matrix Inductance
To compute the inductance of the current loop, the simulator calculates the average energy, W
AV
, of
the system after a field solution is computed:
Since the instantaneous energy of the system is equal to:
where the instantaneous value of the current is related to the peak value of the current by i = I
Peak-
cos(t+). The average value for the energy can then be found by integrating the instantaneous
energy:
From this, the average energy of the system is equal to:
Note All impedances are complex numbers in the form:
where:
is equal to 2f, where f is the frequency of the AC current source.
R is the AC resistance, given in ohms/meter (XY) or ohms (RZ).
L is the AC inductance, given in henries/meter (XY) or henries (RZ).
Z R jL + =
W
AV
1
4
---
B H
V d
V
}
=
W
Inst
1
2
-- -
Li
2
=
Maxwell 2D Online Help
22-28 Maxwell 2D Technical Notes
The inductance, therefore is:
The software assumes that the object for which impedance is being computed has a peak current of
one ampere per coil turn flowing through it. Thus, the inductance is simply 4W
AV
.
The eddy current simulator includes the eddy effect in conductors when it computes inductance
during an impedance solution.
Matrix Resistance
To compute the resistance, the simulator calculates the ohmic loss, P, after a field solution has been
computed:
The ohmic loss is related to the resistance by:
W
AV
1
2
------
W
Inst
dt
0
2
}
L
2
---
\ .
| |
1
2
------
\ .
| |
I
Peak
2
t + ( ) cos [ ]
2
dt
0
2
}
= =
W
AV
L
2
---
\ .
| |
I
RMS
2 L
2
---
\ .
| |
I
Peak
2
---------------
\ .
|
| |
2
L
4
---
\ .
| |
I
Peak
2
= = =
L
4W
AV
I
Peak
2
----------------
=
P
1
2
------
J J
V d
V
}
=
P RI
RMS
2
=
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-29
The resistance is therefore:
The system assumes that the object for which impedance is being computed has a peak current of
one ampere per coil turn flowing through it. Therefore, the resistance is simply 2P.
Note that the resistance for an eddy current problem will be higher than the equivalent DC resis-
tance, due to the skin concentration of currents.
Inductance and Resistance in Impedance Computations
The inductances and resistances computed during an impedance matrix solution are different from
those computed for the equivalent DC case. This figure shows how they differ:
The current density, J, in the DC case (the conductor on the left) is evenly distributed throughout
the cross-section of the conductor. The current density in the AC case (the conductor on the right) is
distributed non-uniformly on the surface due to skin effect. Since the area through which current
can flow is smaller, it follows that the resistance to the current flow is higher in the impedance
matrix than in a resistance matrix computed for the equivalent DC case.
In the DC example, no eddy currents occur. The magnetic field created by the current flowing
through the conductor is static. In the AC example, the oscillating magnetic field induces currents
in conductors in the model. These induced currents affect the computation of inductance for the
impedance matrix, causing it to be different from the equivalent DC computation of inductance.
R
P
I
RMS
2
--------------
2P
I
Peak
2
---------------
= =
DC
AC
J
R
J
R
J is uniformly distributed
throughout the conductor.
J is concentrated near the
surface and decays
exponentially towards the
Skin
depth
center.
Maxwell 2D Online Help
22-30 Maxwell 2D Technical Notes
Virtual Forces (Eddy Current)
Virtual force in an eddy current problem is computed the same way as virtual force in a magneto-
static problem. The only difference is that the average value of force over time is computed not
the instantaneous force at a given time.
The difference between the time-averaged (or DC) force, AC force, and instantaneous force is
shown below:
Force oscillates at twice the frequency of the source current and magnetic field:
where:
f
F
is the frequency of the force.
f
S
is the frequency of the source current and magnetic field.
T
F
is the period of the force.
f
F
1
T
F
-------
2f
S
= =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-31
The time-averaged (or DC) force, AC force, and instantaneous force can be determined by:
The AC force, F
AC
must be evaluated at a particular phase (=t) in order to determine its magni-
tude at an instant in time. However, the peak value of the AC force is reported as the AC Magni-
tude in the force and torque solution panel for Maxwell 2D.
Virtual Torques (Eddy Current)
Virtual torque in an eddy current problem is computed the same way as virtual torque in a magneto-
static problem. The only difference is that the average value of the torque over time is computed,
not the net torque at a given time.
Current Flow (Eddy Current)
To compute the current flow, the eddy current field solver uses the following relationship:
where:
I is the current.
J is the current density, given by:
A is the area over which the current flow is computed.
In cartesian (XY) models, the area is found by sweeping the current flow line youve
drawn in the xy-plane into the z direction forming a 3D surface. The current flow com-
puted is the current per meter depth in the z-direction.
In axisymmetric (RZ) models, the area is found by revolving the flux line youve drawn in
the rz-plane 360 degrees around the z-axis, forming a 3D surface. The current flow com-
F
DC
1
2
-- -
Re J B
V d
}
=
*
F
AC
1
2
---
Re J B V d
}
=
F
INST
F
DC
F
AC
+ =
I J A d
}
=
J j
r
+ ( ) jA ( ) =
Maxwell 2D Online Help
22-32 Maxwell 2D Technical Notes
puted is the total current that passes through this surface.
A separate current flow value is computed for each line you draw.
Nonlinear Eddy Current Field Simulation
The eddy current solver for problems with nonlinear materials allows you to analyze the fundamen-
tal components of B and H at a specified frequency.
Nonlinear Eddy Current Theory
Unlike linear problems in which the field solution is assumed to be based on the sinusoidal com-
plex peak field values in a steady state, nonlinear problems are usually based on all harmonic com-
ponents of the fields.
That is to say for nonlinear problems, though the current is sinusoidal at its input, the resulting
fields are harmonically rich. Although the B- and H-fields are not sinusoidal at output, the Max-
well 2D non-linear Eddy Current Solver uses equivalent fundamental components of B and H to
approximate non-linear field behavior associated with the assigned non-linear BH characteristic.
Sinusoidal B
Assuming both that B is sinusoidal with time, t, and that the value of H is derived from the original
BH-curve, introduce a new value H
e
to represent the effective magnetic field.
The derivation of the effective H
e
is based on the equivalence of averaged energy between using
original, non-sinusoidal H field and the effective sinusoidal field H
e
sin(t). That is:
with:
the above expression becomes:
4
T
---
H
e
t ( )B
m
sin t ( ) t d sin
0
T
4
---
}
4
T
---
H B ( ) t d
0
T
4
---
}
=
T
2
------
=
H
e
B
m
t ( ) sin
2
t d
0
2
---
}
H B ( ) d
0
2
---
}
=
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-33
Allowing =t and extracting H
e
, simplifying yields:
or:
where:
Bm corresponds to the last point on the original BH characteristic (in the saturation portion)
and which is made equal with /2.
The above equation is used to derive an effective (B
m
, H
e
) characteristic for the frequency domain
simulation. This process is required to be performed only once for a particular BH curve. During
the simulation, H
e
is determined for a specific B
m
such that an equivalent permeability can be com-
puted as the ratio B
m
/ H
e
and used in the calculations.
Sinusoidal H
Assuming both that H is sinusoidal with time, t, and that the value of B is derived from the original
BH-curve, introduce a new value B
e
to represent the effective magnetic flux density.
Using the simple energy method equation and following the previous assumptions:
and with =t, yields:
H
e
B
m
1 2 cos
2
-------------------------
\ .
| |
d
0
2
---
}
H B ( ) d
0
2
---
}
=
H
e
4
---
H B ( )
B
m
-----------------
d
0
2
---
}
=
B
e
t ( )H
B
sin t ( ) t d sin
0
T
4
---
}
H B ( ) t d
0
T
4
---
}
=
B
e
H
B
1 2 cos
2
-------------------------
\ .
| |
d
0
2
---
}
H B ( ) d
0
2
---
}
=
Maxwell 2D Online Help
22-34 Maxwell 2D Technical Notes
Now define the function f(i) to be represented by:
Solving for B
e
yields:
or:
which represents the effective B for the BH-curve.
f
i
( )
H
i
B
i
B
m
------------
=
B
e
4
H
B
-----------
H B ( ) d
0
2
---
}
4
---
H B ( )
H
B
-----------------
i
d
i 1 +
}
i 1 =
n
= =
B
e
2
3
------
f
i
( ) f
i
i 1 +
+
2
---------------------------
\ .
| |
f
i 1 +
( ) + +
i 1 =
n
=
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-35
DC Conduction Field Simulation
The DC conduction field simulator allows you to analyze conduction currents due to static electric
fields in conductors and lossy dielectrics.
DC Conduction Theory
When a material with a non-zero conductivity is subject to a potential difference, conduction cur-
rent flows in the material. At all points in the problem space, the current density (J) will be propor-
tional to the electric field (E) that is established due to the potential difference.
where:
J(x,y) is the current density.
E(x,y) is the electric field.
is the conductivity of the material in MKS units (S/m).
(x,y) is the electric potential.
The equation that the DC conduction field simulator solves is based on the fact that, under steady
state conditions, the amount of charge, , leaving any infinitesimally small region must equal the
charge flowing into that region.
The field quantity that DC conduction actually solves for is the electric potential, , in the follow-
ing equation:
Note that .
J x y , ( ) E x y , ( ) x y , ( ) = =
J
t
0 = =
( ) 0 =
J =
Maxwell 2D Online Help
22-36 Maxwell 2D Technical Notes
A plot of electric potential that was computed by the DC conduction solver is shown below:
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-37
Steady-state Conditions
The DC conduction solver assumes that current flow in the conducting material has already reached
steady state conditions. The implication of this assumption becomes clear when you compare the
initial and steady state conditions of a simple problem such as that shown here:
First, consider the interval before steady state is reached. Assume that the switch establishing the
potential across the parallel plates in the figure above closes at t=0. Also assume that the current
required to deposit charges on the parallel plates (so that the voltage difference can be supported)
occurs instantaneously.
However, it will take a while for current to start flowing in the dielectric. The time it takes for cur-
rent to flow is determined by the time constant of the material. Therefore, at t=0, there will be an
electric field in the dielectric, but no current and no free charges. Consequently, the relationship
that must be satisfied at the interface of the two dielectrics is:
D =
Maxwell 2D Online Help
22-38 Maxwell 2D Technical Notes
or, equivalently:
At the interface between the two dielectrics, this relationship implies that:
where E
n
is the normal component of E. Therefore, at t=0, before current starts to flow in the two
dielectrics, (x,y) is determined entirely by the permittivity of the dielectrics. Use the electrostatic
field solver to solve for (x,y) in such a case.
After current starts to flow in the dielectric and steady state is reached, free charges are able to
accumulate at the boundaries of the two dielectrics. The free charge, , is no longer zero.
The relationship that must be satisfied now is:
or, equivalently,
This relationship implies that:
In this case, the solution depends on the conductivity () of the materials rather than on their dielec-
tric constant (). The DC conduction solver analyzes the steady state condition. Therefore, use the
DC conduction field solver when steady state conditions have been reached.
Relevant Time Constant
The time constant that determines how long it will take the current flowing in the conductive mate-
rial to reach steady state is given by =/. In a good conductor such as steel (=9x10
-12
, =1x10
7
),
= 9x10
-19
seconds. Steady state conditions are reached almost instantaneously and in such cases
you should use the DC conduction solver to analyze the potential field.
On the other hand, for a good dielectric such as fused quartz (=1x10
-17
), the time constant is on
the order of 10
5
seconds. There will be a significant period before steady state currents start to flow
and you should use the electrostatic solver to analyze the electric field. For many materials in
between, a complete analysis may require an electric transient field solution.
Note For a more thorough discussion on electric transient phenomena see:
Online Technical Library: Charge relaxation phenomena in electric transient type of
solutions
E =
1
E
n1
2
E
n2
E
n1
1
-----
E
n2
= =
J
t
0 = =
E 0 =
1
E
n1
2
E
n2
E
n1
1
------
E
n2
= =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-39
Conductance
A conductance matrix gives the relationship between currents and voltage drops. In the figure
below, two conductors at voltages V
1
and V
2
are touching a bar with a conductance, G.
Because the bar is not a perfect insulator, current will flow between the two conductors. Given the
conductors shown on the previous page, the relationship between the conduction current and the
voltage drop, V, in each conductor is:
where:
I is the conduction current.
G is the conductance, measured in Siemens.
V is the voltage drop given by V
1
-V
2
.
Conductance, as evident from the equation, is the inverse of resistance. Therefore, if a material has
a large conductance, it will be a better conductor, and if it has a low conductance, it will be a better
resistor.
Current Flow (DC Conduction)
To compute current flow, the DC conduction field solver uses the following relationship:
where:
I GV =
I J A d
A
}
=
Maxwell 2D Online Help
22-40 Maxwell 2D Technical Notes
I is the current.
J is the current density, given by:
A is the area over which the current flow is computed.
In cartesian (XY) models, the area is found by sweeping the current flow line youve
drawn in the xy-plane into the z direction forming a 3D surface. The current flow com-
puted is the current per meter depth in the z direction.
In axisymmetric (RZ) models, the area is found by revolving the flux line youve drawn in
the rz-plane 360 degrees around the z-axis, forming a 3D surface. The current flow com-
puted is the total current that passes through this surface.
A separate current flow value can be computed for each line you draw.
J E = =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-41
AC Conduction Field Simulation
The AC conduction field solver allows you to analyze conduction currents caused by time-varying
electric fields in conductors and lossy dielectrics.
AC Conduction Theory
The AC conduction field simulator solves for in the following equation:
where:
(x,y) is the magnitude and phase of the electric potential at each value of x and y.
is the angular frequency at which the potential is oscillating.
is the conductivity.
is the permittivity.
The above equation is derived from:
where:
J is the current density, E.
D is the electric flux density, E.
E is the electric field, -.
Complex quantities are represented using phasor notation.
AC Conduction Assumptions
The AC conduction field solver assumes the following conditions about field quantities:
All time-varying electromagnetic quantities have the periodic waveform:
where all quantities must have the same value of , but can have different phase angles ().
If a current is not a pure sinusoid, it is decomposed into sinusoidal harmonics, and solved sep-
arately at each frequency.
The component of E due to time-varying magnetic fields caused by conduction currents can be
neglected.
E j x y , ( ) + [ ] 0 =
J jD + ( ) 0 =
F t ( ) F
m
t + ( ) cos =
Maxwell 2D Online Help
22-42 Maxwell 2D Technical Notes
Admittance
Admittance can best be explained as the inverse of impedance, and is expressed by:
where:
is equal to 2f, where f is the frequency of the AC voltage source.
Y is the admittance in Siemens/meter.
G is the conductance in Siemens/meter.
C is the susceptance in Siemens/meter.
Current Flow
To compute current flow, the AC conduction field solver uses the following relationship:
where:
I is the current.
J is the current density, given by J = E.
A is the area over which the current flow is computed. It is found by sweeping the current flow
line youve drawn in the xy-plane into the z direction, forming a surface. The current flow
computed is the current per meter depth in the z direction.
A separate current flow value can be computed for each line you draw.
Note The matrix values displayed by the software are conductance in ohms/meter and
capacitance in farads/meter (not conductance and susceptance) and therefore do not
include j.
Y G jC + =
I J A d
A
}
=
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-43
Axisymmetric Field Simulation
If you selected Cylindrical About Z as the geometry mode when setting the solution type, a
special version of the selected field solver is used. It assumes that the 2D geometry being studied
sweeps 360 around the z-axis of a cylindrical coordinate system, enabling you to model devices
like soleniods and insulators that have an axis of rotational symmetry. All electric or magnetic
fields in the problem must also be rotationally symmetric so that the solution in any RZ-plane is the
same as any other.
Axisymmetric field simulation is available for the following solvers:
Electrostatic
Magnetostatic
Eddy Current
DC Conduction
AC Conduction
Transient with and without motion
Any field solution involving a long plank-shaped object is different from a solution involving an
annular object even though the same equation is solved for both types of geometries. Mathemat-
ically, the difference between cartesian and axisymmetric field solutions arises from the difference
in how gradients, curls and divergences are expressed in the two coordinate systems.
In a cartesian (xyz) coordinate system, these operators are defined as follows (where F is a sca-
lar quantity and F is a vector quantity):
Note All cylindrical about Z models must be drawn in the XZ plane with X >= 0
F x y z , , ( )
x
F
x
y
F
y
z
F
z
+ + =
F x y z , , ( )
x
F
x
y
F
y
z
F
z
+ + =
F
x
F
x
F
y
F
z
=
Maxwell 2D Online Help
22-44 Maxwell 2D Technical Notes
If F has a z-component only, the curl is defined as:
In a cylindrical (r, , z) coordinate system, these operators are defined as:
If F has a -component only, the curl is defined as:
In the cylindrical case, an extra r shows up in places where there is no analogous x in the cartesian
case, resulting in a different field solution. The calculations involving the differences in mathemat-
ics between axisymmetric and cartesian models are implicitly handled by the Maxwell 2D and are
transparent to you.
F
y
F
z
x
x
F
z
y
=
F r z , , ( )
r
F
r
1
r
---
\ .
| |
F
z
F
z
+ + =
F r z , , ( )
1
r
-- -
\ .
| |
rF
r
( )
r
----------------
1
r
-- -
\ .
| |
F
z
F
z
+ + =
F
r
F
r
rF
F
z
=
F
1
r
---
\ .
| |
rF
( )
z
-----------------
r
rF
( )
r
-----------------
z
+ =
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-45
Transient Simulation
Transient Solver only.
The transient solver allows you to analyze the magnetic fields, energy, force/torque, power loss,
core loss, speed, and flux of a model at various time steps of a solution over a specified period of
time. This solver allows for non-sinusoidal current or voltage excitation, as well as rotational or
translational motion.
Transient Simulation Assumptions
The transient solver assumes the following conditions about the problem:
If motion occurs in the model, no motion occurs outside the band object.
Rotational motion can be cylindrical or non-cylindrical.
More than one object can be assigned identical motion within the band object.
Time-Dependent Magnetic Field Simulation
For a 2D XY problem, the vectors have only one component in the z-direction. The time-dependent
magnetic equation is expressed as:
where:
H
c
is the coercivity of the permanent magnet.
v is the velocity of the moving parts.
A is the magnetic vector potential.
V is the electric potential.
is the reluctivity.
J
s
is the source current density.
The transient solver applies a reference frame that is fixed with respect to the components in the
model by setting the velocity, v, equal to zero. This is possible by considering the equation for the
magnetic vector potential both in moving part and stationary part in their own reference frame in
which velocity is always zero. Because the moving components have now been fixed to their own
A J
s
t
A
V + H
c
V A + =
l
---
V
b
+ =
j
t
j
e
j
s
+ =
t d
dA
j
s
+
\ .
| |
d
c
} }
j
t
d
C
} }
I
t
= =
t d
dA
j
t
+
\ .
| |
d
c
} }
l
---
V
b
d
C
} }
=
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-49
where:
c
is the width cross-section of the nth conductor.
V
b
is the known voltage source between the two conductors.
J
t
is the total current density to be solved for.
is the conductivity.
l is the thickness of the model.
A is the magnetic vector potential.
Translational Motion
The transient motion simulator generates translational motion solutions based on the following
motion equation:
where:
m is the mass of the object, in kg.
a is the acceleration of the object, in m/s
2
.
v is the velocity, in m/s.
F
em
is the computed electromagnetic force, in N.
F
load
is the external load force, in N.
is the damping, in N
.
s/m.
Rotational Motion
The transient motion simulator generates rotational motion solutions based on the following motion
equation:
where:
J is the moment of inertia, in kg
.
m
2
.
Tem is the computed electromagnetic torque, in N
.
m.
T
load
is the external load torque, in N
.
m.
is the angular speed, in rad/s.
is the angular acceleration, in rad/s
2
.
is the damping factor, in N
.
m
.
s.
ma v + F
em
F
load
+ =
J + T
em
T
load
+ =
Maxwell 2D Online Help
22-50 Maxwell 2D Technical Notes
Phasor Notation
Time varying quantities that have the form:
can be represented as rotating phasors in the complex plane. Using Eulers formula:
If = t+, F(t) equals the real portion of e
j(t+)
:
Each time-varying quantity has the form . The component is merely a com-
plex constant that can be represented by a stationary phasor in the complex plane. The
component is a complex number that depends on t, and can be represented as a rotating
phasor in the complex plane, as shown here.
The phasors projection on the real axis oscillates sinusoidally. It reaches a peak when parallel with
the real axis, and crosses zero when parallel with the imaginary axis. Thus, a phasor with =90
represents a quantity that peaks 90 degrees after a phasor with =0.
F t ( ) F
m
t + ( ) cos =
e
j
cos j sin + =
F t ( ) F
m
e
j t + ( )
F
m
t + ( ) cos j t + ( ) sin + ( ) [ ] F
m
t + ( ) cos = = =
F
m
e
j
e
jt
F
m
e
j
F
m
e
jt
Phasor rotating at
an angular frequenc
of
F
m
cos(t+)
t
Real
Imaginary
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-51
Real and Imaginary Components
Maxwell 2D expects you to enter magnitudes and phase angles when you specify voltages, cur-
rents, and other boundary or source quantities in models where time-varying fields are to be com-
puted (that is, eddy current, AC conduction, and eddy axial models). But when the magnitude and
phase angle of a quantity are functions of position, it is easier to specify the functions in terms of
real and imaginary components x+jy rather than in terms of magnitude and amplitude. Therefore,
when you specify currents and boundary conditions as functions, the system expects you to
describe the functions in terms of real and imaginary components.
The x+jy description of a phasor indicates that the phasor is the sum of two components a
sinusoid that peaks at t=0 and a sinusoid that peaks at t=90.
The x component of the phasor is called the real component and can be represented by a pha-
sor that lies on the real axis of the complex plane.
The y component is called the imaginary component and is represented by a phasor that lies
on the j-axis of the complex plane.
The real and imaginary components of a three-phase system are shown below:
The real and imaginary components are related to the magnitude and phase of a sinusoid in this
way:
Phase A = I
m
cos(t+0)
Phase C = I
m
cos(t+240)
Phase B = I
m
cos(t+120)
Real
Imaginary
Imaginary component (y)
Real component (x)
I
m
x
2
y
2
+ =
y
x
-- atan =
Maxwell 2D Online Help
22-52 Maxwell 2D Technical Notes
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-53
Boundary Conditions
Boundary conditions define the behavior of the electric or magnetic field at object interfaces or
edges of the problem region. They are always necessary in order to insure the uniqueness of the
electromagnetic field calculation. They can also be used to:
1. Simulate structures that are magnetically isolated, electrically insulated, or electrically
isolated.
2. Set the electric or magnetic potential at a surface to a constant value or a function of posi-
tion, in order to define the behavior of the electric or magnetic field on that surface
3. Simulate the field patterns that would exist in a structure while modeling only part of it.
To do this, you can define planes of symmetry where electric or magnetic fields are either
tangential to or normal to the surface. Additionally, you can define planes of symmetry
where the field on one surface matches the magnitude and direction (or opposite direction)
of the field on another surface.
4. Simulate the field patterns produced by thin resistive layers on conductors (DC conduc-
tion solver) or eddy currents with very tiny skin depths in conductors (eddy current
solver), without having to explicitly draw, assign materials to, or solve for fields inside the
objects in question.
Available boundary types in Maxwell 2D are listed in the table below. Select from the table to see
more information about a specific boundary type or for information on how to apply it in a specific
problem type.
Boundary Condition
Applying in Problem
Type
Vector Potential Magnetostatic
Eddy Current
Transient
Symmetry Magnetostatic
Electrostatic
AC Conduction
DC Conduction
Eddy Current
Transient
Balloon Magnetostatic
Electrostatic
AC Conduction
DC Conduction
Eddy Current
Transient
Maxwell 2D Online Help
22-54 Maxwell 2D Technical Notes
Vector Potential
The Vetor Potential boundary is available for use in Magnetostatic, Eddy Current, and Transient
solver type designs. Use Vector Potential boundaries to set the magnetic vector potential, A
Z
, to a
constant value on a boundary.
The potential can also be defined as a function of position using math functions. Normally, this type
of boundary condition is used to specify the potential of outer boundaries. It can also be used to set
the interface between two objects to a potential, modeling the presence of a very thin conductor
between the objects. They are sometimes called Dirichlet boundaries.
The behavior of the magnetic field on a Vector Potential boundary depends on whether you define a
constant or functional potential on the boundary. Remember that the magnetic vector potential, A,
is defined to be a field that satisfies the equation:
Since the magnetostatic field solver assumes that A has a z-component only and B lies in the xy-
plane, the relationship of B to A is given by the following:
If A
Z
is constant along a horizontal boundary, the partial derivatives of A
Z
with respect to x will be
zero forcing B to have an x-component only, and be tangential to the boundary. Likewise, if A
Z
is constant along a vertical boundary, the partial of A
Z
with respect to y will be zero forcing B to
have a y-component only and again indicating that the field will be tangential.
In general, the magnetic field will be tangential to any boundary on which A
Z
has been set to a con-
stant.
Impedance Eddy Current
Resistance DC Conduction
Master/Slave Magnetostatic
Electrostatic
AC Conduction
DC Conduction
Eddy Current
Transient
Boundary Condition
Applying in Problem
Type
A B =
B
A
z
y
---------
x
A
z
x
---------
y
=
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-55
If the potential is a function of position, the partial derivatives of A
Z
with respect to x and y will not
necessarily be zero. It all depends on what type of math function was used to specify the potential.
Thus, B may not be tangential to the boundary and some flux will cross it.
In eddy current problems, the magnetic vector potential is a time-varying quantity in the form:
where A
m
is the magnitude of the potential and is its phase angle its offset from a pure cosine
wave. Therefore, when specifying A
Z
on a boundary, you must enter both its magnitude and phase.
The magnitude and phase of the potential can also be defined as a function of position using math
functions.
Vector Potential Boundaries in Axisymmetric Models
In axisymmetric models, A is assumed to have only a -component and B is assumed to lie only in
the rz-plane. The relationship between A
rA
( )r
rA
( )z
+ =
Maxwell 2D Online Help
22-56 Maxwell 2D Technical Notes
mirror to the model. For electric field problems, the simulator sets the selected edge to a voltage of
zero.
For instance, the plane of symmetry shown below is modeled by an odd symmetry boundary, since
the direction of the current flow in the conductor on the left side of the symmetry plane is the oppo-
site of the current flow in the conductor on the right side of the plane (the side that is modeled):
Even Symmetry
An even symmetry boundary models a structure in which the signs (positive or negative) of the cur-
rents, voltages, or charges on one side of a symmetry plane are the same as those on the other side.
The magnetic field is perpendicular to this type of boundary; while the electric field is tangential to
this type of boundary, and contours of equal potential are perpendicular to it.
To define an even symmetry boundary, the simulator sets the selected edge to a Neumann boundary.
For instance, the plane of symmetry shown below could be modeled by an even symmetry bound-
ary, since the direction of the current flow in the conductor on the left side of the symmetry plane is
the same as that of the current flow in the conductor on the right side of the plane (the side that is
modeled):
3 x
y
Flux Lines
6.3717e-05
5.7345e-05
5.0973e-05
4.4602e-05
3.8230e-05
3.1858e-05
2.5487e-05
1.9115e-05
1.2743e-05
6.3717e-06
0.0000e+00
O
d
d
S
y
m
m
e
t
r
y
B
o
u
n
d
a
r
y
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-57
Balloon
The balloon boundary is available for use in Magnetostatic, Eddy Current, Transient, Electrostatic,
AC Conduction, and DC Conduction solver type designs. Balloon boundaries model the region out-
side the drawing space as being nearly infinitely large effectively isolating the model from
other sources of current or magnetic fields. Visualize the background object as extending to infin-
ity along the edges identified as balloon boundaries.
For magnetic solution types, the magnetic vector potential, A
Z
or A
r
=1
=5.8x10
7
Thickness
1x10
-3
m
0
--------------------- =
Maxwell 2D Online Help
22-60 Maxwell 2D Technical Notes
This outside surface is defined as an impedance boundary, using the conductivity and permeability
specified previously.
After generating a solution, you can compute the ohmic loss for the surface using the plane calcula-
tor and plot the loss density on the boundary.
For impedance boundaries, ohmic loss is given by:
where:
is the angular frequency, which is equal to 2f.
is the conductors conductivity in siemens/meter.
r
is the conductors relative permeability.
0
is the permeability of free space, which is equal to 4 x 10
7
H/m.
H
t
is the tangential component of H on the impedance boundary.
H
t
* is the complex conjugate tangential component of H on the impedance boundary.
Resistance
The resistance boundary is available for use in DC Conduction solutions. A resistance boundary
models a very thin layer of resistive material (such as that caused by deposits or oxidation on a
Note Keep in mind that an impedance boundary approximates the effect of eddy currents
acting at a shallow skin depth; it does not directly compute them. In general, the fields
modeled using an impedance boundary will closely match the field patterns that would
actually occur in the structure. However, the field patterns may be different at
discontinuities in the surface such as corners.
Current Source
at 1 MHz
.5 m
Impedance Boundary
r
=1
=5.8x10
7
Outside
edge of
problem
region
P
0
r
8
----------------- H
t
H
t
s d
Sur
}
=
(Watts)
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-61
metallic surface) on a conductor at a known potential. Use this boundary condition when the resis-
tive layers thickness is much smaller than the other dimensions of the model.
For instance, in the following example, the resistive layer on the conductor is 5x10
-6
meters thick.
Since this is four orders of magnitude smaller than the dimensions of the model, use a resistance
boundary on the conductor to avoid having to create a very thin object modeling the layer which
could cause problems when the Maxwell 2D generates a mesh for the model and solves for its con-
duction currents.
Specify the thickness and conductivity of the resistive material, and the potential of the conductor.
Apply resistance boundaries only to the boundaries of objects that have been defined as perfect
conductors, or to the outside edge of the problem space.
Master/Slave
Master/Slave boundaries are available for use in Magnetostatic, Eddy Current, Transient, Electro-
static, AC Conduction, and DC Conduction solver type designs. Matching boundaries allow you to
take advantage of periodicity in a structure. For example, the following figure shows the cross sec-
tion of a DC motor. The field in such a motor repeats itself every 120 degrees; that is, the field pat-
tern in one third of the motor matches the magnitude and direction (or the opposite of the direction)
of the field pattern in the other two thirds.
Conducting Plate
Conductor (V=10 Volts)
Conductor with
0.05 m
0.35 m
0.15 m
0.4 m
0.15 m
0.05 m
Resistive Layer
(V=5 Volts, Layer
Thickness=5x10
-6
m)
0.1 m
Maxwell 2D Online Help
22-62 Maxwell 2D Technical Notes
Matching boundaries force the magnetic field at each point on one boundary (the slave boundary)
to match the magnetic field at each corresponding point on the other surface (the master bound-
ary). Modeling one third of the structure allows you to make efficient use of the available comput-
ing resources:
To define matching boundaries, you must define both a master matching boundary and a slave
matching boundary.
The condition that needs to be enforced, as illustrated in the following figure, is that the magnitude
of the magnetic field at each point on the slave boundary surface must match the magnetic field at
each corresponding point on the master boundary surface. The field on the slave boundary must
point in either the same direction or in the exact opposite direction as the field on the master bound-
ary:
Note that a Vector Potential (Dirichlet), Neumann or symmetry boundary cannot be used to simu-
late periodicity because the magnetic field is not necessarily either perpendicular or tangential to
File Edit Reshape Arrange Object Constraint Model Window
pm_match [read-only] pm_motor [read-only]
+
+
+
S
S
N
N
H
m
H
s
+
+
+
+
S
S
N
N
One-quarter of a periodic structure (DC motor) modeled
using matching boundaries.
Master
Slave
H
m
= H
s
Maxwell 2D Online Help
Maxwell 2D Technical Notes 22-63
periodic surfaces. For example, in the quarter model shown above, the magnetic field is exactly
perpendicular to the bounding surfaces only when the gap separating the permanent magnets is per-
fectly horizontal or vertical. For all other positions of the rotor, matching boundaries are required to
take advantage of symmetry.
Maxwell 2D Online Help
22-64 Maxwell 2D Technical Notes
2D Sources/Excitations
To compute fields for a structure, you must define a source of charge, voltage, current, or electric or
magnetic fields for your model. Assign at least one object or edge as either a source (such as a cur-
rent, charge, or voltage) or a value boundary.
Permanently polarized or magnetized materials also act as sources of charge or magnetic field
(respectively). If you do not identify some type of source, the Maxwell 2D will not be able to gen-
erate a solution.
The field quantities computed by each solver and the required electromagnetic sources are
given in the following table:
where:
A is the magnetic vector potential.
H is the magnetic field.
B is the magnetic flux density.
is the electric potential.
E is the electric field.
D is the electric flux density.
Field Solver Sources Field Computed
Derived Field
Quantities
Electrostatic Voltages
charges
charge density
floating
E, D
Magnetostatic DC current
current density
A
Z
(XY models),
A
(RZ models)
H, B
Eddy Current AC currents
current density
A
Z
(t) (XY models),
A
0 =
r
0
( )
v
=
Maxwell 3D Online Help
23-14 Maxwell 3D Technical Notes
is the electric potential scalar function of position.
is the relative permittivity, which is a function of position and can be isotropic or
orthotropic.
F/m is the permittivity of a vacuum.
is the volume density of the electric charge.
Once the electric potential is obtained by solving the above second order differential equation in the
domain of the problem, Maxwell's equations and the applicable constitutive equation are then used
to obtain the electric field strength, , and electric flux density, , vectors, as follows:
Typical sources for electrostatic problems are net charges (assumed to have a uniform distribu-
tion) applied to perfect insulator model objects or on surfaces that cannot touch conductors and
voltages (electric potential applied to perfect conductor model objects or on surfaces, also called a
Dirichlet boundary condition). Additionally, a floating boundary condition can be applied to per-
fect conductors (surrounded by insulators) or to surfaces surrounded by perfect insulators.
Volume charge density is another allowed excitation, which can have a spatial distribution speci-
fied by the user and can be applied to insulating objects only that do not touch conductors.
At the interface between two dielectrics, the normal component of the electric flux density vector
has no jump if the charge density at the respective interface is zero:
where the permittivity and normal electric field values are considered in the two dielectrics and are
designated by the subscripts 1 and 2. Alternatively, when crossing a surface with non-zero charge
density, the normal component of the electric flux density has a jump equal to the respective local
superficial charge density. It follows that in dielectrics (such as air, for example) in the immediate
vicinity of conductive objects (perfect conductors), the (normal) component of the electric flux
x y z , , ( )
r
x y z , , ( )
0
8.854 10
12
=
v
x y z , , ( )
E
E =
D
r
0
E =
1
E
n1
2
E
n2
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-15
density is equal to the neighboring local charge density on the metallic surface (since in metallic
objects the field value is zero).
Electrostatic regime of the electromagnetic field is rarely achieved in practice rigorously speaking.
However very good approximations are many times possible to use for practical situations within
the limits specified above.
The DC current flow solver solves the following equation:
where:
is the electric potential scalar function of position.
is the electric conductivity (in SI it is measured in S/m), which is a function of
position and can be isotropic or orthotropic.
Once the electric potential is obtained by solving the above second order differential equation in the
domain of the problem, Maxwell's equations and the applicable constitutive equation (Ohm's law in
a local formulation) are then used to obtain the electric field strength and the electric current den-
sity vectors:
Typical sources for DC current flow problems are currents applied on surfaces of conductors and
voltages (electric potential applied to surfaces of conductors). The direction of the applied current
is either "in" or "out", always normal to the respective surfaces.
Note When voltages are applied to conductors, the charge transferred from the DC source(s)
to the conductors almost instantly receives a superficial distribution. For real (good)
conductors, the time constant for the diffusion of the charge is of the order of 10
-19
s.
Therefore, for all practical instances, we consider the charge relaxation process to occur
instantly. Once the charge on conductors reaches the steady state (almost
instantaneously), the electric field in the neighboring dielectrics has a distribution that is
governed by the laws of electrostatics, and the field in conductors is null while the field
distribution in dielectrics is dictated - as far as material properties are concerned - by the
respective permittivities and is independent of the conductivity of the electric
conductors. This is why, in electrostatics, we can consider the real conductors to be
perfect conductors.
Note Multiple conduction paths are allowed. Each conduction path that has a current
excitation must also have either a voltage applied or a sink to ensure a unique solution.
( ) 0 =
) , , ( z y x
) , , ( z y x
J
E =
J E =
Maxwell 3D Online Help
23-16 Maxwell 3D Technical Notes
The sink is a particular excitation (without a numerical value assigned to it) that is used to ensure
the divergence-free character of the calculated DC current density vector in each conduction path.
At the interface between two different conductors, the normal component of the current density
vector is continuous:
For DC current flow problems, the solution is dictated everywhere inside the conductors by the dis-
tribution of electric conductivity, as far as material properties are concerned.
Charge, voltage, floating, current, and sink type excitations are called "terminal" type excitations
since they can be referenced in a matrix extraction setup.
In perfect conductors, no computation occurs, and the electric scalar potential (the unknown in the
problem) has a uniform value. However, in the post-processing phase, the (constant) distribution of
the electric scalar potential (voltage) is correctly rendered. No solution is available in solids explic-
itly excluded from the solution.
The solution of any field problem is only possible if appropriate boundary conditions have been set.
The boundary conditions have three purposes:
Boundary conditions are always necessary from a mathematical perspective in order to ensure
the uniqueness of the solution calculated by Maxwell.
Boundary conditions occasionally represent a convenient way of modeling different ideal situ-
ations. For example, in order to model the field in a dielectric sandwiched between two very
thin conducting objects (the thickness is at least two orders of magnitude less than the other
relevant dimensions of the respective conducting objects), only the two respective surfaces
need to be modeled on either side of the dielectric object. In the setup, those top and bottom
surfaces carry appropriate boundary conditions, and the field in the dielectric is correctly simu-
lated without having to draw the respective conductors.
Boundary conditions also occasionally provide a convenient way of taking advantage of sym-
metry situations. In such cases, the models must have the same geometric and material proper-
ties, as well as electric symmetry.
Typical boundary conditions include voltage, floating, and insulation boundary conditions. In the
case of an insulating boundary condition, a conductor must exist at least on one of the sides of the
respective surface.
The default boundary condition applied to all faces of the boundary of the electric field (static or
stationary) problem is a Neumann homogeneous condition. This condition enforces an electric field
tangent behavior of the solution in the immediate vicinity of the boundaries. There is no need to
apply any particular boundary condition at the interface between objects with different material
properties, as the solution automatically ensures -in average - the continuity of the tangential com-
ponent of the electric field strength ( ) and the continuity of the normal component of the elec-
tric flux density vector ( ) across surfaces with zero superficial electric charge density (for
electrostatic problems).
1
E
n1
2
E
n2
=
E
The E-field is perpendicular to an odd symmetry boundary.
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-19
the opposite direction from the E-field on the master boundary (the right side of the motor) - simu-
lating the field pattern that would occur if the entire motor was modeled.
A symmetry boundary cannot be used in place of matching boundaries in this example. The electric
field is not necessarily either perpendicular or tangential to the motor's periodic surfaces. In the
example above, the electric field would be exactly tangential to the periodic surface only when the
poles of the rotor are aligned with the poles of the stator. In the other positions of the rotor, the field
is not tangential and matching boundaries are required.
A combined DC current flow + Electrostatic solution type is also possible. In this case, the volt-
age distribution on conductors from the DC current flow solution is used as a Dirichlet (applied
voltage) boundary condition in the electrostatic phase of the solution process. This type of sequence
allows a certain class of problem involving electrostatic fields surrounding conductors with DC
current flow to achieve a comprehensive solution. In this case, the solution provides the electric
field in conductors and dielectrics.
Solution Process for an Electric Field Solution
Maxwell's electrostatic solver computes and stores the value of the electric potential at the vertices
and midpoints of the edges of each tetrahedron in the finite element mesh. It solves for the electric
field using the following relationship:
Slave Master
E
Slave
(u
s
= 1, v
s
= 5)
E
Mast er
(u
m
= 1, v
m
= 5)
0 volts
100 volts
-100 volts
v
s
v
m
u
s
, u
m
E =
Maxwell 3D Online Help
23-20 Maxwell 3D Technical Notes
After E is calculated, Maxwell writes out solution files and performs an error analysis. In an adap-
tive analysis, it refines the tetrahedra with the highest error, and continues solving until the stopping
criterion is met. In a non-adaptive solution, the process stops.
Electric Field Energy for an Electric Field Solution
The energy, U, that is stored in a static electric field is given by the following equation:
where:
E is the electric field.
D is the electric flux density.
Star t so lu tion process
Sol ve for electric field (E)
Wr ite solution files
Pe rform error analysis
Stop ping criteri a
No
Yes
Fin ish solution proce ss
satisfied?
Ref ine mesh
U
1
2
---
E D Vol d
Vol
}
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-21
Capacitance Matrix for an Electric Field Solution
Capacitance matrices can be expressed in terms of charge and voltage, or current and time-varying
voltage. The unit of capacitance is F.
Capacitance in Terms of Charge and Voltage
A capacitance matrix represents the charge coupling within a group of conductors - that is, the rela-
tionship between their charges and voltages. Given a ground reference for the three conductors
below, the net charge on each object is:
Note For a capacitance matrix, the elements are defined based on excitations, not solids.
Q
1
C
10
V
1
C
12
V
1
V
2
( ) C
13
V
1
V
3
( ) + + =
Q
2
C
20
V
2
C
21
V
2
V
1
( ) C
23
V
2
V
3
( ) + + =
Q
3
C
30
V
3
C
31
V
3
V
1
( ) C
32
V
3
V
2
( ) + + =
C
13
C
12
C
23
C
10
C
30
C
20
Conductor
1
Conductor
Conductor
3
2
(C
21
)
(C
31
) (C
32
)
Maxwell 3D Online Help
23-22 Maxwell 3D Technical Notes
This can be expressed in matrix form as the following:
The capacitance matrix above gives the relationship between Q and V for the three conductors and
ground. An n-conductor device would have an n x n capacitance matrix.
Capacitance in Terms of Current and Time Varying Voltage
A capacitance matrix can also represent the relationship between currents and time varying volt-
ages in a system of conductors. Given the three transmission lines shown below, the currents
caused by the time varying voltage source on each line are given by the following equation:
Q
1
Q
2
Q
3
C
10
C
12
C
13
+ + C
12
C
13
C
12
C
20
C
12
C
23
+ + C
23
C
13
C
23
C
30
C
13
C
23
+ +
V
1
V
2
V
3
=
t
d
d
V
1
t
d
d
V
2
t
d
d
V
3
Line 1
Line 2
Line 3
i
1
i
2
i
3
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-23
If dV
2
/ dt and dV
3
/ dt are set to zero, this relationship becomes the following:
This gives the currents that are induced on Line 2 and Line 3 when a time varying voltage source is
applied to Line 1 - that is, the capacitive coupling between the three lines, or the short circuit capac-
itance.
The capacitance matrix can be exported to a circuit/system simulator, such as SIMPLORER, where
it can be used in a transient simulation.
Matrix Elements for an Electric Field Solution
If one volt is applied to Conductor 1 and zero volts are applied to the other two conductors, the
capacitance matrix becomes the following:
i
1
i
2
i
3
C
10
C
12
C
13
+ + C
12
C
13
C
12
C
20
C
12
C
23
+ + C
23
C
13
C
23
C
30
C
13
C
23
+ +
t d
dV
1
t d
dV
2
t d
dV
3
=
i
1
i
2
i
3
C
t d
dV
1
0
0
C
10
C
12
C
13
+ +
C
12
C
13
t d
dV
1
= =
Q
1
Q
2
Q
3
C
1
0
0
C
10
C
12
C
13
+ +
C
12
C
13
= =
Maxwell 3D Online Help
23-24 Maxwell 3D Technical Notes
Diagonal Elements for an Electric Field Solution
These terms (such as C
11
) are the sum of all capacitances from one conductor to all other conduc-
tors. These terms represent the self-capacitance of the conductors. Each is numerically equal to the
charge on a conductor when one volt is applied to that conductor and the other conductors (includ-
ing ground) are set to zero volts. For instance, C
11
= C
10
+ C
12
+ C
13
. This term is equal to the
charge on Conductor 1 when it is set to one volt and the other conductors are set to zero volts.
Off-Diagonal Elements for a Capacitance Matrix
The terms in each column (such as C
12
, C
13
) are numerically equal to the charges induced on other
conductors in the system when one volt is applied to a single conductor. For instance, in column
one of the capacitance matrix shown above, C
12
is equal to - C
12
. This is equal to the charge
induced on Conductor 2 when one volt is applied to Conductor 1 and zero volts are applied to Con-
ductor 2.
The off-diagonal terms are simply the negative values of the capacitances between the correspond-
ing conductors (the mutual capacitances). In column one of the example capacitance matrix, the
off-diagonal terms represent the capacitances between Conductor 1 and the other two conductors;
in column two, the terms represent the capacitance between Conductor 2 and the other conductors;
and so forth.
Symmetry for a Capacitance Matrix
The capacitance matrix is symmetric about the diagonal. This indicates that the mutual effects
between any two objects are identical. For instance, C
13
, the capacitance between Conductor 1 and
Conductor 3 (C
13
), is equal to C
31
, the capacitance between Conductor 3 and Conductor 1.
Solution Process for a Capacitance Matrix
To solve for the capacitance matrix, the electrostatic solver generates a single field solution. The
system computes each entry of the capacitance matrix using the following relationship:
where the contributions of each conductor to the capacitance matrix are modeled using numerical
matrix manipulation techniques.
Only conductors with voltage excitations can be included in a capacitance matrix calculation.
C E
}
Dd =
D E
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-25
Lumped Capacitance
Lumped capacitance is essentially the result of a 1x1 capacitance matrix. It is used to calculate the
electric field energy, U, from the E-field and D-field. Since the energy can also be expressed as:
the capacitance is:
Maxwell assumes that the problem is set up so that the following is true:
One conductor (or group of conductors) is set to +1 volt.
Another conductor (or group of conductors) is set to zero volts.
All other conductors are floating.
Therefore, the lumped capacitance between all conductors set to one volt and all those set to zero
volts is simply 2U.
Warning The lumped capacitance computation, as described above, is invalid if you assigned
voltages other than +1V or 0V to the conductors in your model.
Note For cases where a matrix extraction is desired in Maxwell, the respective extraction
needs to be compatible with the hypothesis made regarding the equipotentiality of the
respective surfaces, lack of radiation, etc., characteristic to a low frequency circuit
approximation. In the circuit representation, the respective lumped elements are
interconnected with other circuit elements at the nodes that physically represent the
"terminals" in the electromagnetic field problem. Thus, it is possible (within the limits of
the lumped circuit elements and applicable theory) to have circuit elements with field
effects, such as capacitors and inductors, capable of storing energy. You can access these
elements through the provided terminals/nodes, which can then be viewed as energy
ports since most of the extracted elements have the capability to store energy. The
volume charge density excitation is not a "terminal" type of excitation since the objects
to which it is applied cannot, as a rule, be considered equipotential.
U
1
2
-- -
CV
2
=
C
2U
V
2
-------
=
Maxwell 3D Online Help
23-26 Maxwell 3D Technical Notes
Lorentz Force for an Electrostatic Calculation
The component of the Lorentz force due to current in an electric field is:
where:
q is the charge.
E is the electric field.
Lorentz Torque for an Electrostatic Calculation
The system uses Lorentz forces to compute the torque around the x, y, and z axes. The Lorentz
torque is given by the following equation:
where:
r is the displacement vector from the axis of rotation.
q is the charge.
E is the electric field.
This integral is computed for the x-, y-, and z-axes, giving the net torque on the object(s) about
each axis of rotation.
Warning The Lorentz force does not compute the correct force on objects that are assigned
materials with a relative permittivity greater than one. To find the force on these
objects, use virtual force.
Warning The Lorentz torque does not compute the correct torque on objects that are assigned
materials with a relative permeability greater than one. To find the torque on these
objects, use virtual torque.
F qE Vol d
Vol
}
=
T q r E ( ) Vol d
Vol
}
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-27
Virtual Force for an Electrostatic Calculation
To compute the virtual force on an object, the electrostatic field simulator uses the principle of vir-
tual work. In the structure shown below, the force on the bottom plate (plate B) in the direction of
the displacement, x, is given by the following relationship:
where U is the electric field energy.
Unlike the classical virtual work method, the plate is not actually moved during the numerical pro-
cess of the force computation. Instead, only the tetrahedra that lie along the outside surface of the
object are virtually distorted. U and its derivative, dU/dx, are calculated from a single field solution
using finite element interpolation functions.
Virtual Torque for an Electrostatic Calculation
Similar to the virtual force calculation, the system uses virtual work principles to compute the
torque on an object. In the structure shown below, the virtual torque on the bottom plate (plate B)
about the axis of rotation is given by the following relationship:
F
B
dU v x , ( )
dx
---------------------
V Cons tP tan otential =
=
A
B
V F
B
x
+ + + + + + + + + + + + + + + + + + + + + + +
D, E
+ q
q
T
B
dU v , ( )
d
---------------------
V Cons tP tan otential =
=
Maxwell 3D Online Help
23-28 Maxwell 3D Technical Notes
where U is the electric field energy.
Unlike the classical virtual work method, the plate is not actually rotated during the numerical pro-
cess of the torque computation. Instead, only the tetrahedra that lie along the outside surface of the
object are virtually distorted. U and its derivative, dU/d, are calculated from a single field solution
using finite element interpolation functions.
Ohmic Loss for DC Conduction
The Ohmic loss, P, that is generated in conductors when solving DC current flow problems, is
given by the following equation:
where
is the electric field.
is the electric current density.
For the sake of brevity, the ohmic loss density in the post processor should be labeled as Ohmic
Loss. The total ohmic loss of an object or the whole arrangement can be calculated by integrating
over a proper volume in the Field Calculator.
A
B
V F
B
D, E
T
B
Axis of Rotation
P E J ( ) Vol d
Vol
}
=
E
J
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-29
Surface Charge Density
The Surface Charge Density, Q, that is generated on a surface between two materials when solving
electric field problems, is given by the following equation:
where
E
1
is the electric field and
1
the permittivity in the material on one side of the boundary.
E
2
is the electric field and
2
the permittivity in the material on opposite side of the boundary.
n in the normal vector of the surface.
In order to calculate the surface charge, you must first select a surface in the modeling window.
Q
1
E
1
( )
2
E
2
( ) [ ] n =
Maxwell 3D Online Help
23-30 Maxwell 3D Technical Notes
Magnetostatic Field Calculation
In a magnetostatic solution, the magnetic field is produced by DC currents flowing in conductors/
coils and by permanent magnets. The electric field is restricted to the objects modeled as real (non-
ideal) conductors. The electric field existing inside the conductors as a consequence of the DC cur-
rent flow is totally decoupled from the magnetic field. Thus, as far as magnetic material properties
are concerned, the distribution of the magnetic field is influenced by the spatial distribution of the
permeability. There are no time variation effects included in a magnetostatic solution, and objects
are considered to be stationary. The energy transformation occurring in connection with a magneto-
static solution is only due to the ohmic losses associated with the currents flowing in real conduc-
tors.
The magnetostatic field solution verifies the following two Maxwell's equations:
with the following constitutive (material) relationship being also applicable:
where:
is the magnetic field strength.
is the magnetic flux density.
is the conduction current density.
is the permanent magnetization.
is the permeability of vacuum.
is the relative permeability.
For nonlinear materials, the dependency between the H and B fields is nonlinear and can be isotro-
pic or orthotropic (in the case of anisotropic behavior, is a tensor). Similarly, for permanent
magnets, nonlinearity can occur in practical cases and is allowed. Additionally, if a demagnetized
condition is to be taken into account for (nonlinear) permanent magnets operating below the knee,
Maxwell provides an advanced setup option allowing a solution based on a previously computed
demagnetization operating point. If nonlinearity occurs in soft materials (with negligible hysteresis)
simultaneously with orthotropic behavior, Maxwell requires that the BH curves for the principal
directions in the respective material(s) be provided. From these curves, the energy dependency on
H J =
B 0 =
B
0
H M + ( )
0
r
H
0
M
p
+ = =
) , , ( z y x H
) , , ( z y x B
J x y z , , ( )
M
p
x y z , , ( )
m H / 10 4
7
0
=
r
[ ] H H
0
( ) + =
[ ]
H
[ ] [ ] + = =
0
B
0
H
[ ]
~
[ ]
[ ]
(
(
(
=
z
y
x
x
,
y
,
z
H H
p
H
c
+ + =
p
H
c
H
+
+
Master
Slave Matching
Boundaries:
H
M
= H
S
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-39
In linear materials, the energy is:
In nonlinear materials, the energy is:
where:
H is the magnetic field.
B is the magnetic flux density.
The figure below represents graphically the definitions of both energy and co-energy densities.
Note that both are local quantities (i.e. are function of X, Y, Z coordinates of the location in the
model) and also depend on the operating point on the applicable B-H curve. Energy is equal to the
area above the BH-curve, and coenergy is equal to the shaded blue area below the BH-curve.
For the sake of brevity, the magnetic flux density in the post processor should be labeled as Mag-
netic Flux. The total magnetic flux of an object or the whole arrangement can be calculated by
integrating over a proper volume in the Field Calculator.
Related Topics
W
1
2
---
B H Vol d
Vol
}
=
W w Vol d
Vol
}
H B d ( )
0
B
}
\ .
|
|
| |
Vol d
Vol
}
= =
Maxwell 3D Online Help
23-40 Maxwell 3D Technical Notes
Technical Notes: Magnetic Co-energy
Magnetic Coenergy for a Magnetostatic Field Solution
The magnetic coenergy of a system is given by the following expressions. The expressions repre-
sent total values of co-energy for the volumes taken into account. Note that the integrals have sim-
pler expressions if the material property of the object considered is a linear one. In case of linear
material properties magnetic energy and co-energy values are identical (W = Wc).
In linear materials, the coenergy is:
In nonlinear materials, the coenergy is:
where:
H is the magnetic field.
B is the magnetic flux density.
The coenergy is related to the magnetic field energy.
Related Topics
Technical Notes: Magnetic Field Energy
Note In case permanent magnets are part of the model, as a rule, the magnetic energy reported
by the solver and the post processor may be different. This occurs because the adaptive
meshing part of the solution sequence runs a special computation so that it can avoid
situations with a total zero energy of the field (problems with permanent magnets and no
other excitation). To avoid such situations, the solver uses (and reports) the total energy,
which includes the absolute value of the energy inside the permanent magnets. Because
of this, the energy reported by the solver in these cases is greater than the energy
reported by the post processor.
W
c
1
2
---
B H Vol d
Vol
}
=
W
c
w
c
Vol d
Vol
}
B H d ( )
0
H
}
\ .
|
|
| |
Vol d
Vol
}
= =
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-41
Inductance Matrix for a Magnetostatic Field Solution
Inductance matrices can be expressed in terms of flux linkage and current, or in terms of voltage
and time-varying current. Inductance values are given in henries.
Types of Inductance
For nonlinear materials, the definition of inductance requires additional detail compared to the lin-
ear case. Three commonly used inductance values are illustrated in the figure above - each induc-
tance has useful applications. Maxwell uses apparent inductance to calculate flux linkage as a
function of the independent variables, since it changes with current as the material properties
change. To obtain apparent inductances for nonlinear materials in Maxwell, a two-step procedure is
followed:
1. A nonlinear magnetostatic solution is generated with all sources at user specified values. This
establishes a value of permeability that varies with each mesh element, since the degree of
saturation varies throughout the device.
2. These self-consistent values are used in a linear solution for the inductance matrix, with each
coil current set to one ampere. The resulting values are apparent inductances, which vary with
each specified coil current operating point because the material properties change.
The inductance calculation is now linearized on the self-consistent values. If the coil currents had
been increased to the specified values in the first step, in the linearized model, the resulting mag-
netic field would be identical to the nonlinear solution. Therefore, the inductances from the second
step are the ratios of respective flux linkages to coil current, at the nonlinear operating point origi-
nally determined.
Maxwell 3D Online Help
23-42 Maxwell 3D Technical Notes
Nonlinear Inductance Current vs. Flux Linkage
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-43
The slope of any line drawn on the figure above has units of inductance (henries) and any area
enclosed on this plot represents units of energy in joules if magnetic flux is expresed in Webers and
current is expresed in Amperes. The three inductances are defined as:
For linear materials, all three inductance values are equal. For nonlinear materials, the three values
are generally different. Except for initial inductance, each value varies with the operating point.
Ignoring the "toe" of the curve, the relation Lapp > Linc holds. Energy taken from or supplied to
the external circuit, as determined from the terminal voltage and current, will be correct.
The apparent inductance calculated by Maxwell at the actual operating point due to all sources in
the model (currents in the coils but also permanent magnets) is the base of all inductance calcula-
tions. Incremental (differential) inductance information can be easily derived from the flux vs cur-
rent characteristic.
Incremental(differential)
inductance
The slope of a line tangent to the curve at the operating
point. Incremental inductance is the usual textbook
definition. For small signal AC analysis in Maxwell SPICE
or Saber, incremental inductance is evaluated using an
operating point determined from a DC solution. Incremental
inductance can also be used in time domain system
simulations by using the compensation theorem, but it has
no useful relationship to stored energy.
Apparent inductance The slope of a line from the origin to the operating point.
Apparent inductance gives the total flux linkage as a
function of current, so it is well-suited for the state equation
or basis function approach to time domain simulations. For
small-signal AC analysis, apparent inductance cannot be
used directly, but can be used to supply the proper
derivatives to Maxwell SPICE. Energy can be calculated
with apparent inductance, but the result is not really the
stored energy because it ignores the path taken along the
nonlinear curve.
Apparent inductance does not provide the actual stored
energy at the specified operating point. However, during
time domain simulations, apparent inductance varies with
current, and tracks the nonlinear curve shown in the figure.
Initial inductance The slope of a line tangent to the curve at the origin. Initial
inductance applies to many magnetic materials that have a
"toe" in the magnetization curve. Laboratory measurements
at 0 A DC measure initial inductance, not the "linear" value
that may be somewhat higher.
Note: Initial inductance is a particular case of the
incremental inductance where the slope of the respective
line passes through the origin of the (flux - current) plane.
L
inc
d
dI
------
=
L
app
I
---
=
L
init
Maxwell 3D Online Help
23-44 Maxwell 3D Technical Notes
It should be noted that the apparent value relates to the local frozen, current dependent absolute per-
meability as described above in the two step process. Incremenatal inductance relates to another
physical quantity which is the differential (incremental) permeability defined as dB/dH.
Solver calculated magnetostatic energy (reported as part of the solution convergence data) is the
apparent energy, always equal to the global, model-wise average between energy and co-energy.
For the linear material case in the entire model there is only one value of the inductance L = Linit =
Lincr = Lapp.
Inductance in Terms of Flux Linkage and Current
An inductance matrix represents the magnetic flux linkage between current loops. Given the three
current loops below, the relationship between induced flux and currents is:
This can be expressed in matrix form as:
1
L
11
i
1
L
12
i
2
L
13
i
3
+ + =
2
L
21
i
1
L
22
i
2
L
23
i
3
+ + =
3
L
31
i
1
L
32
i
2
L
33
i
3
+ + =
i
1
i
2
i
3
V
1
V
2
V
3
L
22
L
12
L
11
L
13
L
23
L
33
(L
21
)
(L
32
)
(L
31
)
3
L
11
L
12
L
13
L
21
L
22
L
23
L
31
L
32
L
33
i
1
i
2
i
3
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-45
The inductance matrix above gives the relationship between and i for the three independent cur-
rent loops. A device with n current loops would have an n n inductance matrix.
Inductance in Terms of Voltage and Time-Varying Current
An inductance matrix can also represent the relationship between voltage and current fluctuations
in a system. Given the three independent transmission lines shown below, the voltage changes
caused by the time varying current source on each line are given by:
The inductance matrix above gives the relationship between V and dI/dt for the three transmis-
sion lines. If di
2
/dt and di
3
/dt are set to zero, this relationship becomes:
V
1
V
2
V
3
L
11
L
12
L
13
L
21
L
22
L
23
L
31
L
32
L
33
t d
di
1
t d
di
2
t d
di
3
=
t
d
d
i
1
t
d
d
i
2
t
d
d
i
3
Line 1
Line 2
Line 3
R
L
R
L
R
L
V
1
V
2
V
3
V
1
V
2
V
3
L
t d
di
1
0
0
L
11
L
12
L
13
t d
di
1
= =
Maxwell 3D Online Help
23-46 Maxwell 3D Technical Notes
This gives the voltage changes that are induced on Lines 2 and 3 when a time-varying current
source is applied to Line 1 - that is, the inductive coupling between the three loops.
The inductance matrix can be exported to a circuit/system simulator, such as SIMPLORER, where
it can be used in a transient simulation.
Matrix Elements for an Inductance Matrix
If one amp is applied to Current Loop 1 and zero amps is applied to the other two loops, the induc-
tance matrix becomes the following:
Diagonal Elements for an Inductance Matrix
Terms such as L
11
represent the self-inductance of each current loop. Self-inductance is numeri-
cally equal to the flux linkage in a current loop when one amp is flowing in it, and no current is
flowing in the other loops. For example, L
11
is equal to the flux in Current Loop 1 when one amp is
flowing in that current loop, and no current is flowing in the other loops.
Off-Diagonal Elements for an Inductance Matrix
Terms such as L
12
and L
13
represent the mutual inductances between the current loops. Mutual
inductance is numerically equal to the flux linkage in a current loop when one amp is flowing
through another loop, and no current is flowing anywhere else. For example, L
12
is equal to the flux
linkage in Loop 1 when one amp is applied to Loop 2 and no current is flowing in the other loops.
Symmetry for an Inductance Matrix
The inductance matrix is symmetric about the diagonal. This indicates that the mutual effects
between any two loops are identical. For instance, L
13
, the inductance between Current Loop 1 and
Current Loop 3, is equal to the inductance between Current Loop 3 and Current Loop 1.
Solution Process for an Inductance Matrix
To solve for the inductance matrix, the magnetostatic solver generates a single field solution. The
system computes each entry of the inductance matrix using the following relationships:
3
L
1
0
0
L
11
L
12
L
13
= =
U
1
2
---
LI
2 1
2
---
H B d
}
= =
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-47
But, assuming that the current, i, is one ampere:
where:
Each conductor in the matrix is assumed to be part of an independent current loop. The contribu-
tions of each loop to the inductance matrix are modeled using numerical matrix manipulation tech-
niques.
Grouping Inductance Matrix Elements
The results of the inductance matrix calculation may be post processed into series/parallel windings
using the grouping function. The operations of the grouping function can be one of two cases:
Grouping all coils in series connection by grouping into 1 branch
Grouping in a mixed series/parallel combination by setting the number of branches to a
value of 2 or more.
Series Grouping
The inductances of the coils can be calculated as follows:
Warning Inductance is valid for different current levels in linear and nonlinear models:
In models containing only linear materials, the system assumes that one amp of
current flows through each loop. The inductance matrix that is computed for
these models is valid for all current levels.
In models containing nonlinear materials, the system uses the currents you
specified when setting up boundaries and sources. The inductance matrix that is
computed for these models is valid only for these current levels.
L H B d
}
=
B H =
Lcoil
i
L
i
n
i
2
=
Maxwell 3D Online Help
23-48 Maxwell 3D Technical Notes
Where L
i
is the per-turn inductance of the source calculated by the field solver and n
i
is the num-
ber of turns specified in the grouping dialog box. Combining inductors in series, which is the case
when the number of branches is set to 1, is done according to:
where:
m is the number of source entries being grouped.
Lcoil
i
represents the self inductance term for each coil entry to be grouped according to
the equation above.
Mij and Mji are the mutual inductance terms between the sources being grouped. Mij
and Mji must generally be considered separately as the matrix may be unsymmetric.
n
i
are the number of turns for each coil in the group.
Parallel Branches
If the number branches in the group is set to a value other than 1, the coils are first grouped in series
as described above, and then divided into by the number if branches specified.
The grouped inductance is then calculated as follows:
Where k is the number of branches set for the group.
The calculation above only relies on the inductance matrix calculated during the field solution and
can therefore be manipulated as a post processing calculation.
Lorentz Force
The component of the Lorentz force due to current in a magnetic field is:
where:
L
seriesgroup
Lcoil
i
i 1 =
m
M
ij
n
i
n
j
i j , 1 =
i j
m
M
ji
n
i
n
j
i j , 1 =
i j
m
+ + =
L
branch
L
seriesgroup
k
2
-----------------------------------
=
F J B Vol d
Vol
}
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-49
J is the current density.
B is the magnetic flux density.
Lorentz Torque
The system uses Lorentz forces to compute the torque around the x-, y-, and z-axes. The Lorentz
torque is given by the following equation:
where:
r is the displacement vector from the axis of rotation.
J is the current density.
B is the magnetic flux density.
This integral is computed for the x-, y-, and z-axes, giving the net torque on the object(s) about
each axis of rotation.
Virtual Force
To compute the virtual force on an object, the system uses the principle of virtual work. In the
structure shown below, the force on the plate in the direction of the displacement, s, is given by the
following relationship:
Note The Lorentz force does not compute the correct force on objects that are assigned
materials with a relative permeability greater than one (that is, materials where
). To find the force on these objects, use virtual force.
Note The Lorentz torque does not compute the correct torque on objects that are assigned
materials with a relative permeability greater than one (that is, materials where
). To find the torque on these objects, use virtual torque.
0
T r J B ( )dVol
Vol
}
=
0
F
plate
dW s i , ( )
ds
--------------------
i Constant =
=
Maxwell 3D Online Help
23-50 Maxwell 3D Technical Notes
where W(s,i) is the magnetic coenergy of the system. The current, i, is held constant.
Unlike the classical virtual work method, the plate is not actually moved during the force computa-
tion. Instead, only the tetrahedra that lie along the outside surface of the object are virtually dis-
torted. Thus, the force computation only requires one field solution.
Virtual Torque
Similar to the virtual force calculation, the system uses virtual work principles to compute the
torque on an object. In the structure shown below, the torque on Object B about the axis of rotation
is given by the following relationship:
s
F
Plate
i
Core
Plate
T
B
dW i , ( )
d
---------------------
i Constant =
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-51
where W(, i) is the magnetic coenergy of the system. The current, i, is held constant.
Unlike the classical virtual work method, Object B is not actually rotated during the force computa-
tion. Instead, only the tetrahedra that lie along the outside surface of the object are virtually dis-
torted. Thus, the change in the systems coenergy (and therefore the virtual torque) is given by the
change in the coenergy of these tetrahedra.
T
B
A
B
Axis of rotation
i
i
H H
p
+ =
H H
p
T + + =
T
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-53
The Zero Tangential H Field allows you to prescribe a normal (in average) magnetic field orienta-
tion on an arbitrary surface. This boundary condition does not require any further user input, that is,
no value and coordinate system specification are necessary.
In the case of Tangential H Field boundary condition the values of two tangential complex com-
ponents (real and imaginary) and a surface coordinate system have to be defined and subsequently
used in the assignment process of this boundary condition. This boundary condition is restricted to
two kinds of surfaces: planar or cylindrical. The CS in the planar case would be a rectangular coor-
dinate system with X and Y components of H in the plane. The coordinate system in the cylindrical
case would be a coordinate system with a Z axis coinciding with the axis of the cylinder and the
two components to input would be the PHI and Z axis components of H.
In the case of the tangential H field caution is advised: this boundary condition should be specified
such that Ampere's theorem is not violated inside the field domain or at the boundaries. This
boundary condition is very useful to simulate the behavior of devices "immersed" in an electromag-
netic filed of desired magnitude and orientation.
Symmetry boundary conditions are used to solve problems with symmetry and thus allows the users
to take advantage of the significant reduction of the problem size for a given accuracy. Symmetry
boundary conditions are of two kinds, Odd (flux tangent) or Even (Flux normal). Although the
use of this symmetry boundary condition overlaps with previous conditions to some extent, the
symmetry boundary conditions should only be used in clear symmetry cases.
The Insulating boundary condition is of particular use for applications where very thin insulating
layers are impractical to model due for example to high aspect ratio geometries that would be gen-
erated and associated meshing difficulties. Thus insulating boundary condition can be assigned to
surfaces of separation between conductors. Another remarkable situation where such a boundary
condition proves to be extremely useful is in modeling faults in conductors (cracks for example).
Thus, modeling 2D (sheet) objects at the location of the respective cracks and applying the insula-
tion boundary condition proves to be a very effective way of modeling the flaws without having to
generate 3D cracks that would be difficult and impractical to mesh.
Phasor Notation for an Eddy Current Solution
Time varying quantities that have the form:
can be represented as rotating phasors in the complex plane. Using Euler's formula:
F t ( ) F
m
t + ( ) cos =
e
j
cos j sin + =
Maxwell 3D Online Help
23-54 Maxwell 3D Technical Notes
If a = wt+q, F(t) equals the real portion of :
Each time-varying quantity has the form . The component is a complex
constant that can be represented by a stationary phasor in the complex plane. The compo-
nent is a complex number that depends on t and can be represented as a rotating phasor in the com-
plex plane. The phasor's projection on the real axis oscillates sinusoidally. It reaches a peak when
parallel with the real axis, and crosses zero when parallel with the imaginary axis. Therefore, a pha-
sor with =90
o
represents a quantity that peaks 90 degrees after a phasor with =0
o
.
Real and Imaginary Components for an Eddy Current Solution
In general, you must enter a magnitude and phase for all AC voltages, currents, and other boundary
or source quantities. But if the magnitude and phase angle of a quantity are functions of position,
specify the functions in terms of real and imaginary components (x+jy). The "x+jy" description of a
phasor indicates that the phasor is the sum of two components - a sinusoid that peaks at t=0and
a sinusoid that peaks at t=90.
The "x" component of the phasor is the real component and is represented by a phasor that lies
on the real axis of the complex plane.
The "y" component is the imaginary component and is represented by a phasor that lies on the
j-axis of the complex plane.
e
j t + ( )
F t ( ) F
m
e
j t + ( )
F
m
t + ( ) cos j t + ( ) sin + ( ) [ ] F
m
t + ( ) cos = = =
F
m
e
j
e
jt
F
m
e
j
e
jt
Phasor rotating at an
angular frequency of
F
m
cos(t+)
t
Real
Imaginary
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-55
The real and imaginary components of a three phase system are shown below:
They are related to the magnitude and phase of a sinusoid in this way:
where the real and imaginary components are:
For a symmetric three-phase system, = 0, 120, 240 degrees, respectively.
For a frequency domain simulation (eddy current), all sources (currents, fields) must have the same
frequency. Therefore, the simulation frequency is specified as a global input parameter.
Real
Imaginary
x
Imaginary
component
A
m
Real component
y
A
m
e
j
x jy + A
m
cos j sin + ( ) = =
A
m
x
2
y
2
+ =
y
x
--
atan =
Re A
m
cos =
Im A
m
sin =
Maxwell 3D Online Help
23-56 Maxwell 3D Technical Notes
In simulations where the electromagnetic radiation is included the displacement, currents are
included in the calculation. In such a situation, the dependency between H and J is given by the fol-
lowing equation:
Solution Process for an Eddy Current Solution
To solve for the magnetic field, H(t), the solver computes the values as follows:
In conductors where eddy currents occur, H(t) is computed directly from source currents and
applied magnetic fields.
In non-conducting regions, H(t) is computed from the magnetic scalar potential:
Directly solving for H(t) requires more computing resources than using the magnetic potential, so
this is done only in regions where the magnetic potential cannot be used.
The solver combines the solutions and solves for the magnetic field. H(t) is forced to be continuous
on the boundaries, producing a continuous field solution throughout the model. It then saves the
completed solution to a file and performs an error analysis. In an adaptive analysis, it refines the
tetrahedra with the highest error and continues solving until the stopping criterion is met.
Note Always use the peak value in the applied excitations in an eddy current solution!
H J
t
E ( ) + =
1
j
+
-------------------
H
\ .
| |
j
H =
( ) 0 =
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-57
Skin Depth for an Eddy Current Solution
Induced currents allow magnetic fields to penetrate conductors only to a certain depth, of about 4-5
skin depths. The skin depth is approximated by the following formula:
where:
is the angular frequency, which is equal to 2f (f is the frequency at which source currents
and voltages oscillate during the solution).
is the conductor's conductivity in siemens/meter.
r
is the conductor's relative permeability.
0
is the permeability of free space, which is equal to 4 x 10-7 H/m.
Currents are concentrated near the surface of the conductor, decaying rapidly past the skin depth.
As the formula above indicates, the skin depth gets smaller as the frequency increases.
Note Due to the skin concentration of current, AC inductances and resistances are not equal to
their DC equivalents. This affects the inductance and resistance values computed during
impedance computations.
Sol ution finished
Soluti on
cri teri on satisfied
?
No
Yes
Eddy currents
computed in obj ect?
No
Yes
H is computed
di rectl y
H i s computed
using
Combine and solve
Write sol ution files
Perform error analysi s
Refine mesh
Solve DC conduction
start sol uti on process
passes and then
r
--------------------- =
Maxwell 3D Online Help
23-58 Maxwell 3D Technical Notes
Both the skin depth / proximity effects and the displacement effects must be specifically requested.
Under the excitation setup, the respective effects can be specified for objects in the model as shown
below:
Eddy (skin/proximity) effect can only be specified for objects with non-zero conductivity.
By default, eddy/displacement current effects are turned off. Including these in the calculation has a
potentially significant impact on the solution time since the electric vector potential calculation is
activated, causing the size of the solved matrix to increase significantly if the regions with the elec-
tric vector potential to be calculated have a large number of finite elements.
Displacement current calculation is normally activated in dielectrics (including vacuum) and
allows electromagnetic waves to propagate. In such cases, a radiation boundary condition should
also be used in the problem setup.
Magnetic Field Energy for an Eddy Current Solution
The energy density in the general case includes the magnetic and electric energy densities. The AC
magnetic field energy is given by the following:
where:
B is the magnetic flux density.
H is the magnetic field.
Re is the real part operation.
The superscript * denotes complex conjugate.
U
1
4
---
Re B H
E D
( ) ( ) =
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-59
The symbol is the dot product.
For the sake of brevity, the energy density in the post processor is labeled as Energy. The total
energy (U) of an object or the whole arrangement can be calculated by integrating the energy den-
sity over a proper volume in the Field Calculator, as follows:
This represents the average energy over time, not the instantaneous energy at a specific point in the
cycle. (The 1/4 factor is explained by the use of peak values for excitations.)
Hysteresis Loss for an Eddy Current Solution
The hysteresis loss is given by: the following
where:
B is the magnetic flux density.
H* is the complex conjugate of the magnetic field, H.
is the angular frequency, equal to 2f (where f is the solution frequency).
The magnetic hysteresis loss density (p
h
) is given by the following:
where:
Im is the imaginary part.
is the angular frequency.
For the sake of brevity, the hysteresis loss density in the post processor is labeled as Hysteresis
Loss. The total magnetic hysteresis loss (p
h
) of an object or the whole arrangement can be calcu-
lated by integrating the hysteresis loss density over a proper volume in the Field Calculator, as fol-
lows:
U
1
4
---
Re B H
E D
( ) ( ) Vol d
} } }
=
Vol
U Im
1
2
-- -
B H
( ) Vol d
Vol
}
=
p
h
1
2
---
Im B H
( ) =
p
h
1
2
---
I
} } }
m B H
( )dVol =
Vol
Maxwell 3D Online Help
23-60 Maxwell 3D Technical Notes
Hysteresis loss applies if the structure includes materials with a non-zero value for the tangent of
the magnetic loss angle (equivalent to a non-zero imaginary permeability). Otherwise, it is equal to
zero.
Ohmic Loss for an Eddy Current Solution
Ohmic loss is given by:
where:
J is the current density.
J * is the complex conjugate of the current density.
is the conductivity in siemens/meter.
Ohmic loss is used to compute the power loss in a structure (P=I
2
R).
For impedance boundaries, ohmic loss is given by:
where:
w is the angular frequency, which is equal to 2f. (f is the frequency at which source currents
and voltages oscillate during the solution.
s is the conductor's conductivity in siemens/meter.
r
is the conductor's relative permeability.
0
is the permeability of free space, which is equal to 4 x 107 H/m.
H
t
is the tangential component of H on the impedance boundary.
H
t
* is the complex conjugate tangential component of H on the impedance boundary.
The ohmic loss density (p
o
) is given by the following:
P
J J
2
--------------
Vol d
Vol
}
=
(Watts)
(Watts)
P
0
r
8
----------------- H
t
H
t
s d
Sur
}
=
p
o
1
2
-- -
Re E J
c
( ) =
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-61
This loss is calculated from the conduction component of the current density:
For the sake of brevity, the ohmic loss density in the post processor is labeled as Ohmic Loss. The
total ohmic loss (p
o
) of an object or the whole arrangement can be calculated by integrating the
ohmic loss density over a proper volume in the Field Calculator, as follows:
Dielectric Loss for an Eddy Current Solution
The dielectric loss density (p
d
) is as follows:
The current density and the conduction current density are defined by the following two equations:
For the sake of brevity, the dielectric loss density in the dielectric loss density in the post processor
should be labeled as Dielectric Loss. The total dielectric loss (p
d
) of an object or the whole
arrangement can be calculated by integrating over a proper volume in the Field Calculator, as fol-
lows:
The dielectric loss can also be called electric hysteresis loss.
J
c
[ ]E =
p
o
1
2
---
Re
} } }
E J
c
( )dVol =
Vol
p
d
1
2
-- -
Re E J J
c
( )
[ ] =
J H =
J
c
[ ]E =
p
d
1
2
---
Re
} } }
E J J
c
( )
[ ]dVol =
Vol
Maxwell 3D Online Help
23-62 Maxwell 3D Technical Notes
Impedance Matrix for an Eddy Current Solution
An impedance matrix gives the relationship between AC voltages and AC currents for multiple
conductors. In the current loops below, the voltage and current in each loop is:
This can be expressed in matrix form as:
where:
V
i
and I
i
are phasors.
Z
11
= R
1
+ jL
11
(the self-impedance of Loop 1).
Z
12
= R
12
+ jL
12
(the mutual impedance between Loops 1 and 2).
Z
22
= R
2
+ jL
22
(the self-impedance of Loop 2).
A device with n current loops would have an nn impedance matrix.
V
1
I
1
R
1
I
1
jL
11
I
2
jL
12
+ + =
V
2
I
2
R
2
I
2
jL
22
I
1
jL
12
+ + =
V
1
I
1
R
1
L
1
+
V
2
I
2
R
2
L
2
+
Loop 1
Loop 2
L
12
R
12
V
1
V
2
Z
11
Z
12
Z
12
Z
22
I
1
I
2
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-63
Matrix Elements for an Impedance Matrix
All impedances are complex numbers in the form:
where:
is the angular frequency of the AC voltages and currents, which is equal to 2f (where f is
the solution frequency).
R is the resistance, given in ohms.
L is the inductance, given in henries.
If one amp flows in Loop 1 and zero amps in Loop 2, the impedance matrix becomes:
Diagonal Elements for an Impedance Matrix
The self-impedance of Loop 1 is given by Z
11
= R
1
+ jL
11
.
R
1
represents the internal resistance of the current loop.
L
11
represents the self-inductance of the loop. The jL
11
term represents the inductive reac-
tance of the loop the apparent AC inductance due to the loop's self inductance.
Off-Diagonal Elements for an Impedance Matrix
The mutual impedance between Loops 1 and 2 is given by Z
12
=R
12
+ jL
12
.
R
12
represents the mutual resistance of a neighboring conductor as seen from the source con-
ductor.
L
12
represents the mutual inductance between the loops. The jL
12
term represents the induc-
tive reactance between the loops the apparent AC inductance due to the mutual inductance.
Symmetry for an Impedance Matrix
The impedance matrix is symmetric about the diagonal. This indicates that the mutual effects
between any two loops are identical.
Z R jL + =
V
1
V
2
Z
1
0
Z
11
Z
12
= =
Maxwell 3D Online Help
23-64 Maxwell 3D Technical Notes
Solution Process for an Impedance Matrix
The simulator divides the impedance matrix computation into two parts, as shown below.
The solver generates a field solution for each conductor in the matrix. Each conductor is assumed to
be part of an independent current loop. In the first solution, the current in the first conductor is set
to one amp; currents in the other conductors are set to zero. This is done by imposing current
sources on the conductors. In the second solution, the current in the second conductor is set to one
amp and all other conductors are set to zero amps, and so forth. Objects that are not included in the
impedance matrix are not affected.
Using the field solution as input, the simulator performs inductance and resistance computations.
When it finishes solving for the inductance and resistance, the simulator combines them to form the
impedance matrix, using the relationship:
Inductance for an Impedance Matrix
The inductance solution for an impedance computation is similar to a magnetostatic inductance
solution. The system computes the following for each matrix entry:
where:
B is the magnetic flux density.
H* is the complex conjugate of the magnetic field.
Set conductor i to 1 amp;
all other conductors to 0 amps
Solve for L
i
Compute impedance from
L
n
and R
n
solutions
For conductors 1 to n,
where 1 < i < n
Solve for R
i
Z
i
R
i
jL
i
+ =
L
ij
B
i
H
j
d
}
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-65
Resistance for an Impedance Matrix
To find the resistance, the system computes the ohmic loss, P, for each loop:
where J is the current density. Ohmic loss can also be expressed in terms of resistance and total cur-
rent, P=RI
RMS
2
, where:
The resistance, therefore, is:
To solve this, the system computes the conduction current, J, for each conductor. Each subsolution,
J
i
, represents the contribution of a current loop toward the matrix. After it solves for J for all con-
ductors, the system computes the resistance matrix.
Line Impedance
Line impedance is represented by a 1x1 impedance matrix. That is to say, the line impedance is the
impedance of a single current loop given by:
where:
is the angular frequency of the AC voltages and currents, which is equal to 2f (where f is
the solution frequency).
R is the self-resistance of the loop.
Note Since all current loops are assumed to be independent, an impedance matrix only
contains terms for their internal resistance (or self-resistance). It does not include terms
for the mutual resistances between loops.
P
1
2
------
J J
d
}
=
I
RMS
I
Peak
2
---------------
=
R
P
I
2
RMS
-----------------
1
2
------
J J
d
}
I
2
RMS
---------------------------------
J J
d
}
I
Peak
2
-------------------------
= = =
Z R jL + =
Maxwell 3D Online Help
23-66 Maxwell 3D Technical Notes
L is the self-inductance of the loop.
The inductance and resistance components of line impedance are computed separately.
AC Inductance and Resistance for an Impedance Matrix
The inductances and resistances computed during an impedance solution are different from those
computed for the equivalent DC case, as shown below. The darker blue area represents the cross-
section of the current flowing in the conductors.
The current density, J, in the DC case (the conductor on the left) is evenly distributed throughout
the cross-section of the conductor. The current density in the AC case (the conductor on the right) is
distributed close to the surface due to skin concentration of currents. Since the area through which
current can flow is smaller, it follows that the resistance to the current flow is higher in the imped-
ance matrix than in the equivalent DC case.
= 2f
I
R L
J
R
J
R
Skin
depth
DC: J is uniformly distributed
throughout the conductor.
AC: J is concentrated near the sur-
face and decays exponentially
toward the conductor's center.
4-5
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-67
In the DC example, no eddy currents occur. The magnetic field created by the current flowing
through the conductor is static. In the AC example, the oscillating magnetic field induces currents
in other conductors in the model. These induced currents affect the computation of inductance for
the impedance matrix, causing it to be different than the equivalent DC inductance.
Lorentz Force in an Eddy Current Solution
The Lorentz force represents the average force on an object (or group of objects) due to currents in
a time-varying magnetic field. Lorentz force is given by:
where:
J (t) is the current density.
B(t) is the magnetic flux density.
The average force is found by integrating the instantaneous force:
Lorentz Torque in an Eddy Current Solution
The Lorentz torque represents the average torque on an object or group of objects due to currents in
a time-varying magnetic field. The Lorentz torque is given by:
where:
r is the displacement vector from the axis of rotation.
J (t) is the current density.
B(t) is the magnetic flux density.
Warning The Lorentz force does not compute the correct average force on objects that are
assigned materials with a relative permeability greater than one. To find the force on
these objects, use virtual force.
F t ( ) J t ( ) B t ( ) Vol d
Vol
}
=
F
AV
1
2
------
F
Inst
dt
0
2
}
1
2
------
J t ( ) B t ( ) Vol d
Vol
}
\ .
|
| |
dt
0
2
}
= =
T t ( ) r J t ( ) B t ( ) [ ]dVol
Vol
}
=
Maxwell 3D Online Help
23-68 Maxwell 3D Technical Notes
The average torque is found by integrating the instantaneous torque:
This integral is computed for the x-, y- and z-axes, giving the average torque on the object(s) about
each axis of rotation.
Virtual Force in an Eddy Current Solution
Virtual force in an eddy current problem is computed the same way as the magnetostatic virtual
force. The only difference is that the average force over time is computed not the net (instanta-
neous) force at a given time. The average virtual force is found by integrating the instantaneous
force:
Virtual Torque in an Eddy Current Solution
Virtual torque in an eddy current problem is computed the same way as the magnetostatic virtual
torque. The only difference is that the average torque over time is computed not the net torque at
a given time. The average torque is found by integrating the instantaneous torque:
Average Force in an Eddy Current Solution
The Lorentz force and virtual force computed for an eddy current model represent the average
force, not the instantaneous force at a specific point in the AC magnetic field's cycle. Similarly, the
Lorentz torque and virtual torque represent the average torque over time, since these torque compu-
Warning The Lorentz torque does not compute the correct average torque on objects that are
assigned materials with a relative permeability greater than one. To find the torque
on these objects, use virtual torque.
T
AV
1
2
------
T
Inst
dt
0
2
}
1
2
------
r J t ( ) B t ( ) [ ]dVol
Vol
}
\ .
|
| |
dt
0
2
}
= =
F
AV
1
2
------
F
Inst
dt
0
2
}
1
2
------
dW s i , ( )
ds
--------------------
\ .
| |
dt
0
2
}
= =
T
AV
1
2
------
T
Inst
dt
0
2
}
1
2
------
dW i , ( )
d
---------------------
\ .
| |
dt
0
2
}
= =
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-69
tations make use of the time-averaged force. The difference between the time-averaged (or DC)
force, AC force, and instantaneous force is shown below:
Force oscillates at twice the frequency of the source current and magnetic field:
where:
f
F
is the frequency of the force.
f
S
is the frequency of the source current and magnetic field.
T
F
is the period of the force.
The time-averaged (or DC) force, AC force, and instantaneous force can be determined by:
f
F
1
T
F
-------
2f
S
= =
F
DC
1
2
-- -
Re J B
V d
}
=
*
F
AC
1
2
---
Re J B V d
}
=
F
INST
F
DC
F
AC
+ =
Maxwell 3D Online Help
23-70 Maxwell 3D Technical Notes
The AC force, F
AC
must be evaluated at a particular phase (=t) in order to determine its magni-
tude at an instant in time.
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-71
Iterative Matrix Solver Technical Details
Two iterative solvers (PCG and QMR) are supported in Maxwell 14. The PCG is supported in the
magnetostatic and electrostatic solvers and QMR is supported in the eddy current solver.
For large simulations, the iterative solvers save significant memory - easily a factor two or more,
and may be also faster than the direct solver.
Consider the matrix equation:
where is a matrix, a right hand side and the solution.
When is computationally expensive or the exact solution is impossible, an alternative is to
seek an approximation to , with an error . The exact solution can therefore be
rewritten as:
Substituting (2) into (1) results in the so-called residual equation:
where is called the residual defined by:
As mentioned above, the exact solution for in (3) is impossible since it requires . However,
if an approximation is available, the error can be approximated in (3) by:
Finally, the approximation is updated by:
It is (4)-(6) that form the foundation of the iterative solution method. A matrix solver using the iter-
ative solution method is called an iterative matrix solver. The method starts with an initial guess
and repeats (4)-(6) until the approximation to is within tolerance, or the number of
iterations exceeds a given number. In the former case, it is said the solution converges; while in the
latter, it doesn't.
The residual is used for measuring the closeness of to . Since and in (1) can be scaled
by the same factor without altering , so does the residual in (4). It typically makes more sense
to replace as the stopping criterion with the relative residual:
(1)
(2)
(3)
(4)
(5)
(6)
Ax b =
A b x
A
1
x
x
x e x x
=
e x x
=
Ae r =
r
r b ax
=
e A
1
M A e
e M
1
r =
x
e +
x
x
0
= x
x
r x
x A b
x r
r
Maxwell 3D Online Help
23-72 Maxwell 3D Technical Notes
where stands for vector norm.
in (5) is called a preconditioner of . A good preconditioner greatly reduces the number of
iterations. The following makes a good preconditioner: is a good approximation to in
some sense and is computationally cheap.
Some of the classic iterative matrix methods include:
The Jacobi method where is the diagonal of .
The Gauss-Seidel method where is the lower triangular or upper triangular matrix of .
The successive over-relaxation method (SOR) where is a weighted combination of the
lower triangular and upper triangular matrix of .
Refer to the following reference for the details of iterative solvers:
Henk A. van der Vorst, "Iterative Krylov Methods for Large Linear System" Cambridge University Press, 2003.
(7)
res
r
b
------- =
M A
M M A
M
1
M A
M A
M
A
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-73
3D Transient Excitations (Sources)
In the 3D transient (time domain), the solver uses the formulation. Motion (translational
or cylindrical/non-cylindrical rotation) is allowed, excitations - currents and/or voltages- can
assume arbitrary shapes as functions of time, nonlinear BH material dependencies are also allowed.
The support of voltage excitations for the windings has as consequence the fact that the winding
currents are unknown and thus the formulation has to be modified slightly to allow Maxwell to
account for source fields due to unknown currents in voltage - driven solid conductors (where eddy
effects are evaluated) and in voltage-driven stranded conductors -where the eddy effects (such as
skin and proximity effects) are ignored. Also for a simpler formulation of problems where motion
is involved, Maxwell uses a particular convention and uses the fixed coordinate system for the
Maxwell's equations in the moving and the stationary part of the model. Thus the motion term is
completely eliminated for the translational type of motion while for the rotational type of motion a
simpler formulation is obtained by using a cylindrical coordinate system with the z axis aligned
with the actual rotation axis.
The formulation used by the Maxwell transient module supports Master-Slave boundary conditions
and motion induced eddy currents everywhere in the model, in the stationary as well as in the mov-
ing parts of the model. Mechanical equations attached to the rigid-body moving parts allows a com-
plex formulation with the electric circuits being strongly coupled with the finite element part and
also coupled with the mechanical elements whenever transient mechanical effects are included by
users in the solution. In this case the electromagnetic force / torque is calculated using the virtual
work approach. For problems involving rotational type of motion a "sliding band" type of approach
is followed and thus no re-meshing is done during the simulation. For translational type of motion
the mesh in the band object (surrounding the part in motion) needs to be re-created at each time step
with a degree of refinement which is dependent upon the mesh size in the moving object. In this
later case the mesh in both stationary and moving objects remains unchanged as initially created by
the user. For transient type of electromagnetic field analysis (with or without motion) the user is
responsible for creating the mesh that is capable to "catch" the respective physics such as skin and
proximity effects -if any- are to be present in the resulting fields.
The following three Maxwell's equations are relevant for transient (low frequency) applications:
T
H E ( ) =
E
t
B
=
B 0 =
Maxwell 3D Online Help
23-74 Maxwell 3D Technical Notes
The following two equations directly result from the above equations:
The final result is a formulation where vector fields are represented by first order edge elements
and scalar fields are represented by second order nodal unknowns.
Field equations are coupled with circuit equations for both solid and stranded conductors because,
in the case of applied voltage supplies, the currents are unknown. For the case of voltage driven
solid conductors, the following equation is used to account for the ohmic drop across the i-th con-
ductor loop:
where J
0i
represents the current density.
The current density J0i corresponds to 1A of net current in loop i and vanishes outside loop i.
The induced voltage can be derived from the following equation:
where the integration is performed over the whole conductor region.
Stranded conductors are considered to be without induced eddy currents and, thus, are placed in the
non-conducting region. This means that, for the purpose of calculating the ohmic voltage drop, we
cannot use the same procedure we use for solid conductors. Instead, we use a lumped parameter to
represent the DC resistance of the winding. We obtain the induced voltage due to the total flux link-
age in a similar way as for solid conductors. In both cases, it is also possible to add an external
inductance and capacitance.
For the time discretization, a backward time stepping scheme is used:
---
H
t
B
+ 0 =
B 0 =
V
Ri
J
0i
E v B + ( ) R d
} }
R
C
i ( )
}
=
e
i
H
i
B R d
} } }
=
R
C
(i)
t d
dx
)
`
t t +
x
t t +
)
`
x { }
t
t
----------------------------------------
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-75
For the nonlinearities allowed in 3D transient applications, the classical Newton-Raphson algo-
rithm is used.
The transient solver in Maxwell supports the coil terminals and winding definitions. Thus it is
possible to specify the number of turns of coils in models which is necessary for the calculation of
global quantities with high engineering value such as flux linkage and back emf of coils. Thus for
the 3D transient solver a number of quantities are automatically calculated and displayed as 2D
plots (functions of time): voltage (current), flux linkage, back emf. Other global quantities can be
also calculated by the 3D transient solver and displayed as 2D plots such as power loss, core loss,
stranded loss, electromechanical quantities such as force/torque, speed and displacement.
A few types of sources can be used in 3D transient applications. The Coil Terminal type is dis-
cussed here.
Related Topics
Loss Quantities
Coil Terminals
A coil terminal excitation is the preferred excitation for Maxwell transient applications. This type
of excitation can be specified as functional (arbitrary functions of time) and is very flexible; 6 dif-
ferent combinations can be used: current, voltage, and external circuit, with either solid or stranded
conductor options.
The current, stranded conductor option should be used when setting coils of constant cross-sec-
tion made of strands of wire (with no eddy current effects to be taken into account in the coil). The
current can be functional and the specific variation as a function of time can be specified by the
user.
When defining the function, already defined primitives such as sin( ), cos( ), exp( ), etc. can be
used. For arbitrary variations, a piecewise linear capability can also be used by defining the corre-
sponding dataset. You should also specify the number of winding turns.
The current, solid conductor option does not carry the restriction of constant a cross-section. The
current path can have varying cross-section, and can also split as long as in the end all parallel
branches merge into a unique current path. You can also define a functional excitation and apply it
to the winding.
The voltage, strand option is similar to the corresponding current setting, with the obvious differ-
ence being that now the voltage is known, while the current remains unknown. In many situations
when the voltage setup is used, other terminal characteristics that influence the current calculation
are also specified: for instance, series resistance, inductance, and capacitance. No eddy current
effects are taken into account, so a series resistance (DC resistance) must be specified. For this type
of source, the cross-section of each conductor needs to be constant, but the cross-section can differ
from one coil to another, and it is possible to construct windings using coils with different cross-
Note When using the stranded option, coils and, more generally, each individual current path
must have a constant cross-section. However, coils and conductors that may have
different individual cross-sections can be connected in windings.
Maxwell 3D Online Help
23-76 Maxwell 3D Technical Notes
sections. After the solver calculates the total current, the current is uniformly distributed on the
cross-section, as it always is with a stranded option.
The voltage, solid option is chosen when solid conductors with eddy effects are part of the wind-
ing. In this situation, eddy current effects are taken into account. If required by the application, you
should also include other characteristics of the source, such as series resistance, inductance, and
capacitance.
The external strand and external solid settings are used when the circuits attached to the windings
have an increased degree of complexity. In the case of external sources, solid or stranded options
are used, depending on whether or not eddy effects are to be taken into account.
There are normally two phases in the process of defining windings.
1. First, define the terminal(s) by selecting the planar surface(s) as appropriate for the model, and
then assign the coil terminal excitation by specifying the orientation of the current with respect
to the terminal (current in or current out, graphically represented by an arrow). Specify the
actual number of conductors (turns) intersecting the chosen planar surface (coil terminal),
regardless of the symmetry (if any) of the problem.
2. Right-click in the 3D Modeler window, add a new winding from the excitation menu (no need
to select any geometry), and specify the remaining details of the setup (the screen shot below
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-77
shows a sinusoidal current with 10 A amplitude and 100 Hz frequency being used in the setup.
3. Right-click the winding in the property window, and specify the coil terminal(s) that belong to
the winding (unassigned coil terminals are listed and can be selected from the respective win-
Note If external circuits are used in the excitation setup, they need to be created using the
Maxwell Circuit Editor before they can be assigned to windings.
Maxwell 3D Online Help
23-78 Maxwell 3D Technical Notes
dow).
Solution Process for a Transient Solution
The solution process for 3D transient applications poses several challenges not apparent for other
solver types. For instance, the behavior of fields is more complex than it is for static or steady-state
applications, and a special finite element mesh structure is required in order for the software to
accurately represent the physics.
Complex Field Behavior for a Transient Solution
For 3D transient applications, the behavior of the fields is more complex than it is for static or
steady-state applications. A diffusion of the magnetic field into the materials occurs in 3D transient
situations. The distribution of the magnetic field inside objects typically has a number of spatial
harmonics, which usually means the time step used in the analysis should be less (sometimes much
less) than the magnetic diffusion time constant. These time constants depend upon the geometry of
objects and also upon their respective material properties. For example, for a cylinder, the magnetic
diffusion time constant of the fundamental spatial harmonic is given by the following equation:
where is the permeability of the cylinder, is the conductivity, and a is the radius.
a
2
2.4048
2
-------------------
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-79
Special Mesh Structure for a Transient Solution
Since eddy currents are usually considered in conductive objects, a special finite element mesh
structure is required in order to accurately capture the physics. In general, a careful planning of the
(manual) meshing process is required in order to achieve an accurate solution with the available
hardware resources.
Overcoming Challenges for a Transient Solution
There are a number of applications where the combined effects of magnetic diffusion and strong
eddy effects represent a significant challenge. Add the effect of nonlinearities that may also be
present, and you have the full picture of a difficult to solve application.
The following suggestions can help you overcome these challenges presented by some 3D transient
applications:
Use symmetry whenever the problem allows it.
Set the eddy effects only on objects where it really counts.
In general, all unnecessary details, such as details of a geometric nature, should be eliminated,
particularly in cases where a large problem is the expected task.
Boundary Conditions for a Transient Solution
The behavior of the H-field at the edges of the problem space is controlled through boundary con-
ditions. The following boundary conditions can be assigned for a 3D transient model:
Natural boundaries are assigned to the surface between objects.
Neumann boundary conditions (homogeneous) are assigned to the outside faces of the problem
region.
Odd Symmetry (Magnetic Flux Tangential)
Even Symmetry (Magnetic Flux Normal)
Matching
Insulating
Default Boundary Conditions for a Transient Solution
By default, the Boundary/Source Manager automatically assigns the following boundary conditions
for a 3D transient model:
Natural boundaries are assigned to the surface between objects.
Neumann boundary conditions (homogeneous) are assigned to the outside faces of the problem
region.
Natural Boundary Conditions for a Transient Solution
Natural boundary conditions behave the same way as for magnetostatic or eddy (AC) problems:
The normal component of B and the tangential component of H (surfaces without superficial cur-
rent distribution) are continuous.
Maxwell 3D Online Help
23-80 Maxwell 3D Technical Notes
Neumann Boundary Conditions for a Transient Solution
Boundaries with Neumann conditions force the magnetic field (H) to be tangential, and the mag-
netic field (and the associated energy of the field is assumed to be confined to the region with over-
all Neumann boundaries. Typically, Neumann boundaries are placed at sufficient distance from the
sources of the field to avoid an over-constraint of the solution.
By default, the Boundary/Source Manager automatically applies the Neumann boundary to all
faces of the problem region that is, surfaces exposed to the non-meshed space.
Symmetry for a Transient Solution
Symmetry boundary conditions take advantage of the symmetry of a problem. When deciding upon
the symmetry, you must consider the geometry, as well as material properties and source distribu-
tion in space. Using symmetry boundary conditions when possible is very useful, particularly in 3D
transient applications, which typically require large computing resources. Two types of symmetry
are available:
Odd Symmetry (Magnetic Flux Tangential)
Even Symmetry (Magnetic Flux Normal)
These boundary conditions can be assigned to the faces of the problem region.
Odd Symmetry (Magnetic Flux Tangential) for a Transient Solution
Use an odd symmetry boundary to model a plane of symmetry in a symmetric problem in which
current on one side of the plane flows in the opposite direction than current on the other side of the
plane.
Even Symmetry (Magnetic Flux Normal) for a Transient Solution
Use an even boundary to model a plane of symmetry in a symmetric problem in which the direction
of current flow on both sides of the plane is the same. The currents on both sides of the plane are
also assumed to have the same variation in time.
Note If the odd symmetry plane cuts through an object with eddy currents that tend to flow
normal to the magnetic flux tangent boundary, then the odd symmetry condition must be
explicitly applied to the model. In this situation, you cannot rely on the default boundary
condition.
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-81
Examples of symmetry are shown in the following four pictures, where the inductor model pre-
Maxwell 3D Online Help
23-82 Maxwell 3D Technical Notes
sented has three-fold symmetry:
Full Model
Half Model, Magnetic
flux tangent Boundary
condition on the symme-
try plane
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-83
Matching Boundary for a Transient Solution
Matching boundaries allow you to model planes of periodicity where the H field on one surface
exactly matches the H field on another by forcing the magnetic field at each location on one surface
(the "slave" boundary) to match the magnetic field at the corresponding location on the other sur-
face (the "master" boundary). Matching boundaries are used in periodic structures and decrease the
resources used in the computational process.
For matching boundaries, you need to set up both a master and a slave boundary. Unlike symmetry
boundaries on master and slave boundaries, the H field does not need to be either tangential or nor-
mal to these boundaries. However, the H field on the two boundaries must have the same magni-
tude and direction (or the same magnitude and opposite direction) at each time step. The variation
in time of the fields at corresponding locations is the same on matching (master and slave) boundar-
ies.
Quarter Model, 2 mag-
netic flux tangent boundary
conditions
1/8 Model, 2 magnetic flux
tangent boundary condi-
tions (as in 1/4 model), one
magnetic flux normal
boundary condition (bottom
plane)
Maxwell 3D Online Help
23-84 Maxwell 3D Technical Notes
Insulating Boundary for a Transient Solution
An insulating boundary prevents current from flowing across a surface - for instance, the interface
between two adjacent conductors. Use an insulating boundary to model very thin layers of insulat-
ing material between conductors. Modeling thin insulating sheets saves you from the complications
associated with the geometry of the insulation and also speeds up the solution process.
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-85
Meshing and Band Setting Recommendations for 3D Transient
Applications With Motion
Maxwell supports three types of 3D transient problems with motion:
Translational motion (motion along a user specified, linear direction).
Rotational motion (non-cylindrical such as the pivoting rotation around an axis encountered in
the armature of a relay).
Rotational motion (cylindrical, such as the type of rotation encountered in an electric machine
type of application).
Regardless of the particular type of motion involved, all types of motion applications require a band
object that must contain the moving part(s). If there are multiple moving objects, all of the moving
parts must be included in one all-inclusive object this is because they all must be moving as one
rigid body, with a single force acting on the assembly. Also, regardless of the type of motion, the
user must create a mesh density capable of capturing the physical effects characteristic for the spe-
cific application, such as field gradients, skin and proximity effects, etc.
In terms of meshing, the main characteristic of the first two types of motion is that, during the anal-
ysis, a new mesh is created at each time step as the motion occurs. This re-meshed region is always
inside the band object between the moving part(s) and the stationary part(s). The mesh correspond-
ing to the moving part(s) and the stationary part(s) is kept fixed during the analysis. The mesh den-
sity inside the band object is always controlled during the solution process: the edges of any
element created inside the band object during re-meshing will never be larger than the average ele-
ment edge on the entire surface of the band object where it is in contact with both the moving and
stationary parts. Thus, both the mesh density created for the moving part (in the area where it
touches the band) and the mesh density in the stationary part (in the area where it touches the band)
are used to actively control the mesh density in the re-meshed part throughout the entire solution
process. This ensures good solution quality for any aspects conditioned by the quality of the mesh.
In maximizing the quality of the solution for 3D transient applications with motion, a number of
observations and recommendations are available regarding the band object.
For applications with translational and non-cylindrical rotation types of motion:
The band object can touch the symmetry plane if any exists.
The moving object cannot touch a stationary object during motion (the gap between the mov-
ing object and the band can never become zero during analysis). The only exception to this rule
is for the particular case when both the band and moving object surfaces touch a symmetry
plane (if any exists in the respective setup) and the moving object slides along the symmetry
plane (in this case the symmetry plane, respective band, and moving object surfaces coincide);
The band cannot have true surface faces; all faces must be segmented (for example created
with the regular polyhedron primitive).
Maxwell 3D Online Help
23-86 Maxwell 3D Technical Notes
The band object cannot separate the stationary part into unconnected sub-regions.
Hollow objects cannot be used for band objects.
Subtractions cannot be performed within the band object.
For the cylindrical type of rotational motion applications:
For this type of applications the band object must by somewhat larger than the rotating part(s) in
ALL directions with only one exception, at the boundaries, which can just be touched. Thus the
band object must effectively enclose the moving part, not just by touching it, in the radial and axial
directions; so users have to leave some "room" between band and surrounding objects. The only
exceptions allowed to the requirement mentioned above are: symmetry plane (if any exists), M-S or
other boundaries as applicable for the application, can be touched i.e. at those planes it is allowed
for the band surface(s) to coincide with the respective planes.
Additionally, the following observations are also applicable:
For the band object, always use a facetted (regular polyhedron) type of cylindrical object or a
wedge object if symmetry is used. The angular aperture of each facet depends on the problem;
however, an opening of 2-3 degrees per facet is usually sufficient.
Hollow cylinders cannot be used for band objects.
Subtractions cannot be performed within the band object.
The band object can separate the stationary part into unconnected sub-regions (a rotor sand-
wiched between two stators is allowed).
Fig.1 Band cannot separate the stationary part into unconnected regions
Stationary sub-region1
Band
Stationary sub-region2
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-87
Non-cylindrical band objects are allowed.
Fig. 2 Rotor and stator assembly with band object in between
Fig. 3 Band object
band
Maxwell 3D Online Help
23-88 Maxwell 3D Technical Notes
Geometric Objects Bondwires
A bondwire is a thin metal wire that connects a metal signal trace with a chip. You can choose to
draw a standard JEDEC 4-point bondwire, as shown below:
where
h1 = the height between the bond pad point and the top of the loop.
h2 = the height between the lead point and the bond pad point.
radius = half the diameter, or thickness of the wire.
You can draw a standard JEDEC 5-point bondwire, as shown below:
where
= the angle between the horizontal plane and the wire at the bond pad point.
= the angle between the horizontal plane and the wire at the lead point.
When drawing the bondwire, first select the bond pad point, a point in 3D space that defines the
bond pad position in a horizontal plane. Then select the lead point, which indicates the distance the
wire covers in the horizontal plane. Maxwell uses the distance between the bond pad and lead
points to calculate the height between the bond pad and the lead point, or h2, a value that you can
modify in the Bondwires dialog box.
Related Topics
Drawing Bondwires
Bond Pad Point
Lead Point
Horizontal Plane
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-89
Healing Models
The underlying solid modeling technology used by Ansoft products is provided by ACIS geometric
modeler. Users can create directly models using primitives and operations on primitives. In addi-
tion, users can import models saved in a variety of formats (Step, IGES, etc.) All the models are
stored internally in ACIS native format (sat format). When users import models into Ansoft prod-
ucts, translators are invoked that convert the models to sat format. ACIS regularly upgrades their
solid modeling system and different versions of Ansoft products like HFSS, Maxwell, Q3D use dif-
ferent versions of ACIS. Third party vendors also create files in ACIS sat format but the data in the
files is in some cases not robust.
All of the above contribute to errors when a model is read. When translating from (for example)
IGES to sat, some accuracy is lost. Not all third party vendors write files to the supported formats
with a high level of accuracy. Third party vendors sometimes create invalid sat files the sat files
are either targeted at earlier versions of ACIS or incorporate invalid elements in the sat file. Some-
times there are errors in reading a file generated by an earlier version of ACIS with the current ver-
sion of ACIS (for example, reading HFSS 9.2 files in HFSS 10 sometimes causes errors).
There is a final issue with using ACIS as the modeler when working with imported models. ACIS
can handle mixed dimensionality models. It works with manifold and non-manifold bodies as well
as sheet bodies, wire bodies and solid bodies. One of the goals of our use of the ACIS modeling
system is to create a valid volumetric mesh for simulation. Mixed dimensionality models will not
yield a valid volumetric mesh. If users use Ansoft products exclusively to create geometry models,
they are less likely to create invalid models. Imported models are more likely to have errors in
geometry and topology definition.
Related Topics
Technical Notes: Error Types
Technical Notes: Detecting Errors
Technical Notes: Healing and Meshing
Analyzing Objects
Analyzing Interobject Misalignment
Analyzing Surface Mesh
Healing an Imported Object
Validating Projects
Error Types
When models are imported there are two types of errors geometry errors and topology errors.
Geometry errors are errors in definition of the underlying geometry while topology errors are errors
in how the underlying components like faces, edges and vertices are connected. These have to be
fixed before mesh analysis can be performed.
Maxwell 3D Online Help
23-90 Maxwell 3D Technical Notes
When models pass the initial validity checks, mesh generation could still fail. If bodies in the model
overlap, mesh will not be invoked. If bodies are very close to each other, mesh might fail. Small
features (small edges, small edges, sliver edges) might be present in the bodies which might cause
mesh to fail.
The following are common errors present in models:-
1. api_check_entity() errors. These are errors detected by ACIS and are geometry and topology
errors.
2. non-manifold topology. These are non-manifold edges and vertices that are present in the
model.
3. Body pair intersection. This detects if pairs of bodies intersect.
4. Small feature detection small edge length, small face area and sliver face detection.
5. Mis-aligned entities detection detects pairs of faces from bodies that can be aligned to
remove interbody intersections. This improves the odds of mesh success.
6. Mesh failure error display. This is available for single body, body pairs and last simulation run
(all bodies in model). Errors reported by the meshing module are reported to the user.
Errors of type 1, 2, and 3 must be resolved before the mesh can be applied to the model.
Detecting Errors
Errors in the model can be detected by the following methods:
1. Perform a validation check (Maxwell3D >Validation check). This returns the following types
of errors api_check_entity() errors, non-manifold errors, and intersection errors and
works on all the bodies present in the model.
2. Run an object analysis (Modeler >Model Analysis >Analyze Objects) on a subset of bodies
in the model. This returns api_check_entity() errors and non-manifold edge/vertex errors, and,
optionally small edge, small face and sliver face detection errors.
3. Run an interobject misalignment analysis (Modeler >Model Analysis >Analyze Interobject
Misalignment). This yields face pairs from different bodies that are slightly misaligned with
respect to each other. This misalignment causes the faces to intersect each other or to create
small volumetric portion between the bodies that might cause mesh to fail. If these faces are
aligned that is, the faces are made to share the same surface definition then the gap
between the faces is eliminated and there is a higher likelihood that the mesh will succeed.
4. Run a surface mesh analysis (Modeler >Model Analysis >Analyze Surface Mesh). For the
selected bodies, a mesh is invoked on each individual body and, optionally, on body pairs.
Errors from running the mesh analysis are displayed, helping you focus on bodies/body pairs
that fail meshing. If these are fixed, there is a higher probability that the mesh will succeed.
5. Mesh errors from the last simulation run are displayed.
Errors for 2, 3, 4 and 5 are displayed in the Model Analysis dialog box. Using the menu items for
2, 3 and 4 displays the dialog box. This dialog box can also be opened by clicking Modeler
>Model Analysis >Show Analysis Dialog.
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-91
Healing and Meshing
Potential problems with 3D Models
This section lists problems that can prevent a 3D model from being meshed successfully. Subse-
quent sections will describe how these problems can be detected and addressed.
ACIS errors
The underlying solid modeling technology used by Ansoft's 3D products Maxwell, HFSS and Q3D
is provided by the ACIS geometric modeler. You can create models directly in the drawing environ-
ment of these Ansoft products using primitives, such as boxes, cylinders, etc. and operations on
primitives, such as Boolean operations. In addition, you can import models produced by other CAD
tools in a variety of formats such as STEP, IGES, etc. In Ansoft's 3D products, all models have to
be stored internally in ACIS' native format, known as sat format. When you import models into
Ansoft products, translators are invoked that convert the models to sat format. Often, models that
were created in other CAD tools were created initially for other purposes than electromagnetic
analysis, such as,. for mechanical design or just for display purposes. They may have imperfections
that make them illegal to ACIS. Further, there can be compatibility issues between different ver-
sions and even flavors of modeling tools. All this can lead to errors in imported 3D models.
If you use Ansoft products to create geometry models, and thereby avoid model import and transla-
tion, you are unlikely to encounter such problems.
Mixed dimensionality
Even if a model is imported and translated without errors, there is a restriction to be aware of. ACIS
can handle mixed-dimensionality models. One of the goals of Ansoft's use of the ACIS modeling
system is to create a valid volumetric mesh for simulation. Mixed-dimensionality models will not
yield a valid volumetric mesh. Therefore, the Ansoft tools will not mesh objects with mixed dimen-
sionality, so-called non-manifold objects. For instance, imagine a 3D object representing a curved
metal plate with a small but finite thickness. If it reaches zero thickness somewhere while having
non-zero thickness elsewhere, it has mixed dimensionality, 2D as well as 3D. You will get an error
message saying that the object is non manifold. Of course, 2D and 3D objects can co-exist in a
model, but any one object cannot be both 2D and 3D.
Intersecting objects
Another restriction is that Ansoft 3D tools do not allow partial intersections (also known as partial
overlaps) between 3D objects. Each element of the mesh has to belong unambiguously to one
object. There is no problem if one object is enclosed completely inside a bigger object, but partial
intersections lead to ambiguities. As long as there are partial object intersections, the mesh genera-
tor will not attempt to create a mesh. Instead, you will get an error message notifying you which
objects are intersecting. You must remove the intersections before you can proceed. You can do this
by changing the shapes of objects slightly, or by subtracting one object from the other.
Caveat: If, as a result of a subtraction, the model has pairs of true surfaces that are coincident (that
is, smooth curved surfaces that fit exactly one inside the other), you make it harder for the mesh
Maxwell 3D Online Help
23-92 Maxwell 3D Technical Notes
generator to create a mesh. This is because ACIS creates segmentations on each of these surfaces,
and these segmentations are not guaranteed to fit. Setting a small value for Surface Deviation
under Mesh Operations>Assign>Surface Approximation increases your chance of success in such
a case, but it is better to avoid such situations if you can.
Small features and misalignment
When there are no ACIS errors in the model, no non-manifold objects and no partial object inter-
sections, the mesh generator can be invoked to create a valid mesh for the electromagnetic analysis.
Even if the geometry is valid, mesh generation can still fail. Possible causes are the presence of
very short edges, very small faces, long and thin sliver faces, and slight misalignments between
faces that are supposed to be coincident.
Related Topics
Technical Notes: Detecting and Addressing Model Problems to Improve Meshing
Detecting and Addressing Model Problems to Improve Meshing
The following sections describe a systematic procedure to detect and address model problems that
can interfere with the meshing process.
Technical Notes: Healing During Geometry Import
Technical Notes: Healing After Geometry Import
Technical Notes: Removing Object Intersections
Technical Notes: Removing Small Features
Technical Notes: Aligning Objects
Technical Notes: Troubleshooting if Meshing Still Fails
Stage One: Healing during geometry import
In case you do not draw your entire geometry in the Ansoft environment but wish to import (part
of) it, in the Import File window you select which geometry file to import. At the bottom of this
window is a check box "Heal Imported Objects". Two modes exist, "auto" and "manual". Auto
Healing will try to address ACIS errors and non-manifold errors, the first two classes of potential
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-93
problems listed earlier. It will also fix surface normals in the body and updating orientation of body,
to avoid having a body with negative volume.
Manual healing adds small-feature removal to this. You can remove small features at this stage if
you wish. However, the usual approach is to apply auto-healing at this stage and leave small-feature
removal until later.
Stage Two: Healing after geometry import
Healing can only be performed on objects that have no drawing history other than "import". If nec-
essary, object history can be deleted through Modeler >Purge History. If that causes a warning
that another object will be deleted, you may need to purge the history of that other object first, or
purge the histories of several objects simultaneously.
At any time after import, you can perform a Validation Check: Maxwell3D >Validation Check.
This will enable you to focus on bodies and body pairs that need attention before a mesh can be cre-
ated.
1. Select the objects that have ACIS errors, such as failing api_check_entity(), and the objects
that have non-manifold features, i.e. mixed dimensionality.
2. Invoke Modeler >Model Analysis >Analyze Objects.
Maxwell 3D Online Help
23-94 Maxwell 3D Technical Notes
This will bring up an Options dialog to set thresholds for small feature detection and on com-
pletion, the Model Analysis dialog is displayed. All bodies in the model are shown in the
objects grid along with their status. Bodies can have the following status:
1. Good
2. Null Body
3. Analysis not performed
4. Invalid entities found
5. Small-entity errors
Invalid-entity errors are ACIS errors and non-manifold errors. Small-entity errors are small faces,
sliver faces and small edges that are optionally detected based on user-defined parameters.
To fix invalid entity errors:
1. Choose the bodies that have "Invalid Entities Found."
2. In the same window, choose Perform->Heal Objects, with or without an optional setting for
small-feature removal.
In most cases, the bodies will be healed and the errors fixed.
3. If errors still persist, choose "offending" faces and edges and click on Delete.
This will replace the selected face/edge entity by a tolerant edge/vertex respectively.
In order to avoid unintended changes, it is good practice to do the following:
1. At the bottom of the Model Analysis window, check the box "Auto Zoom to Selection."
2. Select one face or edge at a time
3. Decide for each face and edge whether you want to delete it.
Note Invalid-entity errors must be fixed before a mesh can be generated.
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-95
In some cases the replacement of the face/edge by tolerant edge/vertex will fail. If the object
remains invalid, you know at this point what parts of the object are invalid. You will need to change
that part of the object manually, either in Ansoft's drawing environment or in the original CAD tool,
to make it pass. Often, the invalid entities are in small details that can be changed without notice-
ably affecting the results of the electromagnetic analysis. For example, it may be possible to create
a small object, well placed in the "offending" region, and to unite it with or subtract it from the
problematic object, such that the "offending" details no longer exist.
Stage Three: Removing Object Intersections
If there are any intersecting objects, a Validation Check will list them. You must eliminate object
intersections before a mesh can be created.
In complicated models, before making changes, it is good practice to inspect the overlap visually. A
way to do this is to:
1. Duplicate both objects and place the copies outside the model.
2. Perform Boolean Intersect on the copies.
Note Healing causes changes to the geometry and topology of the body being
healed. Validation check has to be re-run after healing is done to identify
body pairs that intersect. It is possible that after healing, bodies that were
disjoint before now overlap.
Maxwell 3D Online Help
23-96 Maxwell 3D Technical Notes
This will show you what causes the intersection and will help you decide how to remove it.
3. Then, delete the copies.
The easiest way to eliminate object overlap is to subtract one object from the other, in the order that
leaves the desired material in the region of overlap. If the overlap is very small and you can choose
the order of subtraction, choose one that does not create coincident true surfaces, if possible.
Caveat: if as a result of a subtraction the model has pairs of true surfaces that are coincident, that is,
smooth curved surfaces that fit exactly one inside the other, you will make it harder for the mesh
generator to create a mesh. This is because ACIS will create segmentations on each of these sur-
faces, and these segmentations are not guaranteed to fit. Setting a small value for Surface Devia-
tion under Mesh Operations>Assign>Surface Approximation increases your chance of success
in such a case, but it's better to avoid such situations if you can.
A way to eliminate object intersections without subtraction is to split one object in parts, in such a
way that some parts are completely enclosed in the other object, and some parts are completely out-
side the other object. Even for complicated objects, this is possible through a sequence of Boolean
operations on the objects and copies of the objects.
At this point, the geometry has no ACIS errors, no non-manifold objects and no partial object inter-
sections. A mesh can be created for the electromagnetic analysis.
Stage Four: Removing Small Features
Even though, in principle, the geometry may be ready for a mesh to be created, it is possible that
small features in the geometry lead to a mesh that is unnecessarily large and contains long and thin
tetrahedra that make the simulation converge slower. Small features may even cause the mesh gen-
eration to fail. By small, we mean details on an object that are thousands of times smaller than the
main features of the object, and that, in most cases, are unintended consequences of the drawing
history in another CAD tool. Therefore, it is advantageous to remove small features.
To do this, you may need to purge the history of objects, since healing and related operations can
only be performed on objects without history beyond import. You may have noticed that you could
have invoked small-feature removal at several earlier stages. There is no objection to doing it ear-
lier. The reason why it is presented here as stage four is that the previous stages were necessary
while this one is optional.
To start the small-feature removal:
1. Select objects and invoke object analysis through Modeler >Model Analysis >Analyze
Objects.
Alternatively, without objects selected, use Modeler >Model Analysis >Show Analysis Dia-
log >Objects and select objects from the list. In the Model Analysis window, invoke Perform
>Analyze Objects.
The software will report the smallest edge length and the smallest face area, and enable you to
set thresholds for the detection of short edges, small faces and sliver faces.
2. Upon clicking OK, the analysis is performed.
As a result of the analysis, the software presents a list of all faces and edges that do not meet
the thresholds set by you.
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-97
3. Check the box "Auto-Zoom to Selection" at the bottom of the Model Analysis window and
click on small faces and short edges in the list.
Inspect them visually and decide whether they can be deleted. It is good practice to delete them
one by one rather than deleting many at once in order to prevent unintended changes.
Sometimes, an edge or face cannot be deleted, and you get a message notifying you. In that
case, either ignore it, or revisit it after deleting some other details first, or revisit it later manu-
ally in the 3D drawing environment.
At this point, the geometry has no ACIS errors, no non-manifold objects and no partial object
intersections. Furthermore, there are fewer small features that were unintended or unimportant
for the electromagnetic analysis, so the quality of the model has improved.
Stage Five: Aligning Objects
Objects that touch each other in imported geometries do not always have well-aligned faces. Often,
this is a consequence of the limited level of precision in the imported file. Misaligned faces can
cause tiny object intersections or tiny gaps between objects, which in turn can lead to an inefficient
mesh or even a failure to create the mesh.
To repair such occurrences in an automated way, you can select groups of objects and invoke Mod-
eler >Model Analysis >Analyze Interobject Misalignment. This will yield face pairs from differ-
ent bodies that are slightly misaligned with respect to each other.
In the window that shows this list, check the box "Auto-Zoom to Selection" and select face pairs
from the list. When you decide that faces should be aligned, click Align Faces. In some cases, face
alignment will fail if the topology of the body would change by a large amount after alignment. In
that case, you can decide to ignore it, as it may not be a problem, or revisit it later manually in the
3D Modeler environment.
Stage Six: Troubleshooting if meshing still fails
If mesh generation fails, information about the reasons for the failure is presented under Modeler
>Model Analysis >Show Analysis Dialog >Last Simulation Mesh.
Again, check the box "Auto Zoom to Selection" and click on the errors in the list. This can give you
hints about which parts of the model are causing difficulties.
Note In complicated models, the Interobject Misalignment analysis can take a long time if
you select all objects before launching the analysis. If you do not know which pairs of
objects to analyze, just let the mesh generator try to make a mesh. If the mesh fails, a list
is presented to you of misalignments that the mesh generator finds suspicious but did not
want to adjust without permission. Not every misalignment in the list is always a
problem: this is a list of features that might need your attention.
Note As face misalignments between touching objects can cause small object intersections,
this alignment capability can already serve a useful role in stage three.
Maxwell 3D Online Help
23-98 Maxwell 3D Technical Notes
For instance, there may be self-intersecting bodies or faces. Such errors can have a variety of
causes, such as a face that is supposed to be planar, but of which the vertices do not quite lie in the
same plane. When you zoom and search you are likely to see what causes the problem.
Also, there may be face misalignments. Once you know they exist, you can inspect them and decide
whether to align them under the Objects Misalignment tab.
One of the tabs of the Model Analysis window is the Surface Mesh tab. Under that tab, you can
try to create surface meshes for objects and pairs of objects. Since a surface mesh on selected
objects is easier to create than a volume mesh for the whole model, this can help you to identify
quickly which objects are causing difficulties and why.
Also, in order to determine which objects are causing difficulties, you can exclude objects tempo-
rarily from the model. If the mesh succeeds without them, this helps to identify the reason for fail-
ure. To exclude an object temporarily, select it and uncheck "Model" in its properties window. Then
try to create the mesh again.
Once you know which objects make the mesh fail, you can try to make small changes to them that
do not affect the electrical properties noticeably but help the mesh maker succeed. For example:
Zoom in on details and consider removing details;
Find coincident true surfaces and move one of the faces over a very short distance so the pair
of faces is not coincident anymore;
Split very complicated objects into multiple less-complicated objects;
Delete a complicated 3D ground object and create a 2D ground through a boundary condition
on the appropriate faces of a dielectric;
Replace imported objects by objects drawn in Ansoft's 3D modeling environment. For
instance, some CAD tools produce cylinders that consist of two half cylinders that have a seam
where they join. The fit is not always perfect.
Finally, for coincident true surfaces, set a very small value for Surface Deviation under Mesh
Operations > Assign > Surface Approximation. ACIS will give them more segments, but you
can compensate for that with Model Resolution. In a parametric sweep, you can experiment with
settings for Surface Deviation and Model Resolution.
Related Topics
Analyze Objects
Analyze Interobject Misalignment
Analyze Surface Mesh
Healing
Validating Projects
Handling Complicated Models
Complicated models, often imported from a CAD tool or layout tool, may slow down the interface,
use a lot of RAM during file I/O and other operations, contain imperfections and object overlaps.
After analysis, post processing of such models may be time consuming. Maxwell has several
options and features that address these problems.
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-99
Interface Options for Complicated Models
RAM Settings for Complicated Models
Geometry Imperfections and Complicated Models
Object Overlap Settings for Complicated Models
Post Processing Settings for Complicated Models
Interface Options for Complicated Models
To improve the speed of the interface when dealing with complicated geometries, do the following:
Under Tools>Options>Modeler Options, on the Display tab...
Set "Default View Render" to "Wire Frame". Wire-frame rendering is faster than shaded ren-
dering.
Turn off "Display UV Isolines". For models with curved faces, this will simplify the wire-
frame display, so the rendering will be faster.
Turn off "Visualize History of Objects". This will remove visualization of objects that are part
of the model history. For large models, this is faster and uses less memory.
Under View>Visualization Settings
Use larger deviations to view curved objects in less detail.
Under Modeler>Import
Un-check "Check Model" and "Heal Imported Objects." This helps for complicated models:
Validation and healing take considerable time for such models. Use this option to defer check-
ing to a later stage (especially in cases where you know that you want to mesh the model as is).
Under Tools>Options>General Options, on the Project Options tab
Turn off "Do Autosave" or set the autosave interval to a larger value, e.g. 50. Auto-save can be
time consuming.
RAM Settings for Large Geometries
Modeler>Support Large Geometry Import
Use this to reduce memory during file I/O and other operations for very large imported geometry.
Only in exceptional cases will this need to be set.
Large-address awareness
Some 32-bit versions of Windows operating systems don't allow, by default, executables to access
more than 2 GB of address space. If such an operating system is used on a machine with more than
2 GB RAM, this maximum can be raised to 3 GB by adding the switch /3GB to the file boot.ini
which resides, as a hidden file, on the C:\ drive. More information can be found on www.micro-
soft.com, e.g. by searching for the string /3GB .
Geometry Imperfections and Complicated Models
Modeler>Import
Many formats can be handled. It is recommended to import a version of the geometry that is as
close as possible to its source, rather than geometries that have been translated before from one for-
Maxwell 3D Online Help
23-100 Maxwell 3D Technical Notes
mat to another, or that have been imported into another computational tool and later exported from
it.
Modeler>Validation Settings
Geometry imperfections are listed as ACIS errors when executing Maxwell3D>Validation Check
and when starting an analysis. It is recommended to attempt to heal objects with such errors. How-
ever, Maxwell enables you to bypass the errors (not the check itself) by choosing a setting under
Modeler>Validation Settings. "Warning Only" enables you to ignore all errors. "Basic" enables
you to bypass all but the most severe errors. The Maxwell mesh generator has been enhanced to
handle many geometry errors.
Object Overlap Settings for Complicated Models
In the Set Material Override Tab in the Maxwell3D>Design Settings menu...
Complicated geometries often have small object overlaps. This setting will allow overlaps between
dielectrics and metals. In the overlap region, the metal will locally take priority over the dielectric,
as if this part of the dielectric has been subtracted. Overlaps between two dielectrics and overlaps
between two metals are still not allowed.
Post Processing for Complicated Models
Under Tools>Options>General Options, on the Miscellaneous Options tab...
Turn off "Dynamically update postprocessing data during edits". This will disable expensive
updating of existing reports and plots.
Turn off "Update reports on file open". This will disable expensive updating of reports and
plots when opening a project.
Under Maxwell3D>Fields>Modify Plot Attributes, on the Plots tab
Set Plot Quality to Coarse, and save as default. This will make field plots much faster. The
fields will not be as smoothly approximated within each tetrahedron, but this should not be
noticeable on very large meshes.
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-101
Materials
This section of the Technical Notes includes information on the following material properties:
Simple Materials
Relative Permeability
Relative Permittivity
Bulk Conductivity
Dielectric Loss Tangent
Magnetic Loss Tangent
Frequency Dependent
Frequency-dependent material properties.
Debye Materials
Anisotropic materials
Anisotropic materials
Anisotropic relative permeability tensors
Anisotropic relative permittivity tensors
Anisotropic conductivity tensors
Anisotropic dielectric loss tangent tensors
Anisotropic magnetic loss tangent tensors
Anisotropic materials and ports
Ferrite materials
Magnetic Saturation
Lande G Factor
Delta H
Relative Permeability
The permeability of dielectrics is assumed to be complex, as follows:
The relative permeability is a dimensionless quantity, defined as follows:
where
0
is the permeability of free space.
The permeability can also be expressed as
where is the real portion of and / is the magnetic loss tangent.
' j '' =
'
r
0
=
' 1 ( j
''
'
.
|
=
Maxwell 3D Online Help
23-102 Maxwell 3D Technical Notes
Relative Permittivity
The permittivity of dielectrics is assumed to be complex, as follows:
which can also be expressed as
where is the real portion of and from which the relative permittivity is defined as:
where
0
is the permittivity of free space.
/ is the dielectric loss tangent.
If a materials losses due to bulk conductivity will be significant, such as in semiconductor dielec-
tric materials, an additional bulk conductivity value, , must be added. From the time harmonic
form of Maxwells equations, the complex permittivity,
c
is defined as
where
Bulk Conductivity
Maxwell is capable of including conductivity in the model either as a bulk material loss factor, sim-
ilar to dielectric loss tangent, or as an impedance boundary condition applied to the outer surfaces
of the object. The choice of bulk material loss instead of the boundary condition is made by select-
ing Solve Inside in the Properties window.
The choice between bulk material loss and the surface boundary condition is problem dependent.
The boundary condition should be applied whenever the conductor is much thicker than the skin
depth at the solution frequency. In this case, the unknowns within the conductor are not included in
the unknown vector, resulting in a smaller matrix and a faster analysis. However, if the conductor is
not thick relative to the skin depth, the bulk material conductivity must be used to arrive at an accu-
rate solution. With this assumption, the wave equation reduces to
' j '' =
' 1 ( j
''
'
.
|
=
'
r
0
=
H j + ( )E j
c
E = =
c
1 ( j j
-------
tan
.
|
=
1
j
--------- E
\ .
| |
j + ( )E =
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-103
Dielectric Loss Tangent
To represent a dielectric that dissipates the power of a high-frequency electric field, enter a dielec-
tric loss tangent, /, property value for the material. The smaller the loss tangent, the less lossy
the material.
The dielectric loss tangent may vary with frequency. To simulate the variances, define a function
for the dielectric loss tangent.
Magnetic Loss Tangent
To represent a dielectric that dissipates the power of a high-frequency magnetic field, enter a mag-
netic loss tangent, /, property value for the material. The smaller the loss tangent, the less
lossy the material.
Ferrite Materials
Ferrite materials are used to model the interaction between a microwave signal and a material
whose magnetic dipole moments are aligned with an applied bias field. The gyrotropic quality of
the ferrite is evident in the permeability tensor which is Hermitian in the lossless case. The Hermi-
tian tensor form leads to the non-reciprocal nature of the devices containing microwave ferrites. If
the microwave signal is circularly polarized in the same direction as the precession of the magnetic
dipole moments, the signal interacts strongly with the material. When the signal is polarized in the
opposite direction to the precession, the interaction will be weaker. Because the interaction between
the signal and material depends on the direction of the rotation, the signal propagates through a fer-
rite material differently in different directions.
If you assign a ferrite material to an object, you must assign a magnetic bias source to the object.
Magnetic Saturation
A material with a non-zero magnetic saturation is considered to be a ferrite. When a ferrite is placed
in a uniform magnetic field, the magnetic dipole moments of the material begin to align with the
field. As the strength of the applied bias field increases, more of the dipole moments align. The
magnetic saturation, M
s
, is a property that describes the point at which all of the magnetic dipole
moments of the material become aligned. At this point, further increases in the applied bias field
Note If you plan to do a fast frequency sweep for a design that includes dielectrics, make sure
that the dielectric or magnetic loss tangent does not vary significantly over the requested
frequency range. If they do, the results may not be what you expect. In cases where the
loss tangent does vary significantly over the frequency range in which you are interested,
copy and solve the design several times, adjusting the loss tangent and associated
frequency range for the copied design so that the loss tangent is relatively stable over the
designs requested frequency range.
Maxwell 3D Online Help
23-104 Maxwell 3D Technical Notes
strength do not result in further saturation. The relationship between the magnetic moment, M and
the applied bias field, H, is shown below.
The magnetic saturation, 4M, is entered in gauss.
Lande G Factor
The Lande g factor is a ferrite property that, on a microscopic level, describes the total magnetic
moment of the electrons according to the relative contributions of the orbital moment and the spin
moment. When the total magnetic moment is due entirely to the orbital moment, g is equal to one.
When the total magnetic moment is due entirely to the spin moment, g is equal to two. For most
microwave ferrite materials, g has a range from 1.99 to 2.01. The Lande g factor is dimensionless.
Delta H
Delta H is the full resonance line width at half-maximum, which is measured during a ferromag-
netic resonance measurement. It relates to how rapidly a precessional mode in the biased ferrite will
damp out when the excitation is removed. The factor doesnt appear in the permeability tensor;
instead, the factor appears. The factor is computed from
The factor changes the and terms in the permeability tensor from real to complex, which
makes the tensor complex non-symmetric (where it had been hermitian for lossless ferrites).
Enter the full resonance line width at half maximum in the Delta H value box. Delta H is measured
at a specific frequency. That frequency needs to be entered by the user at the interface. 9.4 Ghz is
the frequency where Delta H is typically measured.
Anisotropic Materials
Anisotropic materials have characteristics that vary with direction. These characteristics are
defined by their anisotropy tensors. You must define three diagonals each for anisotropic permittiv-
ity, electric loss tangent, conductivity, permeability, and magnetic loss tangent. Each diagonal rep-
resents a tensor of your model along an axis. The alignment of the materials axis with respect to the
object is discussed in Assigning Material Property Types.
The following anisotropic characteristics can be defined:
Anisotropic relative permeability tensors
Applied bias field H
M
M
a
g
n
e
t
i
c
M
o
m
e
n
t
M
0
s
0
H
2
----------------- =
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-105
Anisotropic relative permittivity tensors
Anisotropic conductivity tensors
Anisotropic dielectric loss tangent tensors
Anisotropic magnetic loss tangent tensors
Anisotropic materials and ports
Related Topics
Assigning Material Property Types
Setting Coordinate Systems
Creating a Relative Coordinate System
Change the Orientation of an object
Relative Permeability
Anisotropic Relative Permeability Tensors
Relative Permittivity
Bulk Conductivity
Dielectric Loss Tangent
Magnetic Loss Tangent
Anisotropic Relative Permeability Tensors
The relative permeability tensor for an anisotropic material is described by
where
1
is the relative permeability along one axis of the materials permeability tensor.
2
is the relative permeability along the second axis.
3
is the relative permeability along the third axis.
0
is the permeability of free space.
The relationship between B and H is:
[ ]
0
0 0
0
2
0
0
0 0
3
0
=
x
y v
z w
B
x
B
y
B
z
H
x
H
y
H
z
=
Maxwell 3D Online Help
23-106 Maxwell 3D Technical Notes
To specify the relative permeability for an anisotropic material, enter the
1
,
2
, and
3
values in
the Value boxes of the T(1,1), T(2,2), and T(3,3) rows, respectively. If the relative permeability is
the same in all directions, use the same value for
1
,
2
, and
3.
These values can also be entered as
variables.
Anisotropic Relative Permittivity Tensors
The relative permittivity tensor for an anisotropic material is described by
where
1
is the relative permittivity of the material along one tensor axis.
2
is the relative permittivity along the second axis.
3
is the relative permittivity along the third axis.
0
is the permittivity of free space.
The relationship between E and D is then
To specify the relative permittivity for an anisotropic material, enter the
1
,
2
, and
3
values in the
Value boxes of the T(1,1), T(2,2), and T(3,3) rows, respectively. These values can also be entered
as variables.
Anisotropic Conductivity Tensors
The conductivity tensor for an anisotropic material is described by
where
1
is the relative conductivity along one axis of the materials conductivity tensor.
2
is the relative conductivity along the second axis.
3
is the relative conductivity along the third axis.
0
0 0
0
2
0
0
0 0
3
0
=
x
y v
z w
D
x
D
y
D
z
E
x
E
y
E
z
=
[ ]
1
0 0
0
2
0
0 0
3
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-107
The relationship between J and E is then:
To specify the conductivity for an anisotropic material, enter the
1
,
2
, and
3
values in the Value
boxes of the T(1,1), T(2,2), and T(3,3) rows, respectively. The values of
1
and
2
apply to axes
that lie in the xy cross-section being modeled. The values of
3
apply to the z-component. These
values affect current flowing in dielectrics between the conductors. These values can also be
entered as variables.
Anisotropic Dielectric Loss Tangent Tensors
The dielectric loss tangent tensor for an anisotropic material is described by
where
tan
1
is the ratio of the imaginary relative permittivity to the real relative permittivity in one
direction.
tan
2
is the ratio of the imaginary relative permittivity to the real relative permittivity in the
second direction.
tan
3
is the ratio of the imaginary relative permittivity to the real relative permittivity in the
third orthogonal direction.
x
y v
z w
J
x
J
y
J
z
E
x
E
y
E
z
=
[ ]
'
1
1 j
1
tan ( ) 0 0
0 '
2
1 j
2
tan ( ) 0
0 0 '
3
1 j
3
tan ( )
=
1
tan
1
1
------- =
2
tan
2
2
------- =
3
tan
3
3
------- =
Maxwell 3D Online Help
23-108 Maxwell 3D Technical Notes
, , and are the real relative permittivities specified earlier.
The relationship between D and E will then be
To specify the electric loss tangent for an anisotropic material, enter the tan
1
, tan
2
, and tan
3
val-
ues in the Value boxes of the T(1,1), T(2,2), and T(3,3) rows, respectively. These values can also
be entered as variables.
Anisotropic Magnetic Loss Tangent Tensors
The magnetic loss tangent tensor for an anisotropic material is described by
where
tan
M1
is the ratio of the imaginary relative permeability to the real relative permeability in
one direction.
tan
M2
is the ratio of the imaginary relative permeability to the real relative permeability in the
second direction.
tan
M3
is the ratio of the imaginary relative permeability to the real relative permeability in the
third orthogonal direction.
, , and are the real relative permeabilities specified earlier.
1
2
3
x
y v
z w
D
x
D
y
D
z
[ ]
E
x
E
y
E
z
=
[ ]
'
1
1 j
M1
tan ( ) 0 0
0 '
2
1 j
M2
tan ( ) 0
0 0 '
3
1 j
M3
tan ( )
=
M1
tan
1
1
-------- =
M2
tan
2
2
-------- =
M3
tan
3
3
-------- =
1
2
3
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-109
The relationship between B and H will then be
To specify the magnetic loss tangent for an anisotropic material, enter the tan
M1
, tan
M2
, and
tan
M3
values in the Value boxes of the T(1,1), T(2,2), and T(3,3) rows, respectively. These values
can also be entered as functions.
Anisotropic Materials and Ports
An anisotropic material can be in contact with a port under the following conditions:
One principal axis of the anisotropic material is aligned normal to the port.
Frequency-Dependent Material Properties
The properties of some materials vary with the frequency of the field excitation. This frequency
dependence is often linear within a certain frequency range and constant outside of the frequency
range, as shown below,
where
epsr
lower
is the relative permittivity of a material below the frequency range 20 - 50 GHz.
epsr
upper
is the relative permittivity of a material above the frequency range 20 - 50 GHz.
f
lower
is the lower frequency, below which the material property is constant.
f
upper
is the upper frequency, above which the material property is constant.
x
y v
z w
B
x
B
y
B
z
[ ]
H
x
H
y
H
z
=
Maxwell 3D Online Help
23-110 Maxwell 3D Technical Notes
In general, to account for this variance within a given frequency range, use the Piecewise Linear
Material Input window dialog box to specify a propertys values at frequencies below and above
the frequency range. Based on these values, Maxwell automatically creates a linear dataset that
specifies the propertys values at the desired frequencies during solution generation. This dataset
can be modified with additional points if desired.
Debye Materials
If the material is a lossy dielectric with a lower frequency near DC, use the Loss Model Material
Input dialog box to specify the materials conductivity at DC or, if you prefer, its loss tangent
value at the lower frequency. Maxwell also enables you to specify the lossy dielectric materials
high frequency/optical permittivity.
In materials commonly encountered in mircowave applications ion and dipole polarization domi-
nate. These polarization types can be described by Debyes relaxation polarization model:
where
= the relaxation time.
rstatic
= the static permittivity.
roptical
= the high frequency/optical permittivity.
Maxwell uses the values you specify in the Loss Model Material Input dialog box in Debyes
equation above to determine the relative permittivity at any frequency.
Debyes model is valid for most microwave applications. If the frequency exceeds the limit of
Debyes model, other models that take atomic and electron polarization into account are available.
Frequency-dependent materials are appropriate for problems solved using a discrete or interpolat-
ing sweep. In a fast sweep, frequency dependent material properties are evaluated at the center fre-
quency which may result in less accurate results at the sweep extremes, depending on the sweep
range and frequency dependence of material property.
In the simulation of high speed connectors or PCB boards, it is important to take the losses into
account. Especially, in the case of transient analysis, where the improper specification of the fre-
quency dependence of the materials would lead to unphysical results. This section discusses the
loss mechanism of dielectric materials. Magnetic losses could also be taken into account, but mate-
rials commonly encountered in these applications are non-magnetic.
A lossy dielectric material is characterized by two measured values at a certain frequency: dielec-
tric constant
r
and loss tangent tg. There are two problems with the specification of the frequency
dependence of dielectric materials:
The frequency range, in which the solution has to be calculated, is much wider than the range
where measured material data are available. It is very common to have just two measured
points. A low frequency point, which can be taken as DC value and a higher frequency point,
which serves to describe the behavior of the material at high frequency. The question arises:
What is an appropriate model across the measured range as well as outside the measured
rcomplex
roptical
rstatic
roptical
( )
1 j +
--------------------------------------------- + =
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-111
range?
A measurement always suffers from errors. If the measured data are not consistent, it could
cause unphysical effects during the time domain analysis. A question arises again: how to
check whether the measured data are consistent, and how to adjust them if they are not.
To answer the questions raised we need to discusses the polarization loss mechanism of dielectric
materials.
Figure 1 shows the different polarization mechanisms occur in the frequency domain. It can be seen
from the figure that up to the microwave region, ion and dipole polarization dominate. These polar-
ization types can be described by Debyes relaxation polarization model:
where
is the relaxation time,
rstatic
,and
roptical
are the static and high frequency permittivity, respec-
tively. Debyes model is valid for the most of microwave applications. If the frequency exceeds the
limit of Debyes model, there exists other models which take the atomic and electron polarization
into account [1].
Figure 1 : Polarization mechanisms
(1)
rcomplex
roptical
rstatic
roptical
( )
1 j +
--------------------------------------------- + =
Maxwell 3D Online Help
23-112 Maxwell 3D Technical Notes
The question is now how to fit Debyes model to the actual material characteristics. In order to do
this, let us express the real part of the dielectric constant and the conductivity from Eq. (1):
where
o
is the DC conductivity.
Eqs (2) and (3) have 4 parameters:
o,
rstatic,
roptical
and .
Usually, measured data are available at two frequencies for a regular material. The measured data
are the dielectric constant and the loss tangent. One set of the measured data is at low frequency
( , ) and the other set is at higher frequency ( , ).
The static or dc values can be considered as the low frequency measured data. So,
and
The critical need is to predict the high frequency behavior of the material.
If we know
roptical
from measurement, the high frequency behavior of Debyes model is set. We
just need to calculate the relaxation time as:
where
and
Knowing , Eqs. (2) and (3) prescribe the material characteristic in the whole frequency region.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
r
roptical
rstatic
roptical
( )
1 ( )
2
+
--------------------------------------------- + =
o
2
o
(
rstatic
roptical
)
1 ( )
2
+
-------------------------------------------------------------- + =
MHz f 1
1
1 1
,
r
GHz f 2 ~ 1
2
2 2
,
r
1 r rstatic
=
1 1 1
tan
r o o
=
2
2
2
4
=
b b
2
2
) (
roptical rstatic o
b
=
o r o
=
2 2 2 2
tan
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-113
If we do not know
roptical
, it can be calculated by simultaneously solving the following two equa-
tions to get
roptical
and :
where
r2
is measured and
2
is determined by Eq.(8).
Solving equations (9) and (10), we get:
This method also yields the parameters of the Debyes model, but the accuracy of the method, espe-
cially at high frequencies, depends on the accuracy and the consistency of the measurement at
frequency f
2
.
Typical Debyes model material characteristics can be seen in Fig. 2, where ' =
r
.
(9)
(10)
(11)
(12)
(13)
r2
roptical
(
rstatic
roptical
)
1 ( )
2
+
---------------------------------------------- + =
2
o
2
o
(
rstatic
roptical
)
1 ( )
2
+
-------------------------------------------------------------- + =
o
r rstatic o
=
2
2
2
2
' '
) ( 1
) (
=
roptical rsrtatic
)
) (
) ( 1
(
2
2
2
2
2
+
=
r rstatic rstatic roptical
Maxwell 3D Online Help
23-114 Maxwell 3D Technical Notes
Figure 2 : Material characteristics of a Debye model
The model was verified by using a double strip line filled by FR4 material. A 10 mils section of the
line was modeled by HFSS and de-embedded into a 34 inch long line. The structure of HFSS model
can be seen in Fig. 3.
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-115
Figure 3 : A 10 mils long structure of a double strip line
The input data panel of HFSS for FR4 can be seen in Fig. 4:
Maxwell 3D Online Help
23-116 Maxwell 3D Technical Notes
Figure 4 : Input data panel for FR4 material in HFSS
It can be seen from the panel that:
The calculated and measured frequency response of S
12
can be seen in Fig. 5. The agreement
between the calculated and measured values is good.
The transient response of the line to an input pulse also has been calculated. The schematic arrange-
ment of the model in Maxwell Spice is shown in Fig. 6. The output signal is plotted in Fig. 7. The
green curve is the transient response of an ideal reference line (lossless) of the same length.
98 . 3 =
rstatic
7 . 3 =
roptical
025 . 0 tan
2
= 028 . 0 tan
1
=
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-117
Figure 5 : Calculated and measured frequency response of S
12
Maxwell 3D Online Help
23-118 Maxwell 3D Technical Notes
Figure 6 : Schematic arrangement in Maxwell Spice
Maxwell 3D Online Help
Maxwell 3D Technical Notes23-119
Figure 7 : Transient response by Maxwell Spice
Debyes material loss model predicts the dielectric losses in the whole frequency range within an
acceptable accuracy. The model can be set up by using low frequency and higher frequency mea-
sured dielectric constants and loss tangents and the optical dielectric constant. If the latter is not
available, the model might be less accurate at high frequencies. Using Debyes model, no unphysi-
cal phenomena can be observed at the transient response.
References
[1] E.U. Condon and Hugh Odishaw, Handbook of Physics, McGraw Hill Book Company, Inc., New
York Toronto London, 1958. Pp. 4-113 4-119.
[2] G.R. Strobl, The Physics of Polymers, Chapter 5, 2nd Ed. Springer, NY, 1977.
Maxwell 3D Online Help
23-120 Maxwell 3D Technical Notes
Maxwell 15 Examples 24-1
24
Maxwell 15 Examples
Maxwell 15 contains numerous examples provided for customer use and review. These examples
cover Maxwell 3D, Maxwell 2D, and RMxprt. All examples are stored in the Examples subdirec-
tory of the Maxwell installation directory.
Related Topics
Maxwell 3D/2D Examples
RMxprt Examples
Maxwell 3D Online Help
24-2 Maxwell 15 Examples
Maxwell 3D/2D Examples:
Maxwell 3D Online Help
Maxwell 15 Examples 24-3
Examples\Maxwell2D\opti_new.mxwl This is a magnetostatic problem that uses
Optimetrics and a used defined cost function
repeatedly simulate and modify the shape of one
of the steel pieces in order to determine the
optimum shape needed to generate a uniform
field in the air gap on the right side of the model.
Examples\Maxwell2D\Getting_Started\so
lenoid.mxwl
The solenoid model shown is a 2D axisymmetric
simulation of a 3D actuator that demonstrates
rotational symmetry about a central axis. The
problem is a magnetostatic model that uses
parametric analysis to determine the force on the
core as various locations along the length of the
stroke. This is a non-linear problem
incorporating both non-linear steel and a
permanent magnet. This problem is used in
Getting Started with Maxwell: A 2D
Magnetostatic Solenoid Problem.
Maxwell 3D Online Help
24-4 Maxwell 15 Examples
Examples\Maxwell3D\
example_DC_cond.mxwl
This example is a real life example of an
inductor. In a DC analysis the focus would be to
look at the distribution of current density, and
ohmic power loss density. A heating / stress
application would also be interesting to do as
users may want to couple the losses to ePhysics
Examples\Maxwell3D\
example_electrostatic.mxwl
The electrostatic example is a bushing
application which is one of the most widely used
type for electrostatic solution type, particularly
in 3D. Has been used for many years and is
considered as a benchmark application. The
main results to be extracted from this example
are voltage and field distribution. For the
magnitude of electric field additional meshing is
required which is true for any dielectric
breakdown type of application.
Maxwell 3D Online Help
Maxwell 15 Examples 24-5
Examples\Maxwell3D\
example_magnetostatic.mxwl
The magnetostatic example is a relay type of
application exhibiting 3D effects. There is a
force setup allowing extraction of a force vs.
(rotational) displacement type of characteristic.
It also contains a parametric setup which
eventually allows the extraction of an ECE
model to be used in Simplorer.
Maxwell 3D Online Help
24-6 Maxwell 15 Examples
Examples\Maxwell3D\Getting_Started\
Rotational_actuator.mxwl
The rotational actuator is another magnetostatic
example useable for the parametric study of the
torque and inductance characteristics vs.
position. Possible variation(s) of the setup can
include using ferromagnetic materials with
different magnetic (non-linear) characteristics
and the respective impact on torque and
inductance characteristics. This model is used in
the Getting Started with Maxwell: Designing a
Rotational Actuator guide.
Examples\Maxwell3D\Getting_Started\
Rotational_Act_TR.mxwl
This model is a modified version of the
Rotational Actuator model listed above. It is
configured with a motionband for rotating the
inner armature. It is a transient problem using an
external circuit to drive the coils with a pulse
voltage. The results demonstate the torque,
position, and current versus time as the inner
armature object moves with time. This model is
used in the Getting Started with Maxwell:
Transient Problem guide.
Maxwell 3D Online Help
Maxwell 15 Examples 24-7
Examples\Maxwell3D\Getting_Started\
ExternalCircuit.amcp
This project is the Maxwell Circuit Editor model
used in the transient rotational actuator problem
to drive the coils with a pulse input.
Maxwell 3D Online Help
24-8 Maxwell 15 Examples
RMxprt Examples:
Maxwell 3D Online Help
Maxwell 15 Examples 24-9
Examples\RMxprt\assm\*.mxwl Adjustable Speed Synchronous Machine
ASSM can be used in Motor Mode or
Generator Mode, this example is in motor
mode
Examples\RMxprt\bldc\
QuickStart.mxwl
ws-1.mxwl
ws-2.mxwl
ws-3.mxwl
ws-4.mxwl
ws-5.mxwl
ws-6.mxwl
Brushless Permanent Magnet DC Motor
ws-1 to ws-5 are examples of rotor PM Pole
Type 1-5 as defined the "Rotor" section
ws-6 is an example of an outside rotor as
shown
Maxwell 3D Online Help
24-10 Maxwell 15 Examples
Examples\RMxprt\cpsg\cpsg_1.mxwl Claw Pole Synchronous Machine
3D Representation is shown.
Examples\RMxprt\dcm\
z_500.mxwl
zf_500.mxwl
DC Machines
these do not have any permanent magnets
Maxwell 3D Online Help
Maxwell 15 Examples 24-11
Examples\RMxprt\dfig\
dfig_1.mxwl
dfig_2.mxwl
Generic Rotating Machines
Examples\RMxprt\indm1\3hp.mxwl Single Phase Indcution Motor
Maxwell 3D Online Help
24-12 Maxwell 15 Examples
Examples\RMxprt\indm3\
tsyde-22.mxwl
ylew-95.mxwl
yz200-6.mxwl
yz200-24.mxwl
yzd132-4.mxwl
yzd132-8.mxwl
Three Phase Induction Motor
These are 22, 95, 6, 24, 4, and 8 pole motor
variations
8 pole machine is shown..
Examples\RMxprt\lssm\
sm-1.mxwl
sm-2.mxwl
sm-3.mxwl
sm-4.mxwl
sm-5.mxwl
sm-6.mxwl
sm-7.mxwl
sm-8.mxwl
Line Start Permanent Magnet Synchronous
Motor
sm-1 to sm-8 represent the 8 rotor pole
types available
sm-8 is shown.
Maxwell 3D Online Help
Maxwell 15 Examples 24-13
Examples\RMxprt\manual\
AssymetricWinding.mxwl
BLDC_4p1500rpm550W.mxwl
CPSG_4p50Hz550VA.mxwl
DCM_4p1100rpm500kW.mxwl
IndM1_2p60Hz3hp.mxwl
IndM3_6p50Hz11kW.mxwl
LSSM_4p50Hz550W.mxwl
PMDC_2p2400rpm75W.mxwl
PMSG_4p50Hz550W.mxwl
QuickStart.mxwl
SRM_8-6p1500rpm550W.mxwl
SynM3_6p50Hz538kW.mxwl
UniM_2p12500rpm100W.mxwl
Examples\RMxprt\nssm\
nssm-1.mxwl
Maxwell 3D Online Help
24-14 Maxwell 15 Examples
Examples\RMxprt\pmdc\
stndj-1.mxwl
Permanent Magnet DC Motor
These are brush type motors
Examples\RMxprt\pmsg\
pmsg-1.mxwl
Adjustable Speed Synchronous Machine
ASSM can be used in Motor Mode or
Generator Mode, this example is a generator
Maxwell 3D Online Help
Maxwell 15 Examples 24-15
Examples\RMxprt\srm\srm-1.mxwl Switched Reluctance Motor
Maxwell 3D Online Help
24-16 Maxwell 15 Examples
Examples\RMxprt\syng3\
bjs7-6-1.mxwl
bjs10-61.mxwl
bsm.mxwl
g2-5.mxwl
Three Phase Synchronous Machine
This can be either motor or generator mode,
these examples are generators
Model g2-5 is shown
Examples\RMxprt\synm3\
Bjs7_mot.mxwl
Three Phase Synchronous Machine
This can be either motor or generator mode,
this example is a motor
Maxwell 3D Online Help
Maxwell 15 Examples 24-17
Examples\RMxprt\unim\ac120_i.mxwl Universal Motor Example
Maxwell 3D Online Help
24-18 Maxwell 15 Examples
Index-1
Index
Symbols
21-15
Numbers
1Dobjects7-3
2DAutoCADfiles
exporting4-27
2Dmodelfiles
exporting4-27
importing4-31
2Dobjects7-3
3Dmodelfiles
exporting4-28
3DModeler
Chamfercommand7-114
openingnewwindows7-1
3DModelercommands
DeleteLastOperation7-91
PurgeHistory7-118
3DModelerwindow2-27
3D movement mode 7-166, 7-
187
3Dobjects7-3
A
abortinganalyses18-82
absolutecoordinates
entering7-163
ACconductionsolver22-3
admittance22-42
theory22-41
adaptiveanalysis
percent refinement per
pass14-7
settingup14-6
AdaptivePass
PlottingVersus19-41
adaptivepasses
completed and remaining
19-3
addarray
variables4-95
AddVieworientation7-121
admittance22-42
AmperesLaw22-12
analyses
changingpriorityof18-81
monitoring18-18
Optimetrics21-1
re-solving18-83
Maxwell Online Help
Index-2
starting16-1,18-1
stopping18-82
animations
controllingthedisplay19-15
exporting19-17
field19-14
geometry19-13
overview19-13
anisotropicmaterials
about23-104
andports23-109
assigning8-7
conductivitytensor23-106
electriclosstangenttensor23-107
magneticlosstangenttensor23-108
permeabilitytensor23-105
permittivitytensor23-106
anisotropy
conductivity23-106
electriclosstangent23-107
magneticlosstangent23-108
permeability23-105
permittivity23-106
anisotropytensors
definingconductivity8-10
definingdielectriclosstangent8-11
definingmagneticlosstangent8-12
definingrelativepermeability8-7
definingrelativepermittivity8-9
ANSYSWorkbench
thermallink18-84
ApplyOrientation7-121
arclines
center-pointarcs7-6
three-pointarcs7-5
arcs
center-point7-6
three-point7-5
arrows
modifyinginplots19-95
typesinplots19-95
AutoCADDrawingInterchangeFormatfiles
4-27
auto-savefile4-13
averageforce23-68
axes
torqueabout23-49
axisymmetricmodels
electricfluxlinkage22-11
fieldsimulationfor22-43
magnetostaticfluxlinkage22-19
B
backgroundcolor
setting7-138
balloonboundaries
chargeatinfinity22-57
usedasreference22-72
voltageatinfinity22-57
BH-curve8-54
forpermanentmagnets8-42
bondwires
drawing7-29
booleancommands
imprintprojection7-117
boundaries
duplicatingwithgeometry9-11
hiding9-12
settingdefaultvalues9-12
boundaryconditions
eddycurrent9-32,9-39
functional22-74
magnetostatic9-17
boxes,drawing7-20
C
calculatedexpressions
plotting19-85
calculationrange
settingforacostfunction21-35
settinginaparametricsetup21-10
Calculator
Generalcommands
Maxwell Online Help
Index-3
CmplxImag19-113
CmplxMag19-112
CmplxReal19-113
calculator
enteringvaluesandgeometries19-106
exporting19-126
generaloperations19-111
opening19-102
output19-123
registers19-104
scalaroperations19-114
stackcommands19-105
stacks19-104
unitsassumedasSI19-105
vectoroperations19-119
capacitance
andelectricfield22-5
calculating22-9
intermsofchargesandvoltages22-6
in terms of currents and time-varying
voltages22-7
shortcircuit22-8
Cartesian
coordinatesongrid7-140
enteringcoordinates7-161
settingasgridtype7-140
center-pointarcs7-6
Chamfercommand
3Dmodeler7-114
changingmaterialproperties8-24
charge
andballoonboundaries22-57
andreferencevoltage22-72
chargedensity22-4
ChargeStandardFieldQuantities
Surface19-81
circles,drawing7-13
cleanstop18-82
clearingselections7-158
clipplanes7-130
cloningobjects
beforeintersecting7-109
beforesubtracting7-108
beforeuniting7-107
closedobjects7-3
cloudplots19-96
CmplxImag
CalculatorGeneralCommands19-113
CmplxMag
CalculatorGeneralCommands19-112
CmplxPeak
CalculatorGeneralCommands19-113
CmplxReal
CalculatorGeneralCommands19-113
coenergy
andvirtualforce22-17,23-27,23-49
andvirtualtorque22-18,23-27,23-50
colorkey
moving19-93
settingvisibility19-92
colors
assigningtoobjects7-88
defaultforobjects7-88
defaultforoutlines7-88
offieldoverlays19-91
ofhighlightedobjects7-148
ofselectedobjects7-148
settingbackgroundcolor7-138
commandproperties2-24
complexnumbers
admittance22-42
impedance22-27
incalculatorregisters19-104
phasornotationfor22-50
realandimaginarycomponents22-50
conductance22-39
inadmittancematrices22-42
conductionpaths
recalculating9-11
showing9-11
conductionspaths
verifying9-11
conductivity23-102
andskindepth22-25
anisotropic23-106
defininganisotropytensors8-10
Maxwell Online Help
Index-4
conductors
parallel
explicitly defining (AC current
source)22-69
passive22-68
skindepthin22-25
stranded22-46
touching
assigningACcurrentsto22-68
cones,drawing7-21
configurationfiles
settingoptions4-74
connectingobjects7-103
constraints
settinglinear21-79
context-sensitivehelp3-2
convergence
insolutionprocess23-6
outputvariable14-8
viewingoutputvariable19-3
convergencedata
fordesignvariations21-83
numberofpassescompleted19-3
outputvariable19-3
plotting19-3
viewing19-2
coordinatesystem
effectonfieldsimulation22-43
coordinatesystems
creatingface7-178
creatingrelative7-176
defaultplanes7-179
deleting7-186
enlargingaxes7-139
hidingaxes7-139
modifying7-184
modifyingviewofaxes7-139
operationsaffecting7-184
overview7-175
settingtheworkingCS7-176
showingaxes7-139
shrinkingaxes7-139
coordinates
enteringabsolute7-163
enteringCartesian7-161
enteringcylindrical7-162
enteringrelative7-164
enteringspherical7-162
copycommand
forreportandtracedefinitions19-53
Copying7-89
copyingandpastingobjects7-89
copyingmaterials8-29
copyingtotheclipboard7-90
copyrightnotices2-52
corners
removingrounded7-104
costfunction
adding21-33
plottingresultsvs.iteration21-86
settingagoal21-33
settingthecalculationrange21-35
specifyingsolutionquantityfor21-35
viewingresultsvs.iteration21-85
count
settingforsweepdefinitions21-6
couplingcoefficientmatrix19-8
coveringfaces7-102
coveringlines7-101
CPUtime
viewingforsolutiontasks19-4
vs.realtime19-4
creating
rcustomreporttemplates19-34
creatingaquickreport19-20
creatingaUserDefinedPrimitive7-36
crosssevction
assigningtoaline7-9
cross-sections
creating7-103
CTRL+Ashortcutkeys7-144
curl
axisymmetricvs.cartesian22-43
current
andcapacitance22-7
andinductance22-14
Maxwell Online Help
Index-5
andvirtualforce22-17
constraints on passive conductors 22-
68
instantaneous22-27
peak22-27
relationship to current density (eddy
currentsolver)22-24
source22-21
timevarying
andinductance22-16
currentcoordinatesystem
about7-175
currentdensity22-12
AC22-29
DC(magnetostatic)22-29,23-66
displacementcurrents22-21
eddycurrent23-66
eddycurrents22-21
inAmperesLaw22-12
instrandedACcurrentsources22-69
relationship to electric field (DC con-
duction)22-35
sourcecurrent22-21
currentdistribution
effectoninductanceandresistance22-
29
currentflow
forDCconductionsolver22-39
for eddy current (AC magnetic) solver
22-31
currentsources
AC
assigning to touching conductors
22-68
constraints oncurrentinsolidand
parallelsources22-69
parallel22-69
perfectconductors22-69
referenceforcomputingA-field22-
72
solid22-69
stranded22-69
DC
referenceforcomputingA-field22-
72
currents
andLorentzforce23-48
andLorentztorque23-49
andvirtualforce23-27,23-49
customreporttemplates
creating19-34
customizing
keyboardshortcuts2-17
cylinders,drawing7-19
cylindricalcoordinates
entering7-162
D
datamarkers19-98
datatables
creating19-42
exporting4-30
importing4-39
datasetexpressions
adding4-98
using4-117
Datasetpreviewplotproperties4-100
Datasets
Importing4-101
datasets
adding4-98
modifying4-101
DCconductionsolver22-3
conductance22-39
currentflow22-39
theory22-35
whentouse22-38
Debeyesmodel23-109,23-110
Debyematerials
technicalnotes23-110
decadecountsweepdefinitions21-5
defaultvariablevalue
overridingforaparametricsetup21-7
defaults7-88,7-89
Maxwell Online Help
Index-6
autocoverclosedpolylines7-102
autocoverpolylines7-101
backgroundcolor7-138
cloneobjectsbeforeintersecting7-109
cloneobjectsbeforesubtracting7-108
cloneobjectsbeforeuniting7-107
colorofhighlightedobjects7-148
colorofselectedobjects7-148
fieldplotattributes19-90
lighting7-137
meshplotattributes19-132
open Properties window after drawing
objects2-23
renderingmode7-129
settingfaceCS7-179
settingforboundaryvalues9-12
settingforexcitationvalues9-12
snapsettings7-169
vieworientation7-135
deformation
settingforobjects8-40
DeleteLastOperationcommand
3DModeler7-91
deleting
fieldoverlayplots19-101
materials8-30
polylinesegments7-90
projects4-17
startpointsandendpoints7-90
deletinglastoperation7-91
deletingobjects7-90
deltabetweenmarkers
inreports19-45
deltaH23-104
demagnetization14-18
densityofgrid7-141
dependentvariables
definition4-92,4-95,4-112
derivedfieldquantities
plotting19-85
DesignSettings5-4
designvariables
deleting4-98
Seelocalvariables4-93
designvariations
manuallymodifyingpoints21-7
viewingallinaparametricsetup21-4
viewingsolutiondata21-83
DesignXplorer
exportingsetup21-89
designs
inprojecttree2-21
insertinginproject5-2
settingup5-1
desktop
menubar2-9
overview2-8
statusbar2-19
toolbars2-12
detachingedges7-103
detachingfaces7-102
dielectriclosstangent23-103
defininganisotropytensors8-11
dielectrics
timeconstant22-38
discardbelowvalue19-51
displacementcurrent22-21
insolidandparallelACcurrentsources
22-69
relationship to AC current density 22-
21
relationshiptoACelectricfield22-70
displaytypes
ofreports19-36
distributedanalysis21-12
licensing18-12
distributedmachineconfigurations
editingandcreating18-13
distributioncriteria
settingforstatisticalsetups21-61
divergences
axisymmetricvs.cartesian22-43
donuts,Seetoruses7-22
drafttypes
andsweepingobjects7-98
drawing
Maxwell Online Help
Index-7
region7-35
drawingamodel
overview7-1
drawingcommands
wrap7-101
drawingobjects
bondwires7-29
boxes7-20
center-pointarcs7-6
circles7-13
cones7-21
cross-sections7-103
cylinders7-19
ellipses7-14
equationbasedcurve7-12
forpostprocessing7-33
helices7-23
nonmodel7-33
overview7-3
planes7-30
points7-30
polylines7-8
rectangles7-16
regularpolygons7-16
regularpolyhedrons7-20
spheres7-18
spiralusingUDP7-28
spirals7-26
splines7-7
straightlinesegments7-4,7-31
three-pointarcs7-5
toruses7-22
drawingplane7-187
duplicatesandparentobjects7-94
duplicating
boundaries9-11
excitations9-11
duplicatingobjects
alongaline7-95
andmirroring7-96
aroundanaxis7-96
overview7-94
E
eddycurrent22-21
andskindepth22-25
effectonACinductanceandresistance
22-29
insolidandparallelACcurrentsources
22-69
relationship to AC current density 22-
21
relationshiptoACmagneticfield22-70
eddycurrentfieldsimulation
magneticfieldenergy23-58
eddycurrentsolver22-3
currentflow22-31
derivationoffieldequations22-22
impedance22-26
theory22-20
virtualforce22-30
virtualtorque22-31
eddycurrents
effectonACinductance23-66
EdgeLossDensity10-34
edges
creatingobjectsfrom7-110
detaching7-103
movingalongnormalmovingedges7-
106
removing7-103
rounding7-113
selecting7-154
selectingallface7-155
selectingallobject7-155
editinganexternalcircuit9-62
electricfield22-4
andcapacitance22-5
static22-4
electricflux
fluxlinkage22-11
electricfluxdensity22-4
electricpotential
referencefor22-72
Maxwell Online Help
Index-8
theory22-4
electrictransientanalysis
settingup14-39
electrostaticsolver22-3
capacitance22-5
fluxlinkage22-11
specifyingreferenceforpotential22-72
theory22-4
virtualforce22-9
whentouse22-38
ellipses,drawing7-14
emagnetization8-45
energy
andimpedance22-27
andvirtualforce(electrostatic)22-9
equationbasedsurface
drawing7-17
equationsbasedcurve,drawing7-12
evensymmetryboundaries
behaviorofmagneticfield22-56
inmagnetostaticmodels22-56
relationship to Neumann boundaries
22-56
Excitations22-64
SeealsoSources
excitations
duplicatingwithgeometry9-11
hiding9-12
settingdefaultvalues9-12
executivemodule22-3
exponentialcountsweepdefinitions21-5
export
fromthecalculator19-126
exportacircuit16-2,16-5
exporting
2DAutoCADfiles4-27
2Dmodelfiles4-27
3Dmodelfiles4-28
animations19-17
datatables4-30
fieldoverlayplots19-100
materialstolibraries8-31
exportinganetlist9-62
exportingoptionsfiles4-73
expressions
dataset4-117
defining4-112
includinginfunctions4-111
intrinsicfunctionsin4-115
piecewiselinearfunctionsin4-117
usingascostfunctiongoal21-37
validoperators4-113
extrudingfaces7-104
eyemeasurements
rangefunctions19-63
F
facecoordinatesystem
about7-175
creating7-178
creatingautomatically7-179
operations affecting 7-179, 7-180, 7-
183
faces
copying7-109
covering7-102
creatingcoordinatesystemon7-178
creatingfacelists7-154
creatingobjectsfrom7-109
detaching7-102
extruding7-104
movingalongavector7-105
movingalongthenormal7-104
removing7-102
selecting7-150
selectingallobject7-152
selectingbehind7-158
selectingbyname7-152
uncovering7-102
familiestab
reportsdialog19-24
farfields
reports19-35
ferritematerials
addingtolibraries8-6
Maxwell Online Help
Index-9
propertiesof8-6
ferrites
about23-103
anddeltaH23-104
andlandeG23-104
andmagneticsaturation23-103
FFT19-68
FFTonreports19-64
fieldoverlayplots19-79,19-85
defaultsettings19-101
hidingcolorkey19-92
modifyingattributes19-89
modifyingcolorsof19-91
modifyingfieldquantities19-88
modifyingphase19-79
modifyingplotscale19-93
movingcolorkey19-93
onlines19-99
scalarplots19-88
vectorplots19-88
fieldplotanimations19-14
fieldquantities
phaseangle19-113
plottingbasic19-79
plottingderived19-85
fieldreports19-35
fieldsimulation
eddycurrent(ACmagnetic)6-2,6-3
electrostatic6-3
magnetostatic6-2
fieldsolutions
savingforaparametricsetup21-72
savingforasensitivitysetup21-73
savingforastatisticalsetup21-72,21-
74
savingforatuninganalysis21-72,21-
73
savingforallOptimetricssetups21-72
savingforanoptimizationsetup21-72
Fieldscalculator19-102
FieldsReporteroptions4-72
fileformats
animatedGIF19-17
.avi19-17
.dsp19-100
.dxf4-27
.gds4-31
.q3dx4-2
.q3dxresults4-2
.sat4-28
.sm24-27,4-31
.sm34-28
files
auto-save4-13
importing4-31
Q3DExtractor4-2
filletcommand
roundingedges7-113
filteringforobjectselection7-145
filteringmaterials8-33
fittingallobjectsinview7-125
fittingselectionsinview7-125
fixedvariables
settingvaluesduringanalyses21-78
fluxdensity
electricfluxdensity22-4
fluxlinkage
electrostatic22-11
magnetostatic22-19
force
Lorentz(magnetostatic)23-48
virtual(EddyCurrent)22-30
virtual(Electrostatic)22-9
virtual(electrostatic)23-27
virtual(Magnetostatic)22-17
virtual(magnetostatic)23-49
frequency
andimpedance22-27
andimpedancematrix23-63
andlineimpedance23-65
andskindepth22-25
frequency-dependentmaterials
andlossydielectrics23-109,23-110
functions
defining4-111
fortraces19-51
Maxwell Online Help
Index-10
reserved names in Q3D Extractor 4-
111
selectingforaquantity19-55
validoperators4-113
G
GausssLaw22-4
geometryanimations19-13
globalcoordinatesystem
about7-175
globalmaterials
Ansoft8-34
user-defined8-34
goal
settingacomplexvalue21-36
settingarealvalue21-36
settingasinglevalue21-36
settingasvariabledependent21-37
settingforcostfunction21-36
settingweightof21-33
usinganexpressionfor21-37
goalweight
setting21-33
gotolinkfaceselectiontoolbar7-152,7-156
gotolinkmaterials.fm
recoillines14-35
gradientbackgroundcolors7-138
gradients
axisymmetricvs.cartesian22-43
gridsettings
choosing7-140
density7-141
dotsorlines7-140
gridplane7-142
spacing7-141
style7-140
type7-140
visibility7-141
groundedsystems
modeling with balloon boundaries 22-
57
groupedobjects
andparallelcurrentsources22-68
H
healing
stitchsheets7-84
helices,drawing7-23
helix
drawingsegmentedpolygonwithUDP
7-24
drawing segmented rectangular with
UDP7-25
help
aboutconventionsused3-3
oncontext3-2
ondialogboxes3-2
onmenucommands3-2
HFSSOptionsdialog
solvinginsidethreshold8-3
hiding
boundaries9-12
colorkey19-92
excitations9-12
fieldoverlayplots19-99
objects7-126
selections7-126
High Performance Computing integration
18-20
historytree
controllingviewofobjects2-30,2-34
operationsaffectingCSs7-184
operationsaffectingfaceCS7-179,7-
180,7-183
operationsaffectingrelativeCS7-175
selectingobjectgroups7-147
Unclassifiedfolder2-30
UpgradeVersion2-34
holes
moving7-105
resizing7-104
HPCintegration18-20
hysteresisloss23-59
Maxwell Online Help
Index-11
I
IFFT19-69
imaginaryquantities
representingwithphasors22-50
impedance
andACinductance22-27,23-63
andACresistance22-27,23-66
andACself-inductance23-66
andACself-resistance23-65
andfrequency22-27,23-63
andtime-varyingcurrents22-26,23-62
andtime-varyingvoltages22-26,23-62
differenceinACandDCcomputations
22-29
matrix22-26,23-62
importing
datatables4-39
files4-31
solutiondata4-39
ImportingDatasets4-101
imprintprojectioncommand7-117
inductance
ACvs.DC22-29,23-66
andimpedance22-27,23-64
in terms of magnetic fluxand currents
22-14
in terms of voltages and time-varying
currents22-16
opencircuit22-16
initialdisplacement
setting21-56
initialmesh
revertingto13-13
initialmeshsettings13-15
in-planemovementmode7-165
inserting
linesegments7-11
insertingdesigns5-2
insulatedsystems
modeling with balloon boundaries 22-
57
intersectingfaces7-109
intersectingobjects7-108
intrinsicfunctions4-115
intrinsicvariables4-114
IronPython20-1
isosurfacedisplay19-96
J
joiningobjects7-107
K
KeyboardShortcuts
General2-16
Modeler2-35
keyboardshortcuts
custom2-17
customizing2-17
dialogue2-17
L
laminationmodeling8-17
landeGfactor23-104
legacyMaxwellprojects
opening4-8
legacyQ3DExtractorprojects
translationoverview4-9
legendsinreporrts19-33
length-basedrefinement
insideobjects13-4
onfaces13-3
libraries
editingmethodsforuserandsystem8-
34
LicenseAgreements
Third-Party2-52
licensing
distributedanalysis18-12
lighting7-136
line
Maxwell Online Help
Index-12
assingingdimensions7-9
linesegments
inserting7-11
linearconstraints
deleting21-80
modifying21-80
setting21-79
linearcountsweepdefinitions21-5
linearmaterials
addingtolibraries8-5
propertiesof8-5
linearstepsweepdefinitions21-5
lines
assigningcrosssection7-9
betweengridpoints7-140
convertingtoarcs7-112
convertingtosplines7-112
covering7-101
drawingcenter-pointarcsegments7-6
drawingstraightsegments7-4,7-31
drawingthree-pointarcsegments7-5
fieldplotson19-99
valuevs.distanceplots19-55
Linux
Importing projects from previous ver-
sion2-5
SettingUpaPrinter2-6
localvariables
adding4-93
unitsindefinition4-93
logofsolutiontasks19-4
Lorentzforce23-48
andcurrent23-48
and magnetic flux density (magneto-
static)23-48
theory(magnetostatic)23-48
Lorentztorque23-26,23-49
andcurrent23-49
andLorentzforce23-49
andmagneticfluxdensity23-49
theory(magnetostatic)23-49
lumps
multiple7-112
M
magneticcoercivity
inpermanentmagnets8-42
magneticfield
behavior on even symmetry boundar-
ies22-56
behavioronoddsymmetryboundaries
22-55
inAmperesLaw22-12
relationship to electric field (eddy cur-
rentsolver)22-24
static22-12
magneticfieldsimulation
time-dependent22-45
magneticflux22-12
andinductance22-14
magneticfluxdensity22-12
andLorentzforce23-48
andLorentztorque23-49
innonlinearmaterials8-54
magneticlosstangent23-103
defininganisotropytensors8-12
magneticretentivity
inpermanentmagnets8-42
magneticsaturation23-103
magneticvectorpotential22-12
referencefor22-72
magnetostaticsolver22-3
fluxlinkage22-19
inductance22-13
specifyingreferenceforpotential22-72
theory22-12
virtualforce22-17
virtualtorque22-18
magnetostaticvector14-18
magnifyingobjects7-124
markers
addingtoplottraces19-49
deltabetweenmarkers19-45
pointplot19-98
materialbrowser
Maxwell Online Help
Index-13
accessing8-1,9-1,11-1
materialcharacteristics
magneticlosstangent23-103
magnetostatic
nonlinearpermeability8-54
nonlinearmaterials8-54
permeability23-101
materialcoordinatesystems8-15
materialproperties
anisotropic8-7
changingunitsof8-6
conductivity23-102
definingvariablesfor8-13
deltaH23-104
dielectriclosstangent23-103
landeG23-104
magneticlosstangent23-103
magneticsaturation23-103
permeability23-101
permittivity23-102
simple8-7
typesof8-7
usingexpressionsfor8-14
usingfunctionsfor8-14
usingvariablesfor8-13
materials
aboutferrites23-103
addingtolibrary8-5
assigningtoobjects8-1,9-1,11-1
copying
cloning8-29
deleting8-30
exportingtolibraries8-31
filtering8-33
global8-34
modifying8-25
nonlinear8-54
removingfromlibraries8-30
searchbyname8-4
searchbyproperty8-4
solvinginsideanobject8-3
solvingonobjectsurface8-3
sorting8-32
user-defineddatabase8-34
validating8-28
viewing8-25
mathematicalfunctions
Seefunctions4-111
matrices
admittance22-42
capacitance22-6
diagonaltermsin22-7
mutualcapacitance22-7
off-diagonaltermsin22-7
self-capacitance22-7
sequenceofsolutions22-9
conductance22-39
andcurrent22-39
andvoltagedrops22-39
impedance22-26,23-62
andinductance23-64
andresistance23-65
diagonaltermsin22-26,23-62
matrixelements23-63
monitoringthesolution23-64
mutualimpedance22-26,23-63
off-diagonaltermsin22-26,23-62
self-impedance22-26,23-62
settingsourcesduringsolution23-
64
solutionprocess22-27,23-64
symmetry23-63
theory22-26,23-62
inductance22-14
diagonaltermsin22-15,23-63
mutualinductance22-15
off-diagonaltermsin22-15,23-63
self-inductance22-15
sequenceofsolutions22-17
matrixdata
fordesignvariations21-83
modifyingfrequencies19-6
viewing19-6
maximumdeltaS
viewingresults19-3
maximumnumberofiterations
Maxwell Online Help
Index-14
settingforasensitivityanalysis21-52
settingforanoptimization21-31
settingforstatisticalanalysis21-59
maximumstepsize
settingforoptimizationanalysis21-42
maximumvariable
Optimetricscalculationof21-39,21-55
maximumvariablevalue
changingforallsetups21-63
overridingforasensitivitysetup21-55
overriding for all optimization setups
21-40
overriding for all sensitivity setups 21-
56
overridingforanoptimizationsetup21-
40
Maxwellsequations22-23
Maxwell>Excitations>Conduction
Paths>Recalculate Conduction
Paths9-11
Maxwell>Excitations>Conduction
Paths>Show Conduction Paths 9-
11
Maxwell>Excitations>Conduction
Paths>Verify Conduction Paths 9-
11
MeasureMode
distancebetweentwopoints7-172
Measuremode
position7-172
memory
usedduringsolution19-4
menubar
overview2-9
menus
shortcutmenus2-14
mesh
colorinplots19-130
plotting19-130
sizevs.accuracy23-6
meshgeneration
andsurfaceapproximationsettings23-
9
Copygeometricequivalentmeshesop-
tions21-75
copygeometricallyequivalentmeshes
21-75
process23-6
revertingtoinitialmesh13-13
Meshoperations
modelresolution13-11
meshoperations
applyingwithoutsolving13-14
defining13-1
initialmeshsettings13-15
modifyingsurfaceapproximation13-8
surfaceapproximationoverview23-9
meshplots
colorofmesh19-130
creating19-130
settingattributes19-130
tetrahedrascalefactor19-130
transparency19-130
meshrefinement
definingmeshoperations13-1
percentrefinementperpass14-7
withoutsolving13-14
meshing
detectingandaddressingproblems23-
92
meshingregion23-10
Messagewindow
about2-25
displaying2-25
newmessages2-26
MinandMaxfocus
SNLPoptimizer21-42
minimumstepsize
settingforoptimizationanalysis21-42
minimumvariablevalue
changingforallsetups21-63
Optimetricscalculationof21-39,21-55
overridingforasensitivitysetup21-55
overriding for all optimization setups
21-40
overriding for all sensitivity setups 21-
Maxwell Online Help
Index-15
56
overridingforanoptimizationsetup21-
40
mirroringobjects7-92
modalS-parameterreports19-35
modelanalysis
Modelermenucommand7-69
modelresoliution
meshoperations13-11
modifyinginPropertieswindow2-24
modifyingobjects7-87
monitoringsolutions18-18
mousewheel
usewithalttozoom7-125
movementmode
3D7-166
alongx-axis7-167
alongy-axis7-168
alongz-axis7-168
choosing7-165
inplane7-165
outofplane7-165
Movementmode3D7-187
movingfaces
aspecifieddistance7-104
alongavector7-105
alongthenormal7-104
movingholes7-105
movingobjects7-91
movingthecursor
alongx-axis7-167
alongy-axis7-168
alongz-axis7-168
in3Dspace7-166
inplane7-165
outofplane7-165
selectingmovementmodes7-165
movingwindows2-10
mutualcapacitance22-7
mutualimpedance22-26,23-62
mutualinductance22-15,23-63
N
namedexpressions
plotting19-85
nearfields
reports19-35
netlist
exporting9-62
Neumannboundaries
relationship to even symmetry bound-
aries22-56
newprojects
creating4-3
newlinkDeleteLastOperation7-91
NextBehindcommand7-158
nominaldesign21-1
non-cylindricalrotationalmotion11-5
nonlinearmagnetostatic14-18
nonlinearmaterials8-54,14-10
relationshipofBandHin8-54
non-modelobjects7-33
normalizeddistance
overview19-55
notes
savingwithproject4-47
O
ObjectCoordinatesysterm
creating7-179
objectorientation
changing7-92
objects
associatingwithfaces7-178
bondwires7-29
boxes7-20
center-pointarcs7-6
circles7-13
cones7-21
convertingpolylinesegments7-112
creatingfromfaces7-109
creatingfromintersections7-108
Maxwell Online Help
Index-16
creatingobjectlists7-149
cylinders7-19
deletingpartsonaplane7-110
drawingrelativeto7-176
duplicatesandparents7-94
ellipses7-14
equationbasedcurve7-12
forpostprocessing7-33
helices7-23
modifying7-87
nonmodel7-33
planes7-30
points7-30
polylines7-8
rectangles7-16
regularpolygons7-16
regularpolyhedrons7-20
separating7-112
settingdeformation8-40
settingtemperature8-38
spheres7-18
spirals7-26,7-28
splines7-7
straightlines7-4,7-31
three-pointarcs7-5
toruses7-22
typesof7-3
waystoselect7-143
octavecountsweepdefinitions21-5
OddSymmetry(FluxNormal)23-17
oddsymmetryboundaries
behaviorofmagneticfield22-55
inmagnetostaticmodels22-55
relationshiptovalueboundaries22-55
usedasreference22-72
offsettingobjects7-94
ohmicloss
formula23-60
oldMaxwellprojects
opening4-8
opencircuit22-68
opencircuitinductance22-16
openobjects7-3
opening
existingprojects4-7
fieldoverlayplots19-100
legacyMaxwellprojects4-8
recentprojects4-8
openingtheFieldscalculator19-102
operatingsystems
supported2-2
Optimetrics
Copygeometricequivalentmeshes21-
75
overview21-1
tuningavariable21-68
typesofanalyses21-1
viewinganalysisresults21-83
viewingsolutiondata21-83
Optimization
norms,L1,L2,andMax21-45
optimization21-15
optimizationanalysis
choosingvariablestooptimize4-118
optionalsettings21-24
overview21-15
plottingcostvs.iterationresults21-86
settingup21-24
viewingcostvs.iterationresults21-85
optimizationsetups
adding21-24
addingacostfunction21-33
procedurefordefining21-24
settingagoal21-33
settingthemax.iterations21-31
solving18-1
optimizers21-15
orientation
changingforobjects7-92
creatingnewviewdirections7-135
deletingviewdirections7-136
settinginviewwindow7-134
orthographicview7-137
out-of-planemovementmode7-165
outputparameter
addingtosensitivitysetup21-52
Maxwell Online Help
Index-17
plottingresults21-86
settingcalculationrange21-54
specifyingsolutionquantityfor21-53
viewingresultsintableformat21-86
outputvariable
viewingconvergence19-3
outputvariables
deleting19-75
specifying19-70
P
panningtheview7-123
parallelcurrentsources
ACsourcecurrentin22-69
displacementcurrentin22-69
eddycurrentin22-69
parameterdata
viewing19-9
parameterizing
Seevariables4-91
parameters
assigningvariablesto4-118
parametricanalysis
settingup21-4
solutionquantityresults21-11,21-84
parametricsetup
adding21-4
overview21-4
parametricsetups
addingsweepdefinitions21-4
addingtoadesign21-4
plottingsolutionquantityresults21-85
settingthecalculationrange21-10
solutionquantityresults21-11,21-84
solving18-1
solvingbeforeoptimization21-43
solving before sensitivity analysis 21-
56
solvingduringoptimization21-44
solving during sensitivity analyses 21-
57,21-66
specifyingasolutionsetup21-8
specifyingsolutionquantitiesfor21-8
usingresultsforoptimization21-43
usingresultsforsensitivityanalysis21-
56
parametricsweep
distributedanalysis21-12
parentobjects
andduplicates7-94
passiveconductors
displacementcurrentsin22-68
eddycurrentsin22-68
pastingobjects7-89
patternsearchoptimizer21-15
percenterror14-6
percentrefinementperpass
setting14-7
perfectconductors
assigningACcurrentsto22-69
permanentmagnets8-42
linearvs.nonlinear8-42
nonlinear8-42
permeability14-10,23-101
anisotropic23-105
nonlinear8-54
offreespace(EddyCurrent)22-25
offreespace(Magnetostatic)22-12
relative(EddyCurrent)22-25
relative(Magnetostatic)22-12
permittivity23-102
anisotropic23-106
offreespace22-4
relative22-4
perspectiveview7-137
phase
modifyingforfieldoverlays19-79
phaseangle
inthecalculator19-113
phasors
notationfor22-50
realandimaginarycomponents22-51
usedtoexpresscurrent22-26,23-62
usedtoexpressvoltage22-26,23-62
Maxwell Online Help
Index-18
piecewiselinearfunctions
datasetexpressionsin4-117
usinginexpressions4-117
planes
createdwithcoordinatesystem7-179
default7-30
drawing7-30
settingthegridplane7-142
playpanel19-15
plots
addingmarkers19-49
convergencedata19-3
deletingfieldoverlays19-101
distributionresultsforstatisticalanaly-
ses21-88
hiding19-99
mesh19-130
modifyingfieldoverlays19-89
modifyingfieldquantities19-88
namedexpressions19-85
openingfieldoverlays19-100
parametricsolutionquantityresults21-
85
savingfieldoverlays19-100
spectraldomain19-68
timedomainfromfrequency19-69
Plotting
VersusAdaptivePass19-41
plotting
basicquantities19-79
derivedquantities19-85
PlottingStandardFieldQuantities
CoreLoss19-83
Current19-81
DielectricLoss19-82
EdgeLoss19-83
ElectricFieldIntensity19-81
ElectricFluxDensity19-81
emloss19-82
FieldEnergy19-82
HysteresisLoss19-82
MagneticCo-energy19-82
MagneticField19-81
MagneticFluxDensity19-81
OhmicLoss19-82
TotalLoss19-82
VectorPotential19-81
Voltage19-81
pointofreference7-165
pointplots
markers19-98
points
measuringdistancebetween7-172
points,drawing7-30
polar
coordinatesongrid7-140
settingasgridtype7-140
polygons,drawing7-16
polyhedrons,drawing7-20
polylines
assigingcrosssection7-9
center-pointarcs7-6
connectingbetweenplanes7-103
connectingwithsheetobjects7-103
convertingsegments7-112
convertingtosheetobjects7-101
covering7-101
definingsweeppaths7-99
drawing7-8
plottingvaluevs.distance19-55
splinesegments7-7
straightlinesegments7-4,7-31
three-pointarcs7-5
ports
andanisotropicmaterials23-109
position
measuring7-172
postprocessing
overviewofoptions19-1
viewingconvergencedata19-2
viewingmatrixdata19-6
viewingparameterdata19-9
viewingprofiledata19-4
postprocessingobjects
points7-30
potential22-4
Maxwell Online Help
Index-19
primarysweep
modifyingthevariable19-54
specifyingfor2Drectangularplots19-
37,19-39
specifying for 3D rectangular plot 19-
40,19-44
specifyingfordatatables19-43
Printers
Linux2-6
Solaris2-6
priority
changingsimulation18-81
problemregion23-10
profileinformation
fordesignvariations21-83
forOptimetricssolutions21-84
viewing19-4
Progresswindow
monitoringsolutions18-18
ProjectManagerwindow
overview2-19
showing2-19
projecttree
autoexpanding2-20
fieldoverlays19-79
fieldplotfolders19-79
showing2-19
projectvariables
adding4-91
andmaterialproperties8-13
deleting4-93
namingconventions4-91
unitsindefinition4-91
projectionview7-137
projects
creatingnew4-3
defaultnames4-1
deleting4-17
managing4-1
openingexisting4-7
openinglegacyMaxwell4-8
openingrecent4-8
renaming4-13
saving4-11
savingactive4-12
savingautomatically4-13
savingcopies4-12
savingnew4-11
savingnotes4-47
properties
reportbackgrounds19-31
Propertieswindow
modifyingcommandproperties2-24
settoopenafterdrawingobjects2-23
propertieswindow
materialproperties8-24
PurgeHistorycommand
3DModeler7-118
Q
quantities
plottingfield19-61
plottingS-parameter19-60
quasinewtonoptimizer21-15
queuedsimulations
removing18-4
viewing18-4
quickreport19-20
R
radius
onpolargrid7-140
RAM
required2-2
usedduringsolution19-4
rangefunctions
eyemeasurements19-63
recalculatingconductionpaths9-11
rectangles,drawing7-16
rectangularcontourplots
creating19-44
rectangularplots
creating2D19-36
Maxwell Online Help
Index-20
creating3D19-40
of parametric solution quantity results
21-85
rectangularstackedplots
creating2D19-38
reference for voltage and magnetic vector
potential22-72
referencepoint
movingrelativeto7-165
selecting7-165
setting7-161
region
drawing7-35
registers19-104
regularpolygons,drawing7-16
regularpolyhedrons,drawing7-20
relativecoordinatesystem
about7-175
creating7-176
operationsaffecting7-175
relativecoordinates
entering7-164
relativepermeability23-101
andskindepth22-25
defininganisotropytensors8-7
relativepermeability(Magnetostatic)22-12
relativepermittivity22-4,23-102
defininganisotropytensors8-9
remoteanalysis18-6
renamingprojects4-13
renderingobjects
asshadedsolids7-128
aswireframes7-128
settingdefaultfor7-129
reportproperties
discardbelowvalue19-51
reporttemplates
creating19-34
reporttypes
selecting19-35
Reports
applyFFT19-64
backgroundproperties19-31
zoomandfit19-30
reports
addingtraces19-45
creating19-19
creating2Drectangularplots19-36
creating 2D rectangular stacked plots
19-38
creating3Drectangularplots19-40
creatingdatatables19-42
creatingquickreports19-20
creating rectangular contour plots 19-
44
displaytypes19-36
findingdeltabetweenmarkers19-45
modifyingdatain19-27
overview19-19
plottingfieldquantities19-61
selectingafunction19-55
sweepingvariables19-54
typesof19-35
userdefinedoutputs19-133
valuevs.distance19-55
reportsdialog
familestab19-24
Resetcommand
inTuningdialogbox21-71
resistance
ACvs.DC22-29,23-66
andconductance22-39
andimpedance22-27,23-65
ineddycurrentproblems23-65
resizingholes7-104
resizingobjects7-97
resizingwindows2-10
re-solvingaproblem18-83
rotating
andsweepingobjects7-99
objects7-91
theview7-122
roundedcorners
removing7-104
Maxwell Online Help
Index-21
S
saving
fieldoverlayplots19-100
tunedstates21-70
savingfields
foraparametricsetup21-72
forasensitivitysetup21-73
forastatisticalsetup21-72,21-74
foratuninganalysis21-72,21-73
forallOptimetricssetups21-72
savingprojects4-11
activeprojects4-12
automatically4-13
newprojects4-11
savingcopies4-12
scalarfieldplots
cloudplots19-96
creating19-88
isosurfacedisplay19-96
transparency19-97
scalaroperations19-114
scale
modifyingforfieldoverlays19-93
scaling
objects7-97
scripting
IronPython20-1
secondarysweep
modifyingthevariable19-54
seedingthemesh23-7
segmentedpolygonhelix
drawingwithUDP7-24
segmentedrectangularhelix
drawingwithUDP7-25
SelectAllcommand7-144
SelectAllVisiblecommand7-144
selecting
allfaceedges7-155
allobjectedges7-155
allobjectfaces7-152
allvisibleobjects
selecting
allobjectsindesign7-144
clearingaselection7-158
edges7-154
facebehind7-158
faces7-150
facesbyname7-152
filterbyarea7-145
multipleobjects7-144
objectbehind7-158
objects7-143
objectsbyarea7-145
objectsbyname7-145
vertices7-156
selectingobjects
byvariable7-160
historytreegroups7-147
self-capacitance22-7
self-impedance22-26,23-62
self-inductance22-15,23-63
sensitivityanalysis
choosingvariablestoinclude4-119
optionalsettings21-51
settingup21-51
sensitivitysetups
adding21-51
addinganoutputparameter21-52
procedurefordefining21-51
settinginitialdisplacement21-56
settingthemax.iterations21-52
separatingbodies7-112
Sequential Mixed Integer NonLinear Pro-
gramming(SMINLP)Optimizer21-
15
Sequential Nonlinear Programming (SN-
LP)Optimizeroptimizer21-15
setting
referencepoint7-161
termpatureforobjects8-38
settingobjectcolor7-88
settingobjecttransparency7-89
settingoptions
configurationfiles4-74
Maxwell Online Help
Index-22
settingoutlinecolor7-88
settingthedrawingplane7-187
settingthemovementmode7-187
settingupdesigns5-1
setting up distributed analysis with licens-
ing18-12
settingupprojects5-1
settingdeformationforobjects8-40
Settings
Design5-4
setups
solution14-1
sheetobjects7-3
sheets
thickentomake3Dobjects7-100
SheetScan
loadingadatasheet4-105
SheetScanCoordinateSystem
Define4-106
SheetScanToolbars4-104
shortcircuit22-68
shortcircuitcapacitance22-8
shortcutkeys
CTRL+A7-144
shortcutmenus
overview2-14
ShowQueuedSimulationscommand
using18-4
showing
selections7-126
someobjects7-126
showingconductionpaths9-11
shrinkingobjects7-124
simulations
changingpriorityof18-81
monitoring18-18
re-solving18-83
runningOptimetrics18-1
starting16-1,18-1
stopping18-82
skindepth
andconductivity22-25
andeddycurrents22-25
andfrequency22-25
andmagneticfield22-25
andpermeability22-25
effectonACresistance22-29,23-66
skindepth-basedrefinement
creationoflayers23-8
onfaces13-5
snapsettings
choosing7-169
guidelinesfor7-170
modes7-169
settingdefault7-169
SNLPoptimizer
settingMinandMaxfocus21-42
Solaris
SettingUpaPrinter2-6
solidcurrentsources
ACsourcecurrent
displacement current and eddy
current22-69
solidobjects7-3
solidsources22-69
solutiondata
fordesignvariations21-83
importing4-39
viewing19-2
viewingconvergencedata19-2
solutionprocess
tetrahedrausedduring19-4
viewingmemoryusedduring19-4
viewingprofiledata19-4
viewingtasksperformed19-4
solutionquantity
calculation range for optimization 21-
35
calculationrangeforparametricsetups
21-10
calculationrangeforsensitivity21-54
calculationrangeforstatistical21-61
plottingparametricsetupresults21-85
specifyingforcostfunction21-35
specifyingforoutputparameter21-53
specifyingforparametricsetups21-8
Maxwell Online Help
Index-23
specifyingforstatisticalsetups21-60
solutionsettings
percentrefinementperpass14-7
settingupadaptiveanalyses14-6
setting up electric transient analyses
14-39
settinguptransientanalyses14-28
specifying14-1
solutionsetups
adding14-1
choosingforaparametricanalysis21-8
solutions
aftermodifyingthemodel18-83
changingpriorityof18-81
monitoring18-18
re-solving18-83
settingsourcestocomputeimpedance
23-64
starting16-1,18-1
stopping18-82
Solutionswindow
displaying18-18
Solver6-1
EddyCurrent6-2,6-3
Electrostatic6-1
Magnetostatic6-2
solvers9-2
eddycurrent6-2
electrostatic6-3
magnetostatic6-2
transient6-3
solving16-1,18-1
insideanobject8-3
onsurface8-3
parametric setup before optimization
21-43
parametric setup before sensitivity
analysis21-56
parametric setup during optimization
21-44
parametric setup during sensitivity
analysis21-57,21-66
solvingremotely18-6
sortingmaterials8-32
sourcecurrent
inpassiveconductors22-68
relationship to AC current density 22-
21
sources
ACconduction
required22-64
Voltage22-64
DCconduction
required22-64
Voltage22-64
eddycurrent
Current22-64
parallelcurrent22-69
passive22-68
perfectcurrent22-69
required22-64
solidcurrent22-69
strandedcurrent22-69
electrostatic
Charge22-64
Floating22-64
polarizedmaterials22-64
required22-64
Voltage22-64
functional22-74
magnetostatic
Current22-64
permanentmagnets22-64
required22-64
transient
required22-64
spacingbetweengridpoints7-141
S-parameters
plottingquantities19-60
spectral domain plots from transient solu-
tion19-68
spheres
drawing7-18
sphericalcoordinates
entering7-162
spinningtheview7-122,7-123
Maxwell Online Help
Index-24
spirals
drawing7-26,7-28
splines
convertingtostraightlines7-112
drawing7-7
splittingobjectsonaplane7-110
stack19-104
stackcommands
clear19-106
exch19-106
loadinginto19-106
performingoperationson19-111
pop19-106
push19-106
rldn19-106
rlup19-106
undo19-106
stackingdirection8-17
startingvariablevalue
overridingforoptimizations21-39
overridingforsensitivity21-54
overridingforstatistical21-66
statisticalanalysis
choosingvariablestoinclude4-120
plottingdistributionresults21-88
settingup21-59
viewingdistributionresults21-87
statisticalsetups
adding21-59
procedurefordefining21-59
settingthemax.iterations21-59
specifyingsolutionquantitiesfor21-60
statusbar
overview2-19
steady-stateconditions22-37
stepsize
settingconstraintsforoptimization21-
42
settingforsweepdefinitions21-6
stitchsheetscommand7-84
stoppingananalysis18-82
stoppingcriteriaforoptimization
maximumnumberofiterations21-31
stoppingcriteriaforsensitivityanalysis
max.iterations21-52
strandedconductors22-46
strandedcurrentsources
ACsourcecurrentin22-69
subtractingobjects7-107
surfaceapproximation
guidelinesforsetting23-10
modifyingsettings13-8
overview23-9
surfacevisualization
setting7-129
surfaces
covering7-102
creatingfacelists7-154
detaching7-102,7-103
uncovering7-102
susceptance22-42
sweepdefinitions
Seevariablesweepdefinitions21-4
sweepvariablesinreports
modifyingvalues19-54
normalizeddistance19-55
normalizedline19-55
sweeping
facesalongnormal7-100
sweepingobjects
alongapath7-99
alongavector7-99
andtwisting7-99
aroundanaxis7-97
drafttypes7-98
overview7-97
Sync#column21-6
synchronizingsweepdefinitions21-6
systemmateriallibraries8-34
systemrequirements
minimum2-2
recommended2-2
T
temperature
Maxwell Online Help
Index-25
settingforobjects8-38
templatesforreports
creating19-34
terminalS-parameterreports19-35
TestMachines
Distributed Analysis Machines dialog
18-16
tetrahedra
colorinplots19-131
displayoptions19-131
scalefactorinplot19-130
settingnumberaddedeachpass14-7
usedduringsolution19-4
theory
ACconductionfieldsimulation22-41
ACmagneticfield(eddycurrent)simu-
lation22-20
DCconductionfieldsimulation22-35
DCmagneticfield(magnetostatic)sim-
ulation22-12
electrostaticfieldsimulation22-4
thermallink
ANSYSWorkbench18-84
thermalquadraticparameters8-13,8-36
theta
onpolargrid7-140
thickensheets7-100
Third-PartyLicenseAgreements2-52
three-pointarcs7-5
time
realvs.CPU19-4
viewingforsolutiontasks19-4
timeconstant
for electrostatic and DC conduction
simulation22-38
time domain plots from eddy current solu-
tion19-69
time-varyingquantities
realandimaginarycomponents22-51
representingwithphasors22-50
Toolbars
SheetScan4-104
toolbars
overview2-12
torque
Lorentz(magnetostatic)23-49
virtual(EddyCurrent)22-31
virtual(electrostatic)23-27
virtual(Magnetostatic)22-18
virtual(magnetostatic)23-50
toruses,drawing7-22
Traces
displayproperties19-48
traces
addingcharacteristics19-51
addingtoreports19-45
copyandpastedefinitions19-53
removing19-52
Tracesdialogbox19-19
trademarknotices2-52
transientanalysis
settingup14-28
transientmotion
restrictions22-45
transientsimulation22-45
transientsolidconductors22-47
currentsources22-48
voltagesources22-48
translatinglegacyprojects4-9
translationalmotionequations22-49
transparency
assigningtoobjects7-89
defaultforobjects7-89
inscalarfieldplots19-97
ofmeshplots19-130
tuning
choosingvariablestotune4-120
tuninganalysis
resettingvariablevaluesafter21-71
revertingtoastate21-71
savingastate21-70
settingup21-68
twistingobjects
whilesweeping7-99
Maxwell Online Help
Index-26
U
UDPPrimitiveTypeInfo
datastructure7-37
Unclassifiedfolder
historytree2-30
uncoveringfaces7-102
unitingobjects7-107
units
aspartofvariabledefinitions4-91
settingfordesign5-3
UpdateRegistrycommand
settingorremovingoptionvalues4-77,
4-79,4-81
UpgradeVersion
Historytree2-34
UserDefinedOutputs19-133
UserDefinedPrimitives7-28,7-36
userdefinedprimitives
customization7-36
userinterface
overview2-8
usermateriallibraries8-34
V
validatingmaterials8-28
validationcheck4-25
valueboundaries
relationshiptooddsymmetryboundar-
ies22-55
usedasreference22-72
valuevs.distanceplots19-55
variable
foroutputconvergence14-8
selectingobjectsby7-160
variablesweepdefinitions
addingtoparametricsetups21-4
manuallymodifying21-7
overview21-4
settingvaluestosolve21-5
synchronizing21-6
trackingchangesto21-7
viewingalldesignvariations21-4
variable-dependentgoal21-37
variables
addarray4-95
addinglocalvariables4-93
addingprojectvariables4-91
andobjectparameters7-3
assigningtomaterialproperties8-13
assigningtoparameters4-118
choosingtooptimize4-118
choosingtotune4-120
datasetexpressionsin4-117
definingsweepdefinitions21-4
deletingfromdesign4-98
deletingfromproject4-93
dependent4-92,4-95,4-112
excluding from Optimetrics analyses
21-77
includinginfunctions4-111
includinginsensitivityanalysis4-119
includinginstatisticalanalysis4-120
materialproperties8-13
min. and max values for optimization
21-39
min. and max values for sensitivity
analysis21-55
output19-70
overridingdefaultvalueforaparamet-
ricsetup21-7
overview4-91
predefinedinQ3DExtractor4-111
settingdefaultvalue4-92
settingdistributioncriteria21-61
settingfixedvalues21-78
settingrangeofvalues21-55
settingrangeofvaluesforoptimization
21-39
tuning21-68
typesinQ3DExtractor4-91
updatingtooptimizedvalues21-44
variabless
intrinsic4-114
Maxwell Online Help
Index-27
vectorfieldplots
creating19-88
modifyingarrows19-95
vectoroperations19-119
verifyingconductionpaths9-11
vertex
selecting7-156
vertices
selecting7-156
videodrivers
recommended2-2
viewdirection7-134
viewoptions
backgroundcolor7-138
fitallinview7-125
lighting7-136
orientation7-134
pan7-123
projection7-137
rotate7-122
spin7-122,7-123
viewdirection7-134
zoom7-124
zoomonrectangle7-124
viewingdatamarkers19-98
virtualforce
andcurrent22-17,23-27,23-49
andenergy22-9
and magnetic coenergy 22-17, 23-27,
23-49
andvirtualwork(Electrostatic)23-27
andvirtualwork(electrostatic)22-9
andvirtualwork(magnetostatic)22-17,
23-49
instantaneous22-30
theory(eddycurrent)22-30
theory(electrostatic)22-9,23-27
theory(magnetostatic)22-17,23-49
time-averagedvalueof22-30
virtualtorque
andmagneticcoenergy22-18,23-50
andvirtualforce(electrostatic)23-27
andvirtualforce(magnetostatic)22-18,
23-50
instantaneous22-31
theory(eddycurrent)22-31
theory(electrostatic)23-27
theory(magnetostatic)22-18,23-50
time-averagedvalueof22-31
virtualwork
andforce(electrostatic)22-9,23-27
andforce(magnetostatic)22-17,23-49
andtorque(electrostatic)23-27
and torque (magnetostatic) 22-18, 23-
50
visibility
hidingobjects7-126
ofcolorkey19-92
offieldoverlayplots19-99
ofmeshonfieldplots19-96
showingobjects7-126
visualizationoptions
forboundaries9-12
forexcitations9-12
voltage
andballoonboundaries22-57
andcapacitance22-6
andinductance22-16
reference22-72
time-varying22-7
voltagesources
AC
usedasreference22-72
DC
usedasreference22-72
W
windows
movingandresizing2-10
wing19-9
wireframeobjects7-128
workingcoordinatesystem
about7-175
selecting7-176
Maxwell Online Help
Index-28
wrapobjectscommand7-101
X
XYdrawingplane7-187
Z
zoom
withaltmousewheel7-125
zooming
inandout7-124
onrectangulararea7-124