+ All Categories
Home > Documents > The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction...

The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction...

Date post: 20-Jan-2021
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
330
AC/DC Module User’s Guide
Transcript
Page 1: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

AC/DC ModuleUser’s Guide

Page 2: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

C o n t a c t I n f o r m a t i o n

Visit the Contact COMSOL page at www.comsol.com/contact to submit general inquiries, contact Technical Support, or search for an address and phone number. You can also visit the Worldwide Sales Offices page at www.comsol.com/contact/offices for address and contact information.

If you need to contact Support, an online request form is located at the COMSOL Access page at www.comsol.com/support/case. Other useful links include:

• Support Center: www.comsol.com/support

• Product Download: www.comsol.com/product-download

• Product Updates: www.comsol.com/support/updates

• COMSOL Blog: www.comsol.com/blogs

• Discussion Forum: www.comsol.com/community

• Events: www.comsol.com/events

• COMSOL Video Gallery: www.comsol.com/video

• Support Knowledge Base: www.comsol.com/support/knowledgebase

Part number: CM020101

A C / D C M o d u l e U s e r ’ s G u i d e© 1998–2017 COMSOL

Protected by U.S. Patents listed on www.comsol.com/patents, and U.S. Patents 7,519,518; 7,596,474; 7,623,991; 8,457,932; 8,954,302; 9,098,106; 9,146,652; 9,323,503; 9,372,673; and 9,454,625. Patents pending.

This Documentation and the Programs described herein are furnished under the COMSOL Software License Agreement (www.comsol.com/comsol-license-agreement) and may be used or copied only under the terms of the license agreement.

COMSOL, the COMSOL logo, COMSOL Multiphysics, Capture the Concept, COMSOL Desktop, LiveLink, and COMSOL Server are either registered trademarks or trademarks of COMSOL AB. All other trademarks are the property of their respective owners, and COMSOL AB and its subsidiaries and products are not affiliated with, endorsed by, sponsored by, or supported by those trademark owners. For a list of such trademark owners, see www.comsol.com/trademarks.

Version: COMSOL 5.3

Page 3: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

C o n t e n t s

C h a p t e r 1 : I n t r o d u c t i o n

About the AC/DC Module 14

What Can the AC/DC Module Do? . . . . . . . . . . . . . . . . 14

AC/DC Module Physics Interface Guide . . . . . . . . . . . . . . 15

AC/DC Module Study Availability . . . . . . . . . . . . . . . . 18

Common Physics Interface and Feature Settings and Nodes. . . . . . . 20

Where Do I Access the Documentation and Application Libraries? . . . . 20

Overview of the User’s Guide 24

C h a p t e r 2 : R e v i e w o f E l e c t r o m a g n e t i c s

Fundamentals of Electromagnetics 28

Maxwell’s Equations . . . . . . . . . . . . . . . . . . . . . . 28

Constitutive Relations . . . . . . . . . . . . . . . . . . . . . 29

Potentials. . . . . . . . . . . . . . . . . . . . . . . . . . 31

Reduced Potential PDE Formulations . . . . . . . . . . . . . . . 31

Electromagnetic Energy . . . . . . . . . . . . . . . . . . . . 32

The Quasi-Static Approximation and the Lorentz Term . . . . . . . . 33

Material Properties . . . . . . . . . . . . . . . . . . . . . . 34

About the Boundary and Physics Interface Conditions . . . . . . . . . 35

Phasors . . . . . . . . . . . . . . . . . . . . . . . . . . 36

Effective Nonlinear Magnetic Constitutive Relations. . . . . . . . . . 37

The Jiles-Atherton Hysteresis Model . . . . . . . . . . . . . . . 38

References for Electromagnetic Theory . . . . . . . . . . . . . . 40

Electromagnetic Forces 41

Overview of Forces in Continuum Mechanics . . . . . . . . . . . . 41

Forces on an Elastic Solid Surrounded by Vacuum or Air . . . . . . . . 43

Torque. . . . . . . . . . . . . . . . . . . . . . . . . . . 44

Forces in Stationary Fields . . . . . . . . . . . . . . . . . . . 44

C O N T E N T S | 3

Page 4: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

4 | C O N T E N T S

Forces in a Moving Body . . . . . . . . . . . . . . . . . . . . 48

Electromagnetic Energy and Virtual Work . . . . . . . . . . . . . 50

Electromagnetic Quantities 52

References for the AC/DC Interfaces 54

C h a p t e r 3 : M o d e l i n g w i t h t h e A C / D C M o d u l e

Preparing for Modeling 56

What Problems Can You Solve? . . . . . . . . . . . . . . . . . 57

Selecting the Space Dimension for the Model Geometry . . . . . . . . 58

Simplifying the Geometry Using Boundary Conditions . . . . . . . . . 60

Applying Electromagnetic Sources . . . . . . . . . . . . . . . . 61

Selecting a Study Type . . . . . . . . . . . . . . . . . . . . . 62

2D Field Variables . . . . . . . . . . . . . . . . . . . . . . 63

About the AC/DC and Nonlinear Magnetic Material Databases . . . . . 63

Meshing and Solving . . . . . . . . . . . . . . . . . . . . . . 64

Force and Torque Computations 65

Calculating Electromagnetic Forces and Torques . . . . . . . . . . . 65

Model Examples—Electromagnetic Forces . . . . . . . . . . . . . 66

Coil Features 68

About the Coil Features . . . . . . . . . . . . . . . . . . . . 68

About the Coil Name . . . . . . . . . . . . . . . . . . . . . 71

Coil Excitation . . . . . . . . . . . . . . . . . . . . . . . . 71

Coil Groups. . . . . . . . . . . . . . . . . . . . . . . . . 75

Lumped Parameter Calculations . . . . . . . . . . . . . . . . . 75

The Single-Turn Coil Feature . . . . . . . . . . . . . . . . . . 77

Using Coils in 3D Models . . . . . . . . . . . . . . . . . . . 78

Automatic Coil Geometry Analysis . . . . . . . . . . . . . . . . 83

Accurate Coil Voltage Calculation . . . . . . . . . . . . . . . . 84

Lumped Parameters 86

Calculating Lumped Parameters with Ohm’s Law . . . . . . . . . . . 86

Page 5: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Calculating Lumped Parameters Using the Energy Method . . . . . . . 88

Studying Lumped Parameters . . . . . . . . . . . . . . . . . . 89

Lumped Parameter Conversion . . . . . . . . . . . . . . . . . 90

Stationary Source Sweep . . . . . . . . . . . . . . . . . . . . 92

Lumped Ports with Voltage Input 94

About Lumped Ports . . . . . . . . . . . . . . . . . . . . . 94

Lumped Port Parameters . . . . . . . . . . . . . . . . . . . . 94

S-Parameters and Ports 97

S-Parameters in Terms of Voltage and Electric Field . . . . . . . . . . 97

S-Parameter Calculations . . . . . . . . . . . . . . . . . . . . 98

S-Parameter Variables . . . . . . . . . . . . . . . . . . . . . 98

Port Sweeps/Manual Terminal Sweeps and Touchstone Export. . . . . . 98

Connecting to Electrical Circuits 99

About Connecting Electrical Circuits to Physics Interfaces . . . . . . . 99

Connecting Electrical Circuits Using Predefined Couplings . . . . . . 100

Connecting Electrical Circuits by User-Defined Couplings . . . . . . 100

Solving . . . . . . . . . . . . . . . . . . . . . . . . . . 102

Postprocessing. . . . . . . . . . . . . . . . . . . . . . . 102

Spice Import 103

SPICE Import . . . . . . . . . . . . . . . . . . . . . . . 103

SPICE Export . . . . . . . . . . . . . . . . . . . . . . . 104

Reference for SPICE Import and Export . . . . . . . . . . . . . 104

C h a p t e r 4 : E l e c t r i c F i e l d I n t e r f a c e s

The Electrostatics Interface 106

Domain, Boundary, Edge, Point, and Pair Nodes for the

Electrostatics Interface . . . . . . . . . . . . . . . . . . 108

Charge Conservation . . . . . . . . . . . . . . . . . . . . 111

Initial Values. . . . . . . . . . . . . . . . . . . . . . . . 112

Space Charge Density . . . . . . . . . . . . . . . . . . . . 112

Force Calculation. . . . . . . . . . . . . . . . . . . . . . 112

C O N T E N T S | 5

Page 6: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

6 | C O N T E N T S

Zero Charge . . . . . . . . . . . . . . . . . . . . . . . 113

Ground . . . . . . . . . . . . . . . . . . . . . . . . . 114

Electric Potential . . . . . . . . . . . . . . . . . . . . . . 114

Surface Charge Density . . . . . . . . . . . . . . . . . . . 115

External Surface Charge Accumulation . . . . . . . . . . . . . 115

Electric Displacement Field . . . . . . . . . . . . . . . . . . 116

Periodic Condition . . . . . . . . . . . . . . . . . . . . . 116

Thin Low Permittivity Gap . . . . . . . . . . . . . . . . . . 117

Dielectric Shielding . . . . . . . . . . . . . . . . . . . . . 118

Terminal . . . . . . . . . . . . . . . . . . . . . . . . . 119

Floating Potential . . . . . . . . . . . . . . . . . . . . . . 121

Distributed Capacitance . . . . . . . . . . . . . . . . . . . 123

Line Charge . . . . . . . . . . . . . . . . . . . . . . . . 123

Line Charge (on Axis) . . . . . . . . . . . . . . . . . . . . 124

Line Charge (Out-of-Plane) . . . . . . . . . . . . . . . . . . 124

Point Charge . . . . . . . . . . . . . . . . . . . . . . . 125

Point Charge (on Axis) . . . . . . . . . . . . . . . . . . . 125

Change Cross Section . . . . . . . . . . . . . . . . . . . . 126

Change Thickness (Out-of-Plane). . . . . . . . . . . . . . . . 126

Charge Conservation, Piezoelectric . . . . . . . . . . . . . . . 127

Electrostatic Point Dipole . . . . . . . . . . . . . . . . . . 128

Archie’s Law . . . . . . . . . . . . . . . . . . . . . . . 128

Porous Media . . . . . . . . . . . . . . . . . . . . . . . 129

The Electrostatics, Boundary Elements Interface 131

Domain, Boundary, and Edge Nodes for the Electrostatics, Boundary

Elements Interface . . . . . . . . . . . . . . . . . . . . 135

Initial Values. . . . . . . . . . . . . . . . . . . . . . . . 135

Charge Conservation . . . . . . . . . . . . . . . . . . . . 135

Electric Potential . . . . . . . . . . . . . . . . . . . . . . 136

Floating Potential . . . . . . . . . . . . . . . . . . . . . . 136

Ground . . . . . . . . . . . . . . . . . . . . . . . . . 137

Surface Charge Density . . . . . . . . . . . . . . . . . . . 137

Terminal . . . . . . . . . . . . . . . . . . . . . . . . . 138

Boundary Electric Potential Coupling . . . . . . . . . . . . . . 139

The Electric Currents Interface 140

Domain, Boundary, Edge, Point, and Pair Nodes for the Electric

Page 7: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Currents Interface . . . . . . . . . . . . . . . . . . . . 142

Current Conservation . . . . . . . . . . . . . . . . . . . . 144

Initial Values. . . . . . . . . . . . . . . . . . . . . . . . 147

External Current Density. . . . . . . . . . . . . . . . . . . 147

Current Source . . . . . . . . . . . . . . . . . . . . . . 148

Electric Insulation . . . . . . . . . . . . . . . . . . . . . 148

Floating Potential . . . . . . . . . . . . . . . . . . . . . . 148

Boundary Current Source . . . . . . . . . . . . . . . . . . 150

Normal Current Density . . . . . . . . . . . . . . . . . . . 151

Distributed Impedance. . . . . . . . . . . . . . . . . . . . 151

Terminal . . . . . . . . . . . . . . . . . . . . . . . . . 153

Electric Shielding . . . . . . . . . . . . . . . . . . . . . . 155

Contact Impedance . . . . . . . . . . . . . . . . . . . . . 156

Electrical Contact . . . . . . . . . . . . . . . . . . . . . 158

Sector Symmetry . . . . . . . . . . . . . . . . . . . . . . 159

Line Current Source . . . . . . . . . . . . . . . . . . . . 160

Line Current Source (on Axis). . . . . . . . . . . . . . . . . 160

Point Current Source . . . . . . . . . . . . . . . . . . . . 161

Point Current Source (on Axis) . . . . . . . . . . . . . . . . 161

Electric Point Dipole . . . . . . . . . . . . . . . . . . . . 162

Electric Point Dipole (on Axis). . . . . . . . . . . . . . . . . 162

Piezoresistive Material . . . . . . . . . . . . . . . . . . . . 163

The Electric Currents, Shell Interface 164

Boundary, Edge, Point, and Pair Nodes for the Electric Currents,

Shell Interface. . . . . . . . . . . . . . . . . . . . . . 166

Current Conservation . . . . . . . . . . . . . . . . . . . . 167

Initial Values. . . . . . . . . . . . . . . . . . . . . . . . 169

Current Source . . . . . . . . . . . . . . . . . . . . . . 169

Change Shell Thickness . . . . . . . . . . . . . . . . . . . 170

Normal Current Density . . . . . . . . . . . . . . . . . . . 170

Electric Shielding . . . . . . . . . . . . . . . . . . . . . . 170

Theory for the Electrostatics Interface 172

Charge Relaxation Theory . . . . . . . . . . . . . . . . . . 172

Electrostatics Equations . . . . . . . . . . . . . . . . . . . 176

The Electrostatics Interface in Time Dependent or Frequency

Domain Studies . . . . . . . . . . . . . . . . . . . . . 176

C O N T E N T S | 7

Page 8: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

8 | C O N T E N T S

Effective Material Properties in Porous Media and Mixtures . . . . . . 177

Effective Conductivity in Porous Media and Mixtures . . . . . . . . 177

Effective Relative Permittivity in Porous Media and Mixtures . . . . . 178

Effective Relative Permeability in Porous Media and Mixtures . . . . . 179

Archie’s Law Theory . . . . . . . . . . . . . . . . . . . . 180

Reference for Archie’s Law . . . . . . . . . . . . . . . . . . 181

Theory for the Electric Currents Interface 182

Electric Currents Equations in Steady State . . . . . . . . . . . . 182

Dynamic Electric Currents Equations . . . . . . . . . . . . . . 183

Theory for the Electrical Contact . . . . . . . . . . . . . . . 183

Theory for the Electric Currents, Shell Interface 187

Electric Currents, Shell Equations in Steady State. . . . . . . . . . 187

Dynamic Electric Currents Equations . . . . . . . . . . . . . . 187

C h a p t e r 5 : M a g n e t i c F i e l d I n t e r f a c e s

The Magnetic Fields Interface 190

Domain, Boundary, Point, and Pair Nodes for the Magnetic Fields

Interface. . . . . . . . . . . . . . . . . . . . . . . . 193

Ampère’s Law . . . . . . . . . . . . . . . . . . . . . . . 196

Ampère’s Law, Magnetostrictive . . . . . . . . . . . . . . . . 199

Initial Values. . . . . . . . . . . . . . . . . . . . . . . . 200

External Current Density. . . . . . . . . . . . . . . . . . . 200

Velocity (Lorentz Term) . . . . . . . . . . . . . . . . . . . 201

Magnetic Insulation . . . . . . . . . . . . . . . . . . . . . 202

Magnetic Field . . . . . . . . . . . . . . . . . . . . . . . 203

Surface Current . . . . . . . . . . . . . . . . . . . . . . 204

Magnetic Potential . . . . . . . . . . . . . . . . . . . . . 204

Perfect Magnetic Conductor . . . . . . . . . . . . . . . . . 205

Line Current (Out-of-Plane) . . . . . . . . . . . . . . . . . 205

Electric Point Dipole . . . . . . . . . . . . . . . . . . . . 206

Gauge Fixing for A-Field . . . . . . . . . . . . . . . . . . . 206

Coil . . . . . . . . . . . . . . . . . . . . . . . . . . . 208

Harmonic Perturbation . . . . . . . . . . . . . . . . . . . 214

Page 9: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Coil Geometry . . . . . . . . . . . . . . . . . . . . . . 215

User Defined Coil Geometry . . . . . . . . . . . . . . . . . 216

Input (for User Defined Coil Geometry) . . . . . . . . . . . . . 217

Output (for User Defined Coil Geometry) . . . . . . . . . . . . 217

Override Coil Inlet/Outlet . . . . . . . . . . . . . . . . . . 217

Geometry Analysis . . . . . . . . . . . . . . . . . . . . . 218

Input (for Geometry Analysis) . . . . . . . . . . . . . . . . . 219

Output (for Geometry Analysis) . . . . . . . . . . . . . . . . 219

Connected Boundaries . . . . . . . . . . . . . . . . . . . 220

Single-Turn Coil . . . . . . . . . . . . . . . . . . . . . . 220

Gap Feed . . . . . . . . . . . . . . . . . . . . . . . . . 223

Boundary Feed . . . . . . . . . . . . . . . . . . . . . . 223

Ground . . . . . . . . . . . . . . . . . . . . . . . . . 224

Floating Potential . . . . . . . . . . . . . . . . . . . . . . 224

Domain Group/Boundary Group . . . . . . . . . . . . . . . . 224

Reversed Current Direction . . . . . . . . . . . . . . . . . 225

Lumped Port . . . . . . . . . . . . . . . . . . . . . . . 225

Lumped Element . . . . . . . . . . . . . . . . . . . . . . 228

Edge Current . . . . . . . . . . . . . . . . . . . . . . . 229

External Magnetic Vector Potential . . . . . . . . . . . . . . . 229

Impedance Boundary Condition . . . . . . . . . . . . . . . . 229

Transition Boundary Condition . . . . . . . . . . . . . . . . 231

Thin Low Permeability Gap . . . . . . . . . . . . . . . . . . 232

Magnetic Point Dipole . . . . . . . . . . . . . . . . . . . . 232

Magnetic Point Dipole (on Axis) . . . . . . . . . . . . . . . . 233

Magnetic Shielding . . . . . . . . . . . . . . . . . . . . . 233

The Magnetic Field Formulation Interface 235

Domain, Boundary, Point, and Pair Nodes for the Magnetic Field

Formulation Interface . . . . . . . . . . . . . . . . . . . 237

Faraday’s Law . . . . . . . . . . . . . . . . . . . . . . . 238

Initial Values. . . . . . . . . . . . . . . . . . . . . . . . 239

Magnetic Gauss’ Law . . . . . . . . . . . . . . . . . . . . 239

Magnetic Insulation . . . . . . . . . . . . . . . . . . . . . 240

Electric Field . . . . . . . . . . . . . . . . . . . . . . . 240

Surface Magnetic Current Density . . . . . . . . . . . . . . . 241

C O N T E N T S | 9

Page 10: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

10 | C O N T E N T S

The Magnetic Fields, No Currents Interface 242

Domain, Boundary, Point, and Pair Nodes for the Magnetic Fields,

No Currents Interface . . . . . . . . . . . . . . . . . . 244

Magnetic Flux Conservation. . . . . . . . . . . . . . . . . . 246

Initial Values. . . . . . . . . . . . . . . . . . . . . . . . 246

Magnetic Insulation . . . . . . . . . . . . . . . . . . . . . 247

Magnetic Scalar Potential . . . . . . . . . . . . . . . . . . . 247

Magnetic Flux Density . . . . . . . . . . . . . . . . . . . . 247

Zero Magnetic Scalar Potential. . . . . . . . . . . . . . . . . 248

External Magnetic Flux Density . . . . . . . . . . . . . . . . 248

Magnetic Shielding . . . . . . . . . . . . . . . . . . . . . 248

Thin Low Permeability Gap . . . . . . . . . . . . . . . . . . 249

The Rotating Machinery, Magnetic Interface 251

Domain, Boundary, Edge, Point, and Pair Nodes for the Rotating

Machinery, Magnetic Interface. . . . . . . . . . . . . . . . 254

Initial Values. . . . . . . . . . . . . . . . . . . . . . . . 255

Electric Field Transformation . . . . . . . . . . . . . . . . . 255

Prescribed Rotation . . . . . . . . . . . . . . . . . . . . . 256

Prescribed Rotational Velocity . . . . . . . . . . . . . . . . . 256

Magnetic Insulation . . . . . . . . . . . . . . . . . . . . . 256

Mixed Formulation Boundary . . . . . . . . . . . . . . . . . 257

The Magnetic and Electric Fields Interface 258

About the Magnetic and Electric Field Interface Boundary Conditions . . 261

Domain, Boundary, Edge, Point, and Pair Nodes for the Magnetic

and Electric Fields Interface . . . . . . . . . . . . . . . . 264

Ampère’s Law and Current Conservation . . . . . . . . . . . . 266

Initial Values. . . . . . . . . . . . . . . . . . . . . . . . 266

Magnetic Insulation . . . . . . . . . . . . . . . . . . . . . 267

Surface Current . . . . . . . . . . . . . . . . . . . . . . 267

Magnetic Shielding . . . . . . . . . . . . . . . . . . . . . 267

Magnetic Continuity. . . . . . . . . . . . . . . . . . . . . 268

RLC Coil Group . . . . . . . . . . . . . . . . . . . . . . 269

Theory for the Magnetic Fields Interface 272

Magnetostatics Equation . . . . . . . . . . . . . . . . . . . 272

Frequency Domain Equation . . . . . . . . . . . . . . . . . 273

Page 11: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Transient Equation . . . . . . . . . . . . . . . . . . . . . 273

Maxwell’s Equations . . . . . . . . . . . . . . . . . . . . . 274

Magnetic and Electric Potentials . . . . . . . . . . . . . . . . 274

Gauge Transformations . . . . . . . . . . . . . . . . . . . 275

Selecting a Particular Gauge. . . . . . . . . . . . . . . . . . 275

The Gauge and Equation of Continuity for Dynamic Fields . . . . . . 276

Explicit Gauge Fixing/Divergence Constraint . . . . . . . . . . . 276

Ungauged Formulations and Current Conservation . . . . . . . . . 277

Time-Harmonic Magnetic Fields . . . . . . . . . . . . . . . . 277

Theory for the Magnetic Field Formulation Interface 279

Equation System . . . . . . . . . . . . . . . . . . . . . . 279

Theory for the Magnetic Fields, No Currents Interface 282

Theory for the Magnetic and Electric Fields Interface 283

Magnetostatics Equations . . . . . . . . . . . . . . . . . . . 283

Frequency Domain Equations . . . . . . . . . . . . . . . . . 284

C h a p t e r 6 : T h e E l e c t r i c a l C i r c u i t I n t e r f a c e

The Electrical Circuit Interface 286

Ground Node . . . . . . . . . . . . . . . . . . . . . . . 288

Volt Meter . . . . . . . . . . . . . . . . . . . . . . . . 288

Ampère Meter. . . . . . . . . . . . . . . . . . . . . . . 289

Resistor . . . . . . . . . . . . . . . . . . . . . . . . . 289

Capacitor. . . . . . . . . . . . . . . . . . . . . . . . . 290

Inductor . . . . . . . . . . . . . . . . . . . . . . . . . 290

Voltage Source. . . . . . . . . . . . . . . . . . . . . . . 290

Current Source . . . . . . . . . . . . . . . . . . . . . . 291

Voltage-Controlled Voltage Source . . . . . . . . . . . . . . . 292

Voltage-Controlled Current Source . . . . . . . . . . . . . . . 293

Current-Controlled Voltage Source . . . . . . . . . . . . . . . 293

Current-Controlled Current Source . . . . . . . . . . . . . . 294

Subcircuit Definition . . . . . . . . . . . . . . . . . . . . 294

Subcircuit Instance . . . . . . . . . . . . . . . . . . . . . 295

C O N T E N T S | 11

Page 12: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

12 | C O N T E N T S

NPN BJT and PNP BJT. . . . . . . . . . . . . . . . . . . . 295

n-Channel MOSFET and p-Channel MOSFET . . . . . . . . . . . 296

Mutual Inductance . . . . . . . . . . . . . . . . . . . . . 297

Transformer. . . . . . . . . . . . . . . . . . . . . . . . 297

Diode . . . . . . . . . . . . . . . . . . . . . . . . . . 298

External I vs. U . . . . . . . . . . . . . . . . . . . . . . 298

External U vs. I . . . . . . . . . . . . . . . . . . . . . . 299

External I-Terminal . . . . . . . . . . . . . . . . . . . . . 300

SPICE Circuit Import . . . . . . . . . . . . . . . . . . . . 301

SPICE Circuit Export . . . . . . . . . . . . . . . . . . . . 301

Theory for the Electrical Circuit Interface 303

Electric Circuit Modeling and the Semiconductor Device Models. . . . 303

Bipolar Transistors . . . . . . . . . . . . . . . . . . . . . 304

MOSFET Transistors . . . . . . . . . . . . . . . . . . . . 307

Diode . . . . . . . . . . . . . . . . . . . . . . . . . . 310

Reference for the Electrical Circuit Interface . . . . . . . . . . . 312

C h a p t e r 7 : H e a t T r a n s f e r I n t e r f a c e s

The Induction Heating Interface 314

Electromagnetic Heat Source . . . . . . . . . . . . . . . . . 317

C h a p t e r 8 : G l o s s a r y

Glossary of Terms 320

Page 13: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

1

I n t r o d u c t i o n

This guide describes the AC/DC Module, an optional add-on package for COMSOL Multiphysics® designed to assist you to solve and model low-frequency electromagnetics.

This chapter introduces you to the capabilities of the module including an introduction to the modeling stages and some realistic and illustrative models. A summary of the physics interfaces and where you can find documentation and model examples is also included. The last section is a brief overview with links to each chapter in this guide.

In this chapter:

• About the AC/DC Module

• Overview of the User’s Guide

13

Page 14: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

14 | C H A P T E R

Abou t t h e AC /DC Modu l e

In this section:

• What Can the AC/DC Module Do?

• AC/DC Module Physics Interface Guide

• AC/DC Module Study Availability

• Common Physics Interface and Feature Settings and Nodes

• Where Do I Access the Documentation and Application Libraries?

What Can the AC/DC Module Do?

The AC/DC Module provides a unique environment for simulation of AC/DC electromagnetics in 2D and 3D. The module is a powerful tool for detailed analysis of coils, capacitors, and electrical machinery. With this module you can run static, quasi-static, transient, and time-harmonic simulations in an easy-to-use graphical user interface.

The available physics interfaces cover the following types of electromagnetics field simulations:

• Electrostatics

• Electric currents in conductive media

• Magnetostatics

• Low-frequency electromagnetics

Material properties include inhomogeneous and fully anisotropic materials, media with gains or losses, and complex-valued material properties. Infinite elements makes it possible to model unbounded domains. In addition to the standard results and visualization functionality, the module supports direct computation of lumped parameters such as capacitances and inductances as well as electromagnetic forces.

Selected material data are provided with the module.

For detailed information about Materials including the AC/DC Materials Database and Nonlinear Magnetic Materials Database, see the COMSOL Multiphysics Reference Manual.

1 : I N T R O D U C T I O N

Page 15: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Like all COMSOL modules, there is a library of ready-to-run models that make it quicker and easier to analyze discipline-specific problems. In addition, any model you develop is described in terms of the underlying partial differential equations, offering a unique way to see the underlying physical laws of a simulation.

The AC/DC interfaces are fully multiphysics enabled—couple them to any other physics interface in COMSOL Multiphysics or the other modules. For example, to find the heat distribution in a motor, first find the current in the coils using one of the quasi-static interfaces in this module and then couple it to a heat equation in the main COMSOL Multiphysics package or the Heat Transfer Module. This forms a powerful multiphysics model that solves all the equations simultaneously.

The AC/DC Module also provides interfaces for modeling electrical circuits.

AC/DC Module Physics Interface Guide

The interfaces in the AC/DC Module form a complete set of simulation tools for electromagnetic field simulations. To select the right physics interface for describing the real-life physics, the geometric properties and the time variations of the fields need to be considered. The interfaces solve for these physical quantities—the electric scalar potential V, the magnetic vector potential A, and the magnetic scalar potential Vm.

Each physics interface has a tag which is of special importance when performing multiphysics simulations. This tag helps distinguish between physics interfaces and the variables defined by the physics interface have an underscore plus the physics interface tag appended to their names.

The Model Wizard is an easy way to select the physics interface and study type when creating a model for the first time, and physics interfaces can be added to an existing model at any time. Full instructions for selecting interfaces and setting up a model are in the COMSOL Multiphysics Reference Manual.

• Building a COMSOL Multiphysics Model in the COMSOL Multiphysics Reference Manual

• AC/DC Module Physics Interface Guide

• AC/DC Module Study Availability

• Common Physics Interface and Feature Settings and Nodes

• Where Do I Access the Documentation and Application Libraries?

A B O U T T H E A C / D C M O D U L E | 15

Page 16: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

16 | C H A P T E R

In 2D, in-plane and out-of-plane variants are available for problems with a planar symmetry as well as axisymmetric interfaces for problems with a cylindrical symmetry.

See What Problems Can You Solve? and Table 1-1 for information about the available study types and variables. See also Overview of the User’s Guide for links to the chapters in this guide.

When using an axisymmetric physics interface it is important that the horizontal axis represents the r direction and the vertical axis the z direction, and that the geometry in the right half-plane (that is, for positive r only) must be created.

In the COMSOL Multiphysics Reference Manual:

• Studies and Solvers

• The Physics Interfaces

• For a list of all the core physics interfaces included with a COMSOL Multiphysics license, see Physics Interface Guide.

PHYSICS INTERFACE ICON TAG SPACE DIMENSION

AVAILABLE PRESET STUDY TYPE

AC/DC

Electric Currents1 ec all dimensions stationary; stationary source sweep; frequency domain; time dependent; small signal analysis, frequency domain

Electric Currents - Shell ecs 3D, 2D, 2D axisymmetric

stationary; frequency domain; time dependent; small signal analysis, frequency domain

Electrical Circuit cir Not space dependent

stationary; frequency domain; time dependent; small signal analysis, frequency domain

1 : I N T R O D U C T I O N

Page 17: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Electrostatics1 es all dimensions stationary; time dependent; stationary source sweep; eigenfrequency; frequency domain; small signal analysis, frequency domain

Electrostatics, Boundary Elements

esbe 3D, 2D stationary, stationary source sweep

Magnetic Fields1 mf 3D, 2D, 2D axisymmetric

stationary; frequency domain; time dependent; small signal analysis, frequency domain; coil geometry analysis (3D only)

Magnetic Field Formulation

mfh 3D, 2D, 2D axisymmetric

stationary; frequency domain; time dependent; small signal analysis, frequency domain

Magnetic Fields, No Currents

mfnc 3D, 2D, 2D axisymmetric

stationary; time dependent

Magnetic and Electric Fields

mef 3D, 2D, 2D axisymmetric

stationary; frequency domain; small signal analysis, frequency domain; coil geometry analysis (3D only)

Rotating Machinery, Magnetic

rmm 3D, 2D stationary; time dependent, coil geometry analysis (3D only)

Heat Transfer

Electromagnetic Heating

Induction Heating2 — 3D, 2D, 2D axisymmetric

stationary; time dependent; frequency-stationary; frequency-transient; small-signal analysis, frequency domain

PHYSICS INTERFACE ICON TAG SPACE DIMENSION

AVAILABLE PRESET STUDY TYPE

A B O U T T H E A C / D C M O D U L E | 17

Page 18: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

18 | C H A P T E R

FRE

QU

EN

CY

-TR

AN

SIE

NT

AC/DC Module Study Availability

Joule Heating1,2 — all dimensions stationary; time dependent; frequency-transient; small-signal analysis, frequency domain; frequency-stationary

Magnetostriction — 3D, 2D, 2D axisymmetric

stationary; eigenfrequency; time dependent; frequency domain; small-signal analysis, frequency domain; prestressed analysis, eigenfrequency; prestressed analysis, frequency domain

1 This physics interface is included with the core COMSOL package but has added functionality for this module.

2 This physics interface is a predefined multiphysics coupling that automatically adds all the physics interfaces and coupling features required.

PHYSICS INTERFACE ICON TAG SPACE DIMENSION

AVAILABLE PRESET STUDY TYPE

TABLE 1-1: AC/DC MODULE DEPENDENT VARIABLES, FIELD COMPONENTS, AND PRESET STUDY AVAILABILITY

PHYSICS INTERFACE TAG DEPENDENT VARIABLES

FIELD COMPONENTS

* PRESET STUDIES**

MA

GN

ET

IC F

IEL

D

EL

EC

TR

IC F

IEL

D

MA

GN

ET

IC P

OT

EN

TIA

L

CU

RR

EN

T D

EN

SIT

Y

ST

AT

ION

AR

Y

TIM

E D

EP

EN

DE

NT

FRE

QU

EN

CY

DO

MA

IN

SM

AL

L-S

IGN

AL

AN

AL

YS

IS,

FRE

QU

EN

CY

DO

MA

IN

FRE

QU

EN

CY

-ST

AT

ION

AR

Y

Electrostatics es V x y z

√ √ √ √

Electrostatics, Boundary Elements

esbe V x y z

1 : I N T R O D U C T I O N

Page 19: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

nd z;

and

FR

EQ

UE

NC

Y-T

RA

NS

IEN

T

Electric Currents ec V x y z

x y z

√ √ √ √

Electric Currents, Shell

ecs V x y z

x y z

√ √ √ √

Magnetic Fields mf A x y z

x y z

x y z

x y z

√ √ √ √

Magnetic Field Formulation

mfh H x y z

√ √ √ √

Magnetic and Electric Fields

mef V, A x y z

x y z

x y z

x y z

√ √ √

Magnetic Fields, No Currents

mfnc Vm x y z

√ √

Rotating Machinery, Magnetic

rmm A, Vm x y

z z z √ √

Electrical Circuit cir not applicable

√ √ √

Induction Heating — A,T, J x y z

x y z

x y z

x y z

√ √ √ √

*These are the nonzero field components. For Cartesian coordinates, these are indexed by x, y, afor cylindrical coordinates, r, ϕ, and z are used.**Custom studies are also available based on the physics interface, for example, Eigenfrequency Eigenvalue.

TABLE 1-1: AC/DC MODULE DEPENDENT VARIABLES, FIELD COMPONENTS, AND PRESET STUDY AVAILABILITY

PHYSICS INTERFACE TAG DEPENDENT VARIABLES

FIELD COMPONENTS

* PRESET STUDIES**

MA

GN

ET

IC F

IEL

D

EL

EC

TR

IC F

IEL

D

MA

GN

ET

IC P

OT

EN

TIA

L

CU

RR

EN

T D

EN

SIT

Y

ST

AT

ION

AR

Y

TIM

E D

EP

EN

DE

NT

FR

EQ

UE

NC

Y D

OM

AIN

SM

AL

L-S

IGN

AL

AN

AL

YS

IS,

FR

EQ

UE

NC

Y D

OM

AIN

FR

EQ

UE

NC

Y-S

TA

TIO

NA

RY

A B O U T T H E A C / D C M O D U L E | 19

Page 20: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

20 | C H A P T E R

Common Physics Interface and Feature Settings and Nodes

There are several common settings and sections available for the physics interfaces and feature nodes. Some of these sections also have similar settings or are implemented in the same way no matter the physics interface or feature being used. There are also some physics feature nodes that display in COMSOL Multiphysics.

In each module’s documentation, only unique or extra information is included; standard information and procedures are centralized in the COMSOL Multiphysics Reference Manual.

Where Do I Access the Documentation and Application Libraries?

A number of internet resources have more information about COMSOL, including licensing and technical information. The electronic documentation, topic-based (or context-based) help, and the application libraries are all accessed through the COMSOL Desktop.

• Studies and Solvers in the COMSOL Multiphysics Reference Manual

• What Can the AC/DC Module Do?

• AC/DC Module Physics Interface Guide

• Where Do I Access the Documentation and Application Libraries?

In the COMSOL Multiphysics Reference Manual see Table 2-3 for links to common sections and Table 2-4 to common feature nodes. You can also search for information: press F1 to open the Help window or Ctrl+F1 to open the Documentation window.

If you are reading the documentation as a PDF file on your computer, the blue links do not work to open an application or content referenced in a different guide. However, if you are using the Help system in COMSOL Multiphysics, these links work to open other modules (as long as you have a license), application examples, and documentation sets.

1 : I N T R O D U C T I O N

Page 21: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

T H E D O C U M E N T A T I O N A N D O N L I N E H E L P

The COMSOL Multiphysics Reference Manual describes the core physics interfaces and functionality included with the COMSOL Multiphysics license. This book also has instructions about how to use COMSOL Multiphysics and how to access the electronic Documentation and Help content.

Opening Topic-Based HelpThe Help window is useful as it is connected to many of the features on the GUI. To learn more about a node in the Model Builder, or a window on the Desktop, click to highlight a node or window, then press F1 to open the Help window, which then displays information about that feature (or click a node in the Model Builder followed by the Help button ( ). This is called topic-based (or context) help.

Opening the Documentation Window

To open the Help window:

• In the Model Builder, Application Builder, or Physics Builder click a node or window and then press F1.

• On any toolbar (for example, Home, Definitions, or Geometry), hover the mouse over a button (for example, Add Physics or Build All) and then press F1.

• From the File menu, click Help ( ).

• In the upper-right corner of the COMSOL Desktop, click the Help ( ) button.

To open the Help window:

• In the Model Builder or Physics Builder click a node or window and then press F1.

• On the main toolbar, click the Help ( ) button.

• From the main menu, select Help>Help.

To open the Documentation window:

• Press Ctrl+F1.

• From the File menu select Help>Documentation ( ).

A B O U T T H E A C / D C M O D U L E | 21

Page 22: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

22 | C H A P T E R

T H E A P P L I C A T I O N L I B R A R I E S W I N D O W

Each application includes documentation with the theoretical background and step-by-step instructions to create a model application. The applications are available in COMSOL as MPH-files that you can open for further investigation. You can use the step-by-step instructions and the actual applications as a template for your own modeling and applications. In most models, SI units are used to describe the relevant properties, parameters, and dimensions in most examples, but other unit systems are available.

Once the Application Libraries window is opened, you can search by name or browse under a module folder name. Click to view a summary of the application and its properties, including options to open it or a PDF document.

Opening the Application Libraries WindowTo open the Application Libraries window ( ):

To open the Documentation window:

• Press Ctrl+F1.

• On the main toolbar, click the Documentation ( ) button.

• From the main menu, select Help>Documentation.

The Application Libraries Window in the COMSOL Multiphysics Reference Manual.

• From the Home toolbar, Windows menu, click ( ) Applications

Libraries.

• From the File menu select Application Libraries.

To include the latest versions of model examples, from the File>Help menu, select ( ) Update COMSOL Application Library.

Select Application Libraries from the main File> or Windows> menus.

To include the latest versions of model examples, from the Help menu select ( ) Update COMSOL Application Library.

1 : I N T R O D U C T I O N

Page 23: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

C O N T A C T I N G C O M S O L B Y E M A I L

For general product information, contact COMSOL at [email protected].

To receive technical support from COMSOL for the COMSOL products, please contact your local COMSOL representative or send your questions to [email protected]. An automatic notification and a case number are sent to you by email.

C O M S O L O N L I N E R E S O U R C E S

COMSOL website www.comsol.com

Contact COMSOL www.comsol.com/contact

Support Center www.comsol.com/support

Product Download www.comsol.com/product-download

Product Updates www.comsol.com/support/updates

COMSOL Blog www.comsol.com/blogs

Discussion Forum www.comsol.com/community

Events www.comsol.com/events

COMSOL Video Gallery www.comsol.com/video

Support Knowledge Base www.comsol.com/support/knowledgebase

A B O U T T H E A C / D C M O D U L E | 23

Page 24: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

24 | C H A P T E R

Ove r v i ew o f t h e U s e r ’ s Gu i d e

The AC/DC Module User’s Guide gets you started with modeling using COMSOL Multiphysics. The information in this guide is specific to this module. Instructions how to use COMSOL in general are included with the COMSOL Multiphysics Reference Manual.

TA B L E O F C O N T E N T S , G L O S S A R Y , A N D I N D E X

To help you navigate through this guide, see the Contents, Glossary, and Index.

T H E O R Y O F E L E C T R O M A G N E T I C S

In the Review of Electromagnetics chapter contains an overview of the theory behind the AC/DC Module. It is intended for readers that wish to understand what goes on in the background when using the physics interfaces and discusses the Fundamentals of Electromagnetics, Electromagnetic Forces, and Electromagnetic Quantities.

M O D E L I N G W I T H T H E A C / D C M O D U L E

In the Modeling with the AC/DC Module chapter, the goal is to familiarize you with the modeling procedure using this particular module. Topics include Preparing for Modeling, Force and Torque Computations, Lumped Parameters, Connecting to Electrical Circuits.

E L E C T R I C F I E L D S

Electric Field Interfaces chapter describes these interfaces and includes the underlying theory for each physics interface at the end of the chapter:

• The Electrostatics Interface, which simulates electric fields in dielectric materials with a fixed or slowly-varying charge present. Preset Stationary, Stationary Source Sweep, Time Dependent, Frequency Domain, and Small-Signal Analysis study types are available.

• The Electrostatics, Boundary Elements Interface, which simulates electric fields in dielectric materials with a fixed charge present. Preset Stationary and Stationary Source Sweep study types are available.

As detailed in the section Where Do I Access the Documentation and Application Libraries? this information can also be searched from the COMSOL Multiphysics software Help menu.

1 : I N T R O D U C T I O N

Page 25: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

• The Electric Currents Interface, which simulates the current in a conductive and capacitive material under the influence of an electric field. Preset Stationary, Stationary Source Sweep, Time Dependent, Frequency Domain, and Small-Signal Analysis study types are available.

• The Electric Currents, Shell Interface, which simulates the current in a conductive and capacitive shell under the influence of an electric field. Preset Stationary, Time Dependent, Frequency Domain, and Small-Signal Analysis study types are available.

M A G N E T I C F I E L D S

Magnetic Field Interfaces chapter describes these interfaces and includes the underlying theory for each physics interface at the end of the chapter:

• The Magnetic Fields Interface, which handles problems for magnetic fields with source currents, solving for the magnetic vector potential and, for voltage driven coils, the scalar electric potential. Preset Stationary, Time Dependent, Frequency Domain, and Small-Signal Analysis study types are available. This is the recommended primary choice for modeling of magnetic fields involving source currents.

• The Magnetic Field Formulation Interface has the equations, boundary conditions, and currents for modeling magnetic fields, solving for the magnetic field. It is especially suitable for modeling involving nonlinear conductivity effects, for example in superconductors. Preset Stationary, Time Dependent, Frequency Domain, and Small-Signal Analysis study types are available.

• The Magnetic Fields, No Currents Interface, which handles magnetic fields without currents. When no currents are present, the problem is easier to solve using the magnetic scalar potential. Thus it is the primary choice for modeling permanent magnets. Preset Stationary and Time Dependent study types are available.

• The Rotating Machinery, Magnetic Interface combines a Magnetic Fields formulation (magnetic vector potential) and Magnetic Fields, No Currents formulation (magnetic scalar potential) with a selection of predefined frames for prescribed rotation or rotational velocity - most of its features are taken either from the Magnetic Fields or the Magnetic Fields, No Currents interfaces. Preset Stationary and Time Dependent study types are available.

• The Magnetic and Electric Fields Interface computes magnetic field and current distributions when the exciting current is driven by an applied voltage. In most cases, using the Magnetic Fields interface with its dedicated coil modeling features is the preferred choice over using the Magnetic and Electric Fields interface. Preset Stationary and Frequency Domain study types are available.

O V E R V I E W O F T H E U S E R ’ S G U I D E | 25

Page 26: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

26 | C H A P T E R

E L E C T R I C A L C I R C U I T

The Electrical Circuit Interface chapter describes the physics interface, which has the equations for modeling electrical circuits with or without connections to a distributed fields model, solving for the voltages, currents, and charges associated with the circuit elements. The underlying theory for the physics interface is included at the end of the chapter. Preset Stationary, Time Dependent and Frequency Domain study types are available.

H E A T TR A N S F E R

Heat Transfer Interfaces chapter describes the physics interface, which combines all physics features from the Magnetic Fields interface in the time harmonic formulation with the Heat Transfer interface for modeling of induction and eddy current heating.

Heat transfer through conduction and convection in solids and free media (fluids) is supported by physics interfaces shipped with the basic COMSOL Multiphysics license.

The Heat Transfer Interfaces, The Joule Heating Interface, and Theory for Heat Transfer in the COMSOL Multiphysics Reference Manual.

1 : I N T R O D U C T I O N

Page 27: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

2

R e v i e w o f E l e c t r o m a g n e t i c s

This chapter contains an overview of the theory behind the AC/DC Module. It is intended for readers that wish to understand what goes on in the background when using the physics interfaces.

In this chapter:

• Fundamentals of Electromagnetics

• Electromagnetic Forces

• Electromagnetic Quantities

• References for the AC/DC Interfaces

27

Page 28: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

28 | C H A P T E R

Fundamen t a l s o f E l e c t r omagne t i c s

In this section:

• Maxwell’s Equations

• Constitutive Relations

• Potentials

• Reduced Potential PDE Formulations

• Electromagnetic Energy

• The Quasi-Static Approximation and the Lorentz Term

• Material Properties

• About the Boundary and Physics Interface Conditions

• Phasors

• Effective Nonlinear Magnetic Constitutive Relations

• The Jiles-Atherton Hysteresis Model

• References for Electromagnetic Theory

Maxwell’s Equations

The problem of electromagnetic analysis on a macroscopic level is that of solving Maxwell’s equations subject to certain boundary conditions. Maxwell’s equations are a set of equations, written in differential or integral form, stating the relationships between the fundamental electromagnetic quantities. These quantities are:

• Electric field intensity E

• Electric displacement or electric flux density D

• Magnetic field intensity H

• Magnetic flux density B

• Current density J

• Electric charge density ρ

The equations can be formulated in differential form or integral form. The differential form is presented here because it leads to differential equations that the finite element method can handle. For general time-varying fields, Maxwell’s equations can be written as:

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 29: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The first two equations are also referred to as Maxwell-Ampère’s law and Faraday’s law, respectively. Equation three and four are two forms of Gauss’ law: the electric and magnetic form, respectively.

Another fundamental equation is the equation of continuity

Out of the five equations mentioned, only three are independent. The first two combined with either the electric form of Gauss’ law or the equation of continuity form such an independent system.

Constitutive Relations

To obtain a closed system, the equations include constitutive relations that describe the macroscopic properties of the medium. They are given as:

(2-1)

where ε0 is the permittivity of vacuum, μ0 is the permeability of vacuum, and σ is the electrical conductivity. In the SI system, the permeability of vacuum is chosen to be 4π·10−7 H/m. The velocity of an electromagnetic wave in a vacuum is given as c0 and the permittivity of a vacuum is derived from the relation:

The electromagnetic constants ε0, μ0, and c0 are available in COMSOL Multiphysics as predefined physical constants.

The electric polarization vector P describes how the material is polarized when an electric field E is present. It can be interpreted as the volume density of electric dipole

∇ H× J D∂t∂

-------+=

∇ E× B∂t∂

-------–=

∇ D⋅ ρ=

∇ B⋅ 0=

∇ J⋅ ρ∂t∂

------–=

D ε0E P+=B μ0 H M+( )=

J σE=

ε01

c02μ0

---------- 8.854 10 12– F/m 136π--------- 10 9– F/m⋅≈⋅= =

F U N D A M E N T A L S O F E L E C T R O M A G N E T I C S | 29

Page 30: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

30 | C H A P T E R

moments. P is generally a function of E. Some materials can have a nonzero P also when there is no electric field present.

The magnetization vector M similarly describes how the material is magnetized when a magnetic field H is present. It can be interpreted as the volume density of magnetic dipole moments. M is generally a function of H. Permanent magnets, for instance, have a nonzero M also when there is no magnetic field present.

For linear materials, the polarization is directly proportional to the electric field, P = ε0χeE, where χe is the electric susceptibility. Similarly in linear materials, the magnetization is directly proportional to the magnetic field, M = χmH, where χm is the magnetic susceptibility. For such materials, the constitutive relations are:

The parameter εr is the relative permittivity and μr is the relative permeability of the material. Usually these are scalar properties but can, in the general case, be 3-by-3 tensors when the material is anisotropic. The properties ε and μ (without subscripts) are the permittivity and permeability of the material, respectively.

G E N E R A L I Z E D C O N S T I T U T I V E R E L A T I O N S

For nonlinear materials, a generalized form of the constitutive relationships is useful. The relationship used for electric fields is D = εoεrE + Dr, where Dr is the remanent displacement, which is the displacement when no electric field is present.

Similarly, a generalized form of the constitutive relation for the magnetic field is

where Br is the remanent magnetic flux density, which is the magnetic flux density when no magnetic field is present.

For some materials, there is a nonlinear relationship between B and H such that

D ε0 1 χe+( )E ε0εrE εE= = =

B μ0 1 χm+( )H μ0μrH μH= = =

The Charge Conservation node describes the macroscopic properties of the medium (relating the electric displacement D with the electric field E) and the applicable material properties.

B μ0μrH Br+=

B f H( )=

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 31: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The relation defining the current density is generalized by introducing an externally generated current Je. The resulting constitutive relation is J = σE + Je.

Potentials

Under certain circumstances, it can be helpful to formulate the problems in terms of the electric scalar potential V and the magnetic vector potential A. They are given by the equalities:

The defining equation for the magnetic vector potential is a direct consequence of the magnetic Gauss’ law. The electric potential results from Faraday’s law. In the magnetostatic case where there are no currents present, Maxwell-Ampère’s law reduces to ∇ × H = 0. When this holds, it is also possible to define a magnetic scalar potential by the relation H = −∇Vm.

Reduced Potential PDE Formulations

The reduced potential option is useful for models involving a uniform or known external background field, usually originating from distant sources that might be expensive or inconvenient to include in the model geometry. A typical example is when analyzing induced magnetization in ferromagnetic objects such as ships or vehicles due to the Earth’s magnetic field. The strategy is then to solve only for the induced fields represented by the reduced vector potential Ared, introducing the substitution A = Ared + Aext, where Aext represents the known background field, into Maxwell-Ampère’s law:

D O M A I N E Q U A T I O N S

Time-HarmonicFor time-harmonic quasi-static systems solving for an A formulation, the reduced potential formulation results in the following PDE:

B ∇ A×=

E ∇V–A∂t∂

-------–=

μ 1– A∇×( )∇× Jtd

dD+=

jωσ ω2ε–( ) Aext Ared+( ) μ 1– Aext Ared+( )∇×( )∇×+ Je=

F U N D A M E N T A L S O F E L E C T R O M A G N E T I C S | 31

Page 32: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

32 | C H A P T E R

Here it is possible to interpret the term ∇ × Aext as an additional remanent magnetic flux density and the term (jωσ − ω2ε)Aext as an additional external current source.

TransientSimilarly to the time-harmonic formulation, in the transient formulation, the above substitution results in the reduced equation

StaticIn static formulations, the induced current is zero. Maxwell-Ampère’s law reduces to:

In this case it is also possible to express the external field through a known external magnetic flux density, Bext. The domain equation in reduced form then reads:

Electromagnetic Energy

The electric and magnetic energies are defined as:

The time derivatives of these expressions are the electric and magnetic power:

These quantities are related to the resistive and radiative energy, or energy loss, through Poynting’s theorem (Ref. 1)

σt∂

∂ Aext Ared+( ) μ 1– Aext Ared+( )∇×( )∇×+ Je=

μ 1– Aext Ared+( )∇×( )∇× Je=

μ 1– Ared Bext+∇×( )( )∇× Je=

We E Dd⋅0

D

Vd

V E D∂t∂

-------⋅ td0

T

Vd

V= =

Wm H Bd⋅0

B

Vd

V H B∂t∂

-------⋅ td0

T

Vd

V= =

Pe E D∂t∂

-------⋅ VdV=

Pm H B∂t∂

-------⋅ VdV=

E D∂t∂

-------⋅ H B∂t∂

-------⋅+ Vd

V– J E⋅ VdV E H×( ) n⋅ dS

S°+=

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 33: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

where V is the computation domain and S is the closed boundary of V.

The first term on the right-hand side represents the resistive losses,

which result in heat dissipation in the material. (The current density J in this expression is the one appearing in Maxwell-Ampère’s law.)

The second term on the right-hand side of Poynting’s theorem represents the radiative losses,

The quantity S = E × H is called the Poynting vector.

Under the assumption the material is linear and isotropic, it holds that:

By interchanging the order of differentiation and integration (justified by the fact that the volume is constant and the assumption that the fields are continuous in time), the result is:

The integrand of the left-hand side is the total electromagnetic energy density:

The Quasi-Static Approximation and the Lorentz Term

A consequence of Maxwell’s equations is that changes in time of currents and charges are not synchronized with changes of the electromagnetic fields. The changes of the fields are always delayed relative to the changes of the sources, reflecting the finite speed of propagation of electromagnetic waves. Under the assumption that this effect can be ignored, it is possible to obtain the electromagnetic fields by considering

Ph J E⋅ VdV=

Pr E H×( ) n⋅ dSS°=

E D∂t∂

-------⋅ εE E∂t∂

-------⋅t∂

∂ 12---εE E⋅ = =

H B∂t∂

-------⋅ 1μ---B B∂

t∂-------⋅

t∂∂ 1

2μ-------B B⋅ = =

t∂∂ 1

2---εE E⋅ 1

2μ-------B B⋅+

VdV– J E⋅ Vd

V E H×( ) n⋅ dSS°+=

w we wm+=12---εE E⋅ 1

2μ-------B B⋅+=

F U N D A M E N T A L S O F E L E C T R O M A G N E T I C S | 33

Page 34: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

34 | C H A P T E R

stationary currents at every instant. This is called the quasi-static approximation. The approximation is valid provided that the variations in time are small and that the studied geometries are considerably smaller than the wavelength (Ref. 5).

The quasi-static approximation implies that the equation of continuity can be written as ∇ ⋅ J = 0 and that the time derivative of the electric displacement ∂D/∂t can be disregarded in Maxwell-Ampère’s law.

There are also effects of the motion of the geometries. Consider a geometry moving with velocity v relative to the reference system. The force per unit charge, F/q, is then given by the Lorentz force equation:

This means that to an observer traveling with the geometry, the force on a charged particle can be interpreted as caused by an electric field E' = E + v × B. In a conductive medium, the observer accordingly sees the current density

where Je is an externally generated current density.

Maxwell-Ampère’s law for quasi-static systems is consequently extended to

whereas Faraday’s law remains unchanged.

Material Properties

Until now, there has only been a formal introduction of the constitutive relations. These seemingly simple relations can be quite complicated at times. There are four main groups of materials for which they require some consideration. A given material can belong to one or more of these groups.

Inhomogeneous Materials Inhomogeneous materials are the least complicated. An inhomogeneous medium is one in which the constitutive parameters vary with the space coordinates so that different field properties prevail at different parts of the material structure.

Anisotropic Materials For anisotropic materials, the field relationships at any point differ for different directions of propagation. This means that a 3-by-3 tensor is

Fq---- E v B×+=

J σ E v B×+( ) Je+=

∇ H× σ E v B×+( ) Je+=

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 35: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

necessary to properly define the constitutive relationships. If this tensor is symmetric, the material is often referred to as reciprocal. In such cases, rotate the coordinate system such that a diagonal matrix results. If two of the diagonal entries are equal, the material is uniaxially anisotropic. If none of the elements have the same value, the material is biaxially anisotropic (Ref. 2). Anisotropic parameters are needed, for example, to examine permittivity in crystals (Ref. 2) and when working with conductivity in solenoids.

Nonlinear Materials Nonlinearity is the effect of variations in permittivity or permeability with the intensity of the electromagnetic field. Nonlinearity also includes hysteresis effects, where not only the current field intensities influence the physical properties of the material, but also the history of the field distribution.

Dispersive Materials Dispersion describes changes in a wave’s velocity with wavelength. In the frequency domain, dispersion is expressed with a frequency dependence of the constitutive laws.

About the Boundary and Physics Interface Conditions

To get a full description of an electromagnetics problem, boundary conditions must be specified at material interfaces and physical boundaries. At interfaces between two media, the boundary conditions can be expressed mathematically as

where ρs and Js denote surface charge density and surface current density, respectively, and n2 is the outward normal from medium two. Of these four conditions, only two are independent. This is an overdetermined system of equations, so it needs to be reduced. First select either equation one or equation four. Then select either equation two or equation three. Together these selections form a set of two independent conditions.

From these relationships, the interface condition is derived for the current density,

n2 E1 E2–( )× 0=

n2 D1 D2–( )⋅ ρs=

n2 H1 H2–( )× Js=

n2 B1 B2–( )⋅ 0=

n2 J1 J2–( )⋅ρs∂t∂

--------–=

F U N D A M E N T A L S O F E L E C T R O M A G N E T I C S | 35

Page 36: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

36 | C H A P T E R

I N T E R F A C E B E T W E E N A D I E L E C T R I C A N D A P E R F E C T C O N D U C T O R

A perfect conductor has infinite electrical conductivity and thus no internal electric field. Otherwise, it would produce an infinite current density according to the third fundamental constitutive relation. At an interface between a dielectric and a perfect conductor, the boundary conditions for the E and D fields are simplified. Assume that subscript 1 corresponds to a perfect conductor; then D1 = 0 and E1 = 0 in the relationships just given. If it is a time-varying case, then B1 = 0 and H1 = 0 as well, as a consequence of Maxwell’s equations. The result is the following set of boundary conditions for the fields in the dielectric medium for the time-varying case:

Phasors

Whenever a problem is time-harmonic the fields can be written in the form:

Instead of using a cosine function for the time dependence, it is more convenient to use an exponential function, by writing the field as:

The field is a phasor, which contains amplitude and phase information of the field but is independent of t. One thing that makes the use of phasors suitable is that a time derivative corresponds to a multiplication by jω,

If the fields satisfy a linear time-dependent equation, then the corresponding phasors must satisfy a similar equation in which the time derivatives are replaced by a factor jω. All time-harmonic equations in the AC/DC Module are expressed as equations for the phasors. (The tilde is dropped from the variable denoting the phasor.)

The frequency domain formulation is only applicable for equations linear in the fields. In particular, it cannot be used with materials whose properties depend on the fields

n– 2 E2× 0=

n– 2 H2× Js=

n– 2 D2⋅ ρs=

n– 2 B2⋅ 0=

E r t,( ) Eˆ

r( ) ωt φ+( )cos=

E r t,( ) Eˆ

r( ) ωt φ+( )cos Re Eˆ

r( )ejφejωt( ) Re E r( )ejωt( )= = =

E r( )

E∂t∂

------- Re jωE r( )ejωt( )=

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 37: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

themselves (nonlinear materials). See Effective Nonlinear Magnetic Constitutive Relations for a formulation that approximates nonlinear magnetic constitutive relations in time-harmonic problems.

Effective Nonlinear Magnetic Constitutive Relations

The effective constitutive relations can be used to approximate the behavior of a nonlinear magnetic material, such as a saturable material, in a (linear) Frequency Domain study.

The approach consists in replacing the nonlinear material with an inhomogeneous linear material — a material described by a magnetic permeability constant in time but which can be space dependent. The local magnetic permeability is chosen using an approximation criterion, such as, for example, that the cycle-average energy stored must be equal to the nonlinear case. As a consequence, the permeability may depend on the amplitude of the magnetic field and the nonlinear solver is invoked during the solution.

The formulation still applies the assumption of harmonic time dependency of the fields (which are still described as phasors): the fields still oscillate at the given frequency; higher-order harmonic effects, or other similar effects due to the nonlinearity, are not accounted for.

Using this constitutive relation provides a better approximation of the behavior of a nonlinear material in the frequency domain than linearizing the material properties, still avoiding the computational cost of a full transient analysis.

When analyzing the solution of a time-harmonic equation, it is important to remember that the field that has been calculated is a phasor and not a physical field.

For example, all plot functions visualize by default, which is E at time t = 0. To obtain the solution at a given time, specify a phase factor in all results pages and in the corresponding functions.

Re E r( )( )

F U N D A M E N T A L S O F E L E C T R O M A G N E T I C S | 37

Page 38: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

38 | C H A P T E R

The application Effective Nonlinear Magnetic Curves Calculator from the AC/DC

Application Library > Demo Applications can be used to compute the effective BH or HB curve for a material, starting from its BH or HB curve.

The Jiles-Atherton Hysteresis Model

Magnetic hysteresis originates from the alignment of electron spins into magnetic domains and the reorganization of such domains under the influence of an externally applied magnetizing field. In the Jiles-Atherton model, for each domain there is a reversible rotation and an irreversible rotation, which corresponds to a reversible and irreversible magnetization. In a magnetic material without hysteresis losses, there is only a reversible part of the magnetization, usually modeled with a relative permeability or with a reversible BH curve. The Jiles-Atherton hysteresis model includes a nonlinear relationship between the change in magnetization M and the change in the magnetizing field H. The magnetic flux density B follows from the relation.

The Jiles-Atherton model is a phenomenological model based on several parameters. The version available in COMSOL Multiphysics is full vectorial and anisotropic [4, 5], based upon the following five parameters:

• Interdomain coupling: α

• Maximum (saturation) magnetization: Ms

• Langevin slope: a

• Reversibility: c

• Pinning: k

These quantities are second-order tensors, something that is not reflected by the equation notation here and in the graphical user interface.

The interdomain coupling parameter is used for defining the effective magnetic field He, which is the field that is assumed to affect the magnetic moments on a microscopical level.

Effective Nonlinear Magnetic Curves Calculator: Application Library path ACDC_Module/Applications/effective_nonlinear_magnetic_curves

B μ0 H M+( )=

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 39: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The maximum magnetization and Langevin slope determines the anhysteretic part of the material behavior, which is supposed to follow the Langevin function

through the formula for anhysteretic magnetization Man.

Ms and α enter the expression with the nonlinear Langevin function and consistent with [4], they are available as diagonal matrices. The use of the Langevin function should be interpreted as applied component wise.

The reversibility parameter c, affects the degree of anhysteretic versus hysteretic behavior. If it is set to unity, the model is purely anhysteretic.

The remaining parameter, k, is controlling the pinning and hysteresis of the magnetic moments.

Given the parameters above, the key equation in the Jiles-Atherton model, determining the magnetization M, is

where the auxiliary vector χ is defined as:

The Jiles-Atherton hysteresis model is available mainly for time-dependent studies, but it also supports stationary simulation. The latter is especially useful if the material is starting from a magnetized configuration that is not the solution of a previous transient study. In the graphical user interface, it is possible to select the initial value of magnetization, in which case the initial magnetic field is set accordingly.

It is implemented for the following physics interfaces: Magnetic Fields (based on vector potential); Magnetic Fields, No Currents (based on scalar potential); and Rotating Machinery, Magnetic (mixed vector and scalar potentials).

He H α M⋅+=

Lan x( ) h x( )cot 1 x⁄–=

Man Ms Lan a 1– He⋅( )⋅=

tddM max χ

td

dHe 0,⋅ χ

χ------⋅ c

td

dMan⋅+=

χ k 1– Man M–( )⋅=

F U N D A M E N T A L S O F E L E C T R O M A G N E T I C S | 39

Page 40: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

40 | C H A P T E R

The internal state variables are discretized directly in the Gauss points, and an auxiliary variable is added to the same domain also for aiding support to simulations with moving domains.

The order of Gauss point discretization can be selected in the Discretization section under the Magnetic Field section, which is shown when Show>Discretization is selected in the Model Builder. For the Gauss point discretization order the default is Automatic. This default sets the Gauss points discretization order depending on the order of the parent physics. If the parent physics variable has order n, the Gauss point order is 2*(n–1). It is good practice to test that the results do not change significantly when using a Gauss point discretization of order 2*n since a good discretization order depends on the kind of magnetic potential, mesh element shape, and space dimension, rather than the pure mesh size. For an example, see.

References for Electromagnetic Theory

1. D.K. Cheng, Field and Wave Electromagnetics, Addison-Wesley, Reading, Massachusetts, 1989.

2. J. Jin, The Finite Element Method in Electromagnetics, John Wiley & Sons, New York, 1993.

3. B.D. Popovic, Introductory Engineering Electromagnetics, Addison-Wesley, Reading, Massachusetts, 1971.

4. A.J. Bergqvist, A Simple Vector Generalization of the Jiles-Atherton Model of Hysteresis, IEEE Transactions on Magnetics, Vol. 32. No. 5, p. 4213

5. J. P. A. Bastos and N. Sadowski, Magnetic Materials and 3D Finite Element Modeling, CRC Press 2014

Vector Hysteresis Modeling: Application Library path ACDC_Module/

Other_Industrial_Applications/vector_hysteresis_modeling

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 41: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

E l e c t r omagne t i c F o r c e s

There are several ways to compute electromagnetic forces in COMSOL Multiphysics®. In the most general case, the calculation of electromagnetic forces involves the computation of volume forces acting on a body, and of surface forces originating from jumps in the electromagnetic fields on the boundaries. The volume and surface forces are derived from a general stress tensor that includes electromagnetic terms.

The derivation of the expressions for the electromagnetic stress tensor utilizes thermodynamic potential (energy) principles (Ref. 1 and Ref. 3). The distribution of electromagnetic forces in a system depends on the material. Accordingly, the techniques and expressions used when calculating electromagnetic forces are different for different types of materials.

Another technique for calculating forces using the method of virtual work is described in the section Electromagnetic Energy and Virtual Work.

In this section:

• Overview of Forces in Continuum Mechanics

• Forces on an Elastic Solid Surrounded by Vacuum or Air

• Torque

• Forces in Stationary Fields

• Forces in a Moving Body

• Electromagnetic Energy and Virtual Work

Overview of Forces in Continuum Mechanics

Cauchy’s equation of continuum mechanics reads

where ρ is the density, r denotes the coordinates of a material point, T is the stress tensor, and fext is an external volume force such as gravity (fext = ρg). This is the equation solved in the structural mechanics interfaces for the special case of a linear elastic material, neglecting the electromagnetic contributions.

ρt2

2

d

d r ∇ T fext+⋅=

E L E C T R O M A G N E T I C F O R C E S | 41

Page 42: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

42 | C H A P T E R

In the stationary case there is no acceleration, and the equation representing the force balance is

The stress tensor must be continuous across a stationary boundary between two materials. This corresponds to the equation

where T1 and T2 represent the stress tensor in Materials 1 and 2, respectively, and n1 is the normal pointing out from the domain containing Material 1. This relation gives rise to a surface force acting on the boundary between Material 1 and 2.

In certain cases, the stress tensor T can be divided into one part that depends on the electromagnetic field quantities and one part that is the mechanical stress tensor,

For the special case of an elastic body, the mechanical stress tensor is proportional only to the strain and the temperature gradient. The exact nature of this split of the stress tensor into an electromagnetic and a mechanical part depends on the material model, if it can be made at all.

It is sometimes convenient to use a volume force instead of the stress tensor. This force is obtained from the relation

This changes the force balance equation to

0 ∇ T fext+⋅=

n1 T2 T1–( ) 0=

Material 1

Material 2

n1

T TEM σM+=

For more information on the mechanical stress tensor for elastic materials, see the documentation for the interfaces. For example, The Solid Mechanics Interface in the COMSOL Multiphysics Reference Manual.

fem ∇ TEM⋅=

0 ∇ σM⋅ fem fext+ +=

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 43: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

or, as stated in the structural mechanics interfaces,

Forces on an Elastic Solid Surrounded by Vacuum or Air

Consider a solid (Material 1) surrounded by vacuum (Material 2). It is natural to associate the surface force on the boundary between the materials with the solid. In many applications air can be approximated by vacuum.

In practice, the equation for the force balance also needs to include an external boundary force gext. It is nonzero on those parts of the boundary where it is necessary to compensate for the contributions to the stress tensor that you are not interested in or do not have enough information on. These contributions come from the influence of the adjacent domains. By approximating the surroundings by vacuum or air, the influence of these boundaries and their adjacent domains (that are not part of our model) on the electromagnetic fields are neglected.

On the boundary, the following equations apply:

The external boundary force gext can represent the reaction force from another body that the solid is attached to.

The equations for the balance of forces on the solid now become

For calculating the total force F on the solid these equations need to be integrated over the entire solid and the solid/vacuum boundary

According to Gauss’ theorem:

∇– σM⋅ f where f fem fext+==

n1 T2 T1–( ) 0=

n1T2 n1T2 gext+=

∇ T1 fext+⋅ 0=

n1 T2 T1–( ) gext+ 0=

∇ T1 fext+⋅( ) VdΩ1

n1 T2 T1–( ) gext+( ) SdΩ1∂°+ 0=

∇ T1⋅ VdΩ1

n1T1 SdΩ1∂°– 0=

E L E C T R O M A G N E T I C F O R C E S | 43

Page 44: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

44 | C H A P T E R

this means that the external force

is needed to balance the term for the boundary integral of the stress tensor in the surrounding vacuum

to keep the solid stationary. That is Fext + F = 0. If the external forces are suddenly removed, the solid is no longer stationary, but F causes the solid to begin to move with an initial acceleration according to

where m is the total mass and a is the acceleration of the solid.

To summarize, the total force, F, is computed as a boundary integral of the stress tensor in vacuum on the outside of the solid. To obtain this result, the contribution from the air pressure gradient has been neglected. This is equivalent of assuming that ∇ · T2 = 0. A more detailed treatment shows that the pressure gradient contributes with a lifting (buoyancy) force on the solid.

Torque

The torque in the case of Forces on an Elastic Solid Surrounded by Vacuum or Air is given by

where rO is a point on the axis of rotation. This follows from a derivation similar to the one made for forces.

Forces in Stationary Fields

The electromagnetic fields are stationary if

Fext fext VdΩ1

gext SdΩ1∂°+=

F n1T2 SdΩ1∂°=

ma ρd2r

dt2--------- Vd

Ω1

F= =

MO r rO–( ) n1T2( )× SdΩ1∂°=

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 45: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

that is, if the fields vary so slowly that the contributions from induced currents and displacement currents can be neglected.

Also assume that the objects modeled are not moving v = 0 so that there is no contributions from Lorentz forces. These are treated later on.

T H E E L E C T R O M A G N E T I C S T R E S S TE N S O R

The expressions for the stress tensor in a general electromagnetic context stems from a fusion of material theory, thermodynamics, continuum mechanics, and electromagnetic field theory. With the introduction of thermodynamic potentials for mechanical, thermal, and electromagnetic effects, explicit expressions for the stress tensor can be derived in a convenient way by forming the formal derivatives with respect to the different physical fields (Ref. 1 and Ref. 3). Alternative derivations can be made for a vacuum (Ref. 4) but these cannot easily be generalized to polarized and magnetized materials.

Air and VacuumFor air, the stress tensor is

where p is the air pressure, I is the identity 3-by-3 tensor (or matrix), and E and B are 3-by-1 vectors. In this expression of the stress tensor, air is considered to be nonpolarizable and nonmagnetizable. When air is approximated by vacuum, p = 0. This expression, with p = 0, of the stress tensor is also known as the Maxwell stress tensor.

Using the fact that, for air, D = ε0E and B = μ0H the expression for the stress tensor can be written as

t∂∂B 0=

t∂∂D 0=

To apply the stress tensor in air to calculate the total force and torque on a magnetizable rod close to a permanent magnet, see Permanent Magnet: Application Library path ACDC_Module/Magnetostatics/

permanent_magnet.

T2 pI–ε02-----E E 1

2μ0---------B B⋅+⋅

I– ε0EET 1μ0------BBT

+ +=

E L E C T R O M A G N E T I C F O R C E S | 45

Page 46: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

46 | C H A P T E R

The equation for the balance of forces becomes

Maxwell’s equations in free space give that the contribution of the electromagnetic part of the stress tensor is zero, and the resulting expression is

Thus, using the same terminology as earlier, fem = 0 for air, with σM = −pI. In the derivation of the total force on an elastic solid surrounded by vacuum or air, the approximation ∇p = 0 has been used.

When operating with the divergence operator on the stress tensor, the relation

is useful (and similarly for B). From the right-hand side it is clear (using Maxwell’s equations) that this is zero for stationary fields in free space.

Consider again the case of a solid surrounded by air. To compute the total force, the projection of the stress tensor on the outside of the solid surface is needed,

where n1 is the surface normal, a 1-by-3 vector, pointing out from the solid. This expression can be used directly in the boundary integral of the stress tensor for calculating the total force F on the solid.

Elastic Pure Conductor

T2 pI–12---E D 1

2---H B⋅+⋅

I– EDT HBT+ +=

0 ∇ pI–12---E D 1

2---H B⋅+⋅

I– EDT HBT+ +

fext+⋅=

0 p∇– fext+=

∇ EET 12---E EI⋅–

⋅ E ∇ E⋅( ) E ∇ E×( )×–=

n1T2 pn1–12---E D 1

2---H B⋅+⋅

n1– n1 E⋅( )DT n1 H⋅( )BT+ +=

For an example of how to compute the total force on two parallel wires either by integrating the volume force or by integrating the stress tensor on the surrounding surface, see Electromagnetic Forces on Parallel Current-Carrying Wires: Application Library path ACDC_Module/

Verification_Examples/parallel_wires.

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 47: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

A material that is nonpolarizable and nonmagnetizable (P = 0 and M = 0) is called a pure conductor. This is not necessarily equivalent to a perfect conductor, for which E = 0, but merely a restriction on the dielectric and magnetic properties of the material. The stress tensor becomes identical to the one for air, except for −pI being replaced by the purely mechanical stress tensor σM:

where D = ε0E and B = μ0H.

The situation is slightly different from the case of air because there can be currents and volume charges in the conductor. The current density is

and the volume charge density

The equation for the balance of forces now becomes

and this means that

General Elastic MaterialFor an elastic solid, in the general case of a material that is both dielectric and magnetic (nonzero P and M), the stress tensor is given by the expression

where in σ(E, B) the dependence of E and B has not been separated out. Thus σ is not a purely mechanical stress tensor in this general case. Different material models give different appearances of σ(E, B). The electromagnetic contributions to σ(E, B) typically represent pyroelectric, pyromagnetic, piezoelectric, piezomagnetic, dielectric,

T1 σM12---E D 1

2---H B⋅+⋅

I– EDT HBT+ +=

J ∇ H× 1μ0------∇ B×= =

ρ ∇ D⋅ ε0∇ E⋅= =

0 ∇ σM⋅ ρE J B fext+×++=

fem ρE J B×+=

T1 σ E B,( )ε02-----E E 1

2μ0---------B B M B⋅–⋅+⋅

I–=

ε0EET 1μ0------BBT EPT MBT

–+ + +

E L E C T R O M A G N E T I C F O R C E S | 47

Page 48: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

48 | C H A P T E R

and magnetization effects. The expression for the stress tensor in vacuum, air, and pure conductors can be derived from this general expression by setting M = P = 0.

T1 must be symmetric. The terms EPT and −MBT are symmetric in the case of a linear dielectric and magnetic material because

Here, the magnetic susceptibility χB differs slightly from the classical χm. The other explicit terms are all symmetric, as is σ(E, B). In the general case this imposes constraints on the properties of σ(E, B). For a nonlinear material σ(E, B) might need to include terms such as −EPT or +MBT to compensate for asymmetric EPT or −MBT.

To instantiate the stress tensor for the general elastic case, an explicit material model including the magnetization and polarization effects is needed. Such material models can easily be found for piezoelectric materials (Ref. 3).

Forces in a Moving Body

Calculating forces in moving objects is important, especially for electric motors and other moving electromagnetic devices. When performing the computations in a coordinate system that moves with the object, the electromagnetic fields are transformed. The most well-known relation for moving objects is the one for the electric field. The transformed quantity of the electric field is called the electromotive intensity.

F I E L D TR A N S F O R M A T I O N S A N D G A L I L E I I N V A R I A N T S

Assume that the object modeled is moving with a constant velocity, v = v0. The equations now take on a slightly different form that includes the Galilei invariant versions of the electromagnetic fields. The term Galilei invariant is used because they remain unchanged after a coordinate transformation of the type

In continuum mechanics, this transformation is commonly referred to as a Galilei transformation.

The Galilei invariant fields of interest are

P ε0χeE=

M χBB=

r' r v0t+=

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 49: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The electromotive intensity is the most important of these invariants. The Lorentz magnetization is significant only in materials for which neither the magnetization M nor the polarization P is negligible. Such materials are rare in practical applications. The same holds for the magnetization term of the magnetomotive intensity. Notice that the term ε0v × E is very small compared to B/μ0 except for cases when v and E are both very large. Thus in many practical cases this term can be neglected.

Air and VacuumThe stress tensor in the surrounding air or vacuum on the outside of a moving object is

There is an additional term in this expression compared to the stationary case.

Elastic Pure ConductorThe stress tensor in a moving elastic pure conductor is

where D = ε0E and B = μ0H.

To get the equation for the balance of forces the divergence of this expression needs to be computed. This requires an introduction of an extra term in Cauchy’s equation corresponding to an additional electromagnetic contribution to the linear momentum. Cauchy’s equation with this extra term is

The extra term is canceled out by the additional term in the stress tensor, and the final result is

E v B (Electromotive intensity)×+=

J ρv (Free conduction current density)–=

P˜ P∂

t∂------- v ∇ P⋅( ) ∇ v P×( ) (Polarization flux derivative)×–+=

M v P× (Lorentz magnetization)+=

H˜ B

μ0------ ε0v E M

˜–× (Magnetomotive intensity)–=

T2 pI–12---E D 1

2---H B⋅+⋅

I– EDT HBT D B×( )vT+ + +=

T1 σM12---E D 1

2---H B⋅+⋅

I– EDT HBT D B×( )vT+ + +=

ρt2

2

d

d r D B×+ ∇ T fext+⋅=

E L E C T R O M A G N E T I C F O R C E S | 49

Page 50: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

50 | C H A P T E R

For the case of no acceleration, with the explicit appearance of the transformed quantities,

The terms containing v × B cancel out, which yields the following equation:

which is the same expression as for the stationary case.

General Elastic MaterialThe stress tensor for a moving general elastic material is

The magnetization M and the polarization P occur explicitly in this expression.

To instantiate the stress tensor for the general elastic case a material model explicitly including the magnetization and polarization effects is needed.

Electromagnetic Energy and Virtual Work

Another technique to calculate forces is to derive the electromagnetic energy of the system and calculate the force by studying the effect of a small displacement. This is known as the method of virtual work or the principle of virtual displacement.

The method of virtual work is used for the electric energy and magnetic energy separately for calculating the total electric or magnetic force as follows.

M A G N E T I C F O R C E A N D TO R Q U E

The method of virtual work utilizes that, under constant magnetic flux conditions (Ref. 5), the total magnetic force on a system is computed as

ρt2

2

d

d r ∇ σM⋅ ρE˜

B fext+×++=

0 ∇ σM⋅ ρ E v B×+( ) J ρv–( ) B fext+×++=

0 ∇ σM⋅ ρE J B fext+×++=

T1 σ E˜

B,( )ε02-----E E 1

2μ0---------B B M

˜B⋅–⋅+⋅

I– +=

ε0EET 1μ0------BBT E

˜PT M

˜BT

– ε0 E B×( )vT+ + + +

FΦ Wm∇–=

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 51: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

If the system is constrained to rotate about an axis the torque is computed as

where is the rotational angle about the axis.

Under the condition of constant currents, the total force and torque are computed in the same way but with opposite signs,

E L E C T R I C F O R C E A N D TO R Q U E

Under the condition of constant charges, the total electric force and torque on a system are computed as

Under the condition of constant potentials, the total electric force and torque on a system are computed as

TΦ ϕ∂∂Wm–=

ϕ

FI Wm∇=

TI ϕ∂∂Wm=

FQ We∇–=

TQ ϕ∂∂We–=

FV We∇=

TV ϕ∂∂We=

The method of virtual work can be employed by using the features for deformed mesh and sensitivity analysis in COMSOL Multiphysics.

See Deformed Geometry and Moving Mesh and Sensitivity Analysis in the COMSOL Multiphysics Reference Manual.

E L E C T R O M A G N E T I C F O R C E S | 51

Page 52: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

52 | C H A P T E R

E l e c t r omagne t i c Quan t i t i e s

The table below shows the symbol and SI unit for most of the physical quantities that are included with the AC/DC Module.

TABLE 2-1: ELECTROMAGNETIC QUANTITIES

QUANTITY SYMBOL SI UNIT ABBREVIATION

Angular frequency ω radian/second rad/s

Attenuation constant α meter-1 m-1

Capacitance C farad F

Charge q coulomb C

Charge density (surface) ρs coulomb/meter2 C/m2

Charge density (volume) ρ coulomb/meter3 C/m3

Current I ampere A

Current density (surface) Js ampere/meter A/m

Current density (volume) J ampere/meter2 A/m2

Electric displacement D coulomb/meter2 C/m2

Electric field E volt/meter V/m

Electric potential V volt V

Electric susceptibility χe (dimensionless) -

Electrical conductivity σ siemens/meter S/m

Energy density W joule/meter3 J/m3

Force F newton N

Frequency ν hertz Hz

Imaginary unit j, i (dimensionless) -

Impedance Z, η ohm Ω

Inductance L henry H

Magnetic current density (surface)

Jms volt/meter -

Magnetic field H ampere/meter A/m

Magnetic flux Φ weber Wb

Magnetic flux density B tesla T

Magnetic potential (scalar) Vm ampere A

Magnetic potential (vector) A weber/meter Wb/m

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 53: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Magnetic susceptibility χm (dimensionless) -

Magnetization M ampere/meter A/m

Permeability μ henry/meter H/m

Permittivity ε farad/meter F/m

Polarization P coulomb/meter2 C/m2

Poynting vector S watt/meter2 W/m2

Propagation constant β radian/meter rad/m

Reactance X ohm Ω

Relative permeability μr (dimensionless) -

Relative permittivity εr (dimensionless) -

Resistance R ohm W

Resistive loss Q watt/meter3 W/m3

Torque T newton-meter N·m

Velocity v meter/second m/s

Wavelength λ meter m

Wave number k radian/meter rad/m

TABLE 2-1: ELECTROMAGNETIC QUANTITIES

QUANTITY SYMBOL SI UNIT ABBREVIATION

E L E C T R O M A G N E T I C Q U A N T I T I E S | 53

Page 54: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

54 | C H A P T E R

Re f e r e n c e s f o r t h e AC /DC I n t e r f a c e s

1. A. Kovetz, The Principles of Electromagnetic Theory, Cambridge University Press, 1990.

2. Jianming Jin, The Finite Element Method in Electromagnetics, 2nd ed., Wiley-IEEE Press, 2002.

3. O. Wilson, Introduction to Theory and Design of Sonar Transducers, Peninsula Publishing, 1988.

4. R.K. Wangsness, Electromagnetic Fields, 2nd ed., John Wiley & Sons, 1986.

5. D.K. Cheng, Field and Wave Electromagnetics, 2nd ed., Addison-Wesley, 1991.

6. O.C. Zienkiewicz, C. Emson, and P. Bettess, “A Novel Boundary Infinite Element,” International Journal for Numerical Methods in Engineering, vol. 19, no. 3, pp. 393–404, 1983.

2 : R E V I E W O F E L E C T R O M A G N E T I C S

Page 55: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

3

M o d e l i n g w i t h t h e A C / D C M o d u l e

The goal of this chapter is to familiarize you with the modeling procedure in the AC/DC Module. Because this module is fully integrated with COMSOL Multiphysics®, the modeling process is similar.

In this chapter:

• Preparing for Modeling

• Force and Torque Computations

• Coil Features

• Lumped Parameters

• Lumped Ports with Voltage Input

• S-Parameters and Ports

• Connecting to Electrical Circuits

• Spice Import

55

Page 56: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

56 | C H A P T E R

P r epa r i n g f o r Mode l i n g

This section is intended a guide you through the selection process among the interfaces in the AC/DC Module and does not contain detailed physics interface descriptions. Several topics about the art of modeling are covered here that might not be in ordinary textbooks on electromagnetic theory. This section discusses these topics:

• What Problems Can You Solve?—Can I use the quasi-static physics interfaces or do I need wave propagation?

• Selecting the Space Dimension for the Model Geometry—Is a 2D, 3D, or axisymmetric geometry best for my model?

• Simplifying the Geometry Using Boundary Conditions—When do I need to resolve the thickness of thin shells?

• Applying Electromagnetic Sources—What sources can I use to excite the fields?

• Selecting a Study Type—Is my problem suited for time-dependent or time-harmonic (frequency domain) formulations?

• 2D Field Variables

• About the AC/DC and Nonlinear Magnetic Material Databases

• Meshing and Solving—What issues might arise with respect to meshing and solving?

G E N E R A L T I P S

These general tips about modeling help you to decide what to include in a simulation and what can be done to minimize the size of a problem. Before starting to model, try to answer the following questions first:

• What is the purpose of the model?

• What information do you want to extract from the model?

For general guidelines for effective modeling see Building a COMSOL Multiphysics Model in the COMSOL Multiphysics Reference Manual.

Models never capture all the details of reality.

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 57: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Increasing the complexity of a model to make it more accurate usually makes it more expensive to simulate. A complex model is also more difficult to manage and interpret than a simple one.

What Problems Can You Solve?

The AC/DC Module interfaces handle static, time-dependent, and time-harmonic problems. The time-dependent and time-harmonic formulations use a quasi-static approximation. See Table 1-1 in Overview of the User’s Guide for a list of the preset study types available by physics interface.

One major difference between quasi-static and high-frequency modeling is that the formulations depend on the electrical size of the structure. This dimensionless measure is the ratio between the largest distance between two points in the structure divided by the wavelength of the electromagnetic fields.

The quasi-static physics interfaces in this module are suitable for simulations of structures with an electrical size in the range up to 1/10. The physical assumption of these situations is that the currents and charges generating the electromagnetic fields vary so slowly in time that the electromagnetic fields are practically the same at every instant as if they had been generated by stationary sources.

When the variations in time of the sources of the electromagnetic fields are more rapid, it is necessary to solve the full Maxwell equations for high-frequency electromagnetic waves. They are appropriate for structures of electrical size 1/100 and larger. Thus, an overlapping range exists where both the quasi-static and the full Maxwell formulations can be used.

Independent of the structure size, the AC/DC Module accommodates any case of nonlinear, inhomogeneous, or anisotropic media. It also handles materials with properties that vary as a function of time as well as frequency-dispersive materials. Examples of applications that successfully simulate with this module include electric motors, generators, permanent magnets, induction heating devices, and dielectric

It can be more accurate and efficient to use several simple models instead of a single, complex one.

Physics interfaces for high-frequency electromagnetic waves are available in the RF Module.

P R E P A R I N G F O R M O D E L I N G | 57

Page 58: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

58 | C H A P T E R

heating. For a more detailed description of some of these applications, refer to the Application Libraries included with the module.

Selecting the Space Dimension for the Model Geometry

Most of the problems solved with COMSOL Multiphysics are three-dimensional (3D) in the real world. In many cases, it is sufficient to solve a two-dimensional (2D) problem that is close, or equivalent, to the real problem.

This is because 2D models are easier to modify and solve much faster. Thus, modeling mistakes are much easier to find when working in 2D. Once the 2D model is verified, you are in a much better position to build a 3D model.

2 D P R O B L E M S

Cartesian CoordinatesIn this case you view a cross section in the xy-plane of the actual 3D geometry. The geometry is mathematically extended to infinity in both directions along the z-axis, assuming no variation along that axis. All the total flows in and out of boundaries are per unit length along the z-axis. A simplified way of looking at this is to assume that the geometry is extruded one unit length from the cross section along the z-axis. The total flow out of each boundary is then from the face created by the extruded boundary (a boundary in 2D is a line).

It is good practice to start a modeling project by building one or several 2D models before going to a 3D model.

The following is a guide through some of the common approximations made for 2D problems. Remember that modeling in 2D usually represents some 3D geometry under the assumption that nothing changes in the third dimension.

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 59: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

There are usually two approaches that lead to a 2D cross-section view of a problem:

• When it is known that there is no variation of the solution in one particular dimension.

• When there is a problem where the influence of the finite extension in the third dimension can be neglected.

The geometry has a finite width but the model neglects the (end) effects from the faces parallel to the cross section because the strongest forces are between the perpendicular faces (those seen as lines in the cross section).

Figure 3-1: The cross sections and their real geometry for Cartesian coordinates and cylindrical coordinates (axial symmetry).

Axial Symmetry (Cylindrical Coordinates)

The spatial coordinates are called r and z, where r is the radius. The flow at the boundaries is given per unit length along the third dimension. Because this dimension is a revolution, you have to multiply all flows with αr, where α is the revolution angle (for example, 2π for a full turn).

Electromagnetic Forces on Parallel Current-Carrying Wires: Application Library path ACDC_Module/Verification_Examples/parallel_wires

If the 3D geometry can be constructed by revolving a cross section about an axis, and no variations in any variable occur when going around the axis of revolution, an axisymmetric physics interface can be used.

P R E P A R I N G F O R M O D E L I N G | 59

Page 60: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

60 | C H A P T E R

3 D P R O B L E M S

Although COMSOL Multiphysics fully supports arbitrary 3D geometries, it is important to simplify the problem. This is because 3D problems easily get large and require more computer power, memory, and time to solve. The extra time spent on simplifying a problem is probably well spent when solving it.

Is it possible to solve the problem in 2D? Given that the necessary approximations are small, the solution is more accurate in 2D because a much denser mesh can be used. See 2D Problems if this is applicable.

Do you know the dependence in one direction so it can be replaced by an analytical

function? You can use this approach either to convert 3D to 2D or to convert a layer to a boundary condition (see Simplifying the Geometry Using Boundary Conditions).

Are there symmetries in the geometry and model? Many problems have planes where the solution on either side of the plane looks the same. A good way to check this is to flip the geometry around the plane, for example, by turning it upside down around the horizontal plane. You can then remove the geometry below the plane if you do not see any differences between the two cases regarding geometry, materials, and sources. Boundaries created by the cross section between the geometry and this plane need a symmetry boundary condition, which is available in all 3D physics interfaces.

Simplifying the Geometry Using Boundary Conditions

An important technique to minimize the problem of size is to use efficient boundary conditions. Truncating the geometry without introducing large errors is one of the great challenges in modeling. Following are some ideas of how to do this in both 2D and 3D problems.

Does the solution only undergo small changes? When a model extends to infinity, it might have regions where the solution only undergoes small changes. This problem is

This section discusses issues that should be addressed before starting to implement a 3D model.

Eddy Currents: Application Library path ACDC_Module/

Inductive_Devices_and_Coils/eddy_currents

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 61: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

addressed in two related steps. First, truncate the geometry in a suitable position. Second, apply a suitable boundary condition there. For static and quasi-static models, it is often possible to assume zero fields at the open boundary, provided that this is at a sufficient distance away from the sources.

Can you replace the thin layers with boundary conditions? There are several types of boundary conditions in COMSOL Multiphysics suitable for such replacements. You can, for example, replace materials with high conductivity with the shielding boundary condition, which assumes a constant potential through the thickness of the layer. If you have a magnetic material with a high relative permeability, you can also model it using the shielding boundary condition.

Use boundary conditions for known solutions. A body with a high conductivity at high frequency has the current density confined to a thin region beneath the surface of the wire. You can often replace the current in the body by either a surface current boundary condition or an impedance boundary condition.

Applying Electromagnetic Sources

Electromagnetic sources can be applied in many different ways. The typical options are volume sources, boundary sources, line sources, and point sources, where point sources in 2D formulations are equivalent to line sources in 3D formulations. The way sources are imposed can have an impact on what quantities can be computed from the model. For example, a point source in an electrostatics model represents a singularity, and the electric potential does not have a finite value at the position of the source.

In a COMSOL Multiphysics model, a point source has a finite but mesh-dependent potential value. Thus, it does not make sense to compute a point-to-point capacitance, because this is defined as the ratio of charge to voltage and for a point charge, the potential is not well defined. In general, using volume or boundary sources is more

One-Sided Magnet and Plate: Application Library path ACDC_Module/

Magnetostatics/one_sided_magnet

Eddy Currents: Application Library path ACDC_Module/

Inductive_Devices_and_Coils/eddy_currents

P R E P A R I N G F O R M O D E L I N G | 61

Page 62: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

62 | C H A P T E R

flexible than using line or point sources but the meshing of the source domains becomes more expensive.

Selecting a Study Type

When variations in time are present there are two main approaches to how to represent the time dependence. The most straightforward is to solve the problem in the time domain by calculating the changes in the solution for each time step. This approach can be time consuming if small time steps are necessary for the desired accuracy. It is necessary to use this approach when the inputs are transients like turn-on and turn-off sequences.

An efficient simplification is to assume that all variations in time occur as sinusoidal signals. Then the problem is time-harmonic and it can formulated as a stationary problem in the frequency domain with complex-valued solutions. The complex value represents both the amplitude and the phase of the field, while the frequency is specified as a predefined scalar input or for frequency sweeps, provided as a solver parameter. This approach is useful because, combined with Fourier analysis, it applies to all periodic signals with the exception of nonlinear problems. Examples of typical frequency domain simulations are quasi-static problems where the input variables are sinusoidal signals.

For nonlinear problems, use a frequency domain study after a linearization of the problem, which assumes that the distortion of the sinusoidal signal is small.

Specify a Time Dependent study when you think that the nonlinear influence is very strong, or if you are interested in the harmonic distortion of a sinusoidal signal. It might also be more efficient to use a Time Dependent study if there is a periodic input with many harmonics, like a square-shaped signal.

There are some special predefined study types for the Induction Heating interface. This physics interface is based on the assumption that the magnetic cycle time is short compared to the thermal time scale (adiabatic assumption). Thus, it is associated with two predefined study types.

• Frequency-Stationary

- Time-harmonic magnetic fields

- Stationary heat transfer

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 63: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

• Frequency-Transient

- Time-harmonic magnetic fields

- Transient heat transfer

2D Field Variables

When solving for a vector field in 2D, the physics interface has three options: to solve for the out-of-plane vector, the in-plane vector, or the three-component vector. Depending on the choice, the available source specification options on the domain, boundary, edge, and point levels change accordingly.

About the AC/DC and Nonlinear Magnetic Material Databases

Nonlinear magnetic materials are generally provided as interpolation functions for the magnetization curve without hysteresis effects. In the main equation nodes, that is in any of the nodes; Ampère’s Law, Ampère’s Law and Current Conservation, Faraday’s Law, or Magnetic Flux Conservation and, depending on which of the AC/DC interfaces is being used, one needs to select the magnetic field constitutive relation BH curve or HB

curve.

AC/DC Module Study Availability

For detailed information about Materials including the AC/DC Materials Database and Nonlinear Magnetic Materials Database, see the COMSOL Multiphysics Reference Manual.

For an example of the AC/DC materials database and of using nonlinear magnetic materials in general, see Small-Signal Analysis of an Inductor: Application Library path ACDC_Module/Inductive_Devices_and_Coils/

small_signal_analysis_of_inductor

P R E P A R I N G F O R M O D E L I N G | 63

Page 64: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

64 | C H A P T E R

Meshing and Solving

M E S H R E S O L U T I O N

The finite element method approximates the solution within each element, using some elementary shape function that can be constant, linear, or of higher order. Depending on the element order in the model, a finer or coarser mesh is required to resolve the solution. In general, there are three problem-dependent factors that determine the necessary mesh resolution:

Is the variation in the solution due to geometrical factors? The mesh generator automatically generates a finer mesh where there is a lot of fine geometrical details. Try to remove such details if they do not influence the solution because they produce a lot of unnecessary mesh elements.

Is the skin effect or the field variation due to losses? It is easy to estimate the skin depth from the conductivity, permeability, and frequency. You need at least two linear elements per skin depth to capture the variation of the fields. If you do not study the skin depth, you can replace regions with a small skin depth with a boundary condition, thereby saving elements.

What is the wavelength? To resolve a wave properly, it is necessary to use about 10 linear (or 5 2nd-order) elements per wavelength. Keep in mind that the wavelength might be shorter in a dielectric medium.

S E L E C T I N G A S O L V E R

In most cases the solver that COMSOL Multiphysics suggests can be used. The choice of solver is optimized for the typical case for each physics interface and study type in the AC/DC Module. However, in special cases the solver settings might need fine tuning. This is especially important for 3D problems because they use a large amount of memory. For large 3D problems, a 64-bit platform might be required.

In the COMSOL Multiphysics Reference Manual:

• Meshing

• Studies and Solvers

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 65: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Fo r c e and To r qu e Compu t a t i o n s

In this section:

• Calculating Electromagnetic Forces and Torques

• Model Examples—Electromagnetic Forces

Calculating Electromagnetic Forces and Torques

Two methods are available to calculate electromagnetic forces and torques:

• The most general method is to use the Maxwell stress tensor.

• Another method that works for the special case of computation of magnetic forces on nonmagnetic, current-carrying domains uses a predefined physics interface variable for the Lorentz force distribution in a magnetic flux density B.

M A X W E L L S T R E S S TE N S O R

Force and torque calculations using Maxwell’s stress tensor are available in the electrostatics, electric currents, magnetic fields, and magnetic and electric fields interfaces. In electrostatics and electric currents, the force is calculated by integrating

(3-1)

on the surface of the object that the force acts on.

In the Magnetic Fields interface, the expression

is integrated on the surface to obtain the force. In the Magnetic and Electric Fields interface, both expressions are included. E is the electric field, D the electric displacement, H the magnetic field, B the magnetic flux density, and n1 the outward normal from the object. For a theoretical discussion about the stress tensor see Electromagnetic Forces.

L O R E N T Z F O R C E S

The Lorentz force is defined as F = J × B. The Lorentz force is very accurate for electromagnetic force calculations in electrically conducting domains. The Lorentz

n1T212---n1 E D⋅( )– n1 E⋅( )DT

+=

n1T212---n1 H B⋅( )– n1 H⋅( )BT

+=

F O R C E A N D TO R Q U E C O M P U T A T I O N S | 65

Page 66: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

66 | C H A P T E R

force variables are available both in domains and on boundaries (in the case of surface currents).

C Y C L E - A V E R A G E D Q U A N T I T I E S

In Frequency Domain studies, the formulas presented above can be used to compute the instantaneous force and torque by taking the real part of all the variables involved. It is often more interesting to compute the average of these quantities over a cycle, for example to couple the electromagnetic forces to another physics. The cycle-averaged Maxwell’s stress tensor (including both electric and magnetic forces) is computed as:

Model Examples—Electromagnetic Forces

There are a number of examples in the AC/DC Module Applications Libraries showing how to calculate electromagnetic forces in different situations.

The Electromagnetic Forces on Parallel Current-Carrying Wires model uses both Maxwell’s stress tensor and the Lorentz force method to compute magnetic forces. It shows how to compute the total force on a device by integrating the volume force J × B—the most important method for calculating forces in current-carrying devices. For materials that can be described as pure conductors (see later on in this section) this method gives the exact distribution of forces inside a device. The quantity J × B is the Lorentz force and is available as a predefined variable on domains and boundaries. The model also illustrates how to compute the force by integrating the Maxwell stress tensor on boundaries.

The Permanent Magnet model demonstrates how to compute the total force on a magnetizable rod close to a permanent magnet by integrating the Maxwell stress tensor in the air on the outside of the rod. This is the most important method for accurately calculating the total force on magnetic devices for which the exact distribution of volume forces is not known. To retrieve the exact distribution of volume forces requires a material that describes the interactions of the magnetizations and strains. Such materials are not always available. Therefore you are often limited to compute the total force by integrating the stress tensor or using the method of virtual work.

n1Tav 2,12---Re 1

2---n1 E∗ D⋅( )– n1 E∗⋅( )DT 1

2---n1 H∗ B⋅( )– n1 H∗⋅( )BT

+ + =

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 67: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

None of these methods can be used to compute and visualize the force distribution inside a domain, only to compute the total force and torque in situations where the device is surrounded by air (or when this is a good approximation).

• Electromagnetic Forces on Parallel Current-Carrying Wires: Application Library path ACDC_Module/Verification_Examples/

parallel_wires

• Permanent Magnet: Application Library path ACDC_Module/

Magnetostatics/permanent_magnet

F O R C E A N D TO R Q U E C O M P U T A T I O N S | 67

Page 68: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

68 | C H A P T E R

Co i l F e a t u r e s

In this section:

• About the Coil Features

• About the Coil Name

• Coil Excitation

• Coil Groups

• Lumped Parameter Calculations

• Using Coils in 3D Models

• Automatic Coil Geometry Analysis

• Accurate Coil Voltage Calculation

About the Coil Features

The coil features can be used to simplify the set up of magnetostatics and low-frequency electromagnetic models. In many such applications, the magnetic field is generated by electric currents flowing in conductive materials (for example, cables, wires, coils, or solenoids). The coil features can be used to easily model these structures and to translate lumped quantities (currents and voltages) into distributed quantities (current densities and electric fields). This section describes the main Coil feature, that is available in the The Magnetic Fields Interface, The Rotating Machinery, Magnetic Interface, and The Magnetic and Electric Fields Interface.

The Coil is available both as a domain and as a boundary feature. The latter can be used to model flat coils for which the thickness is negligible compared to the other two dimensions.

• The Magnetic Fields Interface

• The Rotating Machinery, Magnetic Interface

• The Magnetic and Electric Fields Interface

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 69: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The Coil feature supports two different Conductor model options, which differ by the physical system represented and the modeling details.

• The Single conductor option models a single, solid region of a conducting material (for example, metal) in which the current flows. The lumped voltage and current of the coil correspond respectively to the integral of the electric field along the coil length and to the integral of the current density on a cross section. Use this option in a domain feature to model a single wire with a non-negligible cross section; in a boundary feature it can be used for a thin conductive layer whose thickness is negligible (for example, in frequency domain, it is small with respect to the skin depth).

• The Homogenized multi-turn option implements a homogenized model of a coil consisting of numerous tightly-wound conducting wires, separated by an electrical insulator. The computation of the voltage and current of the coil is performed in a similar way as for the Single conductor model, but it also takes into account parameters such as the number of wires and the cross section area. Use this feature to model a coil containing a large number of wires without the need to model each wire individually. The boundary feature can be used when the wires are arranged in a thin region whose thickness is negligible.

For 2D and 2D axisymmetric geometries, the current applied by a Coil is always in the out-of-plane direction.

For 3D model geometries, the direction of the current flow is not easily determined. The coil domains have settings and subnodes to solve this problem. See Using Coils in 3D Models for more information.

Selecting unconnected geometrical entities with a Coil connects them in parallel.

C O I L F E A T U R E S | 69

Page 70: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

70 | C H A P T E R

W H A T M A T E R I A L T O U S E F O R T H E C O I L ?

The Coil domain feature is based on Ampère’s Law and it requires material properties to set up the appropriate constitutive relations. The boundary feature also requires the electrical conductivity when the Single conductor model is used. What is the correct choice of materials for the Coil domains or boundaries?

• When using the Single conductor option, the coil models a solid conductive domain (typically a metal). The material properties of the metal (electric permitting, magnetic permeability, and electrical conductivity) should be used in this case.

• When using the Homogenized multi-turn option, the conduction current (induced current) is assumed to flow only in the wires. To prevent induced current density from flowing in the domain, the region’s electrical conductivity σ is set to zero. The material used in the domain, only specifies the constitutive relations for the electric displacement field and the magnetic flux density. Therefore, choose or create a material that provides constitutive relations representative of the entire coil domain, not just of the material making up the metallic wires.

O T H E R C O I L F E A T U R E S

Two coil features designed for special applications are available in the Magnetic and

Electric Fields interface in 2D and 2D axisymmetric components:

For a examples of a Single conductor Coil, see:

• Inductive Heating of a Copper Cylinder: Application Library path ACDC_Module/Electromagnetic_Heating/inductive_heating

• Modeling of a 3D Inductor: Application Library path ACDC_Module/

Inductive_Devices_and_Coils/ inductor_3d. This example is also described in great detail in the introduction section Tutorial Example: Modeling a 3D Inductor.

For examples of a Homogenized multi-turn Coil see:

• Voltage Induced in a Coil by a Moving Magnet: ACDC_Module/

Motors_and_Actuators/induced_voltage_moving_magnet

Inductor in an Amplifier Circuit: ACDC_Module/

Inductive_Devices_and_Coils/inductor_in_circuit

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 71: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

• The RLC Coil Group feature, that models coils for which capacitive effects between coil turns and with other parts of the models are comparable with the inductive effects.

• The Single-Turn Coil feature, to introduce an externally applied current or voltage on domains where the Ampère’s Law and Current Conservation feature is active. This feature is contributing, that is, it simply adds an external current density to the domain model represented by Ampère’s Law and Current Conservation.

About the Coil Name

For all types of coil physics nodes, a coil name is entered to allow the identification of the feature and the variables it creates. By default, this is set to a unique number, but can be changed as long as it is unique between all the coil nodes in a model.

Coil Excitation

The current density flowing in the coil domain is computed from a lumped quantity that constitutes the coil excitation. The choice of this quantity can be done by setting the coil excitation parameter, while the value is specified in the associated text box. All the coil features can be excited either with current excitation, voltage excitation or, in certain cases, power excitation. The supplied value or expression is translated to a current density or electric field applied to the domain according to the coil model used. Coil features can also retrieve the value of the current or the voltage from a circuit connection, if the parameter coil excitation is set to Circuit (current) or Circuit (voltage), respectively.

C U R R E N T E X C I T A T I O N

Coil with Single Conductor modelWhen specifying a total current Icoil, the coil applies an external electric field in the direction of the current flow, computed as:

Circuit (current) excitation works similarly to the Current excitation, but in this case the inputs are provided by a circuit connection.

Circuit (voltage) excitation works similarly to the Voltage excitation, but in this case the inputs are provided by a circuit connection.

C O I L F E A T U R E S | 71

Page 72: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

72 | C H A P T E R

(3-2)

where L is equal to the physics interface thickness d for 2D models, 2πr for 2D axially symmetric models, and the coil length in 3D models. V is an unknown applied potential. The potential V is solved for using an additional equation, which constrains the total integrated current to be equal to the current value Icoil specified, acting as a controller.

Coil with Homogenized Multi-Turn ModelWhen specifying a total current Icoil, the coil applies an external current density in the direction of the wires as in Equation 3-3 where N is the number of turns which are specified and A is the total cross section area of the coil domain.

(3-3)

Coil Group ModeWhen the Coil Group mode is activated, additional equations are added to the model to enforce the equality of the current flowing in each domain or domain group.

Single-Turn Coil (in Magnetic and Electric Fields)When specifying a total current Icoil, the out-of-plane component of the current density is defined as:

(3-4)

where L is equal to the physics interface thickness d for 2D models and 2πr for 2D axially symmetric models, and V is an unknown applied potential. The potential V is solved for using an additional algebraic equation, which constrains the total integrated current to be equal to the current value Icoil specified.

VO L T A G E E X C I T A T I O N

Coil with Single Conductor modelWhen specifying a total voltage Vcoil, the externally applied electric field is computed as:

(3-5)

EeVL----=

JeNIcoil

A---------------=

JeσVL

--------=

EeVcoil

L-----------=

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 73: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

where Vcoil is the applied voltage specified, and L is equal to the physics interface’s thickness d for 2D models, to 2πr for 2D axially symmetric models, and the coil length in 3D models.

Coil with Homogenized Multi-Turn modelWhen specifying a voltage Vcoil, the component of the current density in the direction of the wires is defined as in Equation 3-6 and Equation 3-7.

(3-6)

where Vcoil is the applied voltage which is specified, A is the total cross-sectional area of the coil domain, N is the number of turns specified, Rcoil is the total resistance of the coil calculated as

(3-7)

where L is equal to the physics interface’s thickness d for 2D models, 2πr for 2D axially symmetric models, and the coil length in 3D models. The expression σcoilacoil is the product of the wire bulk conductivity and wire cross-section area. Vind is the induced voltage calculated by integrating the electric field along the coil.

Coil Group ModeWhen Coil Group mode is activated, additional conditions are added to the model to constrain the sum of all the voltages in the domains or domains groups to be equal to the specified voltage:

where Vcoil is the user-defined voltage drop across the coil, Vi is the individual applied potentials, and N is the number of turns in the coil group.

Single-Turn Coil (in Magnetic and Electric Fields)When specifying a total voltage Vcoil, the coil applies an out-of-plane external current density computed as:

(3-8)

JeN Vcoil Vind+( )

ARcoil---------------------------------------=

RcoilNL

σcoilacoilA---------------------------

A=

Vcoil Vi

i 1=

N

=

JeσVcoil

L---------------=

C O I L F E A T U R E S | 73

Page 74: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

74 | C H A P T E R

where Vcoil is the applied voltage specified, and L is equal to the physics interface’s thickness d for 2D models and equal to 2πr for 2D axially symmetric models.

PO W E R E X C I T A T I O N

In 2D and 2D axisymmetric models, Power is an option available for the coil excitation parameter. When Power is selected, the physics interface sets up the equation as specified in the Current Excitation section, plus a constraint between the coil current and voltage:

in stationary and time-dependent study steps, and

in frequency domain (cycle average). Select this option to specify the input power for the coils. The problem becomes nonlinear with these settings.

VcoilIcoil Pcoil=

12--- VcoilIcoil∗( )real Pcoil=

The Power option is not available for 3D models due to the increased complexity of the problem compared to 2D models.

This nonlinear system of equations requires special solver settings in order to converge. COMSOL Multiphysics automatically adds these solver settings when Power is selected.

Be aware that, in general, the values of the voltage and the current might not uniquely be determined by this constraint. Particularly in the frequency domain, the absolute phase of the quantities can be arbitrary. This indeterminacy can have an impact on the solution process. See Compile Equations in the COMSOL Multiphysics Reference Manual for a possible solution to this problem.

• Coil

• Single-Turn Coil

• Studies and Solvers in the COMSOL Multiphysics Reference Manual

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 75: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Coil Groups

The Coil nodes, in 2D and 2D axisymmetry, present an additional Coil Group check box that allows to easily model one or more coil features connected in series. Each domain in the coil feature selection is considered a separate turn of the coil. Use this feature in 2D and 2D axisymmetric models for coils that cross the modeling plane more than once.

The Coil Group mode automatically sets up the relations between the variables associated to each domain. Current and voltage variables for each domain (or turn) are computed the same as for the base coil feature, while the total variables for the coil are computed using the rules for series-connection—the total voltage is the sum of the voltages, while the total current is equal to the current flowing in each domain.

Special subnodes can be added to the Coil nodes once the Coil Group check box has been selected in order to better control the set-up of the connections:

Domain GroupWhen the Coil Group mode is active, each domain in the selection will be considered individually as a series-connected entity. The Domain Group subnode can be used to mark a group of domains which should be treated as one domain for the purpose of the coil set up. Multiple instances of this subnodes can be added to mark different groups. Domains that do not belong to a group are connected individually in series.

Reversed Current DirectionUse this subnode to mark a geometrical entity where the current flows in the opposite direction (into the plane instead of out of plane). This feature can be applied to any entity in the coil’s selection, regardless of the group (if any) it belongs to.

Lumped Parameter Calculations

All the types of coil domains define lumped variables during the solution. These variables are defined in the global scope and have the template <variable>Coil_<name>, where <variable> is the basic variable name (V for voltage, Z for impedance, and so forth) and <name> is the string specified in the Coil

name field. These variables can be evaluated during the analysis phase or used in

In COMSOL Multiphysics version 4.3a and earlier, a separate Coil Group

Domain node was available. This is replaced in the current version by a Single-Turn Coil domain node with the Coil Group check box selected.

C O I L F E A T U R E S | 75

Page 76: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

76 | C H A P T E R

expressions; in this case, the scope of the physics interface (for example, mf. for the Magnetic Fields interface) must be added to the beginning of the variable name—for example, mf.ICoil_1 is the total coil current flowing in the coil 1 in the physics interface identified by the name mf. A brief description of each of the variables follows.

T H E VO L T A G E , C U R R E N T , A N D PO W E R V A R I A B L E S

The coil nodes define the variables Vcoil, Icoil and Pcoil. The variable corresponding to the quantity used for the coil excitation contains the input value, while the others have values computed from the solution according to the coil model.

S T A T I O N A R Y A N D T I M E D E P E N D E N T S T U D I E S

In Stationary and Time Dependent studies, the coil feature defines the coil resistance variable, Rcoil, with the formula:

F R E Q U E N C Y D O M A I N S T U D I E S

In frequency domain studies, the following lumped variables are defined.

F R E Q U E N C Y D O M A I N , P E R T U R B A T I O N S T U D I E S

In frequency domain perturbation studies (small-signal analysis), the parameters defined are the same as in the frequency domain study, but the impedance is computed using the harmonic voltage and current around the linearization point:

TABLE 3-1: LUMPED VARIABLES FOR THE FREQUENCY DOMAIN STUDIES

VARIABLE EQUATION

Impedance

Resistance

Inductance

Reactance

Admittance

RcoilVcoilIcoil-----------=

ZcoilVcoilIcoil-----------=

Rcoil Zcoil( )real=

LcoilZcoil( )imag

ω-------------------------------=

Xcoil Zcoil( )imag=

Ycoil Zcoil-1=

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 77: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The Single-Turn Coil Feature

The Single-Turn Coil feature models a single, solid region of a conducting material (for example, metal) in which the current flows. The lumped voltage and current of the coil correspond respectively to the integral of the electric field along the coil length and to the integral of the current density on a cross section. Use the Single-Turn Coil domain node to model a single wire with a non-negligible cross section; the Single-Turn Coil boundary node can be used for a thin conductive layer whose thickness is negligible (for example, in frequency domain, it is small with respect to the skin depth).

Zcoillindev Vcoil( )lindev Icoil( )-----------------------------------=

• lindev in the COMSOL Multiphysics Reference Manual

• Coil

• Single-Turn Coil

• RLC Coil Group

In COMSOL Multiphysics version 5.2 and earlier, the Single-Turn Coil was available in The Magnetic Fields Interface and The Rotating Machinery, Magnetic Interface. The functionality provided by this feature has been incorporated in the Coil feature in the form of the Single conductor option.

To preserve backward compatibility, the Single-Turn Coil features present in models created in version 5.2 and earlier will still be available when opening the models in the current version, but it is recommended to replace them with the new Coil feature.

Selecting unconnected geometrical entities with a Single-Turn Coil connects them in parallel.

C O I L F E A T U R E S | 77

Page 78: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

78 | C H A P T E R

Using Coils in 3D Models

The Coil feature applies an external electric field or current density along the direction of the coil. The nodes require additional settings in 3D models to determine the geometry and the direction of the current flow.

C O I L F E A T U R E

The options available in a Coil feature depend on the chosen Conductor model:

• When Single conductor is used, the coil direction is computed in the dedicated preprocessing study step Coil Geometry Analysis.

• When Homogenized multi-turn is used, the Coil type input determines how the direction of the current flow is specified. The available alternatives are: Linear, Circular, Numeric and User defined. The Numeric option computes the current flow in the dedicated preprocessing study step Coil Geometry Analysis. The other three options do not require any preprocessing.

In the Homogenized multi-turn case, the coil type determines how the direction of the wires constituting the coil is specified, as well as the method used to compute the average length and the average cross-section area of the domain or boundary. The coil

For a examples of a Single-Turn Coil, see:

• Inductive Heating of a Copper Cylinder: Application Library path ACDC_Module/Electromagnetic_Heating/inductive_heating

• Modeling of a 3D Inductor: Application Library path ACDC_Module/

Inductive_Devices_and_Coils/ inductor_3d. This example is also described in great detail in the introduction section Tutorial Example: Modeling a 3D Inductor.

The Single conductor Conductor model can be used in Stationary, Frequency

Domain and Time Dependent studies. However it only supports homogeneous/constant conductivity in the entire coil. If you need to use inhomogeneous or temperature dependent coil conductivity, use the Magnetic and Electric Fields physics instead.

The Homogenized multi-turn Conductor model supports the Stationary, Frequency Domain and Time Dependent studies.

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 79: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

length and coil area are used to compute lumped variables, such as the induced voltage or the total resistance.

For models representing only a part of the geometry (due to symmetry), the total length and cross-section area of the coil (referred to as coil length and coil area) are computed by multiplying the domain or boundary length and area by the appropriate multiplication factors specified under Symmetry specification in the subfeatures.

The following sections detail the possible options available for the Coil feature.

Homogenized Multi-Turn Model—Linear Coil TypeIn a linear coil, the wires are straight and parallel. To specify the direction of the wires, use the default Coil Geometry subnode to select a straight edge or a group of collinear straight edges along the entire length of the coil. The coil direction is taken to be the tangential vector to the edges (shown in the Graphics window with a red arrow), while the length of the wires in the domain is the total length of the edges. If the length of the edges does not correspond to the length of the domain, select the Override length

of the edges check box and specify the correct length. For domain features, the average domain cross-section area is computed from the domain volume and the length. To specify another cross-section area, select the Override domain area check box and specify the correct area.

Homogenized Multi-Turn Model—Circular Coil TypeIn a circular coil, the wires are wound in circles around a common axis. To specify the direction of the wires, use the default a Coil Geometry subnode to select a circular edge or group of edges. The feature will compute the coil axis and the wire directions by analyzing the curvature of the selected edges. The total length of the edges is taken to be the average wire length in the domain, so it is appropriate to select a group of edges close to the average radius of the coil. If the length of the edges does not correspond to the length of the domain, select the Override length of the edges check box and specify the correct length. For domain features, the average domain cross-section area is computed from the domain volume and the length. To specify another cross-section area, select the Override domain area check box and specify the correct area.

The geometry analysis algorithm can determine the axis and direction only if there is a geometry in the model. If the model does not have a geometry, for example when using imported meshes, use the alternative analysis method by selecting the Use robust

geometry analysis method check box. This method can be used even without a geometry, but it requires that the selected edges form a complete circle to work correctly. If neither the default method nor the alternative method work, an alternative

C O I L F E A T U R E S | 79

Page 80: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

80 | C H A P T E R

is to set the Coil type to User defined and manually specify the direction of the wires using a Cylindrical System.

Homogenized Multi-Turn Model—Numeric Coil TypeIn a numeric coil, the path of the wires in the coil is computed numerically in an additional study step during the solution. This allows the modeling of coils with complex shapes. To set up the numerical analysis computation of the current flow in a coil, additional information on the coil geometry must be provided by means of the default Geometry Analysis subnode and the boundary conditions under it.

By default, the Input (for Geometry Analysis) boundary condition is available under the Geometry Analysis subnode. For open coils (whose ends are on exterior boundaries), apply this condition on the input boundary, that is, the boundary at which the wires enter the coil domain. Right-click the Geometry Analysis node, add an Output (for Geometry Analysis) subnode, and apply it on the exterior boundary where the wires exit the domain.

For closed-loop coils, apply the Input boundary condition on an interior boundary orthogonal to the direction of the wires.

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 81: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

To complete the set up, add a Coil Geometry Analysis study step to the study, before the main study step.

Homogenized Multi-Turn Model—User Defined Coil TypeIn a user defined coil, the current flow (the direction of the wires) can be entered as an arbitrary vector field in the User Defined Coil Geometry subnode. The vector field entered can be an analytical expression or the solution of another physics (for instance, the vector field computed by a Curvilinear Coordinates interface). In order for the magnetic problem to have a solution, the vector field must be as much as possible divergence-free, meaning that the current flow cannot have sources or sinks within the simulation domain nor can it originate from interior boundaries. In practice, this means that the current flow must either be terminated on exterior boundaries, or it must be closed in a loop.

Since the coil feature does not have any information on the geometry, additional settings are required:

• Enter the Domain length (for domain features) or the Boundary length (for boundary feature), which should be the average length of the coil from the input to the output—the average length of a wire, not accounting for symmetry nor the number of turns.

• For domain features, use the subnodes to User Defined Coil Geometry—Input and Output—to select the coil input and output boundaries, where the current flow enters or leaves the simulation domain. If the coil is closed in a loop, no selection is required.

Single Conductor ModelThe setup of the Coil when using the Single conductor model is similar to the setup required for the Homogenized Multi-Turn Model—Numeric Coil Type case, the only difference being that the Coil Geometry Analysis study step will compute the physical

The Coil Geometry Analysis can process multiple coils in the same step. In order to analyze only certain coils, select the Solve only specific coils check box and enter the coil names as a comma-separated list.

• Automatic Coil Geometry Analysis

• Coil Geometry Analysis in the COMSOL Multiphysics Reference Manual

C O I L F E A T U R E S | 81

Page 82: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

82 | C H A P T E R

current flow, instead of the direction of the wires. Refer to that section for more information.

S I N G L E - TU R N C O I L

The 3D Single-Turn Coil feature was available in The Magnetic Fields Interface in previous versions of COMSOL Multiphysics. This feature is obsolete—the recommended approach to model the same physical system is to use a Coil feature with the Single conductor model, or The Magnetic and Electric Fields Interface.

The feature is still available for backward compatibility when opening models created in previous versions of the software.

This node represents a solid conducting domain, typically a wire or a coil, with a non-negligible cross section. The boundary node represents a conducting thin layer whose thickness is small (also compared to the skin depth). To enforce the current conservation in the domain, an additional dependent variable with the dimension of an electric potential (SI unit: V) is added to the problem and the continuity equation for the current is introduced in the system of equations. This variable is referred to as the coil potential, but it is only loosely related to the electrostatic potential and it should be considered a help variable rather than representing a tangible physical quantity. In the Single-Turn Coil node, it is possible to specify the material properties that are used in the continuity equation.

The excitation is applied by means of specialized subnodes: a Boundary Feed subnode applies constraints on the coil potential to an external boundary, while a Ground subnode enforces the coil potential to be zero on the selected boundaries.

A Gap Feed subnode models a thin gap in the conductive domain across which a difference of potential or a current is applied. This feature should be applied on internal boundaries to the conductive domain and is useful for modeling closed loops.

To ensure that the current continuity equation has a physical solution, terminate a coil domain on external boundaries only, or close it into a loop.

For the Single-Turn Coil feature, only one active feed feature can be used at a time. That is, either a Boundary Feed or Gap Feed feature can be used, not both.

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 83: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Automatic Coil Geometry Analysis

In 3D models, it is possible to perform an automatic analysis of the geometry of a Coil to determine the local direction of the current flow in the domain given the input and output boundaries of the coil (or an interior boundary in the case of closed-loop coils). The analysis is performed in a dedicated study step, Coil Geometry Analysis, which is typically solved before the main study step.

The study step can be used to compute both the current flow when using the Single

conductor model and the direction of the wires when using the Homogenized multi-turn model.

In the case of a Single conductor coil, the study step solves a simple current conservation problem to determine the flow of a current applied to the metallic domain.

In the case of a Homogenized multi-turn coil, the feature computes a vector field e which represents the local wire density in the coil, as well as the length and average cross-section of the wires. The vector variable eCoil can be plotted (for example, in a Streamline or Arrow Volume plot) to visualize the computed direction of the wires.

The coil geometry analysis method tries to construct a coil wires density that is plausible for an actual bundle of thin wires. The computed wire density is constant over arbitrary cross section, without violating current conservation for the current flowing

The Gap Feed should be used with care in high frequency modeling as there is a mesh dependent displacement current density flowing in the elements just outside the bounding edges of the Gap Feed boundary. If these elements have non zero conductivity, this problem can appear even at lower frequencies.

The Coil Geometry Analysis study step must precede the main study step (for example, a Stationary study step) in which the Coil is used.

The Coil Geometry Analysis study step analyzes simultaneously the geometry of all coils in the physics that are active in the study—even if they use different Conductor models. To analyze only specific coils, select the Solve only specific coils check box in the study step and enter the names of the desired coils in the Coil names input field as a comma-separated list.

C O I L F E A T U R E S | 83

Page 84: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

84 | C H A P T E R

in the wires. The density will depend on the local cross-section area of the coil (for example, it will increase in choke points), and will remain approximatively constant in bends and curved regions as long as the cross-section area does not change. The analysis method will compute a solution even in presence of sharp bends, but the resultant wire density may not be constant. For best results, try to avoid sharp bends in the coil geometry.

B A C K W A R D C O M P A T I B I L I T Y W I T H C O I L C U R R E N T C A L C U L A T I O N

The Coil Geometry Analysis replaces the Coil Current Calculation functionality available in previous versions of COMSOL Multiphysics. The new formulation is more robust and has a larger applicability than the previous one, as well as a number of improvements, such as support for solving multiple coils at once or for coils with non-constant cross-section. When opening a model saved in an older version of COMSOL Multiphysics, the Coil Current Calculation study steps are transparently updated to use the new formulation. It may however be necessary to regenerate the default solvers before proceeding with the solution.

A D V A N C E D S O L V E R S E T T I N G S

Depending on the type of coils used in the model, the Coil Geometry Analysis may use a Stationary solver with a Segregated node to perform the analysis. The default solver settings should suffice in most cases, but they can be adjusted if the analysis fails to provide a satisfying solution. The Number of iterations in the Segregated solver can be used to tune the robustness of the method. Lower values improve the stability of the solution, but the condition that the wire density must be constant is weakened.

The Segregated solver uses Geometric Multigrid to solve the linear system associated with the analysis. If the Geometric Multigrid causes problems during the solution (for example, in presence of very coarse meshes), the direct solver can be used instead. Change the Linear solver in all Segregated Steps nodes to Direct.

Accurate Coil Voltage Calculation

This functionality improves the accuracy of the computation of the lumped coil voltage in frequency domain studies, in 3D, when using the Homogenized multi-turn conductor model. Other lumped parameters computed from the voltage using Ohm’s Law, such

• About the Coil Features

• Studies and Solvers in the COMSOL Multiphysics Reference Manual

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 85: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

as the coil impedance, inductance, and power, also benefit from the improved accuracy. The functionality is enabled by default in frequency domain studies, and can be manually controlled using the corresponding check box in the Coil Settings window, Stabilization section. The Stabilization section can be shown by clicking the Show button ( ) and selecting Stabilization, and is only available when the Conductor model is set to Homogenized multi-turn.

The Accurate coil voltage calculation functionality performs a filtering of the external current density applied by the coil to obtain a current density vector field that is numerically divergence free. The filtering is performed by introducing an additional scalar degree of freedom Vf (the filtering variable) and solving the equation

in the coil domain, where Ju is the unfiltered external current density applied by the Coil feature. The filtered current density

is then applied as right-hand side in the magnetic equations. This filtering reduces the spurious electric fields in the solution, in turn improving significantly the accuracy of the induced voltage (which is computed by integrating the electric field in the coil domain).

The filtering equation requires appropriate boundary conditions for the filtering variable, in particular, on the inlet and outlet boundaries of the coil, where the external current density is orthogonal. The approach used to set up these boundary conditions vary according to the coil geometry:

• For Linear and Circular coils, the geometry analysis algorithm automatically detects the inlet/outlet boundaries from the geometry. If this detection fails, use the Override Coil Inlet/Outlet subnode to manually select the inlet/outlet boundaries. Right-click the Coil node to add this subnode.

• For Numeric coils, the subnodes of the Geometry Analysis node are used to identify the inlet/outlet boundaries.

• For User defined coils, use the subfeatures of the User Defined Coil Geometry subnode—Input and Output— to select the coil inlet/outlet boundaries.

∇ ∇Vf Ju–( )⋅ 0=

Je ∇Vf Ju–=

C O I L F E A T U R E S | 85

Page 86: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

86 | C H A P T E R

Lumped Pa r ame t e r s

Lumped parameters are matrices describing electromagnetic properties such as resistance, capacitance, and inductance. In the time-harmonic case the lumped parameter matrix is either an impedance matrix or an admittance matrix depending on how the model is excited (current or voltage). In a static calculation only the resistive, capacitive, or inductive part of the lumped parameter matrix is obtained.

In this section:

• Calculating Lumped Parameters with Ohm’s Law

• Calculating Lumped Parameters Using the Energy Method

• Studying Lumped Parameters

• Lumped Parameter Conversion

Calculating Lumped Parameters with Ohm’s Law

To calculate the lumped parameters, there must be at least two electrodes in the system, one of which must be grounded. Either a voltage or a current can be forced on the electrodes. After the simulation, extract the other property or the energy and use it when calculating the lumped parameter.

There are several available techniques to extract the lumped parameters. Which one to use depends on the physics interface, the parameter of interest, and how the model is solved. The overview of the techniques in this section use a 4-by-4 matrix example for the lumped parameter matrix. This represents a system of at least five electrodes, where four are used as terminals and the rest are grounded, as illustrated in Figure 3-2.

Figure 3-2: A five-electrode system with 4 terminals and one ground electrode.

V1

V2

V3

V4

Ground

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 87: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

If a system specifies that all electrodes are terminals, the results are redundant matrix elements. This is better understood by considering a two-electrode system. If both electrodes are declared as terminals, a 2-by-2 matrix is obtained for the system. This is clearly too many elements because there is only one unique lumped parameter between the terminals. If in addition one or more ground electrodes are declared, the system has three unique electrodes and the lumped parameter matrix becomes a 2-by-2 matrix.

F O R C E D VO L T A G E

If voltages are applied to the terminals, the extracted currents represent elements in the admittance matrix, Y. This matrix determines the relation between the applied voltages and the corresponding currents with the formula

so when V1 is nonzero and all other voltages are zero, the vector I is proportional to the first column of Y.

In electrostatics the current is replaced with charge and the admittance matrix is replaced with the capacitance matrix

F I X E D C U R R E N T

It might be necessary to calculate the Z-matrix in a more direct way. Similar to the Y calculation, the Z calculation can be done by forcing the current through one terminal at the time to a nonzero value while the others are set to zero. Then, the columns of the impedance matrix are proportional to the voltage values on all terminals:

I1

I2

I4

I4

Y11 Y12 Y13 Y14

Y21 Y22 Y23 Y24

Y31 Y32 Y33 Y34

Y41 Y42 Y43 Y44

V1

V2

V3

V4

=

Q1

Q2

Q4

Q4

C11 C12 C13 C14

C21 C22 C23 C24

C31 C32 C33 C34

C41 C42 C43 C44

V1

V2

V3

V4

=

L U M P E D P A R A M E T E R S | 87

Page 88: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

88 | C H A P T E R

In magnetostatics this option means that the energy method is used; see Calculating Lumped Parameters Using the Energy Method below.

F I X E D C H A R G E

The Electrostatics interface can use total charge instead of total current. This gives the inverted capacitance matrix in a similar manner as the Z and Y matrices.

Calculating Lumped Parameters Using the Energy Method

When using this method the potential or the current is nonzero on one or two terminals at a time and the energy density is extracted and integrated over the whole geometry. The following formulas show how to calculate the capacitance matrix from the integral of the electric energy density.

Calculate the inductance matrix in the same way from the magnetic energy density:

V1

V2

V3

V4

Z11 Z12 Z13 Z14

Z21 Z22 Z23 Z24

Z31 Z32 Z33 Z34

Z41 Z42 Z43 Z44

I1

I2

I3

I4

=

V1

V2

V3

V4

C11 C12 C13 C14

C21 C22 C23 C24

C31 C32 C33 C34

C41 C42 C43 C44

1–Q1

Q2

Q4

Q4

=

Cii2

Vi2

------- We ΩdΩ= Vj

0 j i≠Vi j i=

=

Cij1

ViVj------------ We Ωd

Ω 1

2---

ViVj------C

ii

VjVi------Cjj+

–= Vk

0 k i j,≠Vi

Vj

k i=

k j=

=

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 89: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

This is the technique used when Fixed current is selected.

Studying Lumped Parameters

To study lumped parameters, use the terminal boundary or domain condition for each electrode. This condition is available in the following interfaces and the methods described in the previous section are used to calculate the lumped parameters:

• Electrostatics. Uses a stationary study and the energy method.

• Electric Currents. Uses a stationary or frequency domain study type using the method based on Ohm’s law.

• Magnetic and Electric Fields (only available as boundary condition and only when the electric potential is one of the dependent variables). For the stationary study the energy method is used. For the frequency domain study type, the method based on Ohm’s law is used.

The lumped parameters are defined as global variables. Evaluate these from the Derived

Values node under Results in the Model Builder or define 1D plot groups.

S W E E P S E T T I N G S A N D TO U C H S T O N E E X P O R T

In the main node of the physics interface, activate a sweep to loop the excitation over the terminals in the model and calculate a lumped parameter matrix. For frequency domain models there is also an inner loop with a frequency sweep for each terminal and the lumped parameters are exported to a Touchstone file. The generated lumped parameters are in the form of an impedance or admittance matrix depending on the terminal settings. They must consistently be of either fixed voltage (for an admittance matrix) or fixed current type (for an impedance matrix).

A C C U R A C Y

Use reaction terms to be accurate when calculating the total current over the boundary. This is necessary for the forced voltage input property. The reaction terms (representing current or charge density) come from default information stored in the

Lii2

Ii2

----- Wm ΩdΩ= Ij

0 j i≠Ii j i=

=

Lij1

IiIj-------- Wm Ωd

Ω 1

2---

IiIj----L

ii

IjIi----L

jj+

–= Ik

0 k i j,≠Ii

Ij

k i=

k j=

=

L U M P E D P A R A M E T E R S | 89

Page 90: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

90 | C H A P T E R

solution, which gives an exact calculation of the total fluxes on boundaries with constraints. They do not change the system of equations in any way—no special solver settings are required. The reaction terms are also stored by default. It is recommended to use forced voltage input property with reaction terms in the extraction of the lumped parameters. Lumped parameter variables based on voltage excitation are only available when reaction fluxes are included in the output. The optional current excitation performs a coupling that guarantees that the total current is equal to the specified value, although one cannot verify this without using reaction terms.

Lumped Parameter Conversion

When the impedance matrix, Z, or the admittance matrix, Y, is available it is possible to calculate all other types of lumped parameter matrices from the relations below.

where L is the inductance, C is the capacitance, R is the resistance, and G is the conductance. S is the S-parameter. The relations also include the following matrices

where Z0 is the characteristic impedance.

For capacitance matrix calculations special transformations are available to obtain the mutual or SPICE capacitance matrix from the basic output from the solver. The latter is, for voltage excitation the so called Maxwell capacitance matrix and, for charge excitation the inverse Maxwell capacitance matrix. The Maxwell capacitance values, terminal charges, and terminal voltages are linked by the following matrix relation:

S Gref E Zref∗ Y⋅( )–( ) E Zref Y⋅+( ) 1– Gref1– ,⋅ ⋅ ⋅=

Z Y 1– ,= L Im Z( )ω

-----------------,= C Im Y( )ω

-----------------,=

R Re Z( ),= G Re Y( )=

E

1 0 0 00 1 0 00 0 1 00 0 0 1

=

Zref E Z0⋅=

Gref E 12 Re Z0( )------------------------------⋅=

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 91: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

(4)

where Q is charge, V is voltage, and C is the Maxwell capacitance matrix.

In order to analyze the response of a device, it is more common to use the form of a mutual capacitance matrix. The mutual capacitance matrix can be converted from the Maxwell capacitance matrix:

(5)

where CMij are elements of the Maxwell capacitance matrix and Cmij are elements of the mutual capacitance matrix.

The basic steps of this conversion are:

1 Set each diagonal element of the mutual capacitance matrix to the sum of the corresponding row elements of the Maxwell capacitance matrix (that is, to get Cm11, sum CM1j for all j).

2 Reverse the sign of all of the off-diagonal elements in the Maxwell capacitance matrix to get the corresponding mutual capacitance matrix elements.

This conversion can also be used to transform resistance and conductance matrices obtained from the Electric Currents physics. In that context the output resistance matrix corresponds to the inverse Maxwell capacitance matrix, electrode currents correspond to charges and the mutual or SPICE conductance matrix corresponds to the mutual or SPICE capacitance matrix.

Q1

Q2

Q3

C11 C12 C13

C21 C22 C23

C31 C32 C33

V1

V2

V3

=

Cm11 Cm12 Cm13

Cm21 Cm22 Cm23

Cm31 Cm32 Cm33

CM11 CM12 CM13+ + CM12– CM13–

CM21– CM21 CM22 CM23+ + CM23–

CM31– CM32– CM31 CM32 CM33+ +

=

L U M P E D P A R A M E T E R S | 91

Page 92: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

92 | C H A P T E R

You can compute conversions between the various matrices (Z, Y, S, CMax, Cmut) in a results table using the Settings window for the Global Matrix Evaluation node, which you can add under Results>Derived Values.

Stationary Source Sweep

For the Electrostatics, the Electrostatics, Boundary Elements and the Electric Currents interfaces there is a special study step for efficient calculation of capacitance and resistance matrices respectively. The Stationary Source Sweep ( ) identifies all terminals (domain or boundary) in the model and excites them one at a time using a fixed charge or current (overriding the settings on the Terminal features). While one Terminal is excited, the others will be floating with zero net charge/current.

Matrix outputThe resulting potential values at the terminals are used to extract one of the lumped matrices according to the following table.

During postprocessing, other matrices can be produced via the Global Matrix

Evaluation. The settings for Global Matrix Evaluation has a Transformation section that

Global Matrix Evaluation in the COMSOL Multiphysics Reference Manual

To get a proper matrix definition, at least one Ground node should be specified in the model. This is particularly important as the Stationary Source Sweep does not add any constraint on the electric potential.

PHYSICS BASE LUMPED PARAMETER MATRIX

Electrostatics &

Electrostatics, Boundary Elements

Inverse Maxwell capacitance matrix

Electric Currents Resistance matrix

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 93: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

allows for the output of the Maxwell capacitance matrix or the mutual capacitance matrix.

Solver SelectionThe Stationary Source Sweep is optimized for solution speed. It works best with a direct solver as the LU decomposition has to be performed only once, followed by back substitution for the multiple source excitations (multiple right-hand sides). For 3D models, the Stationary Source Sweep generates both an iterative and a direct solver. The former will be selected if the model is having a large number of elements, i.e. above a built-in threshold. For hardware with sufficiently large RAM, it is recommended to manually switch to the direct solver.

Voltage outputWith unit charge feeding the absolute value of the electric potential is difficult to predict. For this reason there is an auxiliary global variable e.g. es.VexcTerm that represents the value of potential of the excited terminal. The default potential plots will typically show the electric potential scaled by this value.

Compatibility with other study typesCombining the Stationary Source Sweep with the Parametric Sweep study node should only be done after careful consideration. If you need to perform more general parameter sweeps, it is often more appropriate to activate the manual terminal sweep in the settings of the main physics node and set up Parametric Sweeps manually. Other study nodes will work with Stationary Source Sweep as it was a standard Stationary (parametric) study. In particular, this is valid also for Optimization and Sensitivity studies.

If the Generate default plots check box on the Study node is enabled, default Global Matrix Evaluation nodes for matrix output are generated.

For 3D models involving the Electrostatics, Boundary Elements physics, direct solvers scale poorly with problem size so some caution is recommended.

L U M P E D P A R A M E T E R S | 93

Page 94: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

94 | C H A P T E R

Lumped Po r t s w i t h V o l t a g e I n pu t

In this section:

• About Lumped Ports

• Lumped Port Parameters

About Lumped Ports

Lumped ports are used to model a connecting transmission line or as a voltage or current source applied between electrodes. For example, apply a lumped port directly to a printed circuit board or to the transmission line feed of a device. The lumped port must be applied between two metallic objects separated by a distance much smaller than the wavelength, that is a local quasi-static approximation must be justified. This is because the concept of port or gap voltage breaks down unless the gap is much smaller than the local wavelength.

A lumped port specified as an input port calculates the impedance, Zport, and S11 S-parameter for that port. The parameters are directly given by the relations

where Vport is the extracted voltage for the port given by the electric field line integral between the terminals averaged over the entire port. The current Iport is the averaged total current over all cross sections parallel to the terminals. Ports not specified as input ports only return the extracted voltage and current.

Lumped Port Parameters

In transmission line theory voltages and currents are dealt with rather than electric and magnetic fields, so the lumped port provides an interface between them. The

ZportVportIport-------------=

S11Vport Vin–

Vin----------------------------=

Lumped Port Parameters

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 95: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

requirement on a lumped port is that the feed point must be similar to a transmission line feed, so its gap must be much less than the wavelength. It is then possible to define the electric field from the voltage as

where h is a line between the terminals at the beginning of the transmission line, and the integration is going from positive (phase) V to ground. The current is positive going into the terminal at positive V.

The transmission line current can be represented with a surface current at the lumped port boundary directed opposite to the electric field.

The impedance of a transmission line is defined as

and in analogy to this an equivalent surface impedance is defined at the lumped port boundary

To calculate the surface current density from the current, integrate along the width, w, of the transmission line

where the integration is taken in the direction of ah × n. This gives the following relation between the transmission line impedance and the surface impedance

V E ld⋅h E ah⋅( ) ld

h= =

E+V

I

Js h

Lumped port boundaryn

Ground

Z VI----=

ηE ah⋅

Js ah–( )⋅-------------------------=

I n J× s( ) ld⋅w Js ah⋅( ) ld

w–= =

L U M P E D P O R T S W I T H V O L T A G E I N P U T | 95

Page 96: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

96 | C H A P T E R

where the last approximation assumed that the electric field is constant over the integrations. A similar relationship can be derived for coaxial cables

The transfer equations above are used in an impedance type boundary condition, relating surface current density to tangential electric field via the surface impedance.

where E is the total field and E0 the incident field, corresponding to the total voltage, V, and incident voltage, V0, at the port.

Z VI----

E ah⋅( ) ldh

Js ah⋅( ) ldw–

----------------------------------- η

E ah⋅( ) ldh

E ah⋅( ) ldw------------------------------ η h

w----≈= = =

η Zwh----=

η Z 2πba---ln

----------=

n H1 H2–( ) 1η---n E n×( )×+× 21

η---n E0 n×( )×=

When using the lumped port as a circuit port, the port voltage is fed as input to the circuit and the current computed by the circuit is applied as a uniform current density, that is as a surface current condition. Thus, an open (unconnected) circuit port is just a continuity condition.

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 97: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

S - P a r ame t e r s and Po r t s

In this section:

• S-Parameters in Terms of Voltage and Electric Field

• S-Parameter Calculations

• S-Parameter Variables

• Port Sweeps/Manual Terminal Sweeps and Touchstone Export

S-Parameters in Terms of Voltage and Electric Field

Scattering parameters (or S-parameters) are complex-valued, frequency dependent matrices describing the transmission and reflection of electromagnetic waves at different ports of devices like filters, antennas, waveguide transitions, and transmission lines. S-parameters originate from transmission-line theory and are defined in terms of transmitted and reflected voltage waves. All ports are assumed to be connected to matched loads/feeds, that is, there is no reflection directly at a port.

For a device with n ports, the S-parameters are

where S11 is the voltage reflection coefficient at port 1, S21 is the voltage transmission coefficient from port 1 to port 2, and so on. The time average power reflection/transmission coefficients are obtained as |Sij |

2.

Now, for high-frequency problems, voltage is not a well-defined entity, and it is necessary to define the scattering parameters in terms of the electric field.

S

S11 S12 . . S1n

S21 S22 . . .

. . . . .

. . . . .Sn1 . . . Snn

=

For details on how COMSOL Multiphysics calculates the S-parameters, see S-Parameter Calculations.

S - P A R A M E T E R S A N D P O R T S | 97

Page 98: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

98 | C H A P T E R

S-Parameter Calculations

The AC/DC interfaces have built-in support for S-parameter calculations. For connecting transmission lines and other lumped feeds, use a lumped port that approximates a connecting transmission lines or a voltage source with a known internal impedance. The lumped port should only be used when the port width is much smaller than the wavelength. In the Electric Currents and Electrostatics interfaces, use the terminal feature with the terminated setting to approximate a connecting transmission line or a voltage source with a known internal impedance. For a terminal the voltage measurement is always with respect to ground so at least one ground feature is also required in the model.

S-Parameter Variables

This module automatically generates variables for the S-parameters. The port names (use numbers for sweeps to work correctly) determine the variable names. If, for example, there are two lumped ports with the numbers 1 and 2 and Lumped Port 1 is the inport, the software generates the variables S11 and S21. S11 is the S-parameter for the reflected wave and S21 is the S-parameter for the transmitted wave. For convenience, two variables for the S-parameters on a dB scale, S11dB and S21dB, are also defined using the following relation:

The model and physics interface names also appear in front of the variable names so they can vary. The S-parameter variables are added to the predefined quantities in appropriate plot lists.

Port Sweeps/Manual Terminal Sweeps and Touchstone Export

The Port Sweep Settings in the Magnetic Fields interface, Input Sweep Settings in the Magnetic and Electric Fields interface, Manual Terminal Sweep Settings section in the Electrostatics interface and the Manual Terminal Sweep Settings section in the Electric Currents interface describe how to cycle through the ports and terminals, compute the entire S-matrix and export it to a Touchstone file.

• For more details about lumped ports, see Lumped Ports with Voltage Input.

• See Lumped Port for instructions to set up a model.

S11dB 20 10 S11( )log=

3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 99: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Conn e c t i n g t o E l e c t r i c a l C i r c u i t s

In this section:

• About Connecting Electrical Circuits to Physics Interfaces

• Connecting Electrical Circuits Using Predefined Couplings

• Connecting Electrical Circuits by User-Defined Couplings

• Solving

• Postprocessing

About Connecting Electrical Circuits to Physics Interfaces

This section describes the various ways electrical circuits can be connected to other physics interfaces in COMSOL Multiphysics. If you are not familiar with circuit modeling, it is recommended that you review the Theory for the Electrical Circuit Interface.

In general electrical circuits connect to other physics interfaces via one or more of three special circuit features:

• External I vs. U

• External U vs. I

• External I-Terminal

Inductor in an Amplifier Circuit: Application Library path ACDC_Module/Inductive_Devices_and_Coils/inductor_in_circuit

C O N N E C T I N G T O E L E C T R I C A L C I R C U I T S | 99

Page 100: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

100 | C H A P T E

These features either accept a voltage measurement from the connecting non-circuit physics interface and return a current from the Electrical Circuit interface or the other way around.

Connecting Electrical Circuits Using Predefined Couplings

In addition to these circuit features, interfaces in the AC/DC Module, RF Module, MEMS Module, Plasma Module, and Semiconductor Module (the modules that include the Electrical Circuit interface) also contain features that provide couplings to the Electrical Circuit interface by accepting a voltage or a current from one of the specific circuit features (External I vs. U, External U vs. I, and External I-Terminal).

This coupling is typically activated when:

• A choice is made in the Settings window for the non-circuit physics interface feature, which then announces (that is, includes) the coupling to the Electrical Circuit interface. Its voltage or current is then included to make it visible to the connecting circuit feature.

• A voltage or current that has been announced (that is, included) is selected in a feature node’s Settings window.

These circuit connections are supported in Terminals and Coils.

Connecting Electrical Circuits by User-Defined Couplings

A more general way to connect a physics interface to the Electrical Circuit interface is to:

• Apply the voltage or current from the connecting “External” circuit feature as an excitation in the non-circuit physics interface.

The “External” features are considered “ideal” current or voltage sources by the Electrical Circuit interface. Hence, you cannot connect them directly in parallel (voltage sources) or in series (current sources) with other ideal sources. This results in the error message The DAE is structurally inconsistent. A workaround is to provide a suitable parallel or series resistor, which can be tuned to minimize its influence on the results.

R 3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 101: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

• Define your own voltage or current measurement in the non-circuit physics interface using variables, coupling operators and so forth.

• In the Settings window for the Electrical Circuit interface feature, selecting the User-defined option and entering the name of the variable or expression using coupling operators defined in the previous step.

D E T E R M I N I N G A C U R R E N T O R VO L T A G E V A R I A B L E N A M E

To determine a current or voltage variable name, look at the Dependent Variables node under the Study node. To do this:

1 In the Model Builder, right-click the Study node and select Show Default Solver.

2 Expand the Solver>Dependent Variables node and click the state node, in this example, Current through device R1 (comp1.currents). The variable name is shown on the Settings window for State

Typically, voltage variables are named cir.Xn_v and current variables cir.Xn_i, where n is the “External” device number—1, 2, and so on.

C O N N E C T I N G T O E L E C T R I C A L C I R C U I T S | 101

Page 102: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

102 | C H A P T E

Solving

Postprocessing

The Electrical Circuits interface, unlike most of the other physics interfaces, solves for a relatively large number of Global dependent variables (such as voltages and currents), instead of solving for a few space-varying fields (such as temperature or displacement). For this reason, the Electrical Circuit interface does not provide default plots when computing a Study.

The physics interface defines a number of variables that can be used in postprocessing. All variables defined by the Electrical Circuit interface are of a global scope, and can be evaluated in a Global Evaluation node (under Derived Values). In addition, the time evolution or dependency on a parameter can be plotted in a Global plot (under a 1D

Plot Group node).

The physics interface defines a Node voltage variable for each electrical node in the circuit, with name cir.v_name, where cir is the physics interface Label and <name> is the node Name. For each two pin component, the physics interface also defines variables containing the voltage across it and the current flowing through it.

Some modeling errors lead to the error message The DAE is structurally inconsistent, being displayed when solving. This typically occurs from having an open current loop, from connecting voltage sources in parallel, or connecting current sources in series.

In this respect, the predefined coupling features are also treated as (ideal) voltage or current sources. The remedy is to close current loops and to connect resistors in series with voltage sources or in parallel with current sources.

In the COMSOL Multiphysics Reference Manual:

• Derived Values and Tables and Global Evaluation

• Plot Groups and Plots and Global

R 3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 103: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

S p i c e Impo r t

SPICE Import

The circuit definition in COMSOL Multiphysics adheres to the SPICE format developed at the University of California, Berkeley (Ref. 1). SPICE netlists can be imported and the corresponding circuit nodes are generated in the COMSOL Multiphysics model. Most circuit simulators can export to this format or some version of it.

The Electrical Circuit interface supports the following device models:

Statements corresponding to multiple devices are resolved by parsing the associated .model statement. The physics interface also supports the .subckt statement, which is represented in COMSOL by a Subcircuit Definition node, and the .include statement. SPICE commands are interpreted case-insensitively. The statement defining each device is also interpreted as the Device name.

According to SPICE specification, the first line in the netlist file is assumed to be the title of the netlist and it is ignored by the parser.

TABLE 5-1: SUPPORTED SPICE DEVICE MODELS

STATEMENT DEVICE MODEL

R Resistor

C Capacitor

L Inductor

V Voltage Source

I Current Source

E Voltage-Controlled Voltage Source

F Current-Controlled Current Source

G Voltage-Controlled Current Source

H Current-Controlled Voltage Source

D Diode

Q NPN BJT and PNP BJT

M n-Channel MOSFET and p-Channel MOSFET

X Subcircuit Instance

S P I C E I M P O R T | 103

Page 104: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

104 | C H A P T E

SPICE Export

The SPICE Export functionality creates a SPICE netlist file containing a description of the circuit represented by the physics interface. This functionality can be accessed from the physics interface context menu (right-click the physics interface node and select Export SPICE Netlist). After specifying a file name, the circuit is exported and messages from the export process display in the Messages window. During the export process, a series of operations are performed:

• In order to avoid conflicts, each component must be identified by a unique Device

name. If one or more components have the same device name, the export operation fails and an error message is displayed. All characters in a Device name that are not letters, digits or underscores are replaced by underscores.

• According to the SPICE specification, each circuit must have a node with name 0, which is assumed to be the only ground node. When exporting a circuit, any node with name 0 that is not connected to a Ground component is exported with a different node name. All nodes that are connected to a Ground components are exported as a merged node with name 0. The Messages window shows a log message if these operations are performed, showing the name of the renamed or merged nodes.

• All characters in node names that are not letters, digits or underscores are replaced by underscores.

• Some components (most notably, the External components used to couple to other physics interfaces) cannot be exported to a SPICE netlist. These components are ignored during the export process, and a message is shown in the Messages window. Note that this can change the exported circuit, since some components are then missing.

• Subcircuit definitions are added as .subckt statements in the netlist. Semiconductor devices (such as MOSFETs, BJTs, and diodes) are exported as a SPICE device with a corresponding .model statement.

The title of the exported netlist file is the model's file name, and the time, date and the version of COMSOL Multiphysics is added as a comment in the netlist file.

Reference for SPICE Import and Export

1. http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/

R 3 : M O D E L I N G W I T H T H E A C / D C M O D U L E

Page 105: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

4

E l e c t r i c F i e l d I n t e r f a c e s

This chapter summarizes the functionality of the electric field interfaces found under the AC/DC branch ( ). The AC/DC Module enhances the Electrostatics and Electric Currents interfaces included with the basic COMSOL Multiphysics® license.

In this chapter:

• The Electrostatics Interface

• The Electrostatics, Boundary Elements Interface

• The Electric Currents Interface

• The Electric Currents, Shell Interface

• Theory for the Electrostatics Interface

• Theory for the Electric Currents Interface

• Theory for the Electric Currents, Shell Interface

105

Page 106: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

106 | C H A P T E

Th e E l e c t r o s t a t i c s I n t e r f a c e

The Electrostatics (es) interface ( ), found under the AC/DC branch ( ) when adding a physics interface, is used to compute the electric field, electric displacement field, and potential distributions in dielectrics under conditions where the electric charge distribution is explicitly prescribed. The formulation is stationary except for use together with other physics interfaces. Eigenfrequency, frequency-domain, small-signal analysis, and time-domain modeling are supported in all space dimensions.

The physics interface solves Gauss’ Law for the electric field using the scalar electric potential as the dependent variable.

Charge Conservation is the main node, which adds the equation for the electric potential and has a Settings window for defining the constitutive relation for the electric displacement field and its associated properties such as the relative permittivity.

When this physics interface is added, these default nodes are also added to the Model

Builder — Charge Conservation, Zero Charge (the default boundary condition), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, boundary conditions and space charges. You can also right-click Electrostatics

to select physics features from the context menu.

S E T T I N G S

The Label is the default physics interface name.

The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.

The default Name (for the first physics interface in the model) is es.

C R O S S - S E C T I O N A R E A ( 1 D C O M P O N E N T S )

For 1D components, enter a default value for the Cross-section area A (SI unit: m2). The default value of 1 is typically not representative for a thin domain. Instead it describes a unit thickness that makes the 1D equation identical to the equation used for 3D components. See also Change Cross Section.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 107: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

T H I C K N E S S ( 2 D C O M P O N E N T S )

For 2D components, enter a default value for the Out-of-plane thickness d (SI unit: m). The default value of 1 is typically not representative for a thin dielectric medium, for example. Instead it describes a unit thickness that makes the 2D equation identical to the equation used for 3D components. See also Change Thickness (Out-of-Plane).

P H Y S I C S - C O N T R O L L E D M E S H

Select the Enable check box to allow the physics interface to control the meshing process. Information from the physics, such as the presence of an infinite elements domain or periodic condition, will be used to set up automatically an appropriate mesh sequence.

M A N U A L T E R M I N A L S W E E P S E T T I N G S

Enter a Reference impedance Zref (SI unit: Ω). The default is 50 Ω.

Select the Activate manual terminal sweep check box to switch on the sweep and invoke a parametric sweep over the terminals. Enter a Sweep parameter name to assign a specific name to the variable that controls the terminal number solved for during the sweep. The Sweep parameter name must also be declared as a model parameter. The default is PortName.

The generated lumped parameters are in the form of capacitance matrix elements. The terminal settings must consistently be of either fixed voltage or fixed charge type.

The lumped parameters are subject to Touchstone file export. Enter a file path or Browse for a file. Select a Parameter format (value pairs) for the Touchstone export—Magnitude

and angle (MA) (the default), Magnitude in dB and angle (DB), or Real and imaginary

parts (RI). Select an option from the If file exists list — Overwrite or Create new. Create new is useful when the model is solved multiple times with different settings. Select a Parameter to export: Z (the default), Y, or S.

From the Home toolbar add a Parameters node and enter the chosen name and assign to it a temporary Expression of unity into the Parameters table. You can also right-click Global Definitions to add the node.

Only a temporary expression needs to be entered at this stage. During the analysis process, the solver assigns a proper value to this parameter. The generated lumped parameters are in the form of capacitance matrix elements. The terminal settings must consistently be of either fixed voltage or fixed charge type.

T H E E L E C T R O S T A T I C S I N T E R F A C E | 107

Page 108: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

108 | C H A P T E

D E P E N D E N T V A R I A B L E S

The dependent variable is the Electric potential V. You can change its name, which changes both the field name and the variable name. If the new name coincides with the name of another electric potential field in the model, the physics interfaces shares degrees of freedom. The new name must not coincide with the name of a field of another type or with a component name belonging to some other field.

D I S C R E T I Z A T I O N

To display this section, click the Show button ( ) and select Discretization.

Domain, Boundary, Edge, Point, and Pair Nodes for the Electrostatics Interface

The Electrostatics Interface has these domain, boundary, edge, point, and pair nodes available.

A B O U T T H E B O U N D A R Y C O N D I T I O N S

The relevant physics interface condition at interfaces between different media is

For most applications it is simpler to sweep over terminals using the Stationary Source Sweep study step. See Stationary Source Sweep in the COMSOL Multiphysics Reference Manual and (for more details) Stationary Source Sweep in the AC/DC Module User’s Guide.

In the COMSOL Multiphysics Reference Manual, see Table 2-3 for links to common sections and Table 2-4 to common feature nodes. You can also search for information: press F1 to open the Help window or Ctrl+F1 to open the Documentation window.

• Domain, Boundary, Edge, Point, and Pair Nodes for the Electrostatics Interface

• Theory for the Electrostatics Interface

Electric Sensor: Application Library path COMSOL_Multiphysics/Electromagnetics/electric_sensor

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 109: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

In the absence of surface charges, this condition is fulfilled by the natural boundary condition

A V A I L A B L E N O D E S

These nodes, listed in alphabetical order, are available from the Physics ribbon toolbar (Windows users), Physics context menu (Mac or Linux users), or right-click to access the context menu (all users). Also see Table 4-1 for a list of interior and exterior boundary conditions, including edge, point, and pair availability.

n2 D1 D2–( )⋅ ρs=

n ε0 V∇ P–( )1 ε0 V∇ P–( )2–[ ]⋅ n– D1 D2–( )⋅ 0= =

In general, to add a node, go to the Physics toolbar no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.

• Change Cross Section

• Change Thickness (Out-of-Plane)

• Charge Conservation

• Charge Conservation, Piezoelectric1

• Dielectric Shielding

• Distributed Capacitance

• Electric Displacement Field

• Electric Potential

• Electrostatic Point Dipole

• External Surface Charge Accumulation

• Floating Potential

• Force Calculation

• Ground

• Initial Values

• Line Charge

• Line Charge (on Axis)

• Line Charge (Out-of-Plane)

• Periodic Condition

• Point Charge

• Point Charge (on Axis)

• Space Charge Density

• Surface Charge Density

• Terminal

• Thin Low Permittivity Gap

• Zero Charge (the default boundary condition)

1 This feature is available with the Piezoelectric Devices interface, which requires the Acoustics Module, MEMS Module, or the Structural Mechanics Module.

T H E E L E C T R O S T A T I C S I N T E R F A C E | 109

Page 110: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

110 | C H A P T E

Table 4-1 lists the interior and exterior boundaries available with this physics interface. It also includes edge, point, and pair availability.

TABLE 4-1: INTERIOR AND EXTERIOR BOUNDARY CONDITIONS (INCLUDING EDGE, POINT, AND PAIR AVAILABILITY) FOR THE ELECTROSTATICS INTERFACE

NODE INTERIOR EXTERIOR ALSO AVAILABLE FOR

Change Cross Section x x pairs

Change Thickness (Out-of-Plane) x x pairs

Dielectric Shielding x x pairs

Distributed Capacitance x x pairs

Electric Displacement Field x x pairs

Electric Potential x x edges, points, and pairs

External Surface Charge Accumulation

x pairs

Floating Potential x x pairs

Ground x x edges, points, and pairs

Periodic Condition x not applicable

Surface Charge Density x x pairs

Terminal x x domains

Thin Low Permittivity Gap x not applicable

Zero Charge (the default) x x pairs

For axisymmetric components, COMSOL Multiphysics takes the axial symmetry boundaries (at r = 0) into account and automatically adds an Axial Symmetry node to the model that is valid on the axial symmetry boundaries only. There are also Line Charge (on Axis) and Point Charge (on

Axis) available.

In the COMSOL Multiphysics Reference Manual, see Table 2-3 for links to common sections and Table 2-4 to common feature nodes. You can also search for information: press F1 to open the Help window or Ctrl+F1 to open the Documentation window.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 111: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Charge Conservation

The Charge Conservation node adds the equations for charge conservation according to Gauss’ law for the electric displacement field. It provides an interface for defining the constitutive relation and its associated properties such as the relative permittivity.

M A T E R I A L TY P E

The Material type setting decides how materials behave and how material properties are interpreted when the mesh is deformed. Select Solid for materials whose properties change as functions of material strain, material orientation, and other variables evaluated in a material reference configuration (material frame). Select Non-solid for materials whose properties are defined only as functions of the current local state at each point in the spatial frame, and for which no unique material reference configuration can be defined. Select From material to pick up the corresponding setting from the domain material on each domain.

E L E C T R I C F I E L D

Select a Constitutive relation to describe the macroscopic properties of the medium (relating the electric displacement D with the electric field E) and the applicable material properties, such as the relative permittivity. Select:

• Relative permittivity (the default) to use the constitutive relation D = ε0εrE. Then the default is to take the Relative permittivity εr (dimensionless) values From material. For User defined, select Isotropic, Diagonal, Symmetric, or Anisotropic and enter values or expressions in the field or matrix. The default is 1. If Porous media is selected, the Porous Media subnode is available from the context menu (right-click the parent node) as well as from the Physics toolbar, Attributes menu.

• Polarization to use the constitutive relation D = ε0E + P. Then enter the components based on space dimension for the Polarization vector P (SI unit: C/m2). The defaults are 0 C/m2.

• Remanent electric displacement to use constitutive relation D = ε0εrE + Dr, where Dr is the remanent displacement (the displacement when no electric field is present). Then the default is to take the Relative permittivity εr (dimensionless) values From

material. For User defined, select Isotropic, Diagonal, Symmetric, or Anisotropic and enter values or expressions in the field or matrix. Then enter the components based on space dimension for the Remanent electric displacement Dr (SI unit: C/m2). The defaults are 0 C/m2.

T H E E L E C T R O S T A T I C S I N T E R F A C E | 111

Page 112: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

112 | C H A P T E

Initial Values

The Initial Values node adds an initial value for the electric potential V that can serve as an initial condition for a transient simulation or as an initial guess for a nonlinear solver.

I N I T I A L V A L U E S

Enter a value or expression for the initial value of the Electric potential V (SI unit: V). The default value is 0 V.

Space Charge Density

The Space Charge Density node adds a space charge density ρ, which appears on the right-hand side of the equation that the physics interface defines.

S P A C E C H A R G E D E N S I T Y

Enter a value or expression for the Space charge density ρv (SI unit: C/m3). The default is 0 C/m3.

Force Calculation

Use the Force Calculation node to define globally available force and torque variables for the selected domains. Force Calculation is also available and defined here for the Magnetic Fields, Magnetic and Electric Fields, and Magnetic Field Formulation interfaces.

F O R C E C A L C U L A T I O N

Enter a Force name, which is then appended to global variables. The method used to compute forces and torques is integration of the Maxwell’s stress tensor over the exterior surfaces of the set of domains. This feature also gives access to the normal component of the Maxwell stress tensor on the external surfaces. For the Magnetic and Electric Fields and Magnetic Fields interfaces, the force calculation includes both electric and magnetic forces. The computed force is made available as a global vector variable with name es.Force<component>_<force name>.

Enter a direction vector for the Torque axis rax and coordinates for the Torque rotation

point r0. A torque calculation about a given point (Torque rotation point) is made and defined as a global vector variable, es.T<component>_<force name>. The resulting torque component parallel to the given Torque axis is given as a global scalar variable, typically es.Tax_<force name>.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 113: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

In frequency domain studies, the cycle-averaged force and torque variables are also defined, with names es.Forceav<component>_<force name>, es.Tav<component>_<force name> and es.Taxav_<force name>. The variables described are still defined and represent the instantaneous force and torque.

A D V A N C E D S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

The Compute both instantaneous and cycle-averaged variables in frequency domain check box is selected by default. The check box controls which variables are defined by the Force Calculation feature in frequency-domain studies. When selected (the default setting in new models), the variables are defined as described above. This check box selected by default for backward compatibility. If the check box is cleared, only the cycle-averaged variables are computed, replicating the behavior of the Force Calculation feature in version 4.3 and earlier. The check box is cleared in existing Force Calculation features when opening models created in version 4.3 and earlier.

Zero Charge

The Zero Charge node adds the condition that there is zero charge on the boundary so that n ⋅ D = 0. This boundary condition is also applicable at symmetry boundaries where the potential is known to be symmetric with respect to the boundary. This is the default boundary condition at exterior boundaries. At interior boundaries, it means that no displacement field can penetrate the boundary and that the electric potential is discontinuous across the boundary.

In small-signal analysis studies, no cycle-average variables are defined. Use the additional plot settings for the Harmonic Perturbation on the instantaneous variables to compute the quantities of interest. See Harmonic Perturbation, Prestressed Analysis, and Small-Signal Analysis in the COMSOL Multiphysics Reference Manual.

For more information on calculation of forces and torques, see Force and Torque Computations.

T H E E L E C T R O S T A T I C S I N T E R F A C E | 113

Page 114: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

114 | C H A P T E

Ground

The Ground node implements ground (zero potential) as the boundary condition V = 0.

Ground means that there is a zero potential on the boundary. This boundary condition is also applicable at symmetry boundaries where the potential is known to be antisymmetric with respect to the boundary.

For some physics interfaces, also select additional Ground nodes from the Edges (3D components) or Points (2D and 3D components) submenus. For 2D axisymmetric components, it can be applied on the Symmetry axis.

B O U N D A R Y , E D G E , O R PO I N T S E L E C T I O N

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Electric Potential

The Electric Potential node provides an electric potential V0 as the boundary condition V = V0.

Because the electric potential is being solved for in the physics interface, the value of the potential is typically defined at some part of the geometry. For some physics interfaces, also select additional Electric Potential nodes from the Edges (3D components) or Points (2D and 3D components) submenus. For 2D axisymmetric components, it can be applied on the symmetry axis.

B O U N D A R Y , E D G E , O R PO I N T S E L E C T I O N

Beware that constraining the potential on edges or points in 3D or on points in 2D usually yields a current outflow that is mesh dependent.

Beware that constraining the potential on edges or points in 3D or on points in 2D usually yields a current outflow that is mesh dependent.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 115: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

E L E C T R I C PO T E N T I A L

Enter the value or expression for the Electric potential V0 (SI unit: V). The default is 0 V.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Surface Charge Density

The Surface Charge Density node provides the following surface-charge boundary condition for exterior boundaries (left) and interior boundaries (right):

Specify the surface charge density ρs at an outer boundary or at an interior boundary between two nonconducting media.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or click Harmonic Perturbation on the Physics toolbar. For more information, see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

S U R F A C E C H A R G E D E N S I T Y

Enter the value or expression for the Surface charge density ρs (SI unit: C/m2).

External Surface Charge Accumulation

The External Surface Charge Accumulation node implements the boundary condition

where ρs is the solution of the following distributed ODE on the boundary:

where n·Ji is the normal component of the total ion current density on the wall and n·Je is the normal component of the total electron current density on the wall, which are feature inputs.

n– D⋅ ρs,= n D1 D2–( )⋅ ρs=

n D⋅– ρs=

td

dρs n Ji n Je⋅+⋅=

T H E E L E C T R O S T A T I C S I N T E R F A C E | 115

Page 116: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

116 | C H A P T E

M A T E R I A L TY P E

The Material type setting decides how materials behave and how material properties are interpreted when the mesh is deformed. Select Solid for materials whose properties change as functions of material strain, material orientation, and other variables evaluated in a material reference configuration (material frame). Select Non-solid for materials whose properties are defined only as functions of the current local state at each point in the spatial frame, and for which no unique material reference configuration can be defined. Select From material to pick up the corresponding setting from the domain material on each domain.

E X T E R N A L S U R F A C E C H A R G E A C C U M U L A T I O N

Enter values or expressions for the Normal ion current density n·Ji (SI unit: A/m2) and the Normal electron current density n·Je (SI unit: A/m2).

Electric Displacement Field

The Electric Displacement Field node adds the following electric-displacement boundary condition:

It specifies the normal component of the electric displacement field at a boundary.

E L E C T R I C D I S P L A C E M E N T F I E L D

Enter the coordinates of the Boundary electric displacement field D0 (SI unit: C/m2).

Periodic Condition

The Periodic Condition node defines periodicity or antiperiodicity between two boundaries. If required, activate periodic conditions on more than two boundaries, in which case the Periodic Condition tries to identify two separate surfaces that can each consist of several connected boundaries. For more complex geometries, it might be necessary to use the Destination Selection subnode. With this subnode the boundaries which constitute the source and destination surfaces can be manually specified. The

n D⋅ n D0⋅=

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 117: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Destination Selection subnode is available from the context menu (right-click the parent node) as well as from the Physics toolbar, Attributes menu.

B O U N D A R Y S E L E C T I O N

When using nonconforming meshes on the source and destination of a periodic boundary pair, for numerical stability, a finer mesh should be applied on the destination side. Use conforming meshes if possible.

PE R I O D I C C O N D I T I O N

Select a Type of periodicity — Continuity (the default) or Antiperiodicity.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

For information about the Orientation of Source section, see Orientation of Source and Destination in the COMSOL Multiphysics Reference Manual.

Thin Low Permittivity Gap

Use the Thin Low Permittivity Gap node

to model a thin gap of a material with a small permittivity compared to the adjacent domains. The layer has the thickness ds and the relative permittivity εr. The indices 1 and 2 refer to the two sides of the boundary.

When this feature is used in conjunction with a Sector Symmetry feature on connected boundaries, wherever the sector symmetry boundaries connect with the periodic boundaries, the same periodic condition feature cannot be used on both sides. At least two periodic condition features are required for the model to compute correctly.

n D1⋅ε0εrds

---------- V1 V2–( )=

n D2⋅ε0εrds

---------- V2 V1–( )=

T H E E L E C T R O S T A T I C S I N T E R F A C E | 117

Page 118: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

118 | C H A P T E

T H I N L O W P E R M I T T I V I T Y G A P

The default is to take the Relative permittivity εr (dimensionless) values From material. For User defined, enter a different value or expression. Enter a Surface thickness ds (SI unit: m). The default is 5 mm.

Dielectric Shielding

The Dielectric Shielding node adds dielectric shielding as a boundary condition. It describes a thin layer with thickness ds and a bulk relative permittivity; εr that shields the electric field:

Use this boundary condition when approximating a thin domain with a boundary to reduce the number of mesh elements.

M A T E R I A L TY P E

The Material type setting decides how materials behave and how material properties are interpreted when the mesh is deformed. Select Solid for materials whose properties change as functions of material strain, material orientation and other variables evaluated in a material reference configuration (material frame). Select Non-solid for materials whose properties are defined only as functions of the current local state at each point in the spatial frame, and for which no unique material reference configuration can be defined. Select From material to pick up the corresponding setting from the domain material on each domain.

E L E C T R I C S H I E L D I N G

The default is to take the Relative permittivity εr (dimensionless) values From material. It takes it from the adjacent domains if not explicitly defined. For User defined select Isotropic, Diagonal, Symmetric, or Anisotropic and enter values or expressions in the field or matrix. Enter a Surface thickness ds (SI unit: m) of the shielding. The default is 1 m.

Thin Low Permittivity Gap Comparison: Application Library path ACDC_Module/Capacitive_Devices/thin_low_permittivity_gap_comparison

n D⋅ ∇t ε0εrsds Vt∇⋅–=

For a dielectric shielding example, see Dielectric Shielding Comparison: Application Library path ACDC_Module/Capacitive_Devices/dielectric_shielding_comparison.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 119: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Terminal

The Terminal node provides a boundary or domain condition for connection to external circuits, to transmission lines, or with a specified voltage or charge. By specifying zero charge, a floating potential condition is obtained. When the Terminal node is applied on the domain level, the electric potential is set to constant on the entire domain selection.

The Terminal node also enables the computation of the lumped parameters of the system, such as capacitance. See Lumped Parameters.

TE R M I N A L

Specify the terminal properties. Enter a unique Terminal name that will be used to identify the global variables (such as the terminal voltage or current) that are defined by the terminal. The Terminal name can contain alphanumeric characters, but it should be numeric when performing terminal sweeps.

Select a Terminal type — Charge (the default), Voltage, Circuit, or Terminated. Select:

• Charge to prescribe the total charge deposited on the terminal boundaries. Enter the total charge Q0. The default is 0 C, which corresponds to a uncharged floating electrode.

• Voltage to specify a fixed electric potential at the terminal. Enter an electric potential V0. The default is 1 V.

To correctly calculate the terminal charge and the corresponding capacitances, if Voltage Terminal is used on boundaries between The Electrostatics Interface and The Electrostatics, Boundary Elements Interface, let the dependent variable for The Electrostatics, Boundary Elements Interface be the same as the dependent variable for The Electrostatics Interface and disable Boundary Electric Potential Coupling. How to set the name for the dependent variable is described in the Dependent Variables section. Since the Boundary Electric Potential Coupling is disabled, add manually a Fully Coupled node to the Stationary Solver below the Solution node in the Solver Configurations.

T H E E L E C T R O S T A T I C S I N T E R F A C E | 119

Page 120: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

120 | C H A P T E

• Circuit to specify a terminal connected to an Electrical Circuit physics interface that models an external circuit. The Terminal node provides a current-voltage characteristic to the circuit.

• Terminated to connect the terminal to an impedance that might represent a load or a transmission line. When Terminated is selected, the scattering parameters (S-parameters) are computed. The Terminated setting can only be used in frequency-domain studies.

- Enter a Terminal power P0 to specify the input power at this terminal from the transmission line. This excitation can be toggled using a port sweep.

- Select an option from the Characteristic impedance from list to define the value of the impedance — Physics interface or User defined. For Physics interface the Reference impedance Zref defined on the Settings window for the physics under Sweep Settings is used. For User defined enter a specific impedance Zref for this terminal. The default is 50 Ω.

Initial valuesThe initial values subsection is used to provide initial values for the internal state variables in the Terminal. These settings can be useful to provide an initial guess to the nonlinear solver or the initial value in a time-dependent study.

The Initial value for voltage is available for all Terminal types except Voltage. Enter an Initial value for voltage Vinit.

The Initial value for charge is available for the Circuit excitation. It specifies the initial charge on the terminal when the circuit is connected. Enter an Initial value for charge Qinit.

The Electrical Circuit Interface requires a current from the Terminal, so the Circuit terminal type can only be used in Time Dependent or Frequency Domain studies, in which the current can be computed as the time derivative of the charge.

The Circuit type cannot be used together with a terminal sweep.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 121: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Floating Potential

The Floating Potential node is used when modeling a metallic electrode at floating potential. It applies a constant voltage V0 on the boundary (for domain features, this is the boundary enclosing the selected domain), such that the total normal electric displacement field D equals a specific charge Q0:

where Ω represents the boundary and n refers to the surface normal. The constant boundary voltage implies the tangential electric field equals zero; the electric field will be perpendicular to the boundary:

In case of Q0 = 0 (the default case), the boundary will behave as an unconnected, neutrally charged, good conductor under electrostatic conditions (a floating equipotential). Although locally the displacement field may vary, the total electric displacement field entering or leaving the boundary equals zero.

If the floating potential touches a point, boundary or domain feature that is not floating (a Terminal or Ground feature), the floating potential will acquire that feature's potential. If the floating potential is set to a certain charge, or connected to a circuit, it behaves like a terminal.

Studies and Solvers in the COMSOL Multiphysics Reference Manual

For a voltage terminal type example, see Dielectric Shielding Comparison: Application Library path ACDC_Module/Capacitive_Devices/dielectric_shielding_comparison.

V V0=

D n⋅( ) Sd∂Ω Q0,=

∇tV– Et 0= =

n E× 0.=

T H E E L E C T R O S T A T I C S I N T E R F A C E | 121

Page 122: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

122 | C H A P T E

F L O A T I N G PO T E N T I A L

The Floating potential identifier text area shows the unique identifier for the floating potential feature. It is used to identify the global variables created by the node, such as the voltage. The Floating potential group check box on the Settings window for Floating

Potential controls how potentials are assigned to boundary segments in the feature’s boundary selection. If this check box is not selected, a single potential is applied to all boundaries in the selection. If the check box is selected, each group of contiguous boundaries in the selection is given a unique potential. This simplifies the setup of models with many floating electrodes. The values of the potential at each group of boundaries are then made available in postprocessing, collected in a vector variable.

The following options are not available if the Floating potential group check box is selected. Select a specification for the Electric charge — choose User defined to specify a total Charge Q0 deposited on the surface. Select Circuit to connect the floating potential to an Electrical Circuit.

Initial ValuesThe initial values subsection is used to provide initial values for the internal state variables in the Floating potential. These settings can be useful to provide an initial guess to the nonlinear solver or the initial value in a time-dependent study.

Enter an Initial value for voltage Vinit.

The Initial value for charge is available for the Circuit excitation. It specifies the initial charge on the floating potential when the circuit is connected. Enter an Initial value for

charge Qinit.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

The Electrical Circuit Interface requires a current from the Floating Potential, so the Circuit terminal type can only be used in Time Dependent or Frequency Domain studies, in which the current can be computed as the time derivative of the charge.

Settings and Properties Windows for Feature Nodes in the COMSOL Multiphysics Reference Manual

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 123: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Distributed Capacitance

The Distributed Capacitance node adds a distributed capacitance boundary condition according to the following equations for exterior boundaries (left) and interior boundaries (right):

Use this boundary condition to model a thin sheet or film of a dielectric material. The sheet has the relative permittivity εr and the surface thickness ds, and it is connected to the reference potential Vref.

D I S T R I B U T E D C A P A C I T A N C E

Enter the values or expressions for Relative permittivity εr (dimensionless), Surface

thickness ds (SI unit: m), and Reference potential Vref . The default value for the surface thickness is 10−3 m (1 mm) and 0 V for the reference potential.

Line Charge

For 3D components, use the Line Charge node to specify line charges along the edges of a geometry. Add a contribution as a Harmonic Perturbation by right-clicking the parent node or clicking Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

E D G E S E L E C T I O N

L I N E C H A R G E

Enter a value or expression to apply a Line charge QL (SI unit: C/m). This source represents electric charge per unit length and the default is 0 C/m.

n– D⋅ ε0εrVref V–

ds--------------------= n D1 D2–( )⋅ ε0εr

Vref V–

ds--------------------=

Beware that constraining the potential on edges usually yields a current outflow that is mesh dependent.

Line Charge (on Axis) and Line Charge (Out-of-Plane)

T H E E L E C T R O S T A T I C S I N T E R F A C E | 123

Page 124: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

124 | C H A P T E

Line Charge (on Axis)

For 2D axisymmetric components, use the Line Charge (on Axis) node to specify line charges along the symmetry axis.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or click Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

L I N E C H A R G E ( O N A X I S )

Enter a value or expression to apply a Line charge QL (SI unit: C/m). This source represents electric charge per unit length and the default is 0 C/m.

Line Charge (Out-of-Plane)

For 2D and 2D axisymmetric components, points are selected and this is the same as a line out-of-plane.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or clicking Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

Use the Line Charge (Out-of-Plane) node to specify line charges along the points of a geometry for 2D and 2D axisymmetric components.

PO I N T S E L E C T I O N

Line Charge and Line Charge (Out-of-Plane)

Beware that constraining the potential on points usually yields a current outflow that is mesh dependent.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 125: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

L I N E C H A R G E ( O U T - O F - P L A N E )

Enter a value or expression to apply a Line charge QL (SI unit: C/m). This source represents electric charge per unit length and the default is 0 C/m.

Point Charge

The Point Charge node adds a point source to 3D components. The point charge represents an electric displacement field flowing out of the point.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or clicking Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

PO I N T S E L E C T I O N

PO I N T C H A R G E

Enter a value or expression to apply a Point charge QP (SI unit: C) to points. This source represents an electric displacement field flowing out of the point. The default is 0 C.

Point Charge (on Axis)

The Point Charge (on Axis) node adds a point source to 2D axisymmetric components. The point charge represents an electric displacement field flowing out of the point.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or clicking Harmonic Perturbation on the Physics toolbar. For more information see

Line Charge and Line Charge (on Axis)

Beware that constraining the potential on points usually yields a current outflow that is mesh dependent.

Point Charge (on Axis) and Line Charge (Out-of-Plane)

T H E E L E C T R O S T A T I C S I N T E R F A C E | 125

Page 126: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

126 | C H A P T E

Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

PO I N T S E L E C T I O N

PO I N T C H A R G E ( O N A X I S )

Enter a value or expression to apply a Point charge QP (SI unit: C) to points on an axis. This source represents an electric displacement field flowing out of the point. The default is 0 C.

Change Cross Section

This node is available with 1D components. This setting overrides the global Cross-Section Area setting made in any physics interface that uses this feature. For 2D components, see Change Thickness (Out-of-Plane).

Use the Change Cross-Section node to set the cross-section area for specific geometric entities.

C H A N G E C R O S S S E C T I O N

Enter a value or expression for the Cross-section area A. The default value of 1 unit length is typically not representative for a thin domain. Instead it describes a unit thickness that makes the 1D equation identical to the equation used for 3D components.

Change Thickness (Out-of-Plane)

This node is available for 2D components. This setting overrides the global Thickness setting made in any physics interface that uses this node. For 1D components, see Change Cross Section.

Beware that constraining the potential on points usually yields a current outflow that is mesh dependent.

Point Charge and Line Charge (Out-of-Plane)

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 127: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Use the Change Thickness (Out-of-Plane) node to set the out-of-plane thickness for specific geometric entities.

C H A N G E T H I C K N E S S ( O U T - O F - P L A N E )

Enter a value or expression for the Out-of-plane thickness d (SI unit: m). The default value is, in most cases, 1 unit length, which is typically not representative for a thin domain. Instead it describes a unit thickness that makes the 2D equation identical to the equation used for 3D components.

Charge Conservation, Piezoelectric

The Charge Conservation, Piezoelectric is normally used together with a Piezoelectric

Effect multiphysics coupling node and a corresponding Piezoelectric Material node in the Solid Mechanics interface. The node is added by default to the Electrostatics interface when adding a Piezoelectric Devices interface. It is also available from the context menu (right-click the Electrostatics interface parent node) or from the Physics toolbar.

E L E C T R I C D I S P L A C E M E N T

If the node is used together with an active Piezoelectric Effect multiphysics coupling node, then these settings are locked. Note that if they are unlocked, then the material behaves like a dielectric and not a piezoelectric. In this case, the default is to take the Relative permittivity εrS (dimensionless) values From material. For User defined, select Isotropic, Diagonal, Symmetric, or Anisotropic and enter values or expressions in the field or matrix.

This feature is available with the Piezoelectric Devices interface, which requires the Acoustics Module, MEMS Module, or the Structural Mechanics Module. See the individual documentation for information.

When the Charge Conservation, Piezoelectric node is added to the electrostatics interface in the absence of an active Piezoelectric Effect multiphysics coupling node, the material behaves similarly to a Charge Conservation node, with electric properties corresponding to the relative permittivity entered (see below). The piezoelectric effect is not included in the corresponding equation system.

T H E E L E C T R O S T A T I C S I N T E R F A C E | 127

Page 128: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

128 | C H A P T E

Electrostatic Point Dipole

Add an Electrostatic Point Dipole node to 3D and 2D components. Add a contribution as a Harmonic Perturbation by right-clicking the parent node or click Harmonic

Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

The Electrostatic Point Dipole represents the limiting case of zero separation distance between two equally strong point sources of opposing signs while maintaining the product between separation distance and source strength at a fixed value (p). The dipole moment is a vector entity with positive direction from the negative charge to the positive one.

E L E C T R O S T A T I C P O I N T D I P O L E

Select a Dipole specification — Magnitude and direction (the default) or Electric dipole

moment.

• For Magnitude and direction enter coordinates for the Electric dipole moment

direction np (dimensionless) and the Electric dipole moment, magnitude p.

• For Electric dipole moment enter coordinates for the Electric dipole moment p.

Archie’s Law

This subfeature is available only when Archie’s law is selected as the Electrical

conductivity material parameter in the parent feature (for example, the Current

Conservation node). Then the subnodes are made available from the context menu (right-click the parent node) as well as from the Physics toolbar, Attributes menu.

Use the Archie’s Law subnode to provide an electrical conductivity computed using Archie’s Law. This subnode can be used to model nonconductive porous media saturated (or variably saturated) by conductive liquids, using the relation:

σ sLnεp

mσL=

Archie’s Law Theory

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 129: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

C O N D U C T I O N C U R R E N T S

By default, the Electrical conductivity σL (SI unit: S/m) for the fluid is defined From

material. This uses the value of the conductivity of the material domain.

For User defined enter a value or expression. If another type of temperature dependence is used other than a linear temperature relation, enter any expression for the conductivity as a function of temperature.

Enter these dimensionless parameters as needed:

• Cementation exponent m

• Saturation exponent n

• Fluid saturation SL

• Porosity εp to set up the volume fraction of the fluid.

Porous Media

This subfeature is available only when Porous media is selected as the material parameter (for example, Relative permeability or Relative permittivity) in the parent feature node when it is available with the physics interface (for example, the Charge

Conservation, Current Conservation, or Ampere’s Law nodes). Then the subnodes are made available from the context menu (right-click the parent node) as well as from the Physics toolbar, Attributes menu.

Use the Porous Media subfeature to specify the material properties of a domain consisting of a porous medium using a mixture model. Depending on the specific physics interface being used, the subfeature can be used to provide a mixture model for the electric conductivity σ, the relative dielectric permittivity εr, or the relative magnetic permeability μr.

PO R O U S M E D I A

This section is always available and is used to define the mixture model for the domain.

Select the Number of materials (up to 5) to be included in the mixture model.

For each material (Material 1, Material 2, and so on), select either Domain material, to use the material specified for the domain, or one of the other materials specified in the Materials node. For each material, enter a Volume fraction θ1, θ2, and so on.

T H E E L E C T R O S T A T I C S I N T E R F A C E | 129

Page 130: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

130 | C H A P T E

The Volume fractions specified for the materials should be fractional (between 0 and 1) and should add to 1 in normal cases.

E F F E C T I V E E L E C T R I C A L C O N D U C T I V I T Y , E F F E C T I V E R E L A T I V E

P E R M I T T I V I T Y , O R E F F E C T I V E R E L A T I V E P E R M E A B I L I T Y

Select the averaging method to use in the mixture model between the Volume average of the material property (for example, conductivity or permittivity), the volume average of its inverse (for example, the resistivity), or the Power law. For each material, specify either From material, to take the value from the corresponding material specified in the Porous Media section, or User defined to manually input a value.

The availability of the Effective Electrical Conductivity, Effective Relative

Permittivity, and Effective Relative Permeability sections depend on the material properties used in the physics interface. In addition, these sections are only active if Porous media is selected in the corresponding material property for the parent feature node.

Effective Material Properties in Porous Media and Mixtures

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 131: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Th e E l e c t r o s t a t i c s , Bounda r y E l emen t s I n t e r f a c e

The Electrostatics, Boundary Elements interface( ), found under the AC/DC branch ( ) when adding a physics interface, is used for computing the potential distribution in dielectrics under conditions where the electric potential distribution on the boundaries is explicitly prescribed. The formulation is based on the boundary element method and the interface is available in 2D and 3D.

The physics interface solves Laplace’s equation for the electric potential using the scalar electric potential as the dependent variable

.

When this physics interface is added, these default nodes are also added to the Model

Builder— Charge Conservation, Zero Charge (on exterior boundaries and in 3D also on interior edges) and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, electric potential and surface charge density conditions. You can also right-click Electrostatics, Boundary Elements to select physics features from the context menu.

∇ ε0εr V∇( )⋅– 0=

For a discussion about the boundary element method, see Theory for the Boundary Elements PDE in the COMSOL Multiphysics Reference Manual.

If both The Electrostatics Interface and The Electrostatics, Boundary Elements Interface are available, the Boundary Electric Potential Coupling node is available from the Multiphysics menu in the Physics toolbar or by right-clicking the Multiphysics node in Model Builder.

The Electrostatics Interface and The Electrostatics, Boundary Elements Interface can also be coupled by using the same name for the dependent variable for both interfaces. Then Boundary Electric Potential Coupling is not needed. How to set the name for the dependent variable is described in the Dependent Variables section.

T H E E L E C T R O S T A T I C S , B O U N D A R Y E L E M E N T S I N T E R F A C E | 131

Page 132: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

132 | C H A P T E

D O M A I N S E L E C T I O N

From the Selection list, select any of the options — Manual, All domains, All voids, or All

domains and voids (the default). The geometric entity list displays the selected domain entity numbers. Edit the list of selected domain entity numbers using the selection toolbar buttons to the right of the list or by selecting the geometric entities in the Graphics window. Void entity numbers can easily be entered by clicking the Paste ( ) button in the selection toolbar and supplying the entity numbers in the in the dialog box. The entity number for the infinite void is 0 and finite voids have negative entity numbers.

Selections can also be entered using the Selection List window, available from the Windows menu on the Home toolbar.

P H Y S I C S S Y M B O L S

Select the Enable physics symbols check box to display symmetry planes (in 3D) and lines (in 2D) in the Graphics window, as specified in the Symmetry settings.

T H I C K N E S S ( 2 D C O M P O N E N T S )

For 2D components, enter a default value for the Out-of-plane thickness d (SI unit: m). The default value of 1 is typically not representative for a thin dielectric medium. Instead it describes a unit thickness that makes the 2D equation identical to the equation used for 3D components.

M A N U A L TE R M I N A L S W E E P S E T T I N G S

Select the Activate manual terminal sweep check box to invoke a parametric sweep over terminals. Enter a Sweep parameter name to assign a specific name to the variable that controls the terminal number solved for during the sweep. The Sweep parameter name must also be declared as a model parameter. The default is PortName.

For more information about making selections, see Working with Geometric Entities in the COMSOL Multiphysics Reference Manual.

For most applications it is simpler to sweep over terminals using the Stationary Source Sweep study step. See Stationary Source Sweep in the COMSOL Multiphysics Reference Manual and (for more details) Stationary Source Sweep in the AC/DC Module User’s Guide.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 133: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

S Y M M E T R Y

F A R F I E L D A P P R O X I M A T I O N

To display this section, click the Show button ( ) and select Advanced Physics Options.

I N F I N I T Y C O N D I T I O N

To correctly calculate the terminal charge and the corresponding capacitances, if voltage Terminal is used on boundaries between The Electrostatics Interface and The Electrostatics, Boundary Elements Interface, let the dependent variable for The Electrostatics, Boundary Elements Interface be the same as the dependent variable for The Electrostatics Interface and disable Boundary Electric Potential Coupling. How to set the name for the dependent variable is described in the Dependent Variables section. Since the Boundary Electric Potential Coupling is disabled, add manually a Fully Coupled node to the Stationary Solver below the Solution node in the Solver Configurations.

For 3D components, from the Symmetry in the yz plane, Symmetry in the

xz plane, Symmetry in the xy plane lists, choose Off (the default), Symmetric, or Antisymmetric. Then enter a Plane position (SI unit: m) as required.

For 2D components, from the Symmetry in the line perpendicular to x and Symmetry in the line perpendicular to y lists, choose Off (the default), Symmetric, or Antisymmetric. Then enter a Line position (SI unit: m) as required.

For more information about the Far Field Approximation settings, see Far-Field Approximation Settings in the COMSOL Multiphysics Reference Manual.

For 3D components, select the Infinity condition—Total charge (the default) or Asymptotic value at infinity. Specify the Total charge Qtot (SI unit: C, the default value is 0 C) or Electric potential at infinity V∞ (SI unit: V, the default value is 0 V).

T H E E L E C T R O S T A T I C S , B O U N D A R Y E L E M E N T S I N T E R F A C E | 133

Page 134: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

134 | C H A P T E

Q U A D R A T U R E

To display this section, click the Show button ( ) and select Discretization.

M E S H C O N T R O L

The Enable check box is selected by default. This allow the physics interface to control the meshing process. Information from the physics will be used to automatically set up an appropriate mesh sequence

D I S C R E T I Z A T I O N

To display this section, click the Show button ( ) and select Discretization.

From the Electric potential/Surface charge density list, choose from predefined options for the boundary element discretization order for the electric potential variable and the surface charge density variable, respectively. The predefined options represent the suitable combinations of element orders such as Quadratic/Linear (the default).

The settings under Value types when using splitting of complex variables are important for sensitivity and optimization computations. See the description of the built-in operators fsens and fsensimag.

D E P E N D E N T V A R I A B L E S

The dependent variable (field variable) is for the Electric potential V. The name can be changed but the names of fields and dependent variables must be unique within a model.

For 2D components, select the Infinity condition—Total charge (the default) or Value at reference distance. Specify the Total charge Qtot (SI unit: C, the default value is 0 C) or Electric potential at reference

distance Vref (SI unit: V, the default value is 0 V).

For more information about the Quadrature settings, see Quadrature in the COMSOL Multiphysics Reference Manual.

For 3D components, the Line charge variable will have the same discretization order as the Electric potential variable.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 135: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Domain, Boundary, and Edge Nodes for the Electrostatics, Boundary Elements Interface

The Electrostatics, Boundary Elements Interface has these domain, boundary, and edge nodes available from the Physics ribbon (Windows users), Physics context menu (Mac or Linux users), or by right-clicking the physics interface in Model Builder to access the context menu (all users).

A V A I L A B L E N O D E S

These nodes and subnodes are described in this section:

The Zero Charge node is the default boundary and edge condition available for this physics interface and described for the Electrostatics interface.

Initial Values

Initial Values adds an initial value for the electric potential that can serve as an initial condition for a transient simulation or as an initial guess for a nonlinear solver. Add more Initial Values nodes from the Physics toolbar, Global menu.

I N I T I A L V A L U E S

Enter a value or expression for the initial value of the Electric potential V (SI unit: V).

Charge Conservation

The Charge Conservation node adds the equations for charge conservation according to Gauss’ law for the electric displacement field. It provides an interface for defining the constitutive relation defined by the relative permittivity.

In general, to add a node, go to the Physics toolbar, no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.

• Initial Values

• Charge Conservation

• Electric Potential

• Floating Potential

• Ground

• Surface Charge Density

• Terminal

T H E E L E C T R O S T A T I C S , B O U N D A R Y E L E M E N T S I N T E R F A C E | 135

Page 136: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

136 | C H A P T E

E L E C T R I C F I E L D

Enter the Relative permittivity εr (dimensionless) to describe the macroscopic properties of the medium. The default is to take the Relative permittivity values From

material. For User defined, enter a value or expression in the field.

Electric Potential

The Electric Potential node provides an electric potential V0 as the boundary condition V = V0.

Floating Potential

The Floating Potential node is used when modeling a metallic electrode at floating potential.

Notice that the boundary element method is based on the availability of an analytic Green’s function for the domain. Thus, the Relative

permittivity must evaluate to a constant value for each Charge Conservation node.

For more information about the Electric Potential condition, see Electric Potential in the documentation for the Electrostatics interface.

For 3D components, enter the Edge radius (SI unit: m) for the virtual tube surrounding the edge. The default value is 0.1 m. It is generally assumed that the edge radius is small in comparison to other geometrical measures of the model, such as the edge length and the distances between different edges in the geometry.

For more information about the Floating Potential condition, see Floating Potential in the documentation for the Electrostatics interface.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 137: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Ground

The Ground node implements ground (zero potential) as the boundary condition V = 0.

Surface Charge Density

The Surface Charge Density node provides the following surface-charge boundary condition for exterior boundaries (left) and interior boundaries (right):

Specify the surface charge density ρs at an outer boundary or at an interior boundary between two nonconducting media.

For 3D components, enter the Edge radius (SI unit: m) for the virtual tube surrounding the edge. The default value is 0.1 m. It is generally assumed that the edge radius is small in comparison to other geometrical measures of the model, such as the edge length and the distances between different edges in the geometry.

For more information about the Ground condition, see Ground in the documentation for the Electrostatics interface.

For 3D components, enter the Edge radius (SI unit: m) for the virtual tube surrounding the edge. The default value is 0.1 m. It is generally assumed that the edge radius is small in comparison to other geometrical measures of the model, such as the edge length and the distances between different edges in the geometry.

n– D⋅ ρs,= n D1 D2–( )⋅ ρs=

For more information about the Surface Charge Density condition, see Surface Charge Density in the documentation for the Electrostatics interface.

T H E E L E C T R O S T A T I C S , B O U N D A R Y E L E M E N T S I N T E R F A C E | 137

Page 138: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

138 | C H A P T E

Terminal

The Terminal node provides a boundary or domain condition for connection to external circuits, to transmission lines, or with a specified voltage or charge.

For 3D components, enter the Edge radius (SI unit: m) for the virtual tube surrounding the edge. The default value is 0.1 m. It is generally assumed that the edge radius is small in comparison to other geometrical measures of the model, such as the edge length and the distances between different edges in the geometry. Enable Compensate for tube volume to allow for a potential gradient across the cross section of the virtual tube. This can be useful for establishing a zero surface charge density condition on the virtual tube periphery.

For more information about the Terminal condition, see Terminal in the documentation for the Electrostatics interface.

For 3D components, enter the Edge radius (SI unit: m) for the virtual tube surrounding the edge. The default value is 0.1 m. It is generally assumed that the edge radius is small in comparison to other geometrical measures of the model, such as the edge length and the distances between different edges in the geometry.

To correctly calculate the terminal charge and the corresponding capacitances, if voltage Terminal is used on boundaries between The Electrostatics Interface and The Electrostatics, Boundary Elements Interface, let the dependent variable for The Electrostatics, Boundary Elements Interface be the same as the dependent variable for The Electrostatics Interface and disable Boundary Electric Potential Coupling. How to set the name for the dependent variable is described in the Dependent Variables section. Since the Boundary Electric Potential Coupling is disabled, add manually a Fully Coupled node to the Stationary Solver below the Solution node in the Solver Configurations.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 139: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Boundary Electric Potential Coupling

The Boundary Electric Potential Coupling multiphysics node assures continuity of the electric potential across boundaries between The Electrostatics Interface and The Electrostatics, Boundary Elements Interface. The Boundary Electric Potential Coupling

node is available from the Multiphysics menu in the Physics toolbar or by right-clicking the Multiphysics node in Model Builder, if both The Electrostatics Interface and The Electrostatics, Boundary Elements Interface are available.

B O U N D A R Y S E L E C T I O N

Select Manual or All boundaries from the Selection list. Make additional edits to the list of boundary entity numbers using the Selection toolbar buttons. When All boundaries is selected from the Selection list, the boundaries exterior to the Electrostatics interface that intersect the exterior boundaries to the Electrostatics, Boundary Elements interface are available in the boundary entity number list.

C O U P L E D I N T E R F A C E S

Select Electrostatics, Boundary Elements as Source and Electrostatics and Destination.

The Electrostatics Interface and The Electrostatics, Boundary Elements Interface can also be coupled by using the same name for the dependent variable for both interfaces. Then Boundary Electric Potential Coupling is not needed. How to set the name for the dependent variable is described in the Dependent Variables section.

When using The Electrostatics, Boundary Elements Interface with iterative solvers, Right Preconditioning is preferred. Thus, it is advised to check that Right Preconditioning is used when combining the Boundary

Electric Potential Coupling with The Electrostatics, Boundary Elements Interface and other physics interfaces. How to define Right Preconditioning is described in Iterative in the COMSOL Multiphysics Reference Manual.

T H E E L E C T R O S T A T I C S , B O U N D A R Y E L E M E N T S I N T E R F A C E | 139

Page 140: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

140 | C H A P T E

Th e E l e c t r i c C u r r e n t s I n t e r f a c e

The Electric Currents (ec) interface ( ), found under the AC/DC branch ( ) when adding a physics interface, is used to compute electric field, current, and potential distributions in conducting media under conditions where inductive effects are negligible; that is, when the skin depth is much larger than the studied device.

Depending on the licensed products, stationary, frequency-domain, small-signal analysis, and time-domain modeling are supported in all space dimensions. In the time and frequency domains, capacitive effects are also accounted for.

The physics interface solves a current conservation equation based on Ohm’s law using the scalar electric potential as the dependent variable.

Current Conservation is the main node, which adds the equation for the electric potential and provides a Settings window for defining the electrical conductivity as well as the constitutive relation for the electric displacement field and its associated material properties, such as the relative permittivity.

When this physics interface is added, these default nodes are also added to the Model

Builder — Current Conservation, Electric Insulation (the default boundary condition), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, boundary conditions and current sources. You can also right-click Electric

Currents to select physics features from the context menu.

S E T T I N G S

The Label is the default physics interface name.

The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.

The default Name (for the first physics interface in the model) is ec.

P H Y S I C S - C O N T R O L L E D M E S H

Select the Enable check box to allow the physics interface to control the meshing process. Information from the physics, such as the presence of an infinite elements

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 141: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

domain or periodic condition, will be used to automatically set up an appropriate mesh sequence.

C R O S S - S E C T I O N A R E A ( 1 D )

Enter a default value for the Cross-section area A (SI unit: m2). The default value of 1 is typically not representative for a thin domain. Instead it describes a unit thickness that makes the 1D equation identical to the equation used for 3D components. See also Change Cross Section (described for the Electrostatics interface).

T H I C K N E S S ( 2 D )

Enter a default value for the Out-of-plane thickness d (SI unit: m) (see Equation 4-1). The default value of 1 m is typically not representative for a thin dielectric medium, for example. Instead it describes a unit thickness that makes the 2D equation identical to the equation used for 3D components. See also Change Thickness (Out-of-Plane) (described for the Electrostatics interface).

M A N U A L T E R M I N A L S W E E P S E T T I N G S

Enter a Reference impedance Zref (SI unit: Ω). The default is 50 Ω.

Select the Activate manual terminal sweep check box to switch on the sweep and invoke a parametric sweep over the terminals. Enter a Sweep parameter name to assign a specific name to the variable that controls the terminal number solved for during the sweep. The default is PortName. The generated lumped parameters are in the form of capacitance matrix elements. The terminal settings must consistently be of either fixed voltage or fixed charge type.

The lumped parameters are subject to Touchstone file export. Enter a file path or Browse for a file. Select a Parameter format (value pairs) for the Touchstone export — Magnitude and angle (MA) (the default), Magnitude in dB and angle (DB), or Real and

imaginary parts (RI). Select an option from the If file exists list — Overwrite or Create

new. Create new is useful when the model is solved multiple times with different settings. Select a Parameter to export — Z (the default), Y, or S.

For most applications it is simpler to sweep over terminals using the Stationary Source Sweep study step. See Stationary Source Sweep in the COMSOL Multiphysics Reference Manual and (for more details) Stationary Source Sweep in the AC/DC Module User’s Guide.

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 141

Page 142: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

142 | C H A P T E

D E P E N D E N T V A R I A B L E S

The dependent variable is the Electric potential V. You can change its name, which changes both the field name and the variable name. If the new name coincides with the name of another electric potential field in the model, the physics interfaces share degrees of freedom. The new name must not coincide with the name of a field of another type or with a component name belonging to some other field.

D I S C R E T I Z A T I O N

To display this section, click the Show button ( ) and select Discretization.

Domain, Boundary, Edge, Point, and Pair Nodes for the Electric Currents Interface

The Electric Currents Interface has these domain, boundary, edge, point, and pair nodes available from the Physics ribbon toolbar (Windows users) or Physics context menu (Mac or Linux users). You can also right-click to access the context menu (all users).

A B O U T T H E B O U N D A R Y C O N D I T I O N S

The exterior and interior boundary conditions listed in Table 4-1 are available. The relevant physics interface condition at interfaces between different media and interior boundaries is continuity; that is,

• Lumped Parameters

• Domain, Boundary, Edge, Point, and Pair Nodes for the Electric Currents Interface

• Theory for the Electric Currents Interface

Pacemaker Electrode: Application Library path COMSOL_Multiphysics/Electromagnetics/pacemaker_electrode

In general, to add a node, go to the Physics toolbar, no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.

n2 J1 J2–( )⋅ 0=

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 143: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

which is the natural boundary condition.

A V A I L A B L E N O D E S

These nodes are available for this physics interface, listed in alphabetical order. Also see Table 4-1 for a list of interior and exterior boundary conditions, including edge, point, and pair availability.

1This feature is available with the Piezoresistivity, Domain Currents interface, which requires the MEMS Module.

These nodes are described for the Electrostatics interface:

The Archie’s Law and Porous Media nodes are described for the Electric Currents, Shell interface.

• Boundary Current Source

• Contact Impedance

• Current Conservation

• Current Source

• Distributed Impedance

• Electric Insulation

• Electric Point Dipole

• Electric Point Dipole (on Axis)

• Electric Shielding

• Electrical Contact

• External Current Density

• Floating Potential

• Initial Values

• Line Current Source

• Line Current Source (on Axis)

• Normal Current Density

• Piezoresistive Material1

• Point Current Source

• Sector Symmetry

• Terminal

• Change Cross Section

• Change Thickness (Out-of-Plane)

• Electric Potential

• Force Calculation

• Ground

• Periodic Condition

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 143

Page 144: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

144 | C H A P T E

Table 4-1 lists the interior and exterior boundaries available with this physics interface. It also includes edge, point, and pair availability.

Current Conservation

The Current Conservation node adds the continuity equation for the electrical potential and provides an interface for defining the electric conductivity as well as the constitutive relation and the relative permittivity for the displacement current.

In the COMSOL Multiphysics Reference Manual, see Table 2-3 for links to common sections and Table 2-4 for common feature nodes. You can also search for information: press F1 to open the Help window or Ctrl+F1 to open the Documentation window.

For axisymmetric components, COMSOL Multiphysics takes the axial symmetry boundaries (at r = 0) into account and automatically adds an Axial Symmetry node to the model that is valid on the axial symmetry boundaries only.

TABLE 4-2: INTERIOR AND EXTERIOR BOUNDARY CONDITIONS (INCLUDING EDGE, POINT, AND PAIR AVAILABILITY) FOR THE ELECTRIC CURRENTS INTERFACE

NODE INTERIOR EXTERIOR ALSO AVAILABLE FOR

Boundary Current Source x pairs

Contact Impedance x pairs

Distributed Impedance x x not applicable

Electric Insulation x x pairs

Electric Potential x x edges, points, and pairs

Electric Shielding x x pairs

Floating Potential x x pairs

Ground x x edges, points, and pairs

Normal Current Density x not applicable

Periodic Condition x not applicable

Terminal x x pairs, domains

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 145: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

M A T E R I A L TY P E

The Material type setting decides how materials behave and how material properties are interpreted when the mesh is deformed. Select Solid for materials whose properties change as functions of material strain, material orientation, and other variables evaluated in a material reference configuration (material frame). Select Non-solid for materials whose properties are defined only as functions of the current local state at each point in the spatial frame, and for which no unique material reference configuration can be defined. Select From material to pick up the corresponding setting from the domain material on each domain.

C O N D U C T I O N C U R R E N T

By default, the Electrical conductivity σ (SI unit: S/m) for the media is defined From

material. Or select User defined, Porous media, Archie’s Law, or Linearized resistivity.

User DefinedFor User defined select Isotropic, Diagonal, Symmetric, or Anisotropic depending on the characteristics of the electrical conductivity, and then enter values or expressions for the electrical conductivity σ in the field or matrix. The default is 0 S/m. If type of temperature dependence is used other than a linear temperature relation, enter any expression for the conductivity as a function of temperature.

Linearized ResistivitySelect Linearized resistivity for a temperature-dependent conductivity (this occurs in, for example, Joule heating, and is also called resistive heating). The equation describing the conductivity:

where ρ0 is the resistivity at the reference temperature T0, and α is the temperature coefficient of resistance, which describes how the resistivity varies with temperature.

The default Reference resistivity ρ0 (SI unit: Ω⋅m), Reference temperature Tref (SI unit: K), and Resistivity temperature coefficient α (SI unit: 1/K) are taken From

material, which means that the values are taken from the domain (or boundary) material. T is the current temperature, which can be a value that is specified as a model

σ 1ρ0 1 α T T0–( )+( )-----------------------------------------------=

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 145

Page 146: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

146 | C H A P T E

input or the temperature from a heat transfer interface. The definition of the temperature field is in the Model Inputs section.

To specify other values for any of these properties, select User defined from the list and then enter a value or expression for each. The default values are:

• 1 Ω⋅m for the Reference resistivity

• 273.15 K for the Reference temperature, and

• 0 1/K for the Resistivity temperature coefficient

When Porous media is selected, either right-click Current Conservation or on the Physics toolbar, Attributes menu click to add a Porous Media subnode. When Archie’s

law is selected, do the same to add an Archie’s Law subnode.

E L E C T R I C F I E L D

Select a Constitutive relation to describe the macroscopic properties of the medium (relating the electric displacement D with the electric field E) and the applicable material properties, such as the relative permittivity. For a description of the constitutive relations Relative permittivity, Polarization, and Remanent electric

displacement, see Electric Field as described for the Charge Conservation node for the Electrostatics interface. The constitutive relations specific to Electric Currents are:

• Dielectric losses: uses the constitutive relation D = ε0(ε'+ε")E. Specify that the Relative permittivity (real part) ε' (dimensionless) and the Relative permittivity

(imaginary part) ε" (dimensionless) must be taken From material or be User defined. For User defined, select Isotropic, Diagonal, Symmetric, or Anisotropic and enter values or expressions in the field or matrix. The default is 1.

• Loss tangent, loss angle: uses the constitutive relation D = ε0ε'(1+jtanδ)E. Specify the Relative permittivity (real part) ε' (dimensionless) and Loss angle δ (SI unit: rad).

• Loss tangent, dissipation factor: uses the constitutive relation D = ε0ε'(1+jtanδ)E. Specify the Relative permittivity (real part) ε' (dimensionless) and the Dissipation

factor tanδ (dimensionless).

Only certain material models support the Linearized resistivity. See AC/DC Materials Database in the COMSOL Multiphysics Reference Manual.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 147: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Initial Values

The Initial Values node adds an initial value for the electric potential that can serve as an initial condition for a transient simulation or as an initial guess for a nonlinear solver. If more than one set of initial values is required, from the Physics toolbar, add other nodes that implement, for example, boundary conditions and current sources. Add more Initial Values nodes from the Physics toolbar.

I N I T I A L V A L U E S

Enter a value or expression for the initial value of the Electric potential V (SI unit: V). The default value is 0 V.

External Current Density

The External Current Density node adds an externally generated current density Je, which appears in Ohm’s law

and in the equation that the physics interface defines.

The external current density does not contribute to the losses (due to Joule heating), since there is no electric field associated with it. To include the contribution to the losses from the external current density, select the Add contribution of the external

current density to the losses check box. Then select an option from the External losses list—From domain conductivity (the default) or User defined. If From domain

conductivity is selected, the heat source is computed using the conductivity specified in the material model feature (such as Current Conservation) that is applied in the domain. For User defined, enter a value for Qe (SI unit: W/m3) to specify a user-defined heat source.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or clicking Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

E X T E R N A L C U R R E N T D E N S I T Y

Based on space dimension, enter the coordinates (x, y, and z for 3D components, for example) of the External current density Je (SI unit: A/m2). The defaults are 0 A/m2.

J σE Je+=

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 147

Page 148: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

148 | C H A P T E

Current Source

The Current Source node adds a distributed current source Qj in the equation that the physics interface defines. Use this node with caution as it can violate the current conservation law that is inherent in Maxwell-Ampère’s law.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or clicking Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

C U R R E N T S O U R C E

Enter a value or expression for the Current source Qj (SI unit: A/m3). The default is 0 A/m3.

Electric Insulation

The Electric Insulation node, which is the default boundary condition, adds electric insulation as the boundary condition:

This boundary condition means that no electric current flows into the boundary. At interior boundaries, it means that no current can flow through the boundary and that the electric potential is discontinuous across the boundary. It is also applicable at symmetric boundaries where the potential is known to be symmetric with respect to the boundary.

Electric insulation as the default boundary condition is not applicable to interior boundaries. To add electric insulation to an interior boundary, add an Electric

Insulation node in addition to the one that represents the default boundary condition.

Floating Potential

The Floating Potential node is used when modeling a metallic electrode at floating potential. It applies a constant voltage V0 on the boundary (for domain features, this is the boundary enclosing the selected domain), such that the total normal electric current density J equals a specific current I0:

n J⋅ 0=

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 149: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

where Ω represents the boundary and n refers to the surface normal. The constant boundary voltage implies the tangential electric field equals zero; the electric field will be perpendicular to the boundary:

In case of I0 = 0 (the default case), the boundary will behave as an unconnected perfect conductor (a floating equipotential). This is a good approximation when the conductivity of the electrode is many orders of magnitude larger than that of the surrounding medium. Although locally the current density may vary, the total current entering or leaving the boundary equals zero.

If the floating potential touches a point, boundary or domain feature that is not floating (a Terminal or Ground feature), the floating potential will acquire that feature's potential. If the floating potential is set to a certain current, or connected to a circuit, it behaves like a terminal.

The Harmonic Perturbation subnode (it is of the exclusive type) is available from the context menu (right-click the parent node) or on the Physics toolbar, click the Attributes menu and select Harmonic Perturbation. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

F L O A T I N G PO T E N T I A L

The Floating potential identifier text area shows the unique identifier for the floating potential feature. It is used to identify the global variables created by the node, such as the voltage. The Floating potential group check box on the Settings window for Floating

Potential controls how potentials are assigned to boundary segments in the feature’s boundary selection. If this check box is not selected, a single potential is applied to all boundaries in the selection. If the check box is selected, each group of contiguous boundaries in the selection is given a unique potential. This simplifies the setup of models with many floating electrodes. The values of the potential at each group of boundaries are then made available in postprocessing, collected in a vector variable.

V V0=

n– J⋅( ) Sd∂Ω I0,=

∇tV– Et 0= =

n E× 0.=

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 149

Page 150: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

150 | C H A P T E

The following options are not available if the Floating potential group check box is selected. Select a specification for the Floating potential current—choose User defined (the default) to specify a total Current I0 (SI unit: A) that flows from the electrode. The default is 0 A, corresponding to an unconnected electrode. Select Circuit to connect the floating potential to an Electrical Circuit interface.

Initial valuesThe initial values subsection is used to provide initial values for the internal state variables in the Floating Potential. These settings can be useful to provide an initial guess to the nonlinear solver or the initial value in a time-dependent study when the initial values of the other dependent variables (such as the electric potential) are computed from a separate physics or study. In most cases, the default values are appropriate.

Enter an Initial value for voltage Vinit (SI unit: V). The default is 0 V.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Boundary Current Source

The Boundary Current Source node adds a current source Qj on the boundary.

It is applicable to interior boundaries that represent either a source or a sink of current. Add a contribution as a Harmonic Perturbation by right-clicking the parent node or click Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

B O U N D A R Y C U R R E N T S O U R C E

Enter a value or expression for the Boundary current source Qj (SI unit: A/m2). The default is 0 A/m2.

Settings and Properties Windows for Feature Nodes in the COMSOL Multiphysics Reference Manual

n J1 J2–( )⋅ Qj=

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 151: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Normal Current Density

The Normal Current Density node is applicable to exterior boundaries that represent either a source or a sink of current. It provides a condition for specifying the normal current density as an inward or outward current flow:

Or alternatively, as a current density J0:

The normal current density is positive when the current flows inward in the domain. Add a contribution as a Harmonic Perturbation by right-clicking the parent node or clicking Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

N O R M A L C U R R E N T D E N S I T Y

Select a Type—Inward current density (the default) or Current density.

• For Inward current density enter a value or expression for the Normal current density Jn (SI unit: A/m2). Use a positive value for an inward current flow or a negative value for an outward current flow. The default is 0 A/m2.

• For Current density enter values or expressions for the components of the Current

density J0 (SI unit: A/m2). The defaults are 0 A/m2.

Distributed Impedance

The Distributed Impedance node adds a distributed impedance boundary condition to a model.

The Harmonic Perturbation subnode (it is of the exclusive type) is available from the context menu (right-click the parent node) or on the Physics toolbar, click the Attributes menu and select Harmonic Perturbation. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

Use this boundary condition to model a thin sheet of a resistive material connected to a reference potential Vref.

n J⋅– Jn=

n J⋅ n J0⋅=

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 151

Page 152: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

152 | C H A P T E

The layer impedance can be specified either with the bulk material conductivity σs, the relative permittivity εr and layer thickness ds, or directly with the surface resistance ρs and capacitance Cs. Assuming DC currents, the equation is:

For the Frequency Domain and Time Dependent study types, this boundary condition is slightly more sophisticated and accounts also for capacitive coupling. The equations are:

D I S T R I B U T E D I M P E D A N C E

Enter the reference potential Vref (SI unit: V). The default is 0 V.

Select a potentially complex-valued Layer specification—Thin layer (the default) or Surface impedance.

• For Thin layer, enter values or expressions for the:

- Surface thickness ds (SI unit: m). The default is 5·10−3 m (5 mm).

- Electrical conductivity σ (SI unit: S/m) and Relative permittivity εr (dimensionless). The defaults take values From material. For User defined, enter different values or expressions. The default electrical conductivity is 1 × 10−2 S/m and the default relative permittivity is 1.

• For Surface impedance, enter values or expressions for the Surface resistance ρs (SI unit: Ω ·m2) and the Surface capacitance Cs (SI unit: F/m2). The default surface impedance is 1 × 10−8 Ω ·m2 and the default surface capacitance is 0 F/m2.

n J1 J2–( )⋅σsds----- V Vref–( )=

n J1 J2–( )⋅ 1ρs----- V Vref–( )=

n J1 J2–( )⋅σ jωε0εr+( )

ds-------------------------------- V Vref–( )=

n J1 J2–( )⋅ 1rs---- jωCs+ V Vref–( )=

n J1 J2–( )⋅ 1dL------- σ V Vref–( ) ε0εr t∂

∂ V Vref–( )+ =

n J1 J2–( )⋅ 1ρs----- V Vref–( ) Cs t∂

∂ V Vref–( )+ =

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 153: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Terminal

The Terminal node provides a boundary or domain condition for connection to external circuits, to transmission lines, or with a specified voltage or current. By specifying zero current, a floating potential condition is obtained. When the Terminal node is applied on the domain level, the electric potential is set to constant on the entire domain selection.

The Terminal node also enables the computation of the lumped parameter of the system, such as the impedance.

The Harmonic Perturbation subnode (it is of the exclusive type) is available from the context menu (right-click the parent node) or on the Physics toolbar, click the Attributes menu and select Harmonic Perturbation. The Harmonic Perturbation subnode only has effect if Current or Voltage are selected as terminal type. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

TE R M I N A L

Specify the terminal’s properties. The Terminal name identifies the terminal and the variables it creates. The name should be numeric for sweeps to work properly.

Select a Terminal type—Current (the default), Voltage, Circuit, Terminated, or Power.

Select:

• Current to specify a total current flowing from the terminal. Enter the current I0 (SI unit: A). The default is 0 A for an open circuit.

• Voltage to specify a fixed electric potential at the terminal. Enter the value of the electric potential V0 (SI unit: V). The default is 1 V.

• Circuit to specify a terminal connected to an Electrical Circuit interface that models an external circuit.

The Circuit and Power types cannot be used together with a terminal sweep.

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 153

Page 154: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

154 | C H A P T E

• Terminated to connect the terminal to an impedance that might represent a load or a transmission line. When Terminated is selected, the scattering parameters (S-parameters) are computed.

- Enter a Terminal power P0 (SI unit: W) to specify the input power at this terminal from the transmission line. This excitation can be toggled using a terminal sweep. The default is 1 W.

- Select an option from the Characteristic impedance from list to define the value of the impedance—Physics interface (the default) or User defined. For Physics

interface the Reference impedance Zref defined on the Settings window for the physics interface under Sweep Settings is used. For User defined enter a specific impedance Zref (SI unit: Ω) for this terminal. The default is 50 Ω.

• Power to specify a fixed electrical power for the terminal. The power is computed as the product of the terminal current and voltage and, in frequency domain, is the cycle-averaged power. When Power is selected:

- Enter a Terminal power P0 (SI unit: W) to specify the input power at this terminal. The default is 1 W.

Initial ValuesThe initial values subsection is used to provide initial values for the internal state variables in the Terminal. These settings can be useful to provide an initial guess to the nonlinear solver or the initial value in a time-dependent study when the initial values of the other dependent variables (such as the electric potential) are computed from a separate physics or study. In most cases, the default values are appropriate.

The Initial value for voltage is available for all Terminal types except Voltage. Enter an Initial value for voltage Vinit (SI unit: V). The default is 0 V.

Using Power excitation causes the equation system to become nonlinear. COMSOL Multiphysics automatically adjusts the solver settings when Power is selected.

Be aware that, in general, the values of the voltage and the current might not uniquely be determined by this constraint and may depend on the initial value provided for the current and voltage variables. Particularly in the frequency domain, the absolute phase of the quantities can be arbitrary. This indeterminacy can have an impact on the solution process. See Compile Equations in the COMSOL Multiphysics Reference Manual for a possible solution to this problem.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 155: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The Initial value for current is available for Power only. In this case, it provides an initial guess for the nonlinear solver, and should not be set to zero. The initial value provided may affect the solution. Enter an Initial value for current Iinit (SI unit: A). The default is 1 mA.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Electric Shielding

The Electric Shielding node provides an electric shielding boundary condition. Use this node to model a thin layer of a highly conductive medium that shields the electric field. The sheet has the electrical conductivity σs and the surface thickness d.

The condition is represented by the following equation for interior boundaries and (setting J2 = 0) exterior boundaries assuming DC currents

For the frequency domain and Time Dependent study types, also displacement currents are accounted for via the bulk relative permittivity of the sheet; εrs and the conservation laws change to:

Use this boundary condition when approximating a thin domain with a boundary to reduce the number of mesh elements. The Electric Field and Conduction Current sections are the same as for Current Conservation.

Lumped Parameters

n J1 J2–( ) ∇–=⋅ t d σs Vt∇( )⋅

n J1 J2–( ) ∇–=⋅ t d σs jωε0εrs+( ) Vt∇( )⋅

n J1 J2–( ) ∇–=⋅ t d σs Vt∇ ε0εrs t∂∂ Vt∇+

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 155

Page 156: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

156 | C H A P T E

T H I C K N E S S

Enter a value or expression for the Surface thickness ds (SI unit: m). The default is 1 cm.

Contact Impedance

Use the Contact Impedance node on interior boundaries to model a thin layer of resistive material. It can also be added as a pair using a Pair Contact Impedance node. The feature allows specifying the contact impedance either by entering the properties of the material together with the layer thickness, or by entering the impedance properties of the thin layer directly.

The feature, in stationary studies, applies the following conditions that relate the normal electric current density with the jump in the electric potential:

The first two equations refer to a layer impedance specified using the bulk material conductivity σs and the layer thickness ds, while the last two equations refer to the case in which the surface resistance ρs is specified. The indices 1 and 2 refer to the two sides of the boundary. These parameters work the same as with Distributed Impedance.

For the frequency domain and Time Dependent study types, this boundary condition is slightly more sophisticated and accounts also for capacitive coupling. The bulk material relative permittivity εr or the layer capacitance Cs can be specified.

The equations used in Frequency Domain studies are:

Electric Shielding: Application Library path ACDC_Module/Resistive_Devices/electric_shielding

n J1⋅ σds------ V1 V2–( )=

n J2⋅ σds------ V2 V1–( )=

n J1⋅ 1ρs----- V1 V2–( )=

n J2⋅ 1ρs----- V2 V1–( )=

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 157: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

In Time Dependent studies:

C O N T A C T I M P E D A N C E

Select a potentially complex-valued Layer specification—Thin layer (the default) or Surface impedance.

• For Thin layer, enter values or expressions for the:

- Surface thickness ds (SI unit: m). The default is 5·10−3 m (5 mm).

- Electrical conductivity σ (SI unit: S/m) and Relative permittivity εr (dimensionless). The defaults take values From material. For User defined, enter different values or expressions. The default electrical conductivity is 1 × 10−2 S/m and the default relative permittivity is 1.

• For Surface impedance, enter values or expressions for the Surface resistance ρs (SI unit: Ω·m2) and the Surface capacitance Cs (SI unit: F/m2). The default surface impedance is 1 × 10−8 Ω·m2 and the default surface capacitance is 0 F/m2.

n J1⋅σ jωε0εr+( )

ds-------------------------------- V1 V2–( )=

n J2⋅σ jωε0εr+( )

ds-------------------------------- V2 V1–( )=

n J1⋅ 1ρs----- jωCs+ V1 V2–( )=

n J2⋅ 1ρs----- jωCs+ V2 V1–( )=

n J1⋅ 1ds----- σ V1 V2–( ) ε0εr t∂

∂ V1 V2–( )+ =

n J2⋅ 1ds----- σ V2 V1–( ) ε0εr t∂

∂ V2 V1–( )+ =

n J1⋅ 1ρs----- V1 V2–( ) Cs t∂

∂ V1 V2–( )+ =

n J2⋅ 1ρs----- V2 V1–( ) Cs t∂

∂ V2 V1–( )+ =

Thin-Film Resistance: Application Library path COMSOL_Multiphysics/Electromagnetics/thin_film_resistance

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 157

Page 158: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

158 | C H A P T E

Electrical Contact

The Electrical Contact node defines correlations for the conductance h at the interface of two bodies in an imperfect contact due to the surface roughness. It can be added to pairs by selecting Pair Electrical Contact from the Pairs menu.

The conductance h is involved in the current flow across the surfaces in contact according to:

where indices 1 and 2 refer to the two sides of the boundary.

E L E C T R I C A L C O N T A C T

Select the Constriction conductance — Cooper-Mikic-Yovanovich correlation (the default), Mikic elastic correlation, or User defined. For User defined enter a value or expression for hc (SI unit: S/m2). The default is 0 S/m2.

C O N T A C T S U R F A C E P R O P E R T I E S

This section displays if Cooper-Mikic-Yovanovich correlation or Mikic elastic correlation are chosen under Contact.

Enter values for the:

• Surface roughness, asperities average height σ asp (SI unit: m). The default is 1 μm.

• Surface roughness, asperities average slope masp (dimensionless). The default is 0.4.

• Contact pressure p (SI unit: Pa). The default is 0 Pa.

For Cooper-Mikic-Yovanovich correlation select a Hardness definition—Microhardness (the default), Vickers hardness, or Brinell hardness.

• For Microhardness enter a value for Hc (SI unit: Pa). The default is 3 GPa.

• For Vickers hardness enter a value for the Vickers correlation coefficient c1 (SI unit: Pa) and Vickers size index c2 (dimensionless). The defaults are 5 GPa and −0.1, respectively.

• For Brinell hardness enter a value for HB (SI unit: Pa). The default is 3 GPa. HB should be between 1.30 and 7.60 GPa.

n J1⋅ hc– V1 V2–( )=

n J2⋅ hc– V2 V1–( )=

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 159: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

For Mikic elastic correlation select the Contact interface Young’s modulus Econtact—Weighted harmonic mean (the default) or User defined.

• For Weighted harmonic mean enter values or expressions for the Young’s modulus E (SI unit Pa) and Poisson’s ratio v (dimensionless). The defaults are 0.

• For User defined enter another value or expression for the Contact interface Young’s

modulus Econtact (SI unit: Pa). The default is 1 GPa.

Sector Symmetry

Select Sector Symmetry at interfaces between rotating objects where sector symmetry is used. It is only available for pairs. A default subnode is added. Right-click to select additional features from the Fallback Features submenu. In 2D, this feature assumes rotation around the origin.

P A I R S E L E C T I O N

When using nonconforming meshes on the source and destination of a pair, for numerical stability, a finer mesh should be applied on the destination side for any pair with a condition that imposes a coupling or a constraint across the pair. The sector symmetry feature falls into this category.

S E C T O R S E T T I N G S

Enter the Number of sectors (<50) nsect. The default is 2.

Select a Type of periodicity — Continuity (the default) or Antiperiodicity.

Based on space dimension, enter values or expressions in the table for the Axis of

rotation arot.

Theory for the Electrical Contact

This feature is always used in conjunction with a Periodic Condition on adjacent radial sector boundaries. Note that the same periodic condition feature cannot be used on both sides of where the sector symmetry boundaries connect with the periodic boundaries. At least two periodic condition features are required for the model to compute correctly.

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 159

Page 160: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

160 | C H A P T E

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Line Current Source

The Line Current Source node adds a line source to edges in 3D components and to points in 2D and 2D axisymmetric components. The line source represents electric current per unit length.

E D G E O R PO I N T S E L E C T I O N

L I N E C U R R E N T S O U R C E

Enter a value or expression to apply a Line current source Qj (SI unit: A/m). This source represents electric current per unit length. The default is 0 A/m.

Line Current Source (on Axis)

The Line Current Source (on Axis) node adds a line source to boundaries in 2D axisymmetric components. The line source represents electric current per unit length.

L I N E C U R R E N T S O U R C E ( O N A X I S )

Enter a value or expression to apply a Line current source Qj (SI unit: A/m) to boundaries. This source represents electric current per unit length.

Beware that constraining the potential on edges or points usually yields a current outflow that is mesh dependent.

Line Current Source (on Axis) for 2D axisymmetric components.

Line Current Source

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 161: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Point Current Source

The Point Current Source node adds a point source and represents an electric current flowing out of the point. Add point sources to 3D components from the Points menu. Add a contribution as a Harmonic Perturbation by right-clicking the parent node or clicking Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

PO I N T S E L E C T I O N

PO I N T C U R R E N T S O U R C E

Enter a value or expression to apply a Point current source Qj (SI unit: A) to points. This source represents an electric current flowing out of the point.

Point Current Source (on Axis)

The Point Current Source (on Axis) node adds a point source and represents an electric current flowing out of the point in 2D axisymmetric components.

PO I N T S E L E C T I O N

Beware that constraining the potential on points usually yields a current outflow that is mesh dependent.

• Line Current Source for 2D components

• Point Current Source (on Axis) for 2D axisymmetric components

Beware that constraining the potential on points usually yields a current outflow that is mesh dependent.

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 161

Page 162: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

162 | C H A P T E

PO I N T C U R R E N T S O U R C E

Enter a value or expression to apply a Point current source Qj (SI unit: A) to points. This source represents an electric current flowing out of the point.

Electric Point Dipole

The Electric Point Dipole node, available for 2D and 3D components, represents the limiting case of zero separation distance between two equally strong point current sources and current sinks of opposing signs while maintaining the product between separation distance and source strength at a fixed value (P). The positive direction is from the current sink to the current source.

D I P O L E S P E C I F I C A T I O N

Select a Dipole specification—Magnitude and direction (the default) or Dipole moment.

D I P O L E P A R A M E T E R S

Under Dipole Specification:

• For Magnitude and direction enter coordinates for the Electric current dipole moment

direction np and the Electric current dipole moment, magnitude p (SI unit: A·m).

• For Dipole moment enter the components of the Electric current dipole moment p (SI unit: A·m).

Electric Point Dipole (on Axis)

The Electric Point Dipole (on Axis), available for 2D axisymmetric components, represents the limiting case of zero separation distance between two equally strong point current sources and current sinks of opposing signs while maintaining the product between separation distance and source strength at a fixed value (P). The positive direction is from the current sink to the current source.

• Point Current Source for 3D components

• Line Current Source for 2D components

Electric Point Dipole (on Axis)

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 163: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

E L E C T R I C PO I N T D I P O L E ( O N A X I S )

Enter the Electric current dipole moment in z direction pz (SI unit: A·m).

Piezoresistive Material

The Piezoresistive Material is normally used together with a Piezoresistive Effect, Domain

Currents multiphysics coupling node. The node is added by default to the Electric

Currents interface when adding a Piezoresistivity, Domain Currents predefined multiphysics coupling interface. It is also available from the context menu (right-click the Electric Currents interface parent node) or from the Physics toolbar.

P I E Z O R E S I S T I V E M A T E R I A L P R O P E R T Y

This node should be used together with an active Piezoresistive Effect, Domain Currents

multiphysics coupling node. Select a Constitutive model — Piezoresistance form or Elastoresistance form. For each of the following, the default uses values From material. For User defined enter other values in the matrix or field.

• Specify a Electrical conductivity, zero stress (SI unit: S/m). This typically comes from the material added under the Materials node.

• For Piezoresistance form, select a Piezoresistance coupling matrix Πl

(SI unit: m4/(s⋅A2); note that this is equivalent to Ω⋅m/Pa).

• For a Elastoresistance form, select an Elastoresistance coupling matrix Ml (SI unit: Ω⋅m).

Electric Point Dipole

When the Piezoresistive Material node is added to the Electric Currents interface in the absence of an active Piezoelectric Effect, Domain Currents

multiphysics coupling node, the material behaves similarly to a Current Conservation node, with electric properties corresponding to the relative permittivity and electrical conductivity entered. The piezoresistive effect is not included in the corresponding equation system.

T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 163

Page 164: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

164 | C H A P T E

T h e E l e c t r i c C u r r e n t s , S h e l l I n t e r f a c e

The Electric Currents, Shell (ecs) interface ( ), found under the AC/DC branch ( ) when adding a physics interface, is used to compute electric field, current, and potential distributions in thin conducting shells under conditions where inductive effects are negligible; that is, when the skin depth is much larger than the studied device. It supports stationary, frequency-domain, small-signal analysis, and time-domain modeling on edges in 2D and faces in 3D.

The physics interface solves a current conservation equation based on Ohm's law using the scalar electric potential as the dependent variable.

Current Conservation is the main node, which adds the equation for the electric potential and provides a Settings window for defining the electrical conductivity as well as the constitutive relation for the electric displacement field and its associated material properties such as the relative permittivity.

When this physics interface is added, these default nodes are also added to the Model

Builder— Current Conservation, Electric Insulation (the default edge or point condition), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, edge or point conditions and current sources. You can also right-click Electric

Currents, Shell to select physics features from the context menu.

Except where described here, the majority of the Settings windows are the same as for the Electrostatics and Electric Currents interfaces as referenced. The only difference are:

• For 3D components, boundaries are selected instead of domains, and edges instead of boundaries.

• For 2D and 2D axisymmetric components, boundaries are selected instead of domains, and points instead of edges and boundaries.

For a more extensive introduction to the physics and equations implemented by this physics interface, see the Theory for the Electric Currents, Shell Interface.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 165: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

S E T T I N G S

The Label is the default physics interface name.

The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers and underscores (_) are permitted in the Name field. The first character must be a letter.

The default Name (for the first physics interface in the model) is ecs.

O U T - O F - P L A N E T H I C K N E S S

S H E L L T H I C K N E S S

Enter a value or expression for the Shell thickness ds (SI unit: m). The default value is 1 cm.

M A N U A L T E R M I N A L S W E E P S E T T I N G S

Enter a Reference impedance Zref (SI unit: Ω). The default is 50 Ω.

Select the Activate manual terminal sweep check box to switch on the sweep and invoke a parametric sweep over the terminals. Enter a Sweep parameter name to assign a

For 2D components, enter a value or expression for the Thickness d. The default value is 1 unit length.

Use the Change Thickness (Out-of-Plane) node to define specific boundaries or points instead of a global setting for the thickness.

When modeling with shells, the Shell Thickness section defines a parameter that enters the equations everywhere. It is available in all dimensions.

This is unrelated to the Change Thickness (Out-of-Plane) node, which is only available in 2D and represents the out-of-plane length of the shell, which is being modeled as a cross-section.

When modeling in 2D, this means that on the physics interface Settings window, there are two sections—the Shell Thickness and Out-of-Plane

Thickness—available, as well as two feature nodes—Change Shell Thickness and Change Thickness (Out-of-Plane).

T H E E L E C T R I C C U R R E N T S , S H E L L I N T E R F A C E | 165

Page 166: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

166 | C H A P T E

specific name to the variable that controls the terminal number solved for during the sweep. The default is PortName. The generated lumped parameters are in the form of capacitance matrix elements. The terminal settings must consistently be of either fixed voltage or fixed charge type.

The lumped parameters are subject to Touchstone file export. Enter a file path or Browse for a file. Select a Parameter format (value pairs) for the Touchstone export—Magnitude

and angle (MA) (the default), Magnitude in dB and angle (DB), or Real and imaginary

parts (RI). Select an option from the If file exists list—Overwrite or Create new. Select a Parameter to export—Z (the default), Y, or S.

D E P E N D E N T V A R I A B L E S

The dependent variable (field variable) is for the Electric potential V. The name can be changed but the names of fields and dependent variables must be unique within a model.

D I S C R E T I Z A T I O N

To display this section, click the Show button ( ) and select Discretization.

Boundary, Edge, Point, and Pair Nodes for the Electric Currents, Shell Interface

The Electric Currents, Shell Interface has these boundary, edge, point, and pair nodes available from the Physics ribbon toolbar (Windows users), Physics context menu (Mac or Linux users), or right-click to access the context menu (all users).

• Lumped Parameters

• Boundary, Edge, Point, and Pair Nodes for the Electric Currents, Shell Interface

In general, to add a node, go to the Physics toolbar, no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 167: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

A B O U T T H E E D G E A N D PO I N T C O N D I T I O N S

The nodes in Table 4-1 are available at interfaces between different media and interior edges (in 3D components) and point conditions (in 2D and 2D axisymmetric components) in continuity; that is,

which is the natural edge/point condition.

A V A I L A B L E N O D E S

These nodes and subnodes are described in this section:

These nodes are available for this physics interface and described for the Electric Currents and Electrostatics interfaces (listed in alphabetical order):

Current Conservation

The Current Conservation node adds the continuity equation for the electrical potential and provides an interface for defining the electric conductivity as well as the constitutive relation and the relative permittivity for the displacement current.

• Archie’s Law

• Change Shell Thickness

• Current Conservation

• Current Source

• Electric Shielding

• Initial Values

• Normal Current Density

• Porous Media

• Boundary Current Source

• Change Thickness (Out-of-Plane)

• Current Source

• Distributed Impedance

• Electric Insulation

• Electric Point Dipole

• Electric Potential

• External Current Density

• Ground

• Initial Values

• Line Current Source

• Point Current Source

• Terminal

n2 J1 J2–( )⋅ 0=

T H E E L E C T R I C C U R R E N T S , S H E L L I N T E R F A C E | 167

Page 168: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

168 | C H A P T E

M A T E R I A L TY P E

The Material type setting decides how materials behave and how material properties are interpreted when the mesh is deformed. Select Solid for materials whose properties change as functions of material strain, material orientation and other variables evaluated in a material reference configuration (material frame). Select Non-solid for materials whose properties are defined only as functions of the current local state at each point in the spatial frame, and for which no unique material reference configuration can be defined. Select From material to pick up the corresponding setting from the domain material on each domain.

E L E C T R I C F I E L D

See Electric Field as described for the Charge Conservation node for the Electrostatics interface.

C O N D U C T I O N C U R R E N T

By default, the Electrical conductivity σ (SI unit: S/m) for the media is defined From

material. Or select User defined, Linearized resistivity, Porous media, or Archie’s law.

User DefinedFor User defined select Isotropic, Diagonal, Symmetric, or Anisotropic depending on the characteristics of the electrical conductivity, and then enter values or expressions in the field or matrix.

Linearized ResistivitySelect Linearized resistivity for a temperature-dependent conductivity (this occurs in, for example, Joule heating, and is also called resistive heating). The equation describing the conductivity:

where ρ0 is the resistivity at the reference temperature T0, and α is the temperature coefficient of resistance, which describes how the resistivity varies with temperature.

If another type of temperature dependence is used other than a linear temperature relation, enter any expression for the conductivity as a function of temperature.

σ 1ρ0 1 α T T0–( )+( )-----------------------------------------------=

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 169: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The default Reference temperature Tref (SI unit: K), Resistivity temperature coefficient α (SI unit: 1/K), and Reference resistivity ρ0 (SI unit: Ω⋅m) are taken From material, which means that the values are taken from the domain material.

To specify other values for any of these properties, select User defined from the list and then enter a value or expression. T is the current temperature, which can be a value that is specified as a model input or the temperature from a Heat Transfer interface. The definition of the temperature field appears in the Model Inputs section.

When Porous media is selected, the Porous Media subnode is available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu. When Archie’s law is selected, an Archie’s Law subnode is available.

Initial Values

Initial Values adds an initial value for the electric potential that can serve as an initial condition for a transient simulation or as an initial guess for a nonlinear solver. Add more Initial Values nodes from the Physics toolbar.

I N I T I A L V A L U E S

Enter a value or expression for the initial value of the Electric potential V (SI unit: V). The default is 0 V.

Current Source

The Current Source node adds a distributed current source Qj in the equation that the physics interface defines. Use this node with caution as it might violate the current conservation law that is inherent in Maxwell-Ampère’s law.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or click Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

Only certain material models support the Linearized resistivity. See AC/DC Materials Database in the COMSOL Multiphysics Reference Manual.

T H E E L E C T R I C C U R R E N T S , S H E L L I N T E R F A C E | 169

Page 170: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

170 | C H A P T E

E L E C T R O D E C U R R E N T S O U R C E

Enter a value or expression for the Current source Qj (SI unit: A/m3). The default is 0 A/m3.

Change Shell Thickness

Add a Change Shell Thickness node to specify a different shell thickness for a subset of the boundaries or edges where the Electric Currents, Shell interface is defined.

C H A N G E S H E L L T H I C K N E S S

Enter a Shell thickness ds (SI unit: m). The default is 1 cm.

Normal Current Density

The Normal Current Density node represents a current density flowing normally from the domain into the shell boundary. This condition is different from the Current Source node since it represents a net current density flowing from the adjacent domain into the shell, and can be used to model, for example, a boundary acting as an electrode.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or click Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

N O R M A L C U R R E N T D E N S I T Y

Enter a value or expression for the Normal current density Jn (SI unit: A/m2). The default is 0 A/m2.

Electric Shielding

The Electric Shielding node, available for 3D components, can be used to model a geometrically thin section of shell made of a highly conductive medium. The layer thickness parameter dl specifies the thickness in the direction tangential to the shell, while the thickness in the direction normal to the shell is taken from the physics interface or, if present, from a Change Shell Thickness node.

The layer has an electrical conductivity of σ and a relative permittivity of εr.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 171: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

E L E C T R I C S H I E L D I N G

The default Relative permittivity εr (dimensionless) and Electrical conductivity σ (SI unit: S/m) take values From material. For User defined enter different values or expressions.

Enter a value or expression for the Layer thickness dl (SI unit: m). The default is 1 cm.

T H E E L E C T R I C C U R R E N T S , S H E L L I N T E R F A C E | 171

Page 172: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

172 | C H A P T E

Th eo r y f o r t h e E l e c t r o s t a t i c s I n t e r f a c e

The Electrostatics Interface is available for 3D, 2D in-plane, and 2D axisymmetric components. Applications with electrostatic equations include high-voltage apparatus, electronic devices, and capacitors. The term “statics” is not to be interpreted literally—it is the observation time, or time scale at which the applied excitation changes, that is short compared to the charge relaxation time; also, the electromagnetic wavelength and skin depth are very large compared to the size of the domain of interest.

If you do not know whether to use the Electric Currents or the Electrostatics interface, which both solve for the scalar electric potential V, consider using an explicit charge transport model. See Charge Relaxation Theory.

In this section:

• Electrostatics Equations

• The Electrostatics Interface in Time Dependent or Frequency Domain Studies.

• Effective Material Properties in Porous Media and Mixtures

• Effective Conductivity in Porous Media and Mixtures

• Effective Relative Permittivity in Porous Media and Mixtures

• Effective Relative Permeability in Porous Media and Mixtures

• Archie’s Law Theory

Charge Relaxation Theory

COMSOL Multiphysics includes physics interfaces for the modeling of static electric fields and currents. Deciding what specific physics interface and study type to select for a particular modeling situation requires a basic understanding of the charge dynamics in conductors.

For a discussion about the boundary element method used with The Electrostatics, Boundary Elements Interface, see Theory for the Boundary Elements PDE in the COMSOL Multiphysics Reference Manual.

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 173: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The different physics interfaces involving only the scalar electric potential can be interpreted in terms of the charge relaxation process. The fundamental equations involved are Ohm’s law

the equation of continuity

and Gauss’ law

By combining these, one can deduce the following differential equation for the space charge density in a homogeneous medium

This equation has the solution

where

is called the charge relaxation time. For a good conductor like copper, τ is of the order of 10−19 s, whereas for a good insulator like silica glass, it is of the order of 103 s. For a pure insulator, it becomes infinite.

When modeling real-world devices, there is not only the intrinsic time scale of the charge relaxation time but also an external time scale t at which a device is energized or the observation time. It is the relation between the external time scale and the charge relaxation time that determines what physics interface and study type to use. The results are summarized in Table 4-3 below,

TABLE 4-3: SUITABLE PHYSICS INTERFACE AND STUDY TYPE FOR DIFFERENT TIME-SCALE REGIMES.

CASE PHYSICS INTERFACE STUDY TYPE

τ>>t Electrostatics Stationary

J σE=

ρ∂t∂

------ ∇+ J⋅ 0=

∇ εE( )⋅ ρ=

ρ∂t∂

------ σε---+ ρ 0=

ρ t( ) ρ0e t τ⁄–=

τ εσ---=

T H E O R Y F O R T H E E L E C T R O S T A T I C S I N T E R F A C E | 173

Page 174: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

174 | C H A P T E

F I R S T C A S E : τ > > T

If the external time scale is short compared to the charge relaxation time, the charges do not have time to redistribute to any significant degree. Thus the charge distribution can be considered as a given model input. The best approach is to solve the Electrostatics formulation using the electric potential V.

By combining the definition of the potential with Gauss’ law, you can derive the classical Poisson’s equation. Under static conditions, the electric potential V is defined by the equivalence E = −∇V. Using this together with the constitutive relation D = ε0E + P between D and E, you can rewrite Gauss’ law as a variant of Poisson’s equation

This equation is used in the Electrostatics interface. It is worth noting that Gauss’ law does not require the charge distribution to be static. Thus, provided dynamics are slow enough that induced electric fields can be neglected and hence a scalar electric potential is justified, the formulation can be used also in the Time Dependent study type. That typically involves either prescribing the charge dynamics or coupling a separate formulation for this.

S E C O N D C A S E : τ < < T

If the external time scale is long compared to the charge relaxation time, the stationary solution to the equation of continuity has been reached. In a stationary coordinate system, a slightly more general form of Ohm’s law than above states that

where Je is an externally generated current density. The static form of the equation of continuity then reads

τ<<t Electric Currents Stationary

τ~t Electric Currents Time Dependent orFrequency Domain

TABLE 4-3: SUITABLE PHYSICS INTERFACE AND STUDY TYPE FOR DIFFERENT TIME-SCALE REGIMES.

CASE PHYSICS INTERFACE STUDY TYPE

∇– ε0 V∇ P–( )⋅ ρ=

Such separate charge transport formulations can be found in the Plasma Module, the Semiconductor Module, and the Chemical Reaction Engineering Module.

J σE Je+=

∇ J⋅ ∇– σ V∇ Je–( )⋅ 0= =

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 175: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

To handle current sources, the equation can be generalized to

This equation is used in the static study type for the Electric Currents interface.

G E N E R A L C A S E : C H A R G E D Y N A M I C S

If the charge relaxation time is comparable to the external time scale, the Time Dependent or Frequency Domain study types for the Electric Currents interface must be used.

Combining the time-harmonic equation of continuity

with the equation (∇⋅ D = ρ) yields the following equation for the frequency domain study type:

For the Time Dependent study type, use the transient equation of continuity

and the resulting equation becomes

These dynamic formulations are valid as long as induced electric fields can be ignored and hence the electric field is essentially curl free. This condition is fulfilled provided that skin effect and wave propagation effects can be ignored. The skin depth must be much larger than the geometrical dimensions of the modeled device and so must the wavelength. Note also that these formulations can be used to model dielectric regions of capacitive/resistive devices even though the interior of electrodes sometimes does not meet the large skin depth condition. In that case, the electrodes must only be represented as boundary conditions (fixed or floating potential). The interior, metallic domains are not included in the analysis. Obviously, this is only a valid approach for devices where metallic electrodes do not entirely bypass (short circuit) the capacitive/resistive layers. If metallic electrodes short circuit the capacitive/resistive layers, the time evolution of the current is determined by inductive and resistive effects

∇– σ V∇ Je–( )⋅ Qj=

∇ J⋅ ∇ σE Je+( )⋅ jωρ–= =

∇– σ jωε0+( )∇V Je jωP+( )–( )⋅ 0=

∇ J⋅ ∇ σE Je+( )⋅t∂

∂ρ–= =

∇t∂

∂ ε0∇V P+( ) ∇ σ∇V Je–( )⋅–⋅– 0=

T H E O R Y F O R T H E E L E C T R O S T A T I C S I N T E R F A C E | 175

Page 176: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

176 | C H A P T E

with very little influence from the capacitive layers. Then the Magnetic Fields interface is the appropriate modeling tool.

Electrostatics Equations

Under static conditions, the electric potential, V, is defined by the relationship:

Combining this equation with the constitutive relationship D = ε0E + P between the electric displacement D and the electric field E, it is possible to represent Gauss’ law as the following equation:

In this equation, the physical constant, ε0 (SI unit: F/m) is the permittivity of vacuum, P (SI unit: C/m2) is the electric polarization vector, and ρ (SI unit: C/m3) is a space charge density. This equation describes the electrostatic field in dielectric materials.

For in-plane 2D modeling, the Electrostatics interface assumes a symmetry where the electric potential varies only in the x and y directions and is constant in the z direction. This implies that the electric field, E, is tangential to the xy-plane. With this symmetry, the same equation is solved as in the 3D case. The physics interface solves the following equation where d is the thickness in the z direction:

The axisymmetric version of the physics interface considers the situation where the fields and geometry are axially symmetric. In this case, the electric potential is constant in the direction, which implies that the electric field is tangential to the rz-plane.

The Electrostatics Interface in Time Dependent or Frequency Domain Studies

The Electrostatics Interface can also be solved in a dynamic study (Time Dependent or Frequency Domain). The equation system solved, however, is always the one presented in the previous section for the stationary case, in which no transient electromagnetic effects are taken into account. The difference is that the sources of the problem (charge densities, electric potential) are assumed to be time-varying (in a Time Dependent study) or time-harmonic (in a Frequency Domain study). The support for dynamic studies simplifies the coupling of the Electrostatics interface with

E V∇–=

∇– ε0 V∇ P–( )⋅ ρ=

∇– d ε0 V∇ P–( )⋅ ρ=

ϕ

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 177: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

other physics interfaces. Using the physics interface in a dynamic study is a valid approximation only if the time-scale (or the frequency) of the study is so slow that transient electromagnetic effects can be neglected; for example, in acoustic or structural problems.

Most of the features in the Electrostatics interface have the same behavior in all study types, with the important exception of the Terminal node.

The Electrostatics interface also supports the small-signal analysis study sequence, which can be used when a time-harmonic perturbation is superposed on a static bias charge or voltage.

Effective Material Properties in Porous Media and Mixtures

One way of dealing with porous media or mixtures of solids in electromagnetic models is to replace them with an homogenized medium. The electric and magnetic properties of this medium are computed from the properties of each phase by means of an averaging formula.

There are several possible approaches to compute an average material property starting from the material properties and the volume fraction of each material.

The following sections illustrate the different formulas available to compute the effective electrical conductivity, the effective relative permittivity and the effective relative permeability of a homogenized medium. In the following, volume fractions of the materials are indicated with θi, where i is the material index, and they are assumed to be fractional (between 0 and 1). Up to five different materials can be specified as phases of the mixture. Typically, their volume fractions should add up to 1.

Effective Conductivity in Porous Media and Mixtures

Three methods are available to compute the averaged electrical conductivity of the mixture.

VO L U M E A V E R A G E , C O N D U C T I V I T Y

If the electric conductivities of the two materials are not so different from each other, a simple form of averaging can be used, such as a volume average:

σ θiσi

i 1=

n

θ1σ1 θ2σ2 …+ += =

T H E O R Y F O R T H E E L E C T R O S T A T I C S I N T E R F A C E | 177

Page 178: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

178 | C H A P T E

where σi is the conductivity of the material i. This is equivalent to a “parallel” system of resistivities.

If the conductivities are defined by second order tensors (such as for anisotropic materials), the volume average is applied element by element.

VO L U M E A V E R A G E , R E S I S T I V I T Y

A similar expression for the effective conductivity can be used, which mimics a “series” connection of resistivities. Equivalently, the effective conductivity is obtained from

If the conductivities are defined by second order tensors, the inverse of the tensors are used.

POW E R L A W

A power law gives the following expression for the equivalent conductivity:

The effective conductivity calculated by Volume Average, Conductivity is the upper bound, the effective conductivity calculated by Volume Average, Resistivity is the lower bound, and the Power Law average is somewhere in between these two.

Effective Relative Permittivity in Porous Media and Mixtures

Three methods are available to compute the averaged electrical conductivity of the mixture.

V O L U M E A V E R A G E , P E R M I T T I V I T Y

If the relative permittivity of the two materials is not so different from each other, the effective relative permittivity εr is calculated by simple volume average:

1σ---

θiσi-----

i 0=

n

=θ1σ1------

θ2σ2------ …+ +=

σ σiθi

i 0=

n

∏ σ1θ1σ2

θ2…= =

ε θiεi

i 1=

n

θ1ε1 θ2ε2 …+ += =

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 179: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

where εi is the relative permeability of the material i.

If the permittivity is defined by second-order tensors (such as for anisotropic materials), the volume average is applied element by element.

VO L U M E A V E R A G E , R E C I P R O C A L P E R M I T T I V I T Y

The second method is the volume average of the inverse of the permittivities:

If the permittivity is defined by a second-order tensor, the inverse of the tensor is used.

PO W E R L A W

A power law gives the following expression for the equivalent permittivity:

The effective permeability calculated by Volume Average, Permittivity is the upper bound, the effective permeability calculated by Volume Average, Reciprocal Permittivity is the lower bound, and the Power Law average gives a value somewhere in between these two.

Effective Relative Permeability in Porous Media and Mixtures

Three methods are available to compute the averaged electrical conductivity of the mixture.

V O L U M E A V E R A G E , P E R M E A B I L I T Y

If the relative permeability of the two materials is not so different from each other, the effective relative permeability μr is calculated by simple volume average:

where μi is the relative permeability of the material i.

1ε---

θi

εi----

i 0=

n

=θ1ε1-----

θ2ε2----- …+ +=

ε εiθi

i 0=

n

∏ ε1θ1ε2

θ2…= =

μ θiμi

i 1=

n

θ1μ1 θ2μ2 …+ += =

T H E O R Y F O R T H E E L E C T R O S T A T I C S I N T E R F A C E | 179

Page 180: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

180 | C H A P T E

If the permeability is defined by second-order tensors (such as for anisotropic materials), the volume average is applied element by element.

VO L U M E A V E R A G E , R E C I P R O C A L P E R M E A B I L I T Y

The second method is the volume average of the inverse of the permeabilities:

If the permeability is defined by a second-order tensor, the inverse of the tensor is used.

POW E R L A W

A power law gives the following expression for the equivalent permeability:

The effective permeability calculated by Volume Average, Permeability is the upper bound, the effective permeability calculated by Volume Average, Reciprocal Permeability is the lower bound, and the Power Law average gives a value somewhere in between these two.

Archie’s Law Theory

The electrical conductivity of the materials composing saturated rocks and soils can vary over many orders of magnitude. For instance, in the petroleum reservoirs, normal sea water (or brine) has a typical conductivity of around 3 S/m, whereas hydrocarbons are typically much more resistive and have conductivities in the range 0.1−0.01 S/m.

The porous rocks and sediments can have even lower conductivities. In variably saturated soils, the conductivity of air is roughly ten orders of magnitude lower than the ground water. A simple volume average (of either conductivity or resistivity) in rocks or soils might give different results compared to experimental data.

Since most crustal rocks, sedimentary rocks, and soils are formed by nonconducting materials, Archie (Ref. 1) assumed that electric current are mainly caused by ion fluxes through the pore network. Originally, Archie’s law is an empirical law for the effective conductivity of a fully saturated rock or soil, but it can be extended to variably saturated porous media.

1μ---

θi

μi-----

i 0=

n

=θ1μ1------

θ2μ2------ …+ +=

μ μiθi

i 0=

n

∏ μ1θ1μ2

θ2…= =

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 181: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Archie’s law relates the effective conductivity to the fluid conductivity σL, fluid saturation sL, and porosity εp:

here, m is the cementation exponent, a parameter that describes the connectivity of the pores. The cementation exponent normally varies between 1.3 and 2.5 for most sedimentary rocks and is close to 2 for sandstones. The lower limit m = 1 represents a volume average of the conductivities of a fully saturated, insulating (zero conductivity) porous matrix, and a conducting fluid. The saturation coefficient n is normally close to 2. The ratio F = σL/σ is called the formation factor.

Archie’s law does not take care of the relative permittivity of either fluids or solids, so the effective relative permittivity of the porous medium is normally consider as εr = 1.

Reference for Archie’s Law

1. G.E. Archie, “The Electric Resistivity as an Aid in Determining Some Reservoir Characteristics,” Trans. Am. Inst. Metal. Eng., vol. 146, pp. 54–62, 1942.

σ sLnεp

mσL=

T H E O R Y F O R T H E E L E C T R O S T A T I C S I N T E R F A C E | 181

Page 182: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

182 | C H A P T E

Th eo r y f o r t h e E l e c t r i c C u r r e n t s I n t e r f a c e

The Electric Currents Interface solves a current conservation problem for the scalar electric potential V and is available for 3D, 2D in-plane, and 2D axisymmetric components. Electrolysis and the computation of resistances of grounding plates are examples that involve conductive media with electrical conductivities and electric currents. If you are uncertain of whether to use the Electric Currents or the Electrostatics interface, which both solve for the scalar electric potential V, refer to the section on Charge Relaxation Theory.

In this section:

• Electric Currents Equations in Steady State

• Dynamic Electric Currents Equations

Electric Currents Equations in Steady State

When handling stationary electric currents in conductive media you must consider the stationary equation of continuity. In a stationary coordinate system, the point form of Ohm’s law states that:

where σ is the electrical conductivity (SI unit: S/m), and Je is an externally generated current density (SI unit: A/m2). The static form of the equation of continuity then states:

To handle current sources, you can generalize the equation to:

In planar 2D the Electric Currents interface assumes that the model has a symmetry where the electric potential varies only in the x and y directions and is constant in the z direction. This implies that the electric field, E, is tangential to the xy-plane. The Electric Currents interface then solves the following equation, where d is the thickness in the z direction:

J σE Je+=

∇ J⋅ ∇– σ V∇ Je–( )⋅ 0= =

∇– σ V∇ Je–( )⋅ Qj=

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 183: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

(4-1)

In 2D axisymmetry, the Electric Currents interface considers the situation where the fields and geometry are axially symmetric. In this case, the electric potential is constant in the direction, which implies that the electric field is tangential to the rz-plane.

Dynamic Electric Currents Equations

In the Frequency Domain and Time Dependent study types dynamic formulations accounting for both conduction currents and displacement currents are used.

Combining the time-harmonic equation of continuity

with the equation

and generalized to handle current sources yields the following equation:

For the transient case, using the transient equation of continuity

and generalized to handle current sources the resulting equation becomes:

(4-2)

In planar 2D the dynamic formulations also involves the thickness d in the z direction:

Theory for the Electrical Contact

The Electrical Contact feature node has correlations to evaluate the joint conductance at two contacting surfaces.

∇– d σ V∇ Je–( )⋅ dQj=

ϕ

∇ J⋅ ∇ σE Je+( )⋅ jωρ–= =

∇ D⋅ ρ=

∇– σ jωε0+( )∇V Je jωP+( )–( )⋅ Qj=

∇ J⋅ ∇ σE Je+( )⋅t∂

∂ρ–= =

∇t∂

∂ ε0∇V P–( ) ∇ σ∇V Je–( )⋅–⋅– Qj=

∇– d σ jωε0+( )∇V Je jωP+( )–( )⋅ dQj=

∇ dt∂

∂ ε0∇V P–( ) ∇ d σ∇V Je–( )⋅–( )⋅– dQj=

T H E O R Y F O R T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 183

Page 184: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

184 | C H A P T E

The current densities at the upside and downside boundaries depend on the potential difference according to the relations:

At a microscopic level, contact is made at a finite number of spots as in Figure 4-1.

Figure 4-1: Contacting surfaces at the microscopic level.

S U R F A C E A S P E R I T I E S

The microscopic surface asperities are characterized by the average height σu, asp and σd, asp and the average slope mu, asp and md, asp. The RMS values σasp and masp are (4.16 in Ref. 1):

C O N S T R I C T I O N C O N D U C T A N C E

Cooper-Mikic-Yovanovich (CMY) CorrelationThe Cooper-Mikic-Yovanovich (CMY) correlation is valid for isotropic rough surfaces and has been formulated using a model assuming plastic deformation of the surface asperities. However, this model does not compute nor store the plastic deformations of the asperities. It means that, despite that a plastic deformation of the asperities is assumed, this contact model has no memory. For example, if a load is applied twice the electrical contact is identical in both cases. The Cooper-Mikic-Yovanovich (CMY) correlation relates hc to the asperities and pressure load at the contact interface:

Here, Hc is the microhardness of the softer material, p is the contact pressure, and σcontact is the harmonic mean of the contacting surface conductivities:

n J1⋅ hc– V1 V2–( )=

n J2⋅ hc– V2 V1–( )=

Ymasp,u asp,u

σasp σu asp,2 σd asp,

2+= masp mu asp,2 md asp,

2+=

hc 1.25σcontactmaspσasp------------- p

Hc------- 0.95

=

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 185: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The relative pressure p ⁄ Hc can be evaluated by specifying Hc directly or using the following relation (4.16.1 in Ref. 1) for the relative pressure using c1 and c2, the Vickers correlation coefficient and size index:

The coefficients c1 and c2 are the Vickers correlation coefficient and size index, respectively, and σ0 is equal to 1 µm. For materials with Brinell hardness between 1.30 and 7.60 GPa, c1 and c2 are given by the correlation below (4.16.1 in Ref. 1):

The Brinell hardness is denoted by HB, and H0 is equal to 3.178 GPa.

Mikic Elastic CorrelationThe Mikic correlation is valid for isotropic rough surfaces and assumes elastic deformations of surface asperities. It gives hc by the following relation:

Here, Econtact is an effective Young’s modulus for the contact interface, satisfying (4.16.3 in Ref. 1):

σcontact2σuσdσu σd+-------------------=

When σu (resp. σd) is not isotropic, it is replaced by its normal conductivity nTσun (resp. nTσdn).

pHc------- p

c1 1.62σaspσ0

------------masp

c2

------------------------------------------------------

1

1 0.071c2+( )-----------------------------------

=

c1H0------- 4.0 5.77

HBH0--------– 4.0

HBH0--------

20.61

HBH0--------

3–+=

c2 0.37– 0.442HBc1--------+=

hc 1.54σcontactmaspσasp------------- 2p

mEcontact------------------------

0.94=

1Econtact-------------------

1 νu2–

Eu---------------

1 νd2–

Ed---------------+=

T H E O R Y F O R T H E E L E C T R I C C U R R E N T S I N T E R F A C E | 185

Page 186: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

186 | C H A P T E

where Eu and Ed are the Young’s moduli of the two contacting surfaces and νu and νd are the Poisson’s ratios.

R E F E R E N C E

1. M.M. Yovanovich and E.E. Marotta, “Thermal Spreading and Contact Resistance,” Heat Transfer Handbook, A. Bejan and A.D. Kraus, John Wiley & Sons, 2003.

Electrical Contact

R 4 : E L E C T R I C F I E L D I N T E R F A C E S

Page 187: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Th eo r y f o r t h e E l e c t r i c C u r r e n t s , S h e l l I n t e r f a c e

The Electric Currents, Shell Interface in 3D to model thin shells of conductive media. This physics interface is similar to the 2D Electric Currents interface, solving for the electric potential on 2D surfaces in a 3D geometry. The difference is that the shell does not have to be flat as they obviously are when using the 2D Electric Currents interface. The Electric Currents, Shell interface is also available on boundaries in 2D geometries.

In this section:

• Electric Currents, Shell Equations in Steady State

• Dynamic Electric Currents Equations

Electric Currents, Shell Equations in Steady State

In the static study type, the physics interface solves the following equation where d is the thickness (SI unit: m) of the shell:

σ is the electrical conductivity (SI unit: S/m), Je is an externally generated current density (SI unit: A/m2), and Qj is an external current source (SI unit: A/m3). The operator ∇t represents the tangential derivative along the shell.

Dynamic Electric Currents Equations

In the Frequency Domain and Time Dependent study types dynamic formulations accounting for both conduction currents and displacement currents are used:

For the transient case, the resulting equation becomes

∇t d σ∇tV Je–( )⋅– dQj=

∇t– d σ jωε0+( )∇tV Je jωP+( )–( )⋅ dQj=

∇t dt∂

∂ ε0∇tV P–( ) ∇t d σ∇tV Je–( )⋅–( )⋅– dQj=

T H E O R Y F O R T H E E L E C T R I C C U R R E N T S , S H E L L I N T E R F A C E | 187

Page 188: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

188 | C H A P T E

R 4 : E L E C T R I C F I E L D I N T E R F A C E S
Page 189: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

5

M a g n e t i c F i e l d I n t e r f a c e s

This chapter summarizes the functionality of the magnetic field interfaces found under the AC/DC branch ( ).

In this chapter:

• The Magnetic Fields Interface

• The Magnetic Field Formulation Interface

• The Magnetic Fields, No Currents Interface

• The Rotating Machinery, Magnetic Interface

• The Magnetic and Electric Fields Interface

• Theory for the Magnetic Fields Interface

• Theory for the Magnetic Field Formulation Interface

• Theory for the Magnetic Fields, No Currents Interface

• Theory for the Magnetic and Electric Fields Interface

189

Page 190: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

190 | C H A P T E

Th e Magn e t i c F i e l d s I n t e r f a c e

The Magnetic Fields (mf) interface ( ), found under the AC/DC branch ( ) when adding a physics interface, is used to compute magnetic field and induced current distributions in and around coils, conductors, and magnets. Depending on the licensed products, stationary, frequency-domain, small-signal analysis, and time-domain modeling are supported in 2D and 3D. Note that the frequency and time domain formulations become ill-posed when approaching the static limit. One may extend the useful frequency range downward by adding a low conductivity.

The physics interface solves Maxwell's equations, which are formulated using the magnetic vector potential and, optionally for coils, the scalar electric potential as the dependent variables.

The main node is Ampère’s Law, which adds the equation for the magnetic vector potential and provides an interface for defining the constitutive relations and its associated properties, such as the relative permeability.

When this physics interface is added, these default nodes are also added to the Model

Builder — Magnetic Fields, Ampère’s Law, Magnetic Insulation (the default boundary condition), and Initial Values. Then, from the Physics toolbar, add other nodes that implement boundary conditions and external currents. You can also right-click Magnetic Fields to select physics features from the context menu.

S E T T I N G S

The Label is the default physics interface name.

The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.

The default Name (for the first physics interface in the model) is mf.

B A C K G R O U N D F I E L D

This section allows the specification of a background magnetic vector potential (that generates a background magnetic flux density).

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 191: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Select an option to Solve for — Full field (the default) or Reduced field. When Reduced

field is selected, choose the Background field specification — Magnetic vector potential (the default) or Uniform magnetic flux density. Mathematically, the background field is always specified as a background magnetic vector potential. The Uniform magnetic flux

density option will apply an appropriate magnetic vector potential generating the specified magnetic flux density. In axisymmetric geometries, the uniform background field is applied in the axial direction.

For Magnetic vector potential, enter values or expressions for the Background magnetic

vector potential Ab (SI unit: Wb/m). The defaults are 0 Wb/m. For Uniform magnetic

flux density, in 2D or 3D components, enter the values or expressions of the components of the Uniform magnetic flux density Bb (SI unit: T); in 2D axisymmetric components, enter the value or expression of the Uniform axial magnetic flux density

Bb,z (SI unit: T). The defaults are 0 T. The specified background magnetic flux densities must be uniform (space-independent), but they can be a function of time.

When a background field is active, this solves for the relative (perturbated) field only. This setting, together with the External Magnetic Vector Potential feature, is useful to introduce an external field generated by systems not included in the model.

C O M P O N E N T S

This section is only available in 2D and 2D axially symmetric components.

The current vector has the same direction as the magnetic vector potential. This setting also controls the direction in which applied and induced currents can flow in the model. The default option is to solve for the out-of-plane component only for 2D and 2D axisymmetric components.

Select Components — Out-of-plane vector potential (the default), In-plane vector

potential, or Three-component vector potential for the magnetic vector potential.

From the practical viewpoint this choice is equivalent to deciding in what directions the electric current is allowed to flow (out-of-plane currents, in-plane currents, or currents flowing in all three coordinate directions) and affects other settings in the model, for example, the Port Properties>Type of port section for the Lumped Port node.

When In-plane vector potential or Three-component vector potential is selected, the Gauge Fixing for A-Field node becomes available.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 191

Page 192: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

192 | C H A P T E

T H I C K N E S S

For 2D components, enter a value or expression for the global Out-of-plane thickness d (SI unit: m). The default of 1 m is typically not representative for a thin domain. Instead it describes a unit thickness that makes the 2D equation identical to the equation used for 3D components.

Use the Change Thickness (Out-of-Plane) node (described for the Electrostatics interface) to define specific geometric entities (for example, domains) instead of a global setting for the thickness.

PO R T S W E E P S E T T I N G S

Select the Activate port sweep check box to switch on the sweep and invoke a parametric sweep over the Lumped Port features. Enter a Sweep parameter name to indicate the name of the model parameter that controls the port activated in each step of the sweep. The default is PortName. The name given must match the model parameter, defined under Global Definitions, that is object of a Parametric Sweep node in the current Study.

The lumped parameters computed can be subject to a Touchstone file export. To activate this functionality, enter a file path or click Browse to navigate to a file. Select a Parameter format (value pairs) for the Touchstone export—Magnitude and angle (MA) (the default), Magnitude in dB and angle (DB), or Real and imaginary parts (RI). Select the desired operation to perform from the If file exists list—Overwrite (the default) or Create new. The latter is useful when the model is solved multiple times with different settings. Enter a Reference impedance, Touchstone file export Zref (SI unit: Ω). The default is 50 Ω.

E R R O R C H E C K

To display this section, click the Show button ( ) and select Advanced Physics Options.

When the Check applicability of features in study check box is selected, any features that are incompatible with the study will generate an error message when trying to solve or show the default solver. No solver will be generated. Deselect it and you will be able to run the model, possibly with runtime errors instead. It is available to allow the advanced user to tweak any feature and use it outside of its intended study scope.

P H Y S I C S - C O N T R O L L E D M E S H

Select the Enable check box to allow the physics interface to control the meshing process. Information from the physics, such as the presence of an infinite elements

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 193: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

domain or periodic condition, will be used to automatically set up an appropriate mesh sequence.

D E P E N D E N T V A R I A B L E S

The dependent variable is the Magnetic vector potential A. You can change both its field name and the individual component variable names. If the new field name coincides with the name of another magnetic vector potential field in the model, the physics interfaces share degrees of freedom and component names. The new field name must not coincide with the name of a field of another type, or with a component name belonging to some other field. Component names must be unique within a model, except for fields of the same type sharing a common field name.

D I S C R E T I Z A T I O N

To display this section, click the Show button ( ) and select Discretization.

Domain, Boundary, Point, and Pair Nodes for the Magnetic Fields Interface

The Magnetic Fields Interface has these domain, boundary, point, and pair nodes available, which are listed in alphabetical order.

About the Boundary ConditionsWith no surface currents present, the physics interface conditions

• Domain, Boundary, Point, and Pair Nodes for the Magnetic Fields Interface

• Lumped Parameters

• Theory for the Magnetic Fields Interface

Quadrupole Lens: Application Library path COMSOL_Multiphysics/Electromagnetics/quadrupole

Eddy Currents: Application Library path ACDC_Module/Inductive_Devices_and_Coils/eddy_currents

T H E M A G N E T I C F I E L D S I N T E R F A C E | 193

Page 194: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

194 | C H A P T E

need to be fulfilled. Because A is being solved for, the tangential component of the magnetic potential is always continuous, and thus the first condition is automatically fulfilled. The second condition is equivalent to the natural boundary condition and is hence also fulfilled unless surface currents are explicitly introduced.

Table 5-1 lists the interior and exterior boundaries available with this physics interface.

Available NodesThese nodes, listed in alphabetical order, are available from the Physics ribbon toolbar (Windows users), Physics context menu (Mac or Linux users), or by right-clicking to access the context menu (all users).

TABLE 5-1: INTERIOR AND EXTERIOR BOUNDARY CONDITIONS FOR THE MAGNETIC FIELDS INTERFACE

NODE INTERIOR EXTERIOR

External Magnetic Vector Potential x x

Impedance Boundary Condition x

Lumped Port x x

Magnetic Field x x

Magnetic Insulation x x

Magnetic Potential x x

Magnetic Shielding x x

Perfect Magnetic Conductor x x

Periodic Condition x

Surface Current x x

Thin Low Permeability Gap x

Transition Boundary Condition x

n2 A1 A2–( )× 0=

n2 H1 H2–( )× 0=

In general, to add a node, go to the Physics toolbar no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 195: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Also see Table 5-1 for a list of interior and exterior boundary conditions.

• Ampère’s Law

• Ampère’s Law, Magnetostrictive

• Boundary Feed

• Coil Geometry

• Edge Current

• Electric Point Dipole

• External Current Density

• External Magnetic Vector Potential

• Force Calculation (described for the Electrostatics interface)

• Gap Feed

• Harmonic Perturbation

• Impedance Boundary Condition

• Initial Values

• Line Current (Out-of-Plane)

• Lumped Port

• Magnetic Field

• Magnetic Insulation (the default boundary condition)

• Magnetic Point Dipole

• Magnetic Point Dipole (on Axis)

• Magnetic Potential

• Magnetic Shielding

• Coil

• Perfect Magnetic Conductor

• Lumped Port

• Sector Symmetry

• Single-Turn Coil

• Surface Current

• Thin Low Permeability Gap

• Transition Boundary Condition

• Velocity (Lorentz Term)

For 2D axisymmetric components, the COMSOL software takes the axial symmetry boundaries (at r = 0) into account and adds an Axial Symmetry node to the component that is valid on the axial symmetry boundaries only.

Infinite Elements, Perfectly Matched Layers, and Absorbing Layers in the COMSOL Multiphysics Reference Manual

In the COMSOL Multiphysics Reference Manual, see Table 2-3 for links to common sections and Table 2-4 for common feature nodes. You can also search for information: press F1 to open the Help window or Ctrl+F1 to open the Documentation window.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 195

Page 196: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

196 | C H A P T E

Ampère’s Law

The Ampère’s Law node adds Ampère’s law for the magnetic field and provides an interface for defining the constitutive relation and its associated properties as well as electric properties.

M A T E R I A L TY P E

The Material type setting decides how materials behave and how material properties are interpreted when the mesh is deformed. Select Solid for materials whose properties change as functions of material strain, material orientation, and other variables evaluated in a material reference configuration (material frame). Select Non-solid for materials whose properties are defined only as functions of the current local state at each point in the spatial frame, and for which no unique material reference configuration can be defined. Select From material to pick up the corresponding setting from the domain material on each domain.

C O N D U C T I O N C U R R E N T

This section is described for the Current Conservation feature.

The options Porous media and Archie’s law require additional subnodes. If Porous media is selected, a Porous Media subnode is available from the context menu (right-click the parent node) as well as from the Physics toolbar, Attributes menu. If Archie’s law is selected, add an Archie’s Law subnode in the same way. These subnodes contain additional settings to specify how the material properties are computed. Porous media models a mixture of materials whose properties are computed by averaging the properties of the components. Archie’s law models a conductive liquid in a nonconductive matrix.

E L E C T R I C F I E L D

The default Relative permittivity εr (dimensionless) for the media is used From material and defined on the shell domain. For User defined, select Isotropic, Diagonal, Symmetric, or Anisotropic based on the characteristics of the permittivity and then enter values or expressions in the field or matrix. If Porous media is selected, a Porous Media subnode is available from the context menu (right-click the parent node) as well as from the Physics toolbar, Attributes menu, which can specify the relative permittivity of the mixture.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 197: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

M A G N E T I C F I E L D

Specify the constitutive relation that describes the macroscopic properties of the medium (relating the magnetic flux density B and the magnetic field H) and the applicable material properties, such as the relative permeability.

The equation for the selected constitutive relation displays under the list. For all options, the default uses values From material, or select User defined to enter a different value or expression.

Select a Constitutive relation — Relative permeability (the default), HB curve, Magnetic

losses, Remanent flux density, Magnetization, Effective HB curve, or Hysteresis

Jiles-Atherton model.

Relative PermeabilitySelect Relative permeability μr (dimensionless) to use the constitutive relation B = μ0μrH. For User defined select Isotropic, Diagonal, Symmetric, or Anisotropic and enter values or expressions in the field or matrix. If Porous media is selected, a Porous Media subnode is available from the context menu (right-click the parent node) as well as from the Physics toolbar, Attributes menu, which can specify the relative permeability of the mixture.

HB CurveSelect HB curve |H| (SI unit: A/m) to use a curve that relates magnetic flux density B and the magnetic field H as |H| = f(|B|).

The Magnetic field norm setting can take the values From material, External, or User

defined.

When External is selected, specify the External material to use (from the Materials node under Global Definitions). This setting allows using material models or constitutive relations defined in an external library. See Working with External Materials for more information.

When User defined is selected, specify an expression for the magnetic field norm. The direction of the magnetic field is taken to be the same as the direction of the magnetic flux density at each point.

Do not select this option in a Frequency Domain study, such as when using The Induction Heating Interface. This option is not relevant for time harmonic modeling, which assumes linear material properties.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 197

Page 198: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

198 | C H A P T E

Magnetic LossesThis option introduces a complex relative permeability and it is intended for time-harmonic (frequency domain) studies. Therefore, it is not available for The Magnetic Fields, No Currents Interface.

Select Magnetic losses μ′ and μ″ (dimensionless) to describe the relative permeability as a complex-valued quantity: μr = μ′ + iμ″, where μ′ and μ″ are the real and imaginary parts, respectively.

Remanent Flux DensitySelect Remanent flux density Br (SI unit: T) to use the constitutive relation B = μ0μrH + Br, where Br is the remanent flux density (the flux density when no magnetic field is present).

• The default relative permeability μr (dimensionless) uses values From material. For User defined, select Isotropic, Diagonal, Symmetric, or Anisotropic based on the characteristics of the relative permeability and enter another value or expression in the field or matrix.

• Enter x and y components for the Remanent flux density Br. For 3D components, enter x, y, and z components.

MagnetizationSelect Magnetization M (SI unit: A/m) to use the constitutive relation B = μ0H + μ0M. Enter x and y components. For 3D components, enter x, y, and z components.

Effective HB CurveSelect Effective HB curve |H|eff (SI unit: A/m) to use an effective curve that provides the local linearized relation between the magnetic flux density B and the magnetic field H in time-harmonic problems.

Hysteresis Jiles-Atherton modelSelect the Hysteresis Jiles-Atherton model to use in the constitutive relation B = μ0H + μ0M with the magnetization M (SI unit: A/m) computed from the solution of the 5 parameters Jiles-Atherton model. Specify the five parameters Ms, a, k, c, and α either from the material (default) or as user defined. The example material

This option is designed for time-harmonic (Frequency domain) problems and implements a effective saturation model for nonlinear materials. See Effective Nonlinear Magnetic Constitutive Relations for more information.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 199: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Jiles-Atherton Isotropic Hysteretic Material is available in the AC/DC material library. The parameters may be tensor quantities resulting in the modeling of an anisotropic hysteretic material as shown in the application library entry:.

An entry Initial Magnetization is present to set the initial values of Jiles-Atherton variables.

The Discretization section that is used to chose the discretization order of Jiles-Atherton variables becomes visible when “show discretization” is enabled in the model builder.

Ampère’s Law, Magnetostrictive

The Ampère’s Law, Magnetostrictive node adds Ampère’s law for the magnetic field in a magnetostrictive material and provides an interface for defining the electric properties. It is normally used as part of Magnetostriction multiphysics interface together with a Magnetostriction multiphysics coupling node and Magnetostrictive

Material node in the corresponding Solid Mechanics interface. Ampère’s Law,

Magnetostrictive node is added by default to the Magnetic Fields interface when adding a Magnetostriction multiphysics interface. The interface requires the AC/DC Module and at least one of the following modules: Structural Mechanics, MEMS, Acoustics.

C O N D U C T I O N C U R R E N T

This section is described for the Current Conservation feature.

Vector Hysteresis Modeling: Application Library path ACDC_Module/Other_Industrial_Applications/vector_hysteresis_modeling

For a more through description of the model, its parameters and literature references, see The Jiles-Atherton Hysteresis Model in the theory section.

When the Ampère’s Law, Magnetostrictive node is added to the Magnetic Fields interface in the absence of an active Magnetostriction multiphysics coupling node, the material behaves similarly to an Ampère’s Law node with some limitations. Thus, the magnetic permittivity of free space will be assumed. The magnetostrictive effect is then not included in the corresponding equation system.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 199

Page 200: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

200 | C H A P T E

E L E C T R I C F I E L D

The default Relative permittivity εr (dimensionless) for the media is used From material and defined on the shell domain. For User defined, select Isotropic, Diagonal, Symmetric, or Anisotropic based on the characteristics of the permittivity and then enter values or expressions in the field or matrix.

M A G N E T I C F I E L D

Specify the constitutive relation that describes the macroscopic properties of the medium (relating the magnetic flux density B and the magnetic field H) for a magnetostrictive material:

where is material magnetization which depends on the magnetic field and mechanical stress; a particular form of this dependency can be specified under the corresponding Magnetostrictive Material node in the Solid Mechanics interface.

Mr is the remanent magnetization (SI unit: A/m). Enter X and Y components. For 3D components, enter X, Y, and Z components.

Initial Values

The Initial Values node adds an initial value for the magnetic vector potential A that can serve as an initial value for a transient simulation or as an initial guess for a nonlinear solver.

I N I T I A L V A L U E S

Enter values or expressions for the Magnetic vector potential A (SI unit: Wb/m). The defaults are 0 Wb/m.

External Current Density

The External Current Density node adds an externally generated current density Je, which appears on the right-hand side of the equation that the Magnetic Fields interface defines.

B μ0 H M H Smech,( ) Mr+ +[ ]=

M H Smech,( )

• Magnetostriction

• Modeling Magnetostrictive Materials

• Magnetostrictive Material

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 201: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or clicking Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

E X T E R N A L C U R R E N T D E N S I T Y

Enter a value or expression for each component of the External current density Je (SI unit: A/m2). The defaults are 0 A/m2.

The external current density does not contribute to the losses (due to Joule heating), since there is no electric field associated with it. To include the contribution to the losses from the external current density, select the Add contribution of the external

current density to the losses check box. Then select an option from the External losses list—From domain conductivity (the default) or User defined. If From domain

conductivity is selected, the heat source is computed using the conductivity specified in the material model feature (such as Ampère’s Law) that is applied in the domain. For User defined, enter a value for Qe (SI unit: W/m3) to specify a user-defined heat source.

Velocity (Lorentz Term)

This node is only valid in 2D and 2D axisymmetry when only solving for the out-of-plane component of the magnetic vector potential.

The Velocity (Lorentz term) node adds velocity v. The external current is equal to σv × B. It also only valid when solving for both the electric potential and the magnetic vector potential using The Magnetic and Electric Fields Interface.

An operational definition of when it can be used is that the moving domain should only contain an induced magnetic source (magnetization plus eddy currents) that has to be stationary with respect to the motion. Thus, it cannot be used for modeling projectiles of finite length or projectiles containing magnets. It can be used to model conductive, homogeneous spinning disks (magnetic brakes); magnets over a moving infinite

Correct use of the velocity feature requires deep physical insight. In situations when the moving domain is of bounded extent in the direction of the motion, material properties vary in this direction, or the domains contains magnetic sources that also move, the Lorentz term must not be used.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 201

Page 202: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

202 | C H A P T E

homogeneous plane (maglev trains); and flow of homogeneous conducting fluid past a magnet (liquid metal pumps or Hall generators/thrusters, for example).

VE L O C I T Y ( L O R E N T Z T E R M )

User defined is selected by default. Enter the components for the Velocity vector v (SI unit: m/s) or, if present, select any velocity field defined in the model. For example, using the velocity field is useful when coupling to the velocity field of a fluid for a magnetohydrodynamic model.

Magnetic Insulation

The Magnetic Insulation node is the default boundary condition for the Magnetic Fields interface and adds a boundary condition that sets the tangential components of the magnetic potential to zero at the boundary n × A = 0.

Magnetic insulation is a special case of the magnetic potential boundary condition that sets the tangential component of the magnetic potential to zero.

This node is used for the modeling of a lossless metallic surface, for example, a ground plane or as a symmetry type boundary condition. The node imposes symmetry for magnetic fields and “magnetic currents.” In the transient and time harmonic formulations, it also imposes antisymmetry for electric fields and electric currents. The node supports induced electric surface currents and thus any prescribed or induced electric currents (volume, surface, or edge currents) flowing into a perfect electric conductor boundary are automatically balanced by induced surface currents.

If you are not sure how to proceed, contact the COMSOL Support Center: http://www.comsol.com/support.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 203: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The Magnetic Insulation node can also be applied on interior boundaries. The boundary will then support two surface current densities on the two sides, denoted bu Jsu (upside) and Jsd (downside).

Figure 5-1: The magnetic insulation boundary condition is used on exterior and interior boundaries representing the surface of a lossless metallic conductor or (on exterior boundaries) a symmetry cut. The shaded (metallic) region is not part of the model but still carries effective mirror images of the sources. Note also that any current flowing into the boundary is perfectly balanced by induced surface currents. The tangential vector potential (and electric field) vanishes at the boundary.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Magnetic Field

The Magnetic Field node adds a boundary condition for specifying the tangential component of the magnetic field at the boundary:

The Harmonic Perturbation subnode (it is of the exclusive type) is available from the context menu (right-click the parent node) or on the Physics toolbar by clicking the Attributes menu and selecting Harmonic Perturbation. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

II '

J

Js

Js

Weak constraints perform poorly when applied on vector elements. They should be used when the magnetic vector potential is discretized with Lagrange elements, for example, when solving for out-of-plane component in a two-dimensional component.

n H× n H0×=

T H E M A G N E T I C F I E L D S I N T E R F A C E | 203

Page 204: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

204 | C H A P T E

M A G N E T I C F I E L D

Enter the value or expression for the Magnetic Field H0 (SI unit: A/m) vector coordinates. The defaults are 0 A/m.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Surface Current

The Surface Current node adds a boundary condition for a surface current density Js:

These expressions apply to exterior and interior boundaries respectively. Add a contribution as a Harmonic Perturbation by right-clicking the parent node or clicking Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

S U R F A C E C U R R E N T

Enter values or expressions for the Surface current density Js0 (SI unit: A/m) coordinates. The defaults are 0 A/m.

Magnetic Potential

The Magnetic Potential node adds a boundary condition for the magnetic vector potential:

M A G N E T I C P O T E N T I A L

Enter a value or expression for the Magnetic vector potential A0 (SI unit: Wb/m) coordinates.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

n H×– Js=

n H1 H2–( )× Js=

n A× n A0×=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 205: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Perfect Magnetic Conductor

The Perfect Magnetic Conductor boundary condition n × H = 0 is a special case of the surface current boundary condition that sets the tangential component of the magnetic field and thus also the surface current density to zero. On external boundaries, this can be interpreted as a “high surface impedance” boundary condition or used as a symmetry type boundary condition. It imposes symmetry for electric fields and electric currents. Electric currents (volume, surface, or edge currents) are not allowed to flow into a perfect magnetic conductor boundary as that would violate current conservation. On interior boundaries, the perfect magnetic conductor boundary condition literally sets the tangential magnetic field to zero, which, in addition to setting the surface current density to zero, also makes the tangential magnetic vector potential (and in dynamics the tangential electric field) discontinuous.

Figure 5-2: The perfect magnetic conductor boundary condition is used on exterior boundaries representing the surface of a high impedance region or a symmetry cut. The shaded (high impedance) region is not part of the model but nevertheless carries effective mirror images of the sources. Note also that any electric current flowing into the boundary is forbidden as it cannot be balanced by induced electric surface currents. The tangential magnetic field vanishes at the boundary.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Line Current (Out-of-Plane)

Use the Line Current (Out-of-Plane) node, selected from the Points menu, to specify a line current out of the modeling plane. In axially symmetric geometries this is the rotational (azimuthal) direction; in 2D geometries this is the z-direction.

L I N E C U R R E N T ( O U T - O F - P L A N E )

Enter a value or expression for the Out-of-plane current I0 (SI unit: A).

II '

Js=0

J=0

T H E M A G N E T I C F I E L D S I N T E R F A C E | 205

Page 206: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

206 | C H A P T E

Electric Point Dipole

Add Electric Point Dipole nodes to 3D and 2D components. This represents the limiting case of when the length d of a current filament carrying uniform current I approaches zero while maintaining the product between I and d. The dipole moment is a vector entity with the positive direction set by the current flow.

D I P O L E S P E C I F I C A T I O N

Select a Dipole specification—Magnitude and direction (the default) or Dipole moment.

D I P O L E P A R A M E T E R S

Under Dipole specification:

• For Magnitude and direction enter coordinates for the Electric current dipole moment

direction np (the defaults are 0) and Electric current dipole moment, magnitude p (SI unit: A⋅m) (the default is 0 A⋅m).

• For Dipole moment enter coordinates for the Electric current dipole moment p (SI unit: A⋅m). The defaults are 0 A⋅m.

Gauge Fixing for A-Field

The Gauge Fixing for A-Field node enforces the gauge ∇⋅A = 0 by adding an additional potential variable, ψ, and its associated conservation equation to the system. This is often necessary to get a unique and numerically stable solution to the equation solving for the magnetic vector potential A.

For 2D and 2D axisymmetric components. Gauge fixing is available when vector (curl) shape functions are used, that is, when having in-plane dependent variables. The node is made available when In-plane vector

potential or Three-component vector potential is selected from the Components section on the Settings window for The Magnetic Fields Interface.

Explicit Gauge Fixing/Divergence Constraint

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 207: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

D O M A I N S E L E C T I O N

From the Selection list, choose the domains to define the gauge-fixing potential ψ. In most cases, the feature should be applied to all domains where the magnetic vector potential A is solved for. By default, the selection is set to All domains, ensuring that the gauge fixing is applied to all the valid domains in the model.

G A U G E F I X I N G F O R A - F I E L D

The variable ψ is used to impose a condition on the derivatives of the magnetic vector potential, so its absolute value does not have particular significance; only its gradient enters the equations (the variable ψ acts more or less like a potential). The absolute value of the variable can be set by entering the Divergence condition variable scaling ψ 0 (SI unit: A/m). The default value is 1 A/m, which is appropriate for most models.

A D V A N C E D S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

This section allows a more fine control on the boundary conditions for ψ applied by the Gauge Fixing feature. The domain equation for ψ only imposes a condition on the gradient, so it is important to constrain the absolute value of ψ to ensure a non-singular model. The Constant value on insulation boundaries check box (selected by default) imposes a constant value on the conductive boundaries in the model, such as Magnetic Insulation. Select the Method to enforce this condition: Constrain value (the default) or Constrain tangential gradient.

If there are no such boundaries, select the Constrain variable in at least one point to ensure that there is always a constraint set on the value of the divergence condition variable ψ.

If you apply Gauge Fixing across pair boundaries, the internal logic for constraining ψ in at least one point does not work. The problem is most likely to appear in gauge fixing for rotating machinery. Assume you have one gauge fixed Ampère's Law domain in the stator and one in the rotor, then one must use separate Gauge Fixing features for these as the geometry analysis for setting up point constraints on ψ does not work across pairs. It can also be handled by adding manual constraints on ψ.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 207

Page 208: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

208 | C H A P T E

Coil

The Coil node can be used to model coils, cables and other conductors subject to a lumped excitation, such as an externally applied current or voltage. The Coil feature transforms this lumped excitation into local quantities (electric field and electric current density), and computes lumped parameters of interest such as impedance, and inductance.

The Coil feature supports two different Conductor models:

• Single conductor, which models a conductive body such as a wire, busbar, or other metallic conductor in which the current flows freely due to the material’s conductivity. This model can be used when the current flow has a well-defined beginning and end (for example, connections to an external source) or is closed in a loop.

• Homogenized multi-turn, which models a bundle of tiny wires tightly wound together but separated by an electrical insulator. In this scenario, the current flows only in the direction of the wires and is negligible in other directions.

The Coil feature is available both for domain and for boundary selections. In the latter case, it represents a flat coil or a conductor with a thickness negligible compared with the other dimensions. Different subnodes can be added to the Coil node in different cases.

The global Harmonic Perturbation subnode is available from the context menu (right-click the parent node and select it from the Global menu) or from the Physics toolbar, Attributes menu. The subnode can be used to apply a harmonic perturbation to the coil excitation.

In 2D and 2D axisymmetric components, the Coil feature supports the Coil group functionality, that can be activated by selecting the corresponding check box.

The Domain Selection has to be complete in the sense that selecting only part of a contiguous conductor will lead to unphysical results.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 209: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Refer to the Coil Features section in the modeling guide for more information about this node.

M A T E R I A L TY P E

The Material type setting decides how materials behave and how material properties are interpreted when the mesh is deformed. Select Solid for materials whose properties change as functions of material strain, material orientation and other variables evaluated in a material reference configuration (material frame). Select Non-solid for materials whose properties are defined only as functions of the current local state at each point in the spatial frame, and for which no unique material reference configuration can be defined. Select From material to pick up the corresponding setting from the domain material on each domain. Since Coil features model conductors or bundles of wires, the correct choice is usually Solid.

C O I L

Coil NameEnter a Coil name. This name is appended to the global variables (current, voltage) defined by this coil, and it can be used to identify the coil in a Coil Geometry Analysis study step.

Conductor ModelSelect the Conductor model for the coil. The choices correspond to rather different physical model, although the set up is similar. The Single conductor model (the default) is appropriate for solid, massive current-carrying conductors. The Homogenized

multi-turn model represent a bundle of tiny wires that are not geometrically resolved but taken into account in their average effect. The choice of Conductor model affects the controls that are visible in the GUI and the available subnodes for the Coil feature.

In 2D and 2D axisymmetric components, the wires are assumed to be in the out-of-plane direction.

See Coil Features in this guide to learn more about using this feature.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 209

Page 210: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

210 | C H A P T E

Coil Type (3D Homogenized Multi-Turn)This section is available when selecting Homogenized multi-turn as the Conductor model in 3D components and is used to specify the coil geometry (the direction of the wires).

Select a Coil Type—Linear (the default), Circular, Numeric, or User defined. The different alternatives are described in the following sections. Also see Using Coils in 3D Models for more information.

When Single conductor is selected as the Conductor model, the coil behaves as if Coil Type is Numeric, including the presence of the Geometry Analysis subnode.

Linear Coil TypesIn a Linear coil, all the wires are parallel and straight lines. Use the Coil Geometry subnode to select an edge or a group of co-linear edges. The direction of the wires and the coil length is taken to be the direction and the length of the edge(s), as marked by the red arrow.

To respect the current conservation law, the applied currents cannot originate from interior boundaries. A Linear coil should therefore be terminated on exterior boundaries.

Circular Coil TypesIn a Circular coil, the wires are wound in circles around the same axis. Use the Coil Geometry subnode to select a group of edges forming a circle or a part of a circle around the coil’s axis. From the selected edge, the coil axis is computed and the direction of the wires is taken to be the azimuthal direction around the axis, as marked by the red arrows. The coil length used is simply the length of the edges; the best approximation is therefore obtained when the radius of the edges is close to the average radius of the coil.

An additional subnode is needed to completely define the coil geometry:

• For Linear or Circular the Coil Geometry subnode is added by default.

• For User defined the User Defined Coil Geometry subnode is added by default.

• For Numeric the Geometry Analysis subnode is added by default.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 211: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Numeric Coil TypesThis option is available at the domain level only. In a Numeric coil, the current flow is computed automatically in a Coil Geometry Analysis study step. Use the Geometry Analysis subnode to set up the problem.

User Defined Coil TypesFor User defined manually specify the direction of the wires as a vector field and the length of the coil. Use the User Defined Coil Geometry subnode to specify the coil geometry.

Coil Group (2D and 2D Axisymmetric Components)The Coil group check box is only available for 2D and 2D axisymmetric components. Select this check box to enable the Coil group mode for this feature. With this settings, the domains or domain groups in this feature’s selection are considered series-connected. Selecting this check box activates the Domain Group subnode. See Coil Groups for more information.

Coil ExcitationSelect a Coil excitation—Current (the default), Voltage, Circuit (voltage), Circuit

(current), or Power (2D and 2D axisymmetric components only).

• Current forces a total current flowing in the coil. Enter a Coil current Icoil (SI unit: A). The default is 1 A. See the box below for study limitations on this setting.

• Voltage applies a total voltage across the coil enter a Coil voltage Vcoil (SI unit: V). The default is 1 V.

• Circuit (current) works similarly to the Current excitation, but in this case the inputs are provided by a circuit connection.

• Circuit (voltage) works similarly to the Voltage excitation, but in this case the inputs are provided by a circuit connection.

• Power (only available for 2D and 2D axisymmetric components) forces the coil input power (cycle-average in frequency studies) to the specified value. Choosing this

Automatic Coil Geometry Analysis

T H E M A G N E T I C F I E L D S I N T E R F A C E | 211

Page 212: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

212 | C H A P T E

option makes the problem nonlinear. For Power enter a Coil power Pcoil (SI unit: W). The default value is 1 W.

C O N D U C T I O N C U R R E N T

This section is available only when Single conductor is selected as the Coil model. In this case, the coil represents a solid, massive conductor and the conductivity of the material is required to compute the current density flowing in it.

This section is identical to the one in the Ampère’s Law node.

H O M O G E N I Z E D M U L T I - TU R N

This section is available only when Homogenized multi-turn is the selected as the Coil

model. In this case, the coil represents a bundle of tiny wires separated by an insulator. Additional settings can be specified.

Number of TurnsEnter the Number of turns N. The default is 10. This is the number of tiny wires constituting the coil. With the same current applied, more turns create a higher current density, but the total coil resistance also increases.

Coil Wire ConductivityEnter a Coil wire conductivity σcoil (SI unit: S/m). The default value is approximately the conductivity for copper, 6·107 S/m. This parameter represents the conductivity of the metal wires forming the coil. This is not the bulk conductivity of the material, which is instead set to zero according to the lumped model of a bundle of wires.

When using the Current, Circuit (current) and Power options, the coil feature sets up a control problem for the coil voltage and current. Due to its complexity, the following limitations apply:

• The Power option is only available for 2D and 2D axisymmetric components.

• The Current and Circuit (current) options should be used with care in Time Dependent study steps. One should avoid applying a current step excitation (for example a fixed nonzero current) as that will lead to unphysical results and/or numerical instability.

• See Coil Features in this guide to learn more about using this feature.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 213: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Coil Wire Cross-Section AreaEnter the cross-section area of the individual wire in the bundle. It is used, for example, to compute the lumped resistance of the coil. The area can be specified in different ways, according to the option selected in the Coil wire cross-section area list—User

defined (the default), Standard wire gauge, American wire gauge (Brown & Sharpe), or From round wire diameter.

• For User defined, enter the value of the cross section area acoil (SI unit: m2). The default is 10−6 m2.

• For Standard wire gauge, enter the SWG size. Sizes between 7/0 and 50 are available. The default size is 0.

• For American wire gauge (Brown & Sharpe), enter the AWG size. Sizes between 0000 and 40 are available. Sizes such as 0000 can be also written as 4/0. The default size is 0.

• For From round wire diameter, enter the diameter of the individual wire dcoil (SI unit: m). The cross-section area of the round wire will be computed from it. The default value of dcoil is 1 mm.

M A G N E T I C F I E L D A N D E L E C T R I C F I E L D

At the domain level, the Coil node replaces the Ampère’s Law node in the definition of the material model for the domain. The Settings window for the domain node contains the sections Magnetic Field and Electric Field, identical to the ones in the Ampère’s Law node.

When Single conductor is selected as the Conductor model, the material properties to be specified are the ones of the material constituting the domain. when Homogenized

multi-turn is selected, specify the homogenized material properties of the domain, that is, the homogenized properties of the conducting wires and the surrounding insulator.

S T A B I L I Z A T I O N

To display this section, click the Show button ( ) and select Stabilization. This section is available only in 3D components when using Homogenized multi-turn as the Conductor model and it contains advanced settings relative to the accuracy and stabilization of the solution.

The Accurate coil voltage calculation check box enables a current filtering functionality that improves the accuracy of the computed electric field and the induced coil voltage, at the cost of a slightly increased number of degrees of freedom. This functionality is only applicable for frequency domain studies, and is active by default.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 213

Page 214: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

214 | C H A P T E

For the purpose of stabilizing the solution, the coil feature can apply a small electric conductivity to the coil domain. Use the Stabilization combo box to specify the value of the conductivity. Choose Automatic (the default) to use a conductivity automatically computed by the coil. In frequency domain studies, the conductivity is chosen so that the skin depth in the coil is 1000 times larger than the coil length (see the sections Coil Geometry and User Defined Coil Geometry below). It is deduced from the formula

by setting the coil length, equal to the skin depth δ. In other study types the conductivity is set to 0.6 S/m.

If None is chosen, no conductivity is used in the coil domain. Choose User defined to specify the Electrical conductivity in the coil domain σΩ (SI unit: S/m). The default value is 1 S/m. The purpose of this electrical conductivity is only to stabilize the solution. According to the Homogenized multi-turn model, the domain should not be conductive and all the currents should flow in the direction of the wires only.

Harmonic Perturbation

The Harmonic Perturbation subnode is available at the global level from the context menu (right-click the Coil parent node) or from the Physics toolbar, Attributes menu. Use this feature to specify a harmonic perturbation for the coil excitation.

C O I L

A harmonic perturbation can be specified only if the Coil excitation of the parent feature is Coil current or Coil voltage. In the first case, enter a Coil current Icoil (SI unit: A). The default is 1 A. In the second case, enter a Coil voltage Vcoil (SI unit: V). The default is 1 V.

δ 2ωμσ-----------=

• Coil Excitation

• Power Excitation

• Using Coils in 3D Models

Harmonic Perturbation, Prestressed Analysis, and Small-Signal Analysis in the COMSOL Multiphysics Reference Manual

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 215: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Coil Geometry

The Coil Geometry subnode of the Coil is available if the Conductor model of the parent feature is Homogenized multi-turn and the Coil type is Linear or Circular. This feature was previously called Reference Edge. This subnode is used to specify the direction of the tiny wires constituting the multi-turn coil.

• In Linear coils, the wires are all parallel and straight lines. Select an edge or a group of co-linear edges. The direction of the wires and the coil length is taken to be the direction and the length of the edge(s). To avoid unphysical currents, a Linear coil should be terminated on external boundaries.

• In Circular coils, the wires are wound in circles around the same axis. Select a group of edges forming a circle or a part of a circle around the coil’s axis. From the selected edge(s), the coil axis is computed and the direction of the wires is taken to be the azimuthal direction around the axis. The coil length used is simply the length of the edges; the best approximation is obtained when the radius of the edges is close to the average radius of the coil.

Select the Use robust geometry analysis method check box to use an alternative algorithm for the computation of the coil axis and direction. This method works even in models without geometry (for example with an imported mesh), but requires that the selected edges form a complete circle.

C O I L G E O M E T R Y

• The direction of the coil is shown in the Graphics window with a blue arrow. Select the Reverse direction check box to reverse the direction of the coil.

• The length of the coil is computed from the length of the selected edges. To manually specify the length, select the Override length of the edges check box, and enter the Total length of the edges Ledges (SI unit: m).

• In domain features, the average cross-section area of the domain is computed automatically from the domain volume and the length of the edges. The cross-section area is used, for example, to compute the coil current density. To manually specify a cross-section area, select the Override domain area check box, and enter the Average domain cross section area Adomain (SI unit: m2)

• If the model represents only a part of a geometry obtained from symmetry cuts (for example, a quarter of a circle), use the settings under Symmetry specification to specify appropriate correction factors. Enter the Coil length multiplication factor FL and Coil area multiplication factor FA (dimensionless integer numbers). The actual length of the coil, used to compute the coil voltage and resistance, is then computed

T H E M A G N E T I C F I E L D S I N T E R F A C E | 215

Page 216: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

216 | C H A P T E

as the product FL·Ledges. The cross-section area of the coil is computed as FA·Adomain.

User Defined Coil Geometry

The User Defined Coil Geometry subnode is available for Coil if the Conductor model of the parent feature is Homogenized multi-turn and the Coil type is set to User defined. Specify in this feature an arbitrary vector field that defines the direction of the wires in the coil. Such field can be an analytic expression or can be computed using, for example, a Curvilinear Coordinates physics.

For domain features, information on the input/output boundaries is necessary to complete the set up of the coil feature. Use the Input and Output subfeatures to this node to select the input/output boundaries of the coils, external boundaries where the vector field representing the wire direction has a nonzero normal component. The selection can be left empty if there are no such boundaries, for example in the case of a closed-loop coil. This operation is necessary in frequency domain studies if the Accurate voltage calculation is active in the parent feature.

C O I L G E O M E T R Y

• Enter the Coil current flow ecoil, a vector field representing the local direction of the wires, which can be an analytic expression, or the solution of another physics (for example, Curvilinear Coordinates). The vector field will be normalized.

• Enter the Domain length Ldomain (for domain features) or the Boundary length Lboundary (for boundary features). The SI unit is meters. This value should correspond to the average length of the wires in the coil, before any symmetry correction.

• If the model represents only a part of a geometry obtained from symmetry cuts (for example, a quarter of a circle), use the settings under Symmetry specification to specify appropriate correction factors. Enter the Coil length multiplication factor FL and Coil area multiplication factor FA (dimensionless integer numbers). The actual length of the coil, used to compute the coil voltage and resistance, is then computed

• See Using Coils in 3D Models in the modeling section to learn more about this node.

• The Magnetic Fields Interface

• Theory for the Magnetic Fields Interface

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 217: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

as the product FL·Ldomain(or FL·Lboundary for boundary features). The cross-section area of the coil is computed as FA·Adomain.

Input (for User Defined Coil Geometry)

The Input subnode is added by default as subnode of the User Defined Coil Geometry node, and is used to provide more information on the coil geometry. Use it to specify the boundaries where the wires (the vector field specified in the parent User Defined Coil Geometry feature) enter the domain. The selection can be left empty in case of a closed-loop coil.

This node should be used in combination with the Output (for User Defined Coil Geometry) node.

Output (for User Defined Coil Geometry)

The Input subnode is added by default as subnode of the User Defined Coil Geometry node, and is used to provide more information on the coil geometry. Use it to specify the boundaries where the wires (the vector field specified in the parent User Defined Coil Geometry feature) leave the domain. The selection can be left empty in case of a closed-loop coil.

This node should be used in combination with the Input (for User Defined Coil Geometry) node.

Override Coil Inlet/Outlet

The Override Coil Inlet/Outlet subnode is available at the domain level from the context menu (right-click the Coil parent node) or from the Physics toolbar, Attributes menu. This is an advanced feature, and is normally not required.

This feature is available if the Accurate coil voltage calculation functionality is enabled in the Stabilization section of the parent feature. This functionality performs a current filtering to improve the accuracy of the computed electric field and coil voltage in frequency domain. For this filtering to work properly, special conditions must be defined on the inlet/outlet boundaries, where the wire direction has a nonzero normal component. For Linear and Circular coils, the geometry analysis algorithm detects automatically these boundaries, but the Override Coil Inlet/Outlet feature can be used in case the detection fails. For Numeric coils, or when the Conductor model is Single

conductor, the subnodes of the Geometry Analysis feature are used to identify the

T H E M A G N E T I C F I E L D S I N T E R F A C E | 217

Page 218: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

218 | C H A P T E

inlets/outlets. For User defined coils, the User Defined Coil Geometry can be used to select the inlets/outlets instead.

Geometry Analysis

In 3D components, when Conductor model of the parent feature is Homogenized

multi-turn and Numeric is selected as Coil type, or if Conductor model of the parent feature is Single conductor in the Coil node, the Geometry Analysis subnode is added by default. To this, an Input (for Geometry Analysis) subnode is also added by default.

This subnode is needed to set up the automatic analysis of the coil geometry that can determine the direction of the wires (and of the current flow). The inlet and outlet boundaries for the wires are specified using the Input (for Geometry Analysis) and Output (for Geometry Analysis) subnodes.

To complete the setup for the computation of the coil direction, a Coil Geometry

Analysis study step must be added to the study before the main study step.

If the model represents only a part of a geometry obtained from symmetry cuts (for example, a quarter of a circle), use the settings under Symmetry specification to specify appropriate correction factors. Enter the Coil length multiplication factor FL and Coil

area multiplication factor FA (dimensionless integer numbers). The actual length of the coil, used to compute the coil voltage and resistance, is then computed as the product FL·L, where L is the length of the domain. The cross-section area of the coil is computed as FA·A, where A is the cross-section area of the domain. The values of L and A are computed automatically during the Coil Geometry Analysis study step.

See Accurate Coil Voltage Calculation in the modeling section to learn more about this node.

• Using Coils in 3D Models

• Automatic Coil Geometry Analysis

• The Magnetic Fields Interface

• Theory for the Magnetic Fields Interface

• Studies and Solvers in the COMSOL Multiphysics Reference Manual

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 219: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Input (for Geometry Analysis)

The Input subnode is added by default as subnode of the Geometry Analysis node. Use it to specify the boundaries where the wires enter the domain or, in the case of a closed-loop coil, an interior boundary crossed by the wires. The wire direction is forced to be orthogonal to the boundary. Used in combination with the Output (for Geometry Analysis) node, it also defines the direction of the current flow in an open coil (from Input to Output).

When applied on one or more boundaries, a red arrow in the Graphics window will show the direction of the wire. Select the Reverse direction check box to reverse the direction of the wires.

Output (for Geometry Analysis)

The Output subnode is available from the context menu (right-click the Geometry Analysis parent node) or from the Physics toolbar, Attributes menu. Use it to specify the boundaries where the wires exit the domain in an open coil. No Output subnode is required in a closed-loop coil. The wire direction is forced to be orthogonal to the boundary. Used in combination with the Input (for Geometry Analysis) node, it also defines the direction of the current flow (from Input to Output).

For an open coil, the Input subnode should never be added to boundaries that are interior to the coil’s domain selection. Note also that an open coil should have its start (Input) and end (Output) on boundaries that are exterior to the domain selection of the parent physics (e.g. Magnetic Fields) and of a type that supports closure of the coil by means of an induced surface current density. The latter condition means Magnetic Insulation and/or, in the frequency domain, Impedance Boundary Condition.

For an open coil, the Input subnode should never be added to boundaries that are interior to the coil’s domain selection. Note also that an open coil should have its start (Input) and end (Output) on boundaries that are exterior to the domain selection of the parent physics (e.g. Magnetic Fields) and of a type that supports closure of the coil by means of an induced surface current density. The latter condition means Magnetic Insulation and/or, in the frequency domain, Impedance Boundary Condition.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 219

Page 220: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

220 | C H A P T E

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Connected Boundaries

The Connected Boundaries subnode is available from the context menu (right-click the Geometry Analysis parent node) or from the Physics toolbar, Attributes menu. It can be used to mark two or more boundaries as being electrically connected for the purpose of the Coil Geometry Analysis preprocessing step.

The vector field computed in the Coil Geometry Analysis step (which corresponds to the current flow or the wire direction, according to the Conductor model selected) will have zero total flux into the selected boundaries. For example, if two non-connected boundaries are selected, the feature will enforce the condition that the current entering one boundary must be equal to the current leaving the other boundary.

The feature models an electrical connection between the selected boundaries, and can therefore be used for coils constituted of multiple series-connected domains.

Single-Turn Coil

The Single-Turn Coil node is available both as a domain and as a boundary feature. It models a conductive (for example, metallic) domain or boundary subject to a lumped excitation, such as a total voltage or current. The excitation specified is translated into a conduction current flowing in the domain (as a current density) or the boundary (as a surface current density). The Single-Turn Coil domain node is a contributing feature, it is applied on top of an Ampère’s Law feature that provides the material model (electrical conductivity and relative permittivity). The boundary node is instead exclusive, since the material model is provided in its Thin Layer section.

• Using Coils in 3D Models

• Automatic Coil Geometry Analysis

• The Magnetic Fields Interface

• Theory for the Magnetic Fields Interface

• Studies and Solvers in the COMSOL Multiphysics Reference Manual

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 221: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

In 2D and 2D axisymmetric components, the Single-Turn Coil feature can be turned into a Coil group by selecting the corresponding check box in the Settings window.

This node is not available in 3D for The Magnetic and Electric Fields Interface and The Induction Heating Interface. In 2D and 2D axisymmetric components, the direction of the applied electric field is assumed to be out-of-plane. The settings specify how to compute the electric field and the relative current density.

The approach for 3D components is different than for 2D and 2D axisymmetric components. An additional dependent variable Vcoil, with the dimension of an electric potential, is defined in the domain and the current continuity equation is added to the system of equations. The problem solved in the domain becomes effectively an A-V formulation of Maxwell's equation and current conservation, similar to the one used in the Magnetic and Electric Fields interface.

The Single-Turn Coil feature is obsolete in the Magnetic Field and Rotating

Machinery, Magnetic features and will be removed in future versions. The recommended alternative is to use a Coil feature with the Conductor model set to Single conductor.

See Coil Features in the modeling section to learn more about using this node.

For 3D components add boundary conditions for the coil potential. The Gap Feed (at the domain level only), Boundary Feed, Ground, and Floating Potential subnodes are available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu. Use these to define the geometry of the coil.

A typical setup is to add a Gap Feed, if the coil is closed in a loop, or a Boundary Feed and a Ground, if the coil is open. In order to avoid unphysical current distribution in the Boundary Feed and Ground case, the boundary conditions should be applied on external boundaries. The Gap

Feed subnode is not available for the boundary node for topological reasons.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 221

Page 222: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

222 | C H A P T E

T H I N L A Y E R ( 2 D A N D 2 D A X I S Y M M E T R I C C O M P O N E N T S )

This section is available for 2D and 2D axisymmetric components at the boundary level. Specify here the properties of the material constituting the thin conductive layer.

Select a Coil conductivity σcoil (SI unit: S/m)—From material (the default) or User

defined. For User defined select Isotropic, Diagonal, Symmetric, or Anisotropic based on the characteristics of the coil conductivity, and then enter values or expressions in the field or matrix. The default is 1 S/m.

Select a Coil relative permittivity εr,coil (dimensionless)— From material (the default) or User defined. For User defined select Isotropic, Diagonal, Symmetric, or Anisotropic based on the characteristics of the coil relative permittivity, and then enter values or expressions in the field or matrix. The default is 1.

Enter the Thickness ds (SI unit: m) of the thin conductive layer. The default is 1 mm.

S I N G L E - TU R N C O I L

3D ComponentsFor 3D components, the parameters Coil conductivity and Coil relative permittivity define the material model to be used with the current continuity equation. Normally, these parameters should be the same used in the Ampère’s Law feature active in the domain.

Select a Coil conductivity σcoil (SI unit: S/m)—From material or User defined. For User

defined select Isotropic, Diagonal, Symmetric, or Anisotropic based on the characteristics of the coil conductivity, and then enter values or expressions in the field or matrix.

Select a Coil relative permittivity εr,coil (dimensionless)— From material or User defined. For User defined select Isotropic, Diagonal, Symmetric, or Anisotropic based on the characteristics of the coil relative permittivity, and then enter values or expressions in the field or matrix.

When defining this node on a boundary, also enter a Thickness ds (SI unit: m). The default is 1 mm.

The 3D Single-Turn Coil is applicable only in Stationary and Frequency Domain studies, since it is a local application of the physical model used in the Magnetic and Electric Fields interface.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 223: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

2D and 2D Axisymmetric ComponentsIn 2D and 2D axisymmetric components, the direction of the applied electric field is assumed to be out-of-plane. In these space dimensions, the Coil group check box is available. Select the check box to activate the Coil group functionality.

The settings specifying coil name and excitation are the similar to the ones for the Coil node. See the section Coil for a description of these settings.

Gap Feed

The Gap Feed subnode is available from the context menu (right-click the Single-Turn Coil parent node) or from the Physics toolbar, Attributes menu for 3D components (at the domain level). Gap Feed is used to excite the coil from an internal boundary. It applies a discontinuity in the coil potential across a boundary to enforce a potential difference or a prescribed current. This feature must be applied to an internal boundary in the coil domain, and is typically used to excite a closed loop.

S I N G L E - TU R N C O I L

See Single-Turn Coil for all settings.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Boundary Feed

The Boundary Feed subnode is available from the context menu (right-click the Single-Turn Coil parent node) or from the Physics toolbar, Attributes menu for 3D components. The Boundary Feed node excites the coil acting on the coil potential variable. The feature must be applied to an external boundary.

S I N G L E - TU R N C O I L

See Single-Turn Coil for all settings.

This node should be used with caution in frequency-domain studies. See Using Coils in 3D Models in the modeling section to learn more about this node.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 223

Page 224: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

224 | C H A P T E

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Ground

The Ground subnode is available from the context menu (right-click the Single-Turn Coil parent node) or from the Physics toolbar, Attributes menu for 3D components. The Ground subnode enforces the condition Vcoil = 0 on a boundary.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Floating Potential

The Floating Potential subnode is available from the context menu (right-click the Single-Turn Coil parent node) or from the Physics toolbar, Attributes menu. It can be used to model a boundary at a constant, unknown, coil potential. If applied on multiple non connected boundaries, it models an electrical connection between them. The feature can be used for coils constituted of multiple series-connected domains. Unlike the corresponding feature in other AC/DC physics, this feature only allows zero total current flowing in the boundary. This is to ensure that all currents in the coils are excited by the Boundary Feed or Gap Feeds and are properly accounted for in the postprocessing variables.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Domain Group/Boundary Group

This feature is available as a subnode of a 2D Coil in which the Coil group functionality has been activated. This feature is available both for domain and boundary coil

See Using Coils in 3D Models in the modeling section to learn more about this node.

See Using Coils in 3D Models in the modeling section to learn more about this node.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 225: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

features. The Domain Group/ Boundary Group subnode is available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu.

The Domain Group/Boundary Group feature is used to group together a number of domains/boundaries for the purposes of the coil set up. The selected domains/boundaries will be considered as one by the coil. Normally, when the Coil

group check box is selected, each domain/boundary in the parent’s selection is considered as series-connected to all the other domains/boundaries.

Reversed Current Direction

This feature is available as a subnode of a Coil or Single-Turn Coil in which the Coil

group functionality has been activated. This feature is available both for domain and boundary coil features. The Reversed Current Direction subnode is available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu.

Use this subnode to mark domains or boundaries in which the coil current flows in a reversed direction, that is, to set the positive direction for the current as in-plane (instead of out-of-plane). This subnode can be used in any combination with the Domain Group/Boundary Group subnode.

Lumped Port

Use the Lumped Port condition to apply a uniform electric field between two metallic boundaries. The excitation at the port can be expressed as a voltage or as a current, or via the connection to a circuit interface. The use of this feature is justified in

Coil Groups

Coil Groups

T H E M A G N E T I C F I E L D S I N T E R F A C E | 225

Page 226: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

226 | C H A P T E

frequency-domain studies when the distance between the metallic boundaries is much smaller than the wavelength of the electromagnetic radiation.

The geometry of the port is specified by the Type of port. A Uniform lumped port applies a constant electric field between the metallic electrodes. A Coaxial lumped port applies a radial electric field between two concentric circular metallic boundaries. For these two cases, the dimension of the port is computed automatically by analyzing the geometry. Generally, select User defined to manually specify the direction between the lumped port terminals ah and the dimensions of the port: hport (Height of lumped port) and wport (Width of lumped port), both with SI unit: m.

See S-Parameters and Ports and Lumped Ports with Voltage Input for more information.

For 2D components, a Uniform port applies an in-plane electric field. Therefore, the Uniform value is available for the Port type parameter only if the in-plane vector potential is solved for, according to the settings in the physics interface node. If the Components selected are Out-of-plane

vector potential, the Uniform lumped port is not available.

For 2D axisymmetric components, the radial direction is in-plane with respect to the geometry. Therefore, the Coaxial value is available for the Port type parameter only if the in-plane vector potential is solved for, according to the settings in the physics interface node. If the Components selected are Out-of-plane vector potential, the Coaxial lumped port is not available.

For 2D and 2D axisymmetric components, if the Components selected in the physics interface is Out-of-plane vector potential, the dimension of the port cannot be obtained by analyzing the geometry and must be specified manually by the user. Therefore, User defined is the only option available for the Port type parameter. For this case the Direction between lumped

port terminals is assumed to be in the out-of-plane direction and the input field is not available.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 227: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

PO R T P R O P E R T I E S

Enter a unique Port name. It is recommended to use a numeric name as it is used to define the elements of the S-parameter matrix and numeric port names are also required for port sweeps and Touchstone file export.

Type of PortThe geometry of the port is specified by the Type of port. A Uniform lumped port applies a constant electric field between the metallic electrodes. A Coaxial lumped port applies a radial electric field between two concentric circular metallic boundaries. For these two cases, the dimension of the port is computed automatically by analyzing the geometry.

Select User defined for non uniform ports, for example, a curved port and enter values or expressions in the fields for these additional settings:

• Height of lumped port hport (SI unit: m)

• Width of lumped port wport (SI unit: m)

• A three-dimensional vector specifying the Direction between lumped port terminals ah (the direction of the applied electric field)

Select a Type of port—Uniform, Coaxial, or User defined.

The Type of port options available depend on the Components selected on the physics interface—Out-of-plane vector potential (the default), In-plane

vector potential, or Three-component vector potential.

• For Out-of-plane vector potential the Type of port is User defined.

• For In-plane vector potential or Three-component vector potential select a Type of port—Uniform or User defined.

The Type of port options available depend on the Components selected on the physics interface—Out-of-plane vector potential (the default), In-plane

vector potential, or Three-component vector potential.

• For Out-of-plane vector potential the Type of port is User defined.

• For In-plane vector potential or Three-component vector potential select a Type of port—Coaxial or User defined.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 227

Page 228: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

228 | C H A P T E

TypeFor all Types of ports, select a Terminal type—Cable for a voltage driven transmission line, Current for a current driven port, or Circuit.

Wave Excitation at this Port

S E T T I N G S

Lumped Element

Use a Lumped Element node to mimic the insertion of a resistor, capacitor, inductor or general impedance between two metallic boundaries. It is similar to the Lumped Port but does not allow for an excitation and does not generate S-parameter output.

L U M P E D E L E M E N T P R O P E R T I E S

Enter a unique Lumped element name. See Lumped Port for the rest of the settings.

This section is available if Cable is selected as the Terminal type.

Select On or Off from the Wave excitation at this port list to set whether it is an inport or a listener port (connected to a passive transmission line). For On enter a Voltage V0 (SI unit: V), and Port phase θ (SI unit: rad).

The section is deactivated if a Port sweep is active, since in this case the sweep controls the ports.

For the purpose of computing S-parameters, only one port at the time should be excited, for example by performing a Port sweep. In other cases, for example, when studying microwave heating, more than one inport might be desired, but in this case the S-parameter variables cannot be correctly computed. If several ports are excited at the same time, the S-parameter variables are not available for postprocessing.

This section is available if Cable or Current is selected as the Terminal type.

• For Cable enter the Characteristic impedance Zref (SI unit: Ω).

• For Current enter a current I0 (SI unit: A).

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 229: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

S E T T I N G S

Select a Lumped element type—User defined (the default), Inductor, or Capacitor.

• For User defined enter a Lumped element impedance Zelement (SI unit: Ω; default 50 Ω.)

• For Inductor enter a Lumped element inductance Lelement (SI unit: H; default 1 nH).

• For Capacitor enter a Lumped element capacitance Celement (SI unit: F; default 1 pF).

Edge Current

Use the Edge Current node to specify a line current along one or more edges. A positive edge current flows in the direction marked by the red arrow.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or click Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

E D G E C U R R E N T

Specify the Edge current I0 (SI unit: A). The default is 0 A.

External Magnetic Vector Potential

The External Magnetic Vector Potential boundary condition forces the reduced magnetic vector potential to be zero on the boundary, or, equivalently, forces the total field to be equal to the background field. Apply this boundary condition on external boundaries that are at a distance far enough from the system so that its effect on the background field is negligible.

Impedance Boundary Condition

The Impedance Boundary Condition provides a boundary condition that is useful at boundaries where the electromagnetic field penetrates only a short distance outside the boundary.

This node is only available when solving a problem with a background magnetic vector potential (Reduced field is selected from the Solve for list under Background Field on the physics interface Settings window).

T H E M A G N E T I C F I E L D S I N T E R F A C E | 229

Page 230: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

230 | C H A P T E

The boundary condition approximates this penetration to avoid the need to include another domain in the model. The material properties that appear in the equation are those for the conductive material excluded from the model.

The skin depth (that is, the distance where the electromagnetic field has decreased by a factor e−1) is for a good conductor

The impedance boundary condition is a valid approximation if the skin depth is small compared to the size of the conductor. The source electric field Es can be used to specify a source surface current on the boundary.

The impedance boundary condition is used on exterior boundaries representing the surface of a lossy domain. The shaded (lossy) region is not part of the model. The effective induced image currents are of reduced magnitude due to losses. Any current flowing into the boundary is perfectly balanced by induced surface currents as for the perfect electric conductor boundary condition. The tangential electric field is generally small but non zero at the boundary.

The Harmonic Perturbation subnode (it is of the exclusive type) is available from the context menu (right-click the parent node) or on the Physics toolbar, click the Attributes menu and select Harmonic Perturbation. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

Use it to specify a perturbation source electric field.

μ0μrε0εr jσ ω⁄–------------------------------n H E n E⋅( )n–+× n Es⋅( )n Es–=

δ 2ωμσ-----------=

II '

J

Js

Js

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 231: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

I M P E D A N C E B O U N D A R Y C O N D I T I O N

The following material properties can be defined for the domain outside the boundary, which this boundary condition approximates. The default use the values From material. For User defined enter different values or expressions.

• Relative permittivity, εr (dimensionless)

• Relative permeability, μr (dimensionless)

• Electrical conductivity, σ (SI unit: S/m)

Based on space dimension, enter coordinate values or expressions for the Source electric

field Es (SI unit: V/m).

Transition Boundary Condition

The Transition Boundary Condition is used on interior boundaries to model a sheet of a medium that should be geometrically thin but does not have to be electrically thin. It represents a discontinuity in the tangential electric field. Mathematically it is described by a relation between the electric field discontinuity and the induced surface current density:

Where indices 1 and 2 refer to the different sides of the layer.

TR A N S I T I O N B O U N D A R Y C O N D I T I O N

The Transition Boundary Condition section has the following material properties for the thin layer, which this boundary condition approximates:

This node is available with the Frequency Domain study type.

Js1ZSEt1 ZTEt2–( )

ZS2 ZT

2–

---------------------------------------------=

Js2ZSEt2 ZTEt1–( )

ZS2 ZT

2–

---------------------------------------------=

ZSjωμ–k

------------- 1kd( )tan

----------------------=

ZTjωμ–k

------------- 1kd( )sin

---------------------=

k ω ε σ jω( )⁄( )+( )μ=

T H E M A G N E T I C F I E L D S I N T E R F A C E | 231

Page 232: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

232 | C H A P T E

The defaults use the values From material, taking the properties from the material specified for the boundary. For User defined enter different values or expressions.

• Relative permittivity, εr (dimensionless)

• Relative permeability, μr (dimensionless)

• Electrical conductivity, σ (SI unit: S/m)

• Surface thickness, ds (Si unit: m)

Thin Low Permeability Gap

Use the Thin Low Permeability Gap boundary condition to model gaps in magnetic materials filled with another material with smaller relative permeability. This feature applies the condition

This boundary condition is only applicable on interior boundaries and pair boundaries.Use this boundary condition to model, for example, air gaps in magnetic circuits.

T H I N L O W P E R M E A B I L I T Y G A P

The default Relative permeability μr (dimensionless) is taken From material. For User

defined select Isotropic, Diagonal, Symmetric, or Anisotropic based on the characteristics of the relative permeability, and then enter a value or expression in the field or matrix.

Enter a Surface thickness ds (SI unit: m) for the gap. The default is 1 m.

Magnetic Point Dipole

Apply a Magnetic Point Dipole M (SI unit: m2⋅A) to points. This represents the limiting case of when the cross-section area a of a circular current loop carrying uniform current I approaches zero at while maintaining the product between I and a finite. The dipole moment is a vector entity with the positive direction set by the curl of the current. Magnetic point dipoles are available with 2D and 3D components. See Magnetic Point Dipole (on Axis) for the 2D axisymmetric settings.

D I P O L E S P E C I F I C A T I O N

Select a Dipole specification—Magnitude and direction or Dipole moment.

n H1 H2–( )× ∇td

μ0μr------------∇t A××=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 233: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

D I P O L E P A R A M E T E R S

If Magnitude and direction is selected under Dipole Specification, enter coordinates for the Magnetic dipole moment direction nm and the Magnetic dipole moment, magnitude m (SI unit: m2⋅A).

If Dipole moment is selected under Dipole Specification, enter coordinates for the Magnetic dipole moment m (SI unit: m2⋅A).

Magnetic Point Dipole (on Axis)

Use the Magnetic Point Dipole (on Axis) to apply a point dipole to points on a 2D axisymmetric component. See Magnetic Point Dipole for settings for 2D and 3D components.

M A G N E T I C P O I N T D I P O L E ( O N A X I S )

Enter a Magnetic dipole moment in z direction mz (SI unit: m2⋅A).

Magnetic Shielding

The Magnetic Shielding node adds a boundary condition for magnetic shielding. It describes a thin layer of a highly permeable medium that shields the magnetic field. Because of the presence of this thin layer, the tangential components of the magnetic field and vector potential have discontinuities given by:

In this equation, ds is the surface layer thickness and the relation between the tangential magnetic field Ht and flux density Bt inside the layer can be linear and given by a relative permeability or nonlinear and given by the HB curve of the layer material.

n H1 H2–( )× n Ht Bt( )×=

Bt nA1 A2–

ds-------------------- ×=

The Magnetic Shielding model uses a magnetostatic approach and can only be used in a Stationary study step. For a frequency-domain model of a similar physical object (thin layer) use the Transition Boundary Condition node instead.

T H E M A G N E T I C F I E L D S I N T E R F A C E | 233

Page 234: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

234 | C H A P T E

M A G N E T I C S H I E L D I N G

Enter a value or expression for the Surface thickness ds (SI unit: m).

Relative PermeabilitySelect Relative permeability μr (dimensionless) to use the constitutive relation B = μ0μrH. The default uses values From material. For User defined enter another value or expression.

HB CurveSelect HB curve |H| (SI unit: A/m) to use a curve that relates magnetic flux density B and the magnetic field H as |H| = f(|B|). The Magnetic field norm setting can take the values From material or User defined.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 235: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Th e Magn e t i c F i e l d F o rmu l a t i o n I n t e r f a c e

The Magnetic Field Formulation (mfh) interface ( ), found under the AC/DC branch ( ) when adding a physics interface, is used to compute magnetic fields and induced current distributions. It is especially suitable for time-domain magnetic modeling of materials with a strongly nonlinear E-J characteristic such as superconductors. Stationary, frequency-domain, small-signal analysis and time-domain modeling are supported in 2D and 3D. Note that the formulation requires a nonzero conductivity everywhere.

The physics interface solves Maxwell's equations formulated using the magnetic field as the dependent variable.

The main node is Faraday’s Law, which adds the equation for the magnetic field and provides an interface for defining the constitutive relations and its associated properties such as the relative permeability.

When this physics interface is added, these default nodes are also added to the Model

Builder— Magnetic Field Formulation, Faraday’s Law, Magnetic Insulation (the default boundary condition), Initial Values, and Magnetic Gauss’ Law. Then, from the Physics toolbar, add other nodes that implement, for example, boundary conditions and external currents. You can also right-click Magnetic Field Formulation to select physics features from the context menu.

S E T T I N G S

The Label is the default physics interface name.

The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.

The default Name (for the first physics interface in the model) is mfh.

T H E M A G N E T I C F I E L D F O R M U L A T I O N I N T E R F A C E | 235

Page 236: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

236 | C H A P T E

C O M P O N E N T S

Select Components—Out-of-plane magnetic field, In-plane magnetic field (the default), or Three-component magnetic field for the magnetic field. This choice affect also the directions in which the electric current is allowed to flow: the magnetic field and electric currents are orthogonal.

When In-plane magnetic field or Three-component magnetic field is selected, the Magnetic Gauss’ Law node becomes available, and is added as default.

D E P E N D E N T V A R I A B L E S

The dependent variable is the Magnetic field H. You can change both its field name and the individual component variable names. If the new field name coincides with the name of another magnetic vector potential field in the model, the interfaces share degrees of freedom and component names. The new field name must not coincide with the name of a field of another type, or with a component name belonging to some other field. Component names must be unique within a model, except for fields of the same type sharing a common field name.

D I V E R G E N C E C O N S T R A I N T

To display this section, click the Show button ( ) and select Advanced Physics Options.

The Activate divergence constraint check box is selected by default, which enables the default Magnetic Gauss’ Law node. Click to clear the check box to disable the Magnetic Gauss’s Law node and remove it from the physics interface.

E R R O R C H E C K

To display this section, click the Show button ( ) and select Advanced Physics Options.

When the Check applicability of features in study check box is selected, any features that are incompatible with the study will generate an error message when trying to solve or show the default solver. No solver will be generated. Deselect it and you will be able to run the model, possibly with runtime errors instead. It is available to allow the advanced user to tweak any feature and use it outside of its intended study scope.

This section is only available in 2D and 2D axially symmetric components.

The electric currents and the electric field vectors are orthogonal to the magnetic field. This setting also controls the direction in which applied and induced currents can flow in the model. The default option is to solve for the in-plane components only, allowing an out-of-plane current flow.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 237: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

D I S C R E T I Z A T I O N

To display this section, click the Show button ( ) and select Discretization.

Domain, Boundary, Point, and Pair Nodes for the Magnetic Field Formulation Interface

The Magnetic Field Formulation Interface has these domain, boundary, point, and pair nodes available from the Physics ribbon toolbar (Windows users), Physics context menu (Mac or Linux users), or right-click to access the context menu (all users).

About the Boundary ConditionsWith no surface currents present the physics interface conditions

need to be fulfilled. Because H is being solved for, the tangential component of the magnetic field is always continuous, and thus the condition is automatically fulfilled.

Table 5-2 lists the interior and exterior boundaries available with this physics interface.

• Domain, Boundary, Point, and Pair Nodes for the Magnetic Field Formulation Interface

• Theory for the Magnetic Field Formulation Interface

Superconducting Wire: Application Library path ACDC_Module/Other_Industrial_Applications/superconducting_wire

In general, to add a node, go to the Physics toolbar, no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.

TABLE 5-2: INTERIOR AND EXTERIOR BOUNDARY CONDITIONS FOR THE MAGNETIC FIELD FORMULATION INTERFACE

NODE INTERIOR EXTERIOR

Electric Field x x

Impedance Boundary Condition x

Magnetic Field x x

Magnetic Insulation x x

n2 H1 H2–( )× 0=

T H E M A G N E T I C F I E L D F O R M U L A T I O N I N T E R F A C E | 237

Page 238: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

238 | C H A P T E

Available NodesThese nodes are available for this physics interface and listed in alphabetical order. Also see Table 5-2 for the list of interior and exterior boundary conditions.

These nodes are described for the Magnetic Fields or Electrostatics interface (listed in alphabetical order):

Faraday’s Law

The Faraday’s Law node adds Faraday’s law for the electric field and provides an interface for defining the constitutive relation and its associated properties such as the relative permeability as well as electric properties.

Perfect Magnetic Conductor x x

Surface Magnetic Current Density x x

• Electric Field

• Faraday’s Law

• Initial Values

• Magnetic Gauss’ Law

• Magnetic Insulation

• Surface Magnetic Current Density

• External Current Density

• Force Calculation

• Impedance Boundary Condition

• Magnetic Field

• Perfect Magnetic Conductor

• Velocity (Lorentz Term)

TABLE 5-2: INTERIOR AND EXTERIOR BOUNDARY CONDITIONS FOR THE MAGNETIC FIELD FORMULATION INTERFACE

NODE INTERIOR EXTERIOR

For 2D axisymmetric components, COMSOL Multiphysics takes the axial symmetry boundaries (at r = 0) into account and automatically adds an Axial Symmetry node to the component that is valid on the axial symmetry boundaries only.

In the COMSOL Multiphysics Reference Manual see Table 2-3 for links to common sections and Table 2-4 to common feature nodes. You can also search for information: press F1 to open the Help window or Ctrl+F1 to open the Documentation window.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 239: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Except for two extra options; Resistivity and E-J characteristic, in the Conduction Current settings, and the important notes listed below, see Ampère’s Law for the rest of the settings.

Initial Values

The Initial Values node adds an initial value for the magnetic field H that can serve as an initial value for a transient simulation or as an initial guess for a nonlinear solver.

I N I T I A L V A L U E S

Enter values or expressions for the Magnetic field H (SI unit: A/m) components. The defaults are 0 A/m.

Magnetic Gauss’ Law

The Magnetic Gauss’ Law node is used to impose the condition

on the magnetic flux density by introducing an auxiliary dependent variable ψ with the corresponding equation.

M A G N E T I C G A U S S ’ L A W

The variable ψ is used to impose a condition on the derivatives of the magnetic flux density, so its absolute value does not have particular significance; only its gradient enters the equations (the variable ψ acts more or less like a potential). The absolute

If E-J characteristic is selected in the Conduction Current settings, the External Current Density node cannot be used to drive currents in that domain selection.

In order to obtain a closed system of equations with this physics interface, the Electrical conductivity (defined under Conduction Current) must be nonzero in all domains.

In the Magnetic Field section, the BH curve and Effective BH curve constitutive relations replace respectively the HB curve and the Effective HB

curve constitutive relations available in Ampère’s Law.

∇ B⋅ 0=

T H E M A G N E T I C F I E L D F O R M U L A T I O N I N T E R F A C E | 239

Page 240: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

240 | C H A P T E

value of the variable can be set by entering the Enter a value or expression for the Divergence condition variable scaling Ψ 0 (SI unit: A). The default is 1 A, which is appropriate in most cases.

A D V A N C E D S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

This section allows a more fine control on the boundary conditions for ψ applied by the Magnetic Gauss’ Law feature. The domain equation for ψ only imposes a condition on the gradient, so it is important to constrain the absolute value of ψ to ensure a non-singular model. Select the Constrain variable in at least one point to ensure that there is always a constraint set on the value of the divergence condition variable ψ. The feature also sets up automatically the appropriate boundary conditions for ψ. Use the Method combo box to select the approach used to enforce the boundary condition: Constrain value (the default) or Constrain tangential gradient.

Magnetic Insulation

The Magnetic Insulation node is the default boundary condition for the Magnetic Field Formulation interface. In this formulation, this condition corresponds to setting the tangential components of the electric field to zero at the boundary n × E = 0.

Electric Field

The Electric Field boundary condition

specifies the tangential component of the electric field. This feature can be used to specify a source electric field on the boundary of the conductor.

The Harmonic Perturbation subnode (it is of the exclusive type) is available from the context menu (right-click the parent node) or on the Physics toolbar, click the Attributes menu and select Harmonic Perturbation. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

For more information and the settings, see Magnetic Insulation as described for the Magnetic Fields interface.

n E× n E0×=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 241: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

E L E C T R I C F I E L D

Enter the value or expression for the components of the Electric field E0 (SI unit: V/m). The defaults are 0 V/m.

Surface Magnetic Current Density

The Surface Magnetic Current Density node adds a boundary condition for a surface magnetic current density Jms (a flow of magnetic charges along a boundary):

These expressions apply to exterior and interior boundaries respectively. On exterior boundaries the condition is equivalent to an Electric field boundary condition where the electric field is specified as Jms × n.

Add a contribution as a Harmonic Perturbation by right-clicking the parent node or click Harmonic Perturbation on the Physics toolbar. For more information see Harmonic Perturbation — Exclusive and Contributing Nodes in the COMSOL Multiphysics Reference Manual.

S U R F A C E M A G N E T I C C U R R E N T D E N S I T Y

Enter values or expressions for the Surface magnetic current density Jms, 0 (SI unit V/m) coordinates. The defaults are 0 V/m.

n E×– Jms=

n E1 E2–( )× Jms=

T H E M A G N E T I C F I E L D F O R M U L A T I O N I N T E R F A C E | 241

Page 242: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

242 | C H A P T E

Th e Magn e t i c F i e l d s , No Cu r r e n t s I n t e r f a c e

The Magnetic Fields, No Currents (mfnc) interface ( ), found under the AC/DC branch ( ) when adding a physics interface, is used to compute magnetostatic fields from permanent magnets and other current free magnetic sources. The formulation is stationary but for use together with other physics also time-domain modeling is supported in 2D and 3D.

The physics interface solves Gauss' Law for the magnetic field using the scalar magnetic potential as the dependent variable.

The main node is the Magnetic Flux Conservation feature, which adds the equation for the magnetic potential and provides an interface for defining the material properties and the constitutive relation for the magnetic flux density. It is used when there are no currents and all the magnetic fields are originated by permanent magnets and/or external systems not included in the model.

When this physics interface is added, these default nodes are also added to the Model

Builder— Magnetic Fields, No Currents, Magnetic Flux Conservation, Magnetic Insulation (the default boundary condition), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, additional boundary conditions and point conditions. You can also right-click Magnetic Fields, No Currents to select physics features from the context menu.

S E T T I N G S

The Label is the default physics interface name.

The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.

The default Name (for the first physics interface in the model) is mfnc.

Except where described below, the Settings windows are described for the Magnetic Fields and Electrostatics interfaces.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 243: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

B A C K G R O U N D M A G N E T I C F I E L D

Select an option from the Solve for list—Reduced field or Full field (the default). For Reduced field specify a Background magnetic field Hb (SI unit: A/m). The entered expressions must be differentiable.

When a background field is active, the physics interface solves for the reduced (perturbation) field only. This setting, together with the External Magnetic Flux Density feature, is useful to introduce an external field generated by systems not included in the model.

T H I C K N E S S

E R R O R C H E C K

To display this section, click the Show button ( ) and select Advanced Physics Options.

When the Check applicability of features in study check box is selected, any features that are incompatible with the study will generate an error message when trying to solve or show the default solver. No solver will be generated. Deselect it and you will be able to run the model, possibly with runtime errors instead. It is available to allow the advanced user to tweak any feature and use it outside of its intended study scope.

D E P E N D E N T V A R I A B L E S

The dependent variable (field variable) is for the Magnetic scalar potential Vm. The name can be changed but the names of fields and dependent variables must be unique within a model.

Notice that expressions including coupling operators are not differentiable and cannot be used as background fields.

Enter a value or expression for the Out-of-plane thickness d. The default value of 1 unit length is typically not representative for a thin domain. Instead it describes a unit thickness that makes the 2D equation identical to the equation used for 3D components.

T H E M A G N E T I C F I E L D S , N O C U R R E N T S I N T E R F A C E | 243

Page 244: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

244 | C H A P T E

D I S C R E T I Z A T I O N

To display this section, click the Show button ( ) and select Discretization.

Domain, Boundary, Point, and Pair Nodes for the Magnetic Fields, No Currents Interface

The Magnetic Fields, No Currents Interface has these domain, boundary, point, and pair nodes available from the Physics ribbon toolbar (Windows users), Physics context menu (Mac or Linux users), or right-click to access the context menu (all users).

A B O U T T H E B O U N D A R Y C O N D I T I O N S

In magnetostatics the relevant physics interface condition between two domains 1 and 2 is

• Domain, Boundary, Point, and Pair Nodes for the Magnetic Fields, No Currents Interface

• Theory for the Magnetic Fields, No Currents Interface

• Magnetic Prospecting of Iron Ore Deposits: Application Library path ACDC_Module/Magnetostatics/magnetic_prospecting

• Magnetic Signature of a Submarine: Application Library path ACDC_Module/Magnetostatics/submarine

In general, to add a node, go to the Physics toolbar, no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.

To obtain a unique solution, the value of the magnetic potential must be provided at least at one point. If the magnetic insulation boundary condition is used everywhere, the potential has to be fixed using a point condition.

n2 B1 B2–( )⋅ 0=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 245: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

This condition provides continuity of the normal component of the magnetic flux density and is automatically satisfied by the natural boundary condition for interior boundaries, which is

A V A I L A B L E N O D E S

These nodes are available for this physics interface and listed in alphabetical order. Also see Table 5-3 for a list of interior and exterior boundary conditions.

Table 5-1 lists the interior and exterior boundaries available with this physics interface.

• External Magnetic Flux Density

• Initial Values

• Force Calculation1

• Magnetic Flux Conservation

• Magnetic Flux Density

• Magnetic Insulation

• Magnetic Scalar Potential

• Magnetic Shielding

• Periodic Condition

• Sector Symmetry1

• Thin Low Permeability Gap

• Zero Magnetic Scalar Potential

1 Described for another physics interface in this user guide.

n μ0∇Vm M–( )1 μ0∇Vm M–( )2–[ ]⋅ n B1 B2–( )⋅– 0= =

• Infinite Elements, Perfectly Matched Layers, and Absorbing Layers in the COMSOL Multiphysics Reference Manual

TABLE 5-3: INTERIOR AND EXTERIOR BOUNDARY CONDITIONS FOR THE MAGNETIC FIELDS, NO CURRENTS INTERFACE

PHYSICS NODE INTERIOR EXTERIOR

External Magnetic Flux Density x

Magnetic Flux Density x

Magnetic Insulation x x

Magnetic Potential x

Magnetic Shielding x x

Periodic Condition x

Thin Low Permeability Gap x

Zero Magnetic Scalar Potential x

T H E M A G N E T I C F I E L D S , N O C U R R E N T S I N T E R F A C E | 245

Page 246: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

246 | C H A P T E

Magnetic Flux Conservation

The Magnetic Flux Conservation node adds Equation 5-5 above (or a similar equation depending on the selected constitutive relation) for the magnetic potential and provides an interface for defining the constitutive relation and the relevant material properties (for example, the relative permeability).

M A T E R I A L TY P E

The Material type setting decides how materials behave and how material properties are interpreted when the mesh is deformed. Select Solid for materials whose properties change as functions of material strain, material orientation and other variables evaluated in a material reference configuration (material frame). Select Non-solid for materials whose properties are defined only as functions of the current local state at each point in the spatial frame, and for which no unique material reference configuration can be defined. Select From material to pick up the corresponding setting from the domain material on each domain.

M A G N E T I C F I E L D

Initial Values

The Initial Values node adds an initial value for the magnetic scalar potential that can serve as an initial guess for a nonlinear solver.

I N I T I A L V A L U E S

Enter a value or expression for the initial value of the Magnetic scalar potential Vm. The default value is 0 A.

See the settings for Magnetic Field under Ampère’s Law, except for these differences:

• Magnetic losses and Effective HB curve, being time-harmonic material models, are not available.

• Select BH curve (instead of HB curve) to use a curve that relates magnetic flux density B and the magnetic field H as |B| =f (|H|). To define |B|, select From material (the default) to use the value from the material or select User defined to specify a value or expression for the magnitude of the magnetic flux density in the field that appears.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 247: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Magnetic Insulation

The Magnetic Insulation node for the Magnetic Fields, No Currents interface provides magnetic insulation using the following boundary condition, which sets the normal component of the magnetic flux density to zero n ⋅ B = 0. Magnetic insulation is the default boundary condition.

Magnetic Scalar Potential

The Magnetic Scalar Potential node adds a boundary condition for the magnetic scalar potential:

M A G N E T I C S C A L A R PO T E N T I A L

Enter a value or expression for the Magnetic scalar potential Vm0 (SI unit: A). The default is 0 A.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

Magnetic Flux Density

The Magnetic Flux Density node adds a boundary condition for the magnetic flux density. The following equation defines the normal component of the magnetic flux density using a magnetic flux vector B0:

(5-1)

Using this boundary condition specify the normal component of the magnetic flux density at the boundary.

Alternatively, specify an inward (or outward) flux density using the following equation:

(5-2)

This condition is useful at boundaries confining a surrounding region of air or to model symmetry cuts.

Vm Vm0=

n B⋅ n B0⋅=

n– B⋅ Bn=

T H E M A G N E T I C F I E L D S , N O C U R R E N T S I N T E R F A C E | 247

Page 248: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

248 | C H A P T E

Using this formulation, it is possible to specify the normal component of the magnetic flux density as a scalar.

M A G N E T I C F L U X D E N S I T Y

Select a Type of the boundary condition to use—Inward flux density (the default) or Magnetic Flux density:

• For Inward flux density it defines the boundary condition according to Equation 5-2. Enter a scalar value or expression for the normal component of the Inward flux density Bn (SI unit: T). A positive value represents an inward flux.

• For Magnetic flux density it defines the boundary condition according to Equation 5-1. Enter a value or expression for each component of the Magnetic flux

density B0 (SI unit: T) in the corresponding fields.

Zero Magnetic Scalar Potential

The Zero Magnetic Scalar Potential node provides a boundary condition that specifies a zero magnetic potential on the boundary Vm = 0.

C O N S T R A I N T S E T T I N G S

To display this section, click the Show button ( ) and select Advanced Physics Options.

External Magnetic Flux Density

The External Magnetic Flux Density boundary condition forces the reduced magnetic flux density to be zero on the boundary, or, equivalently, forces the total field to be equal to the background field. Apply this boundary condition on external boundaries that are at a distance far enough from the system so that its effect on the background field is negligible.

Magnetic Shielding

The Magnetic Shielding node adds a boundary condition for magnetic shielding. It describes a thin layer of a highly permeable medium that shields the magnetic field.

This node is only available when solving a problem with a background magnetic flux density (Reduced field is selected from the Solve for list under Background Field on the physics interface Settings window).

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 249: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The boundary condition uses the following equations for the normal magnetic flux density discontinuity and the tangential magnetic field inside the layer:

In these equations, ∇t represents a tangential derivative (gradient), and ds is the surface thickness.

M A G N E T I C S H I E L D I N G

Enter a value or expression for the Surface thickness ds (SI unit: m).

Relative PermeabilitySelect Relative permeability μr (dimensionless) to use the constitutive relation B = μ0μrH. The default uses values From material. For User defined enter another value or expression.

BH CurveSelect BH curve |B| (SI unit: T) to use a curve that relates magnetic field H and the magnetic flux density B as |B| = f(|H|). The Magnetic flux density norm setting can take the values From material or User defined.

Thin Low Permeability Gap

The Thin Low Permeability Gap node adds a boundary condition on an internal boundary which allows for a discontinuity in the magnetic scalar potential. This feature represents a thin layer in a magnetic material filled with another material that has smaller relative magnetic permeability. Use this feature to model, for example, an air gap in a magnetic circuit. Enter a relative magnetic permeability μr for the thin layer material as well as a thickness ds. The difference in magnetic flux through this boundary is given by

where Vmu is the magnetic scalar potential on the upside of the boundary selection and

Vmd is the magnetic scalar potential on the downside.

n B1 B2–( )⋅ ∇t dsBt Ht( )( )⋅=

Ht ∇– tVm=

n B1 B2–( )⋅ μ0μrVm

d Vmu

ds-----------------------

=

T H E M A G N E T I C F I E L D S , N O C U R R E N T S I N T E R F A C E | 249

Page 250: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

250 | C H A P T E

T H I N L O W P E R M E A B I L I T Y G A P

The default Relative permeability μr (dimensionless) uses values From material. For User

defined enter a different value or expression. Enter a value or expression for the Surface

thickness ds (SI unit: m).

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 251: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Th e Ro t a t i n g Ma ch i n e r y , Magn e t i c I n t e r f a c e

The Rotating Machinery, Magnetic (rmm) interface ( ), found under the AC/DC branch ( ) when adding a physics interface, is used for design and analysis of electric motors and generators. Stationary and time-domain modeling is supported in 2D and 3D.

The physics interface solves Maxwell's equations formulated using a combination of magnetic vector potential and magnetic scalar potential as the dependent variables.

When this physics interface is added, these default nodes are also added to the Model

Builder— Electric Field Transformation, Ampère’s Law, Mixed Formulation Boundary, Magnetic Insulation (the default boundary condition), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, boundary conditions and point conditions. You can also right-click Rotating Machinery, Magnetic to select physics features from the context menu.

S E T T I N G S

The Label is the default physics interface name.

The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.

The physics interface only works correctly if the geometry is created as an assembly pair from individual composite objects for the rotor and stator parts, respectively. An identity pair must also be defined for the rotor-stator physics interface boundaries under the Model>Definitions node in the Model Builder.

Only nodes unique to the Rotating Machinery, Magnetic interface are described in this section. Most nodes are described for The Magnetic Fields Interface or The Magnetic Fields, No Currents Interface.

T H E R O T A T I N G M A C H I N E R Y , M A G N E T I C I N T E R F A C E | 251

Page 252: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

252 | C H A P T E

The default Name (for the first physics interface in the model) is rmm.

B A C K G R O U N D F I E L D

Select an option from the Solve for list—Full field (the default) or Reduced field. For Reduced field specify a Background magnetic vector potential Ab (SI unit: Wb/m). The entered expressions must be differentiable.

The total field used in the physics and equations are given by the sum of the reduced and background fields.

C O M P O N E N T S

For 2D components, select the Components—Out-of-plane vector potential (the default), In-plane vector potential, or Three-component vector potential.

T H I C K N E S S

For 2D components, enter a value or expression for the global Out-of-plane thickness d (SI unit: m). The default value of 1 m is typically not representative for a thin domain. Instead it describes a unit thickness that makes the 2D equation identical to the equation used for 3D components.

P H Y S I C S - C O N T R O L L E D M E S H

Select the Enable check box to allow the physics interface to control the meshing process. Information from the physics, such as the presence of infinite elements domain or periodic condition, will be used to set up automatically an appropriate mesh sequence.

PO R T S W E E P S E T T I N G S

Select the Activate port sweep check box and enter a Sweep parameter name in the field. The default is PortName.

The lumped parameters computed can be subject to a Touchstone file export. To activate this functionality, enter a file path or click Browse to navigate to a file. Select a Parameter format (value pairs) for the Touchstone export—Magnitude and angle (MA) (the default), Magnitude in dB and angle (DB), or Real and imaginary parts (RI). Select the desired operation to perform from the If file exists list—Overwrite (the default) or Create new. The latter is useful when the model is solved multiple times with different

Notice that expressions including coupling operators are not differentiable and cannot be used as background fields.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 253: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

settings. Enter a Reference impedance, Touchstone file export Zref (SI unit: Ω). The default is 50 Ω.

E R R O R C H E C K

To display this section, click the Show button ( ) and select Advanced Physics Options.

When the Check applicability of features in study check box is selected, any features that are incompatible with the study will generate an error message when trying to solve or show the default solver. No solver will be generated. Deselect it and you will be able to run the model, possibly with runtime errors instead. It is available to allow the advanced user to tweak any feature and use it outside of its intended study scope.

D E P E N D E N T V A R I A B L E S

The dependent variables (field variables) are the Magnetic vector potential A and the Magnetic scalar potential Vm. The name can be changed but the names of fields and dependent variables must be unique within a model.

D I S C R E T I Z A T I O N

To display this section, click the Show button ( ) and select Discretization.

Domain, Boundary, Edge, Point, and Pair Nodes for the Rotating Machinery, Magnetic Interface

• Generator in 2D: Application Library path ACDC_Module/Motors_and_Actuators/generator_2d

• Rotating Machinery 3D Tutorial: Application Library path ACDC_Module/Motors_and_Actuators/rotating_machinery_3d_tutorial

T H E R O T A T I N G M A C H I N E R Y , M A G N E T I C I N T E R F A C E | 253

Page 254: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

254 | C H A P T E

Domain, Boundary, Edge, Point, and Pair Nodes for the Rotating Machinery, Magnetic Interface

The Rotating Machinery, Magnetic Interface has these boundary, edge, pair, and point nodes available from the Physics ribbon toolbar (Windows users), Physics context menu (Mac or Linux users), or right-click to access the context menu (all users).

F E A T U R E S A V A I L A B L E F R O M S U B M E N U S

Many features for this interface are added from submenus in the Physics toolbar groups or context menu (when you right-click the node). The submenu name is the same in both cases. The Domain and Boundary level submenus are Vector Potential and Scalar Potential. There are also the Pairs and Points submenu.

L I N K S T O F E A T U R E N O D E I N F O R M A T I O N

These domain nodes are described in this section:

These boundary, edge, pair, and point nodes are described for the main physics interfaces that solve for the magnetic vector potential (Magnetic Fields) and the

In general, to add a node, go to the Physics toolbar, no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.

• Electric Field Transformation

• Initial Values

• Mixed Formulation Boundary

• Prescribed Rotation

• Prescribed Rotational Velocity

In the COMSOL Multiphysics Reference Manual see Table 2-3 for links to common sections and Table 2-4 to common feature nodes. You can also search for information: press F1 to open the Help window or Ctrl+F1 to open the Documentation window.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 255: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

magnetic scalar potential (Magnetic Fields, No Currents). The nodes listed in alphabetical order are:

Initial Values

The Initial Values node adds an initial value for the magnetic vector potential.

I N I T I A L V A L U E S

Enter a value or expression for the initial value of the Magnetic vector potential A (SI unit: Wb/m).

Electric Field Transformation

The Electric Field Transformation node imposes suitable transformations to the electric field definitions in all domains depending on rotational velocity.

• Ampère’s Law1

• Boundary Feed

• Override Coil Inlet/Outlet

• Edge Current

• Electric Point Dipole

• Electric Point Dipole (on Axis)

• External Current Density1

• External Magnetic Vector Potential

• Force Calculation

• Gap Feed

• Ground

• Line Current (Out-of-Plane)

• Lumped Element1

• Lumped Port1

• Magnetic Field1

• Magnetic Flux Conservation2

• Magnetic Flux Density2

• Magnetic Potential1

• Magnetic Point Dipole

• Magnetic Scalar Potential2

• Magnetic Shielding1

• Coil1

• Perfect Magnetic Conductor1

• Periodic Condition

• Sector Symmetry

• Single-Turn Coil1

• Surface Current1

• Thin Low Permeability Gap1

• Velocity (Lorentz Term)1

• Zero Magnetic Scalar Potential2

1 Select this from the Vector Potential submenu for this interface.

2 Select this from the Scalar Potential submenu for this interface.

T H E R O T A T I N G M A C H I N E R Y , M A G N E T I C I N T E R F A C E | 255

Page 256: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

256 | C H A P T E

Prescribed Rotation

The Prescribed Rotation node imposes a coordinate transformation to the selected domain that effectively rotates it a prescribed angle. It is used to model a rotating part. The angle can also be time-dependent.

P R E S C R I B E D R O T A T I O N

Enter the Rotation angle α rot (SI unit: radians).

• For 2D components, enter the X and Y coordinates for the Rotation axis base point rax (SI unit: m) identifying the fixed point of the rotation. The axis of rotation is the z (out-of-plane) axis.

• For 3D components, specify the rotation axis by entering the coordinates of the Rotation axis base point rax (SI unit: m) and the components of the Rotation axis urot (dimensionless).

Prescribed Rotational Velocity

The Prescribed Rotational Velocity node imposes a coordinate transformation to the selected domain that effectively rotates it a prescribed angle that grows linearly with time. It is used to model a rotating part at a constant rotational velocity. To model a part rotating at a non-constant angular velocity, use instead the Prescribed Rotation feature with a time-dependent angle.

P R E S C R I B E D R O T A T I O N A L VE L O C I T Y

Enter a constant value for the Constant angular velocity (revolutions per second) input rps (SI unit: Hz) and the Initial angle α0 (SI unit: rad).

• For 2D components, enter the X and Y coordinates for the Rotation axis base point rax (SI unit: m) identifying the fixed point of the rotation. The axis of rotation is the z (out-of-plane) axis.

• For 3D components, specify the rotation axis by entering the coordinates of the Rotation axis base point rax (SI unit: m) and the components of the Rotation axis urot (dimensionless).

Magnetic Insulation

The Magnetic Insulation node is the default external boundary condition for the Rotating Machinery, Magnetic interface. It adds a boundary condition that, on boundaries with magnetic vector potential (Ampère’s Law domains) sets the tangential

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 257: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

components of the magnetic potential to zero at the boundary n × A = 0. On external boundaries with magnetic scalar potential (Magnetic Flux Conservation domains) it sets the normal component of the magnetic flux density to zero n ⋅ B = 0.

For the magnetic vector potential, Magnetic insulation is a special case of the magnetic potential boundary condition that sets the tangential component of the magnetic potential to zero and can be used for the modeling of a lossless metallic surface, for example, a ground plane or as a symmetry type boundary condition. The Magnetic Insulation node can also be applied on interior boundaries in vector potential domains. For more details on this, see also the corresponding documentation section in the Magnetic Fields interface on Magnetic Insulation.

Mixed Formulation Boundary

The Mixed Formulation Boundary node imposes continuity between the magnetic scalar potential on one side of the boundary and the magnetic vector potential on the other side. This feature is added by default and is applied automatically to all appropriate boundaries.

As external boundary condition, it is useful at boundaries confining a surrounding region of air or to model symmetry cuts.

T H E R O T A T I N G M A C H I N E R Y , M A G N E T I C I N T E R F A C E | 257

Page 258: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

258 | C H A P T E

Th e Magn e t i c and E l e c t r i c F i e l d s I n t e r f a c e

The Magnetic and Electric Fields (mef) interface ( ), found under the AC/DC branch ( ) when adding a physics interface, is used to compute magnetic field and current distributions when the exciting current is driven by an applied voltage. Stationary, and frequency-domain modeling are supported in 2D and 3D. Note that in most cases, using the Magnetic Fields interface with its dedicated coil modeling features is the preferred choice over using the Magnetic and Electric Fields interface.

The physics interface solves Maxwell’s equations formulated using the magnetic vector potential and the scalar electric potential as the dependent variables.

Use the Magnetic and Electric Fields interface when the current continuity equation is needed everywhere in the simulation domain.

The main node is the Ampère’s Law and Current Conservation feature, which adds the equation for the electric potential and magnetic vector potential and provides an interface for defining the constitutive relations and their associated properties such as the relative permeability, relative permittivity, and electrical conductivity.

The Ampère’s Law and Current Conservation feature can be overridden with an Ampère’s Law feature or a Coil feature, that are identical to the ones in the Magnetic

Fields interface, removing the electric potential and the current conservation equation from the selected domains.

When this physics interface is added, these default nodes are also added to the Model

Builder— Ampère’s Law and Current Conservation, Magnetic Insulation (the default boundary condition for the magnetic vector potential), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, boundary

In three-dimensional components, if the conduction current in the modeled system is confined only in some regions (for example, a metallic coil) and most of the domains are non-conductive, it is to use the Magnetic Fields interface and apply the Single Turn Coil domain node on the conductive regions, instead of using this physics interface.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 259: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

conditions and external currents. You can also right-click Magnetic and Electric Fields to select physics features from the context menu.

S E T T I N G S

The Label is the default physics interface name.

The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.

The default Name (for the first physics interface in the model) is mef.

B A C K G R O U N D F I E L D

The only option available from the Solve for list is Full field.

C O M P O N E N T S

T H I C K N E S S

Except where described below, most Settings windows are the same as for the Magnetic Fields, Electrostatics, and Electric Currents interfaces. Also see About the Magnetic and Electric Field Interface Boundary Conditions for more information.

For 2D and 2D axisymmetric components, select Components—Out-of-plane vector potential (the default), In-plane vector potential, or Three-component vector potential. From the practical viewpoint this choice is equivalent to deciding in what directions the electric current is allowed to flow (out-of-plane currents, in-plane currents or currents flowing in all three coordinate directions).

Enter a value or expression for the Out-of-plane thickness d. The default value of 1 unit length is typically not representative for a thin domain. Instead it describes a unit thickness that makes the 2D equation identical to the equation used for 3D components.

T H E M A G N E T I C A N D E L E C T R I C F I E L D S I N T E R F A C E | 259

Page 260: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

260 | C H A P T E

I N P U T S W E E P S E T T I N G S

Enter a Reference impedance Zref (SI unit: Ω). The default is 50 Ω. This impedance is used by Terminal features (when the Terminal Type is set to Terminated) and the Touchstone file export functionality.

Select the Activate input sweep check box to switch on the sweep and invoke a parametric sweep over the Lumped ports or the Terminal nodes.

Select an option from the Sweep on list—Terminals or Ports. This setting controls which features are activated during the sweep.

Enter a Sweep parameter name to indicate the name of the model parameter that controls the terminal or port activated in each step of the sweep. The default is PortName. The name given must match the model parameter, defined under Global

Definitions, that is the object of a Parametric Sweep node in the current Study.

The lumped parameters computed can be subject to a Touchstone file export. To activate this functionality, enter a file path or Browse for a file. Select a Parameter format

(value pairs) for the Touchstone export—Magnitude and angle (MA) (the default), Magnitude in dB and angle (DB), or Real and imaginary parts (RI). Select an option from the If file exists list—Overwrite or Create new. Create new is useful when the model is solved multiple times with different settings. Select a Parameter to export—Z (the default), Y, or S.

When Terminals is selected under Sweep on, also select a Parameter to export—Z (the default), Y, or S. When the sweep is carried on Ports, the exported parameter is always S.

E R R O R C H E C K

To display this section, click the Show button ( ) and select Advanced Physics Options.

When the Check applicability of features in study check box is selected, any features that are incompatible with the study will generate an error message when trying to solve or show the default solver. No solver will be generated. Deselect it and you will be able to run the model, possibly with runtime errors instead. It is available to allow the advanced user to tweak any feature and use it outside of its intended study scope.

D E P E N D E N T V A R I A B L E S

The dependent variables (field variables) are for the Electric potential V and Magnetic

vector potential A. The name can be changed but the names of fields and dependent variables must be unique within a model.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 261: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

D I S C R E T I Z A T I O N

To display this section, click the Show button ( ) and select Discretization.

About the Magnetic and Electric Field Interface Boundary Conditions

The Magnetic and Electric Fields interface boundary conditions are applied in a two-step procedure. This is because only some combinations of electric and magnetic boundary conditions are physically relevant whereas others can lead to nonphysical models that violate the current conservation law.

S T E P 1 : M A G N E T I C B O U N D A R Y C O N D I T I O N S

With no surface currents present the physics interface conditions

need to be fulfilled. Because the physics interface solves for A, the tangential component of the magnetic potential is always continuous, and thus the first condition

• About the Magnetic and Electric Field Interface Boundary Conditions

• Lumped Parameters

• Domain, Boundary, Edge, Point, and Pair Nodes for the Magnetic and Electric Fields Interface

• Theory for the Magnetic and Electric Fields Interface

• Magnetic Brake: Application Library path ACDC_Module/Motors_and_Actuators/magnetic_brake

• Inductance of a Power Inductor: Application Library path ACDC_Module/Inductive_Devices_and_Coils/power_inductor

The basic steps for this are to add the magnetic boundary conditions from the Physics toolbar. Then right-click these magnetic boundary condition nodes to add compatible electric boundary conditions as subnodes.

n2 A1 A2–( )× 0=

n2 H1 H2–( )× 0=

T H E M A G N E T I C A N D E L E C T R I C F I E L D S I N T E R F A C E | 261

Page 262: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

262 | C H A P T E

is automatically fulfilled. The second condition is equivalent to the natural boundary condition and is hence also fulfilled unless surface currents are explicitly introduced.

S T E P 2 : E L E C T R I C B O U N D A R Y C O N D I T I O N S

The relevant physics interface condition at interfaces between different media and interior boundaries is continuity; that is,

which is the natural boundary condition.

Table 5-4 lists the interior and exterior boundaries available with this physics interface.

n2 J1 J2–( )⋅ 0=

A default Electric Insulation node is also added under the default Magnetic

Insulation node. This is to ensure that default boundary conditions are always specified both for the magnetic vector potential and the electric potential. Additional subnodes are available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu.

TABLE 5-4: INTERIOR AND EXTERIOR ELECTRIC AND MAGNETIC BOUNDARY CONDITIONS FOR THE MAGNETIC AND ELECTRIC FIELDS INTERFACE

NODE INTERIOR EXTERIOR

MAGNETIC BOUNDARIES

Impedance Boundary Condition x

Lumped Port x x

Magnetic Continuity x

Magnetic Field x

Magnetic Insulation x x

Magnetic Potential x x

Magnetic Shielding x

Perfect Magnetic Conductor x x

Surface Current x x

Thin Low Permeability Gap x

Transition Boundary Condition x

Coil x

ELECTRIC BOUNDARIES

Contact Impedance x

Electric Insulation x x

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 263: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

B O U N D A R Y C O N D I T I O N C O M B I N A T I O N S

Table 5-5 shows the possible combination of magnetic and electric boundary conditions, with an explanation of the physical model represented by the more advanced combinations.

Electric Potential x x

Electric Shielding x

Floating Potential x x

Ground x x

Normal Current Density x

Periodic Condition x

TABLE 5-5: POSSIBLE COMBINATIONS OF ELECTRIC AND MAGNETIC BOUNDARY CONDITIONS FOR THE MAGNETIC AND ELECTRIC FIELDS INTERFACE

MAGNETIC FEATURE ELECTRIC FEATURE PHYSICAL MODEL

Magnetic Insulation Electric Insulation

Electric Potential

Ground

Floating Potential

Terminal

Normal Current Density

Magnetic Continuity <none> <no effect>

Electric Insulation Thin non-conducting, non-magnetic layer, such as an air gap or crack in a metal.

Contact Impedance Thin resistive, non-magnetic layer, such as an oxide layer in a metal.

Magnetic Shielding <none> Magnetic (high-μr) layer with same conductive properties as the surrounding medium.

Electric Shielding Thin magnetic, highly conductive layer (high-μr, high-σ).

Electric Insulation Thin non-conducting magnetic layer.

Contact Impedance Thin resistive magnetic layer.

TABLE 5-4: INTERIOR AND EXTERIOR ELECTRIC AND MAGNETIC BOUNDARY CONDITIONS FOR THE MAGNETIC AND ELECTRIC FIELDS INTERFACE

NODE INTERIOR EXTERIOR

T H E M A G N E T I C A N D E L E C T R I C F I E L D S I N T E R F A C E | 263

Page 264: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

264 | C H A P T E

Domain, Boundary, Edge, Point, and Pair Nodes for the Magnetic and Electric Fields Interface

The Magnetic and Electric Fields Interface has these domain, boundary, edge, point, and pair nodes available from the Physics ribbon toolbar (Windows users), Physics context menu (Mac or Linux users), or right-click to access the context menu (all users).

Also see About the Magnetic and Electric Field Interface Boundary Conditions and Table 5-1 for a list of interior and exterior boundary conditions.

These nodes are described in this section:

Surface Current <none> Externally imposed surface current density.

Electric Shielding Thin non-magnetic, highly conductive layer along which a surface current density flows, that is automatically included in the parent node.

TABLE 5-5: POSSIBLE COMBINATIONS OF ELECTRIC AND MAGNETIC BOUNDARY CONDITIONS FOR THE MAGNETIC AND ELECTRIC FIELDS INTERFACE

MAGNETIC FEATURE ELECTRIC FEATURE PHYSICAL MODEL

In general, to add a node, go to the Physics toolbar, no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.

For axisymmetric components, COMSOL Multiphysics takes the axial symmetry boundaries (at r = 0) into account and automatically adds an Axial Symmetry node to the component that is valid on the axial symmetry boundaries only.

• Ampère’s Law and Current Conservation

• Initial Values

• Magnetic Continuity

• Magnetic Insulation

• Magnetic Shielding

• RLC Coil Group

• Surface Current

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 265: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

The following nodes are described for the Magnetic Fields or Electric Currents interfaces,

• Ampère’s Law

• Override Coil Inlet/Outlet

• Contact Impedance

• Edge Current

• Electric Insulation

• Electric Point Dipole

• Electric Point Dipole (on Axis)

• Electric Potential

• Electric Shielding

• External Current Density

• Floating Potential

• Force Calculation

• Gauge Fixing for A-Field

• Ground

• Impedance Boundary Condition

• Lumped Element

• Lumped Port

• Magnetic Field

• Magnetic Point Dipole

• Magnetic Potential

• Coil

• Normal Current Density

• Perfect Magnetic Conductor

• Periodic Condition

• Single-Turn Coil

• Terminal

• Thin Low Permeability Gap

• Transition Boundary Condition

• Velocity (Lorentz Term)

• Sector Symmetry

• Infinite Elements, Perfectly Matched Layers, and Absorbing Layers in the COMSOL Multiphysics Reference Manual

In the COMSOL Multiphysics Reference Manual see Table 2-3 for links to common sections and Table 2-4 to common feature nodes. You can also search for information: press F1 to open the Help window or Ctrl+F1 to open the Documentation window.

T H E M A G N E T I C A N D E L E C T R I C F I E L D S I N T E R F A C E | 265

Page 266: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

266 | C H A P T E

Ampère’s Law and Current Conservation

The Ampère’s Law and Current Conservation node adds Ampère’s law and the equation of continuity for the electric current. It provides an interface for defining the constitutive relations and their associated properties.

M A T E R I A L TY P E

The Material type setting decides how materials behave and how material properties are interpreted when the mesh is deformed. Select Solid for materials whose properties change as functions of material strain, material orientation and other variables evaluated in a material reference configuration (material frame). Select Non-solid for materials whose properties are defined only as functions of the current local state at each point in the spatial frame, and for which no unique material reference configuration can be defined. Select From material to pick up the corresponding setting from the domain material on each domain.

Initial Values

The Initial Values node adds an initial value for the magnetic vector potential and electric potential that can serve as an initial value for a transient simulation or as an initial guess for a nonlinear solver.

I N I T I A L V A L U E S

Enter a value or expression for the initial value of the Magnetic vector potential A (SI unit: Wb/m) and initial value of the Electric potential V (SI unit: V). The default values are 0 Wb/m and 0 V, respectively.

This feature can be overridden with an Ampère’s Law feature or a Coil feature, which are identical to the ones in the Magnetic Fields interface, removing the electric potential and the current conservation equation from the selected domains.

The Conduction Current and Magnetic Field settings are the same as Ampère’s Law for the Magnetic Fields interface. The Electric Field settings are the same as for Current Conservation for the Electric Currents interface.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 267: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Magnetic Insulation

The Magnetic Insulation node is the default magnetic boundary condition for the Magnetic and Electric Fields interface and sets the tangential components of the magnetic potential to zero at the boundary n × A = 0. Electric boundary conditions can be applied by adding subnodes to the Magnetic Insulation node. The default electric boundary condition, added under each Magnetic Insulation node, is Electric Insulation. The Electric Potential, Ground, Floating Potential, Terminal, or Normal Current Density subnodes are available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu.

Surface Current

The Surface Current node adds a boundary condition for a surface current density Js.

An externally applied surface current density can be specified directly in the Settings window for the node. Alternatively, the Electric Shielding subnode is available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu. Use the subnode to model a thin conductive layer (a layer whose electrical conductivity s is higher than in the surrounding domains). In this case, the electric current flows preferably along the conductive boundary, and the resulting surface current density is automatically incorporated in the parent Surface Current node to act as a source for the magnetic field.

S U R F A C E C U R R E N T

Enter values or expressions for the Surface current density Js0 (SI unit: A/m) coordinates.

Magnetic Shielding

The Magnetic Shielding node adds a boundary condition for magnetic shielding. By itself, this feature represents a geometrically thin layer with a relative permeability substantially higher than the surrounding material, that shields the magnetic field.

Subnodes are available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu. Use the subnodes to provide an electrical model

About the Magnetic and Electric Field Interface Boundary Conditions

T H E M A G N E T I C A N D E L E C T R I C F I E L D S I N T E R F A C E | 267

Page 268: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

268 | C H A P T E

on top of the Shielding magnetic model. The available subnodes are Electric Shielding, Electric Insulation, and Contact Impedance subnodes. The possible combinations are:

• Magnetic Shielding with no subnode: this represents a highly magnetic layer with no special electrical properties.

• Magnetic Shielding and Electric Shielding: this combination represents a layer in which both the relative permeability μr and the electrical conductivity σ are much higher than in the adjacent domain. This layer shields the magnetic field and the current preferentially flows along it. The resulting surface current density is incorporated in the model as a source for the magnetic field.

• Magnetic Shielding and Electric Insulation: this combination represents a nonconductive magnetic layer. The layer shields the magnetic field and there is no current flowing through it. The electric potential is discontinuous across the boundary.

• Magnetic Shielding and Contact Impedance: this combination represents a resistive magnetic layer. The layer shields the magnetic field and the current flows preferably orthogonally to the layer. The electric potential is discontinuous across the boundary.

M A G N E T I C S H I E L D I N G

The default Relative permeability μr (dimensionless) uses values From material. For User

defined select Isotropic, Diagonal, Symmetric, or Anisotropic and enter other values or expressions. For anisotropic material, the relative permeability is a tensor.

Enter a value or expression for the Surface thickness ds (SI unit: m).

Magnetic Continuity

The Magnetic Continuity node does not apply any condition or constraint to the model. Its purpose is to allow the application of electrical boundary conditions by means of the subnodes Electric Insulation and Contact Impedance. The subnodes are available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu. Use this feature to model thin layer with particular electrical properties but with the same magnetic properties of the surrounding medium.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 269: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

RLC Coil Group

The RLC (Resistive-Inductive-Capacitive) Coil Group node is an advanced coil feature that takes advantage of the A-V formulation of the Magnetic and Electric Fields features to take into account in-plane electric current flow in the coil’s current balance. This feature combines the magnetic model of a Single Turn Coil (in Coil group mode) with a multiple-terminal electrical model for the in-plane current. This node can be used to approximate in 2D a coil in which (due to capacitive coupling or other phenomena) there is relatively significant current flow in the in-plane directions.

Apply this feature to a group of domains representing the cross sections of the coil turns on the modeling plane. Since the electric potential is assumed to be constant in the cross section of each turn, the V variable must be removed in the selected domains by applying an Ampère’s Law node. The feature applies an external current density flowing orthogonally to the plane, and also imposes a voltage constraint on the boundary of each cross section, computed from the coil and the excitation properties. The feature also enforces a balance of the current flowing out-of-plane and the current leaking in the plane between the coil turns.

D O M A I N S L A T T I C E

In order to apply the correct voltage at each coil turn, it is necessary to precisely define the order in which the domains are connected. The RLC Coil Group feature assumes that all domains are of the same shape and are disposed on a two-dimensional Bravais lattice, that is, that there exist two vectors a and b (called primitive vectors) such that given two lattice points r1 and r2 the following relation holds:

This node is available for 2D and 2D axisymmetric components. This node also can only be applied on domains where an Ampère’s Law feature is active.

The approximation applied by this feature is valid only under the assumption that the current flowing in-plane is relatively small compared with the current in the coil. If this condition is not fulfilled, the model cannot be considered two-dimensional and a full 3D component is required.

r1 r2– na mb+=

T H E M A G N E T I C A N D E L E C T R I C F I E L D S I N T E R F A C E | 269

Page 270: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

270 | C H A P T E

with n and m integers. One-dimensional lattices (linear lattices) are also supported by this feature.

The RLC Coil Group node can automatically determine two lattice vectors (or one, in the case of a linear lattice) from the geometry and position of the selected domains. The choices Row-wise and Column-wise in the Ordering settings use this functionality. The two choices control how the vectors a and b are chosen.

Since the primitive vectors of a Bravais lattice are not unique, the lattice recognition algorithm could find two vectors different from the desired one. In this case, it is possible to manually specify User defined lattice vectors.

D O M A I N O R D E R I N G

By default, the RLC Coil Group feature assigns the first turn index (closest to the reference potential) to the turn with the smallest n and m. When using the automatic recognition algorithm, this usually corresponds to the coil turn with smallest x and y (or r and z in axisymmetry). The other coil turns are numbered in order of increasing m first, and then increasing n. Refer to the diagram in the node’s Settings window for a visual explanation.

If Winding is set to Alternated, the direction of increasing m is reversed each time n changes value. Again, refer to the diagram for a visual explanation.

R E S I S T I V E - I N D U C T I V E - C A P A C I T I V E C O I L M O D E L

The RLC Coil Group feature expands the model applied by a Single-Turn Coil domain feature by including a current balance for each turn and constraints for the voltage. The feature introduces n state variables (where n is the number of coil turns) with the dimensions of voltages: V1, V2,..., Vn. The i-th coil turn (i = 1,..., n) has an applied potential difference

where V0 is the value specified as the Ground voltage in the Settings window, that drives an out-of-plane external current density computed as in the Single-Turn Coil case:

Vid Vi 1– V1–=

Je σVi

d

d-------ez= in 2D

Je σVi

d

2πr----------eφ= in 2D axisym.

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 271: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

On the boundaries of the turn domain the electric potential variable V is constrained to the value .

The current flowing in-plane is balanced with the difference of the currents between two adjacent turns. If Ii is the out-of-plane current flowing in the i-th turn,

then the current balance for the coil turns is

The coil current ICoil is computed from the coil excitation in the same way as for the Single-Turn Coil feature.

R L C C O I L G R O U P

The settings in this section is very similar to the ones described in the Single-Turn Coil node. The only addition is the Ground voltage input. Specify in the text box the voltage at one end of the coil (SI unit: V). The voltage at the other end depends on the excitation type. This setting is useful, for example, to connect in series two coil groups.

G E O M E T R Y

This section specifies the information needed to identify the Bravais lattice on which the coil turns are placed The feature automatically detects the two primitive vectors of the lattice if Ordering is set as Row-wise (the default) or Column-wise. For User defined use the diagram as a guide to manually enter the Primitive vectors a and b (SI unit: m) of the lattice. The diagram shows how the domains are ordered for each choice.

Select a Winding style—Regular (the default) or Alternated. Look at the diagram for an illustration of these options.

Vi Vi 1–+( ) 2⁄

Ii J e⋅( )Ωi

=

Ii J n⋅( )Ωi∂– Ii 1+– 0= i 1 … n 1–, ,=

In J n⋅( )Ωn∂– ICoil– 0=

T H E M A G N E T I C A N D E L E C T R I C F I E L D S I N T E R F A C E | 271

Page 272: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

272 | C H A P T E

Th eo r y f o r t h e Magn e t i c F i e l d s I n t e r f a c e

Simulation of magnetic fields is of interest when studying magnets, motors, transformers, and conductors carrying static or alternating currents.

The Magnetic Fields Interfaceis used for 3D, 2D in-plane, and 2D axisymmetric components. Unless you have a license for the AC/DC Module, only 2D components involving out-of-plane currents and axisymmetric components involving azimuthal currents are supported.

In this section:

• Magnetostatics Equation

• Frequency Domain Equation

• Transient Equation

• Maxwell’s Equations

• Magnetic and Electric Potentials

• Gauge Transformations

• Selecting a Particular Gauge

• The Gauge and Equation of Continuity for Dynamic Fields

• Explicit Gauge Fixing/Divergence Constraint

• Ungauged Formulations and Current Conservation

• Time-Harmonic Magnetic Fields

Magnetostatics Equation

To derive the magnetostatic equation, start with Ampère’s law for static cases ∇ × H = J. The current is

For a deeper theoretical background to the magnetic vector potential used, see the section starting with Maxwell’s Equations.

J σv B× Je+=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 273: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

where Je is an externally generated current density, and v is the velocity of the conductor.

Using the definitions of magnetic potential, B = ∇ × A and the constitutive relationship, B = μ0(H + M), rewrite Ampère’s law as

which is the equation used in magnetostatics.

The term involving the velocity only applies in the 2D and 2D axisymmetric formulations.

Frequency Domain Equation

To derive the time harmonic equation this physics interface solves, start with Ampère’s law including displacement currents (then called Maxwell-Ampère’s law), as these do not involve any extra computational cost in the frequency domain,

Now assume time-harmonic fields and use the definitions of the fields,

and combine them with the constitutive relationships B = μ0(H + M) and D = ε0E to rewrite Ampère’s law as

The term involving the velocity only applies in the 2D and 2D axisymmetric formulations.

Transient Equation

The transient equation this physics interface solves is Ampère’s law, illustrated here with the constitutive relation B = μ0(H + M).

∇ μ01– ∇ A× M–( )× σv ∇ A×( )×– Je=

∇ H× J D∂t∂

-------+ σE σv B× JeD∂t∂

-------+ + += =

B ∇ A×=

E j– ωA=

jωσ ω2ε0–( )A ∇ μ01– ∇ A M–×( )× σv ∇ A×( )×–+ Je=

σt∂

∂A ∇ μ01– ∇ A× M–( )× σv ∇ A×( )×–+ Je=

T H E O R Y F O R T H E M A G N E T I C F I E L D S I N T E R F A C E | 273

Page 274: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

274 | C H A P T E

The term involving the velocity only applies in the 2D and 2D axisymmetric formulations.

Maxwell’s Equations

Quasi-static analysis of magnetic and electric fields is valid under the assumption that ∂D/∂t = 0.

This implies that it is possible to rewrite Maxwell’s equations in the following manner:

Here Je is an externally generated current density and v is the velocity of the conductor. The crucial criterion for the quasi-static approximation to be valid is that the currents and electromagnetic fields vary slowly. This means that the dimensions of the structure in the problem need to be small compared to the wavelength.

Magnetic and Electric Potentials

Using the definitions of the potentials,

and the constitutive relation B = μ0(H + M), Ampère’s law can be rewritten as

(5-3)

The equation of continuity, which is obtained by taking the divergence of the above equation, adds the following equation:

(5-4)

∇ H× J σ E v B×+( ) Je+= =

∇ E×t∂

∂B–=

∇ B⋅ 0=

∇ D⋅ ρ=

∇ J⋅ 0=

B ∇ A×=

E ∇V–t∂

∂A–=

σt∂

∂A ∇ μ01– ∇ A× M–( )× σv ∇ A×( ) σ V∇+×–+ Je=

∇ σ–A∂t∂

------- σv ∇ A×( ) σ– ∇V Je+×+ ⋅ 0=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 275: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Equation 5-3 and Equation 5-4 form a system of equations for the two potentials A and V.

Gauge Transformations

The electric and magnetic potentials are not uniquely defined from the electric and magnetic fields through

Introducing two new potentials

gives the same electric and magnetic fields:

The variable transformation of the potentials is called a gauge transformation. To obtain a unique solution, choose the gauge—that is, put constraints on Ψ that make the solution unique. Another way of expressing this additional condition is to put a constraint on ∇ · A. A vector field is uniquely defined up to a constant if both ∇ · A and ∇ × A are given. This is called Helmholtz’s theorem.

One particular gauge is the Coulomb gauge given by the constraint: ∇ ⋅ A = 0.

Selecting a Particular Gauge

It is important to observe that in the dynamic case, A and V are coupled via the selected gauge. For a dynamic formulation, it is also possible to select a Ψ such that the scalar electric potential vanishes and only the magnetic vector potential has to be considered. The dynamic formulations (Frequency Domain and Time Dependent study types) of the Magnetic Fields interface are operated in this gauge as it involves only A. The Magnetic and Electric Fields interface involves both A and V and is inherently ungauged for all study types. In the static limit, A and V are not coupled via

E A∂t∂

-------– ∇V–=

B ∇ A×=

A ∇Ψ+=

V V Ψ∂t∂

-------–=

E A∂t∂

-------– ∇V–A˜

∇Ψ–( )∂t∂

---------------------------– ∇ V Ψ∂t∂

-------+ –

∂t∂

-------– ∇V–= = =

B ∇ A× ∇ A˜

∇Ψ–( )× ∇ A˜

×= = =

T H E O R Y F O R T H E M A G N E T I C F I E L D S I N T E R F A C E | 275

Page 276: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

276 | C H A P T E

the gauge selection and thus any gauge can be chosen for A when performing magnetostatic modeling.

The Gauge and Equation of Continuity for Dynamic Fields

After eliminating the electric potential by choosing the appropriate gauge and disregarding the velocity term, the equation of continuity obtained by taking the divergence of Ampère’s law reads:

It is clear that unless the electrical conductivity is uniform, the particular gauge used to eliminate V cannot be the Coulomb gauge as that would violate the equation of continuity and would thereby also violate Ampère’s law.

Explicit Gauge Fixing/Divergence Constraint

The AC/DC Module has a gauge fixing feature that is imposed by adding an extra scalar field variable ψ (not to be confused with Ψ used in the gauge transformation in The Gauge and Equation of Continuity for Dynamic Fields). The ψ field is used to impose a divergence constraint. In the most simple case, that is for magnetostatics, Ampère’s law for the magnetic vector potential reads:

The equation for ψ is used to impose the Coulomb gauge: ∇⋅ A = 0. However, to get a closed set of equations, ψ must be able to affect the first equation and this is obtained by modifying the first equation to:

The additional term on the right-hand side can be seen as a Lagrange multiplier that not only imposes the Coulomb gauge but also eliminates any divergence in the externally generated current density, Je and makes it comply with the current continuity inherent in Ampère’s law.

The gauge fixing feature similarly imposes the Coulomb gauge also for the dynamic (frequency domain) study type in the Magnetic and Electric Fields interface.

∇ σ–A∂t∂

------- Je+ ⋅ 0=

∇ μ01– ∇ A× M–( )× Je=

∇ μ01– ∇ A× M–( )× Je ψ∇+=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 277: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

For the dynamic (Frequency Domain and Time Dependent study) types for the Magnetic Fields interface, the gauge is already determined so the gauge fixing feature is not allowed to impose the Coulomb gauge but reduces to help imposing current conservation. The first one is for the Frequency Domain study and the second one is for the Time Dependent study type:

The main benefit of using this kind of divergence constraint is improved numerical stability, especially when approaching the static limit when the inherent gauge deteriorates.

Ungauged Formulations and Current Conservation

Current conservation is inherent in Ampère’s law and it is known that if current is conserved, explicit gauge fixing is not necessary as iterative solvers converge towards a valid solution. However, it is generally not sufficient for the source currents to be divergence free in an analytical sense as when interpolated on the finite element functional basis, this property is not conserved.

When using the Magnetic and Electric Fields interface the electric potential is used to state current conservation so unless nonphysical current sources are specified inside the computational domain current conservation is fulfilled.

When using the Magnetic Fields interface, current conservation is usually imposed either by the solver (for magnetostatics) or in the transient or time harmonic case by the induced current density. The explicit gauge or divergence constraint can also help imposing current conservation as described in Explicit Gauge Fixing/Divergence Constraint.

Time-Harmonic Magnetic Fields

In the time-harmonic case, there is no computational cost for including the displacement current in Ampère’s law (then called Maxwell-Ampère’s law):

In the transient case, the inclusion of this term leads to a second-order equation in time, but in the harmonic case there are no such complications. Using the definition of the electric and magnetic potentials, the system of equations becomes:

∇ J⋅ 0=

∇ σA( )⋅ 0=

∇ H× J σ E v B×+( ) jωD Je+( )+= =

T H E O R Y F O R T H E M A G N E T I C F I E L D S I N T E R F A C E | 277

Page 278: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

278 | C H A P T E

The constitutive relation D = ε0E + P has been used for the electric field.

To obtain a particular gauge that reduces the system of equation, choose Ψ = −jV/ω in the gauge transformation. This gives:

When vanishes from the equations, only the second one is needed,

Working with is often the best option when it is possible to specify all source currents as external currents Je or as surface currents on boundaries.

∇– jωσ ω2ε0–( )A σv ∇ A×( ) σ jωε0+( )∇V Je jωP+( )–+×–( )⋅ 0=

jωσ ω2ε0–( )A ∇ μ01– ∇ A M–×( )× σv ∇ A×( ) σ jωε0+( )∇V+×–+ Je jωP+=

A jω----∇V–= V 0=

V

jωσ ω2ε0–( )A˜

∇ μ01– ∇ A

˜M–×( )× σv ∇ A

˜×( )×–+ Je jωP+=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 279: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Th eo r y f o r t h e Magn e t i c F i e l d F o rmu l a t i o n I n t e r f a c e

The Magnetic Field Formulation Interface is used for 3D, 2D in-plane, and 2D axisymmetric components. The alternative formulation of the magnetic problem is particularly suitable to model materials having a highly nonlinear electric conductivity, such as superconductors. This section discusses the Equation System.

Equation System

To derive the equation system in this physics interface, start with Faraday’s law:

The electric field is computed from the current density, using an appropriate constitutive relation:

where Je is an externally generated current density, v is the relative velocity of the domain in the physics interface’s or node’s frame, and Em(J) is a (possibly nonlinear) relation sometimes called E-J characteristic, which describes the electric field in the local (material) frame as a function of the current density. The total current density J is finally obtained from Ampère’s Law:

Combining these equations give the first equation in the system applied by the Magnetic Field Formulation interface:

For a deeper theoretical background to the magnetic vector potential used, see Maxwell’s Equations.

∇ E× B∂t∂

-------–=

E Em J Je–( ) v B×+=

∇ H× J=

∇ Em J Je–( ) v B×+( )× B∂t∂

-------+ 0=

T H E O R Y F O R T H E M A G N E T I C F I E L D F O R M U L A T I O N I N T E R F A C E | 279

Page 280: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

280 | C H A P T E

This equation must be modified in different studies and according to the chosen constitutive relation. In stationary studies, the equation becomes:

while in frequency domain is:

The second equation in the system is the magnetic Gauss’ law:

This equation is added with two purposes:

• Make the problem numerically stable when using curl elements. The feature adding this equation can only be applied when the magnetic field is discretized using curl elements, that is, in 3D components, and 2D or 2D axisymmetric components when the in-plane components are solved for.

• In magnetostatics, the magnetic flux density B does not appear in the first equation. To allow modeling of magnetic materials and permanent magnets, it is necessary to include B (with its constitutive relation) through the Magnetic Gauss’ Law node.

E - J C H A R A C T E R I S T I C F O R T H E E L E C T R I C F I E L D C O M P U T A T I O N

The Em(J) characteristic introduced in the previous section can be specified in different ways in the Faraday’s Law node. The most common case is a linear relation between Em and J. In magnetostatics and in time-dependent studies (in the quasi-static approximation) this relation is specified by the resistivity or the electrical conductivity:

∇ Em J Je–( ) v B×+( )× 0=

∇ Em J Je–( ) v B×+( ) jωB+× 0=

The term involving the velocity only applies in the 2D and 2D axisymmetric formulations.

∇ B⋅ 0=

Em ρJ=

Em σ 1– J=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 281: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

σ and ρ can be tensor quantities, in which case the inverse is intended as the inverse of a tensor. In frequency-domain, the displacement current is included, giving the following relations:

If the E-J characteristic is non linear, such in the case of a superconductor, the function can be expressed explicitly or as a material property.

Em ρ( ) 1– jωε0εr+( )1–J=

Em σ jωε0εr+( ) 1– J=

Superconducting Wire: Application Library path ACDC_Module/Other_Industrial_Applications/superconducting_wire

T H E O R Y F O R T H E M A G N E T I C F I E L D F O R M U L A T I O N I N T E R F A C E | 281

Page 282: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

282 | C H A P T E

Th eo r y f o r t h e Magn e t i c F i e l d s , No Cu r r e n t s I n t e r f a c e

In magnetostatic problems where no electric currents are present, it is possible to formulate and solve the problem using a scalar magnetic potential. In a current-free region you have ∇ × H = 0. This implies that the magnetic scalar potential Vm can be defined from the relation H = −∇ Vm, which is analogous to the definition of the electric potential for static electric fields.

Using the constitutive relation B = μ0(H + M), the equation ∇ ⋅ B = 0 becomes

(5-5)

The Magnetic Fields, No Currents Interface uses this equation for modeling of magnetostatics in the absence of electric currents.

In planar 2D the dynamic formulations also involves the thickness d in the z direction:

∇– μ0∇Vm μ0M–( )⋅ 0=

∇– d μ0∇Vm μ0M–( )⋅ 0=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 283: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Th eo r y f o r t h e Magn e t i c and E l e c t r i c F i e l d s I n t e r f a c e

The Magnetic and Electric Fields Interface can be used for modeling full coupling between electric and magnetic fields. Use this physics interface for 3D, 2D in-plane, and 2D axisymmetric components. For a deeper theoretical background to the magnetic vector potential and electric scalar potential used below, see the Theory for the Magnetic Fields Interface.

In this section:

• Magnetostatics Equations

• Frequency Domain Equations

Magnetostatics Equations

To derive the magnetostatics equations, start with Ampère’s law for static cases: ∇ × H = J. Define the potentials,

and the current

where Je is an externally generated current density, and v is the velocity of the conductor.

Add the constitutive relationship, B = μ0(H + M), and rewrite Ampère’s law as

The Magnetic and Electric Currents interface only supports the stationary and frequency domain study types—that is, there is no transient formulation available.

B ∇ A×=

E ∇V–=

J σv B σ V∇–× Je+=

∇ μ01– ∇ A× M–( )× σv ∇ A×( ) σ V∇+×– Je=

T H E O R Y F O R T H E M A G N E T I C A N D E L E C T R I C F I E L D S I N T E R F A C E | 283

Page 284: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

284 | C H A P T E

The equation of continuity is obtained by taking the divergence of Ampère’s law. It is the equation solved for the electric potential. Thus the following equations for V and A apply:

Frequency Domain Equations

To derive the time harmonic equation this physics interface solves, start with Maxwell-Ampère’s law including displacement current (then called Maxwell-Ampère’s law). Including this does not involve any extra computational cost in the frequency domain. Assume time-harmonic fields

and use the definitions of the fields,

and combine them with the constitutive relationships B = μ0(H + M) and D = ε0E + P to rewrite Ampère’s law as

The equation of continuity is again obtained by taking the divergence of Ampère’s law. It is the equation solved for the electric potential. Thus the following equations for V and A apply:

∇– σv ∇ A×( ) σ∇V Je–+×–( )⋅ 0=

∇ μ01– ∇ A× M–( )× σv ∇ A×( ) σ V∇+×– Je=

∇ H× J σ E v B×+( ) jωD Je+( )+= =

B ∇ A×=

E V j–∇– ωA=

jωσ ω2ε0–( )A ∇ μ01– ∇ A M–×( )× σv ∇ A×( ) σ jωε0+( )∇V jωP–+×–+ Je=

∇– jωσ ω2ε0–( )A σv ∇ A×( ) σ jωε0+( )∇V Je jωP+( )–+×–( )⋅ 0=

jωσ ω2ε0–( )A ∇ μ01– ∇ A M–×( )× σv ∇ A×( ) σ jωε0+( )∇V jωP–+×–+ Je=

R 5 : M A G N E T I C F I E L D I N T E R F A C E S

Page 285: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

6

T h e E l e c t r i c a l C i r c u i t I n t e r f a c e

The Electrical Circuit interface, found under the AC/DC branch ( ) when adding interfaces, has the equations for modeling electrical circuits with or without connections to a distributed fields model, solving for the voltages, currents and charges associated with the circuit elements.

In this chapter:

• The Electrical Circuit Interface

• Theory for the Electrical Circuit Interface

285

Page 286: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

286 | C H A P T E

Th e E l e c t r i c a l C i r c u i t I n t e r f a c e

The Electrical Circuit (cir) interface ( ), found under the AC/DC branch ( ) when adding a physics interface, is used to model currents and voltages in circuits including voltage and current sources, resistors, capacitors, inductors, and semiconductor devices. Models created with the Electrical Circuit interface can include connections to distributed field models. The physics interface supports stationary, frequency-domain and time-domain modeling and solves Kirchhoff's conservation laws for the voltages, currents and charges associated with the circuit elements.

When this physics interface is added, it adds a default Ground Node feature and associates that with node zero in the electrical circuit.

D E V I C E N A M E S

Each circuit component has an associated Device name, which is constructed from a prefix identifying the type of the device and a string. The string can be specified in the feature’s Settings window. The Device name is used to identify variables defined by the component, and for the SPICE Import and Exportfunctionality.

S E T T I N G S

The Label is the default physics interface name.

The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers and underscores (_) are permitted in the Name field. The first character must be a letter.

The default Name (for the first physics interface in the model) is cir.

Circuit nodes are nodes in the electrical circuit (electrical nodes) and should not be confused with nodes in the Model Builder tree of the COMSOL Multiphysics software. Circuit node names are not restricted to numerical values but can contain alphanumeric characters.

Inductor in an Amplifier Circuit: Application Library path ACDC_Module/Inductive_Devices_and_Coils/inductor_in_circuit

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 287: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

R E S I S T A N C E I N P A R A L L E L T O P N J U N C T I O N S

For numerical stability, a large resistance is added automatically in parallel to the pn junctions in diodes and BJT devices. Enter a default value for the Resistance in parallel

to pn junctions Rj (SI unit: Ω). The default value is 1·1012 Ω.

C R E A T E U N I Q U E N O D E S F O R N E W D E V I C E S

When this setting is selected (the default), newly added devices will be assigned unused node names. The devices will be disconnected from the rest of the circuit and the nodes should be updated to reflect the actual circuit connections. When the this setting is deselected, new devices will be connected to the lowest-numbered nodes starting from 0.

E L E C T R I C A L C I R C U I T TO O L B A R

The following nodes are available from the Electrical Circuit ribbon toolbar (Windows users), Electrical Circuit context menu (Mac or Linux users), or right-click to access the context menu (all users).:

• Theory for the Electrical Circuit Interface

• Connecting to Electrical Circuits

For step-by-step instructions and general documentation descriptions, this is the Electrical Circuit toolbar.

T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 287

Page 288: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

288 | C H A P T E

Ground Node

The Ground Node ( ) feature adds a ground node with the default node number zero to the electrical circuit. This is the default node in the Electrical Circuit interface. More ground nodes can be added but those must have unique node numbers and are by default given higher node numbers.

G R O U N D C O N N E C T I O N

Set the Node name for the ground node in the circuit. The convention is to use 0 (zero) for the ground node. If adding more ground nodes. each must have a unique node name (number).

Volt Meter

The Volt Meter ( ) feature connects a voltmeter (voltage measurement device) between two nodes in the electrical circuit. A voltmeter behaves electrically as an open circuit. The Volt Meter node adds a Probe sampling the voltage across it.

• Ground Node

• Volt Meter

• Ampère Meter

• Resistor

• Capacitor

• Inductor

• Voltage Source

• Current Source

• Diode

• Voltage-Controlled Voltage Source1

• Voltage-Controlled Current Source1

• Current-Controlled Voltage Source1

• Current-Controlled Current Source1

• Subcircuit Definition

• Subcircuit Instance

• Mutual Inductance

• Transformer

• NPN BJT and PNP BJT2

• n-Channel MOSFET and p-Channel MOSFET2

• External I vs. U3

• External U vs. I3

• External I-Terminal3

• SPICE Circuit Import

• SPICE Circuit Export

1 Selected from the Dependent Sources submenu when you right-click main node.2 Selected from the Transistors submenu when you right-click main node.3 Selected from the External Couplings submenu when you right-click main node.

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 289: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

D E V I C E N A M E

Enter a Device name for the voltmeter. The name is also used in the probe.

N O D E C O N N E C T I O N S

Set the two Node names for the connecting nodes for the resistor.

Ampère Meter

The Ampère Meter ( ) feature connects an ammeter (current measurement device) between two nodes in the electrical circuit. An ammeter behaves electrically as a short circuit. The Ampère Meter node adds a Probe sampling the current through it.

D E V I C E N A M E

Enter a Device name for the ammeter. The name is also used in the probe.

N O D E C O N N E C T I O N S

Set the two Node names for the connecting nodes for the resistor.

D E V I C E P A R A M E T E R S

Enter the Resistance of the resistor.

Resistor

The Resistor ( ) feature connects a resistor between two nodes in the electrical circuit.

D E V I C E N A M E

Enter a Device name for the resistor. The prefix is R.

N O D E C O N N E C T I O N S

Set the two Node names for the connecting nodes for the resistor.

Probes in the COMSOL Multiphysics Reference Manual

Probes in the COMSOL Multiphysics Reference Manual

T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 289

Page 290: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

290 | C H A P T E

D E V I C E P A R A M E T E R S

Enter the Resistance of the resistor.

Capacitor

The Capacitor ( ) feature connects a capacitor between two nodes in the electrical circuit.

D E V I C E N A M E

Enter a Device name for the capacitor. The prefix is C.

N O D E C O N N E C T I O N S

Set the two Node names for the connecting nodes for the capacitor.

D E V I C E P A R A M E T E R S

Enter the Capacitance of the capacitor.

Inductor

The Inductor ( ) feature connects an inductor between two nodes in the electrical circuit.

D E V I C E N A M E

Enter a Device name for the inductor. The prefix is L.

N O D E C O N N E C T I O N S

Set the two Node names for the connecting nodes for the inductor.

D E V I C E P A R A M E T E R S

Enter the Inductance of the inductor.

Voltage Source

The Voltage Source ( ) feature connects a voltage source between two nodes in the electrical circuit.

D E V I C E N A M E

Enter a Device name for the voltage source. The prefix is V.

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 291: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

N O D E C O N N E C T I O N S

Set the two Node names for the connecting nodes for the voltage source. The first node represents the positive reference terminal.

D E V I C E P A R A M E T E R S

Enter the Source type that should be adapted to the selected study type. It can be DC-source, AC-source, or a time-dependent Sine source or Pulse source. Depending on the choice of source, also specify the following parameters:

• For a DC-source, the Voltage Vsrc (default value: 1 V). DC-sources are active in Stationary and Time-Dependent studies.

• For an AC-source: the Voltage Vsrc (default value: 1 V) and the Phase Θ (default value: 0 rad). AC-sources are active in Frequency Domain studies only.

• For a sine source: the Voltage Vsrc (default value: 1 V), the Offset Voff (default value: 0 V), the Frequency (default value: 1 kHz), and the Phase Θ (default value: 0 rad). The sine sources are active in Time-Dependent studies and also in Stationary studies, providing that a value for t has been provided as a model parameter or global variable.

• For a pulse source: the Voltage Vsrc (default value: 1 V), the Offset Voff (default value: 0 V), the Delay td (default value: 0s), the Rise time tr and Fall time tf (default values: 0 s), the Pulse width pw (default value: 1 μs), and the Period Tper (default value: 2 μs). The pulse sources are active in Time-Dependent studies and also in Stationary studies, providing that a value for t has been provided as a model parameter or global variable.

All values are peak values rather than RMS.

Current Source

The Current Source ( ) feature connects a current source between two nodes in the electrical circuit.

D E V I C E N A M E

Enter a Device name for the current source. The prefix is I.

For the AC source, the frequency is a global input set by the solver. AC sources should be used in Frequency-domain studies only. Do not use the Sine source unless the model is time-dependent.

T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 291

Page 292: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

292 | C H A P T E

N O D E C O N N E C T I O N S

Set the two Node names for the connecting nodes for the current source. The first node represents the positive reference terminal from where the current flows through the source to the second node.

D E V I C E P A R A M E T E R S

Enter the Source type that should be adapted to the selected study type. It can be DC-source, AC-source, or a time-dependent Sine source or Pulse source. Depending on the choice of source, also specify the following parameters:

• For a DC-source, the Current isrc (default value: 1 A). DC-sources are active in Stationary and Time-Dependent studies.

• For an AC-source: the Current isrc (default value: 1 A) and the Phase Θ (default value: 0 rad). AC-sources are active in Frequency Domain studies only.

• For a sine source: the Current isrc (default value: 1 A), the Offset ioff (default value: 0 A), the Frequency (default value: 1 kHz), and the Phase Θ (default value: 0 rad). The sine sources are active in Time-Dependent studies and also in Stationary studies, providing that a value for t has been provided as a model parameter or global variable.

• For a pulse source: the Current isrc (default value: 1 A), the Offset ioff (default value: 0 A), the Delay td (default value: 0 s), the Rise time tr and Fall time tf (default values: 0 s), the Pulse width pw (default value: 1 μs), and the Period Tper (default value: 2 μs). The pulse sources are active in Time-Dependent studies and also in Stationary studies, providing that a value for t has been provided as a model parameter or global variable.

All values are peak values rather than RMS.

Voltage-Controlled Voltage Source

The Voltage-Controlled Voltage Source ( ) feature connects a voltage-controlled voltage source between two nodes in the electrical circuit. A second pair of nodes define the input control voltage.

For the AC source, the frequency is a global input set by the solver. AC sources should be used in Frequency-domain studies only. Do not use the Sine source unless the model is time-dependent.

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 293: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

D E V I C E N A M E

Enter a Device name for the voltage-controlled voltage source. The prefix is E.

N O D E C O N N E C T I O N S

Specify four Node names: the first pair for the connection nodes for the voltage source and the second pair defining the input control voltage. The first node in a pair represents the positive reference terminal.

D E V I C E P A R A M E T E R S

Enter the voltage Gain. The resulting voltage is this number multiplied by the control voltage.

Voltage-Controlled Current Source

The Voltage-Controlled Current Source ( ) feature connects a voltage-controlled current source between two nodes in the electrical circuit. A second pair of nodes define the input control voltage.

D E V I C E N A M E

Enter a Device name for the voltage-controlled current source. The prefix is G.

N O D E C O N N E C T I O N S

Specify four Node names: the first pair for the connection nodes for the current source and the second pair defining the input control voltage. The first node in a pair represents the positive voltage reference terminal or the one from where the current flows through the source to the second node.

D E V I C E P A R A M E T E R S

Enter the source Gain (SI units: S). The resulting current is this number multiplied by the control voltage. It represents the transconductance of the source.

Current-Controlled Voltage Source

The Current-Controlled Voltage Source ( ) feature connects a current-controlled voltage source between two nodes in the electrical circuit. The input control current is the one flowing through a two-pin device.

D E V I C E N A M E

Enter a Device name for the current-controlled voltage source. The prefix is H.

T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 293

Page 294: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

294 | C H A P T E

N O D E C O N N E C T I O N S

Set two Node names for the connection nodes for the voltage source. The first node in a pair represents the positive reference terminal.

D E V I C E P A R A M E T E R S

Enter the voltage Gain and select the Device whose current is taken as the control current. The resulting voltage is this number multiplied by the control current through the named Device (any two-pin device). Thus it formally has the unit of resistance.

Current-Controlled Current Source

The Current-Controlled Current Source ( ) feature connects a current-controlled current source between two nodes in the electrical circuit. The input control current is the one flowing through a named device that must be a two-pin device.

D E V I C E N A M E

Enter a Device name for the current-controlled current source. The prefix is F.

N O D E C O N N E C T I O N S

Specify two Node names for the connection nodes for the current source. The first node in a pair represents the positive reference terminal from where the current flows through the source to the second node.

D E V I C E P A R A M E T E R S

Enter the current Gain and select the Device whose current is taken as the control current. The resulting current is this number multiplied by the control current through the Device.

Subcircuit Definition

The Subcircuit Definition ( ) feature is used to define subcircuits, which can be inserted as devices into the main circuit using Subcircuit Instance nodes. Create the subcircuit by adding subnodes to the Subcircuit Definition node, either by using the Physics toolbar, or by right-clicking the Subcircuit Definition.

S U B C I R C U I T P I N S

Define the Pin names at which the subcircuit connects to the main circuit or to other subcircuits when referenced by a Subcircuit Instance node. The Pin names refer to circuit nodes in the subcircuit. The order in which the Pin names are defined is the

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 295: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

order in which they are referenced by a Subcircuit Instance node. The devices constistuting the subcircuit should be connected only to the subcircuit’s pins and to themselves.

Subcircuit Instance

The Subcircuit Instance ( ) feature represents an instance of a subcircuits defined by a Subcircuit Definition feature.

D E V I C E N A M E

Enter a Device name for the subcircuit instance. The prefix is X.

N O D E C O N N E C T I O N S

Select the Name of subcircuit link from the list of defined subcircuits in the circuit model and the circuit Node names at which the subcircuit instance connects to the main circuit or to another subcircuit if used therein.

NPN BJT and PNP BJT

The NPN BJT ( ) and the PNP BJT ( ) device models are large-signal models for bipolar junction transistors (BJT). It is an advanced device model and no thorough description and motivation of the many input parameters are attempted here. Many device manufacturers provide model input parameters for this BJT model. For any particular make of BJT, the device manufacturer should be the primary source of information.

D E V I C E N A M E

Enter a Device name for the BJT. The prefix is Q.

N O D E C O N N E C T I O N S

Specify three Node names for the connection nodes for the BJT device. These represent the collector, base, and emitter nodes for the NPN transistor, and the emitter, base, and collector nodes for the PNP transistor.

T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 295

Page 296: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

296 | C H A P T E

M O D E L P A R A M E T E R S

Specify the Model Parameters. Reasonable defaults are provided but for any particular BJT, the device manufacturer should be the primary source of information.

n-Channel MOSFET and p-Channel MOSFET

The n-Channel MOSFET ( ) and the p-Channel MOSFET ( ) device models are large-signal models for, respectively, an n-Channel MOS field-effect transistor (MOSFET) and p-Channel MOSFET. These are advanced device models and no thorough description and motivation of the many input parameters are attempted here. Many device manufacturers provide model parameters for the MOSFET models. For any particular make of MOSFET, the device manufacturer should be the primary source of information.

D E V I C E N A M E

Enter a Device name for the MOSFET. The prefix is M.

N O D E C O N N E C T I O N S

Specify four Node names for the connection nodes for the n-Channel MOSFET or p-Channel MOSFET device. These represent the drain, gate, source, and bulk nodes, respectively.

M O D E L P A R A M E T E R S

Specify the Model Parameters. Reasonable defaults are provided but for any particular MOSFET, the device manufacturer should be the primary source of information.

The interested reader is referred to Ref. 1 for more details on semiconductor modeling within circuits.

For an explanation of the Model Parameters see Bipolar Transistors.

The interested reader is referred to Ref. 1 for more details on semiconductor modeling within circuits.

For an explanation of the Model Parameters see MOSFET Transistors.

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 297: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Mutual Inductance

The Mutual Inductance allows specifying a coupling between two existing Inductor features in the circuit. The mutual inductance of the coupling is

where k is the coupling factor and L1 and L2 are the inductances of the inductors.

D E V I C E P A R A M E T E R S

Enter values or expressions for the:

• Coupling factor k (dimensionless). The value must be between 0 and 1, and the default is 0.98.

• First inductance L1 (SI unit: H) and Second inductance L2 (SI unit: H). These must be set to two different Inductor features in the circuit.

Transformer

The Transformer feature represents either a combination of two Inductor and a Mutual Inductance features, or an ideal transformer.

N O D E C O N N E C T I O N S

Enter or edit the table in the Node names column for the primary and secondary node connections.

D E V I C E P A R A M E T E R S

Chose a Transformer model—Specify inductors (the default) or Ideal transformer.

For Specify inductors enter values or expressions for the:

• Coupling factor k (dimensionless). The default is 0.98.

• First inductance L1 (SI unit: H). The default is 1 mH.

• Second inductance L2 (SI unit: H). The default is 1 mH.

For Ideal transformer enter values or expressions for the Winding ratio N1/N2 (dimensionless). The default is 10.

M k L1L2=

T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 297

Page 298: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

298 | C H A P T E

Diode

The Diode device model ( ) is a large-signal model for a diode. It is an advanced device model and no thorough description and motivation of the many input parameters are attempted here. The interested reader is referred to Ref. 1 for more details on semiconductor modeling within circuits. Many device manufacturers provide model parameters for this diode model. For any particular make of diode, the device manufacturer should be the primary source of information.

D E V I C E N A M E

Enter a Device name for the diode. The prefix is D.

N O D E C O N N E C T I O N S

Specify two Node names for the positive and negative nodes for the Diode device.

M O D E L P A R A M E T E R S

Specify the Model Parameters. Reasonable defaults are provided but for any particular diode, the device manufacturer should be the primary source of information.

External I vs. U

The External I vs. U ( ) feature connects an arbitrary voltage measurement (for example, a circuit terminal or circuit port boundary or a coil domain from another physics interface) as a voltage source between two nodes in the electrical circuit. The resulting circuit current from the first node to the second node is typically coupled back as a prescribed current source in the context of the voltage measurement.

D E V I C E N A M E

Enter a Device name for the External I vs. U node.

N O D E C O N N E C T I O N S

Specify the two Node names for the connecting nodes for the voltage source. The first node represents the positive reference terminal.

For an explanation of the Model Parameters see Diode.

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 299: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

E X T E R N A L D E V I C E

Enter the source of the Voltage. If circuit or current excited terminals or circuit ports are defined on boundaries or domains or a multiturn coil domains is defined in other physics interfaces, these display as options in the Voltage list. Also select the User defined

option and enter your own voltage variable, for example, using a suitable coupling operator. For inductive or electromagnetic wave propagation models, the voltage measurement must be performed as an integral of the electric field because the electric potential only does not capture induced EMF. Also the integration must be performed over a distance that is short compared to the local wavelength.

External U vs. I

The External U vs. I ( ) feature connects an arbitrary current measurement (for example, a coil domain from another physics interface) as a current source between two nodes in the electrical circuit. The resulting circuit voltage between the first node and the second node is typically coupled back as a prescribed voltage source in the context of the current measurement.

D E V I C E N A M E

Enter a Device name for the External U vs. I node.

N O D E C O N N E C T I O N S

Specify the two Node names for the connecting nodes for the current source. The current flows from the first node to the second node.

Except when coupling to a circuit terminal, circuit port, or coil, the current flow variable must be manually coupled back in the electrical circuit to the context of the voltage measurement. This applies also when coupling to a current excited terminal. The name of this current variable follows the convention cirn.IvsUm_i, where cirn is the tag of the Electrical Circuit interface node and IvsUm is the tag of the External I vs.

U node. The tags are typically displayed within curly brackets {} in the Model Builder.

Component Couplings and Coupling Operators in the COMSOL Multiphysics Reference Manual

T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 299

Page 300: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

300 | C H A P T E

E X T E R N A L D E V I C E

Enter the source of the Current. Voltage excited terminals or lumped ports defined on boundaries in other physics interfaces are natural candidates but do not appear as options in the Voltage list because those do not have an accurate built-in current measurement variable. A User defined option must be selected and a current variable entered, for example, using a suitable coupling operator.

External I-Terminal

The External I-Terminal ( ) feature connects an arbitrary voltage-to-ground measurement (for example, a circuit terminal from another physics interface) as a voltage-to-ground assignment to a node in the electrical circuit. The resulting circuit current from the node is typically coupled back as a prescribed current source in the context of the voltage measurement. This node does not apply when coupling to inductive or electromagnetic wave propagation models because then voltage must be defined as a line integral between two points rather than a single point measurement of electric potential. For such couplings, use the External I vs. U node instead.

D E V I C E N A M E

Enter a Device name for the External I-terminal.

N O D E C O N N E C T I O N S

Set the Node name for the connecting node for the voltage assignment.

The voltage variable must be manually coupled back in the electrical circuit to the context of the current measurement. This applies also when coupling to a voltage excited terminal or lumped port. The name of this voltage variable follows the convention cirn.UvsIm_v, where cirn is the tag of the Electrical Circuit interface node and UvsIm is the tag of the External U vs. I node. The tags are typically displayed within curly brackets {} in the Model Builder.

Component Couplings and Coupling Operators in the COMSOL Multiphysics Reference Manual

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 301: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

E X T E R N A L TE R M I N A L

Enter the source of the Voltage. If circuit- or current-excited terminals are defined on boundaries in other physics interfaces, these display as options in the Voltage list. Also select the User defined option and enter a voltage variable, for example, using a suitable coupling operator.

SPICE Circuit Import

Right-click the Electrical Circuit ( ) feature node to import an existing SPICE netlist (select Import Spice Netlist). A window opens—enter a file location or browse your directories to find one. The default file extension for a SPICE netlist is .cir. The SPICE circuit import translates the imported netlist into Electrical Circuit interface nodes so these define the subset of SPICE features that can be imported.

SPICE Circuit Export

Right-click the Electrical Circuit ( ) feature node to export the current circuit to the SPICE netlist file format (select Export Spice Netlist ). A window opens—enter a file location or browse your directories to find one. The default file extension for a SPICE netlist is .cir. The compatible circuit nodes are exported as SPICE devices

Except when coupling to a circuit terminal, the current flow variable must be manually coupled back in the electrical circuit to the context of the voltage measurement. This applies also when coupling to a current excited terminal. The name of this current variable follows the convention cirn.termIm_i, where cirn is the tag of the Electrical Circuit interface node and termIm is the tag of the External I-Terminal node. The tags are typically displayed within curly brackets {} in the Model Builder.

Component Couplings and Coupling Operators in the COMSOL Multiphysics Reference Manual

See Spice Import about the supported SPICE commands.

T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 301

Page 302: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

302 | C H A P T E

See SPICE Export for more details on the supported SPICE commands.

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 303: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Th eo r y f o r t h e E l e c t r i c a l C i r c u i t I n t e r f a c e

The Electrical Circuit Interface theory is discussed in this section:

• Electric Circuit Modeling and the Semiconductor Device Models

• Bipolar Transistors

• MOSFET Transistors

• Diode

• Reference for the Electrical Circuit Interface

Electric Circuit Modeling and the Semiconductor Device Models

Electrical circuit modeling capabilities are useful when simulating all sorts of electrical and electromechanical devices ranging from heaters and motors to advanced plasma reactors in the semiconductor industry. There are two fundamental ways that an electrical circuit model relates to a physical field model.

• The field model is used to get a better, more accurate description of a single device in the electrical circuit model.

• The electrical circuit is used to drive or terminate the device in the field model in such a way that it makes more sense to simulate both as a tightly coupled system.

The Electrical Circuit interface makes it possible to add nodes representing circuit elements directly to the Model Builder tree in a COMSOL Multiphysics model. The circuit variables can then be connected to a physical device model to perform co-simulations of circuits and multiphysics. The model acts as a device connected to the circuit so that its behavior is analyzed in larger systems.

The fundamental equations solved by the Electrical Circuit interface are Kirchhoff’s circuit laws, which in turn can be deduced from Maxwell’s equations. The supported study types are Stationary, Frequency Domain, and Time Dependent.

Connecting to Electrical Circuits

T H E O R Y F O R T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 303

Page 304: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

304 | C H A P T E

There are three more advanced large-signal semiconductor device features available in the Electrical Circuit interface. The equivalent circuits and the equations defining their non-ideal circuit elements are described in this section. For a more detailed account on semiconductor device modeling, see Ref. 1.

Bipolar Transistors

Figure 6-1 illustrates the equivalent circuit for the npn bipolar junction transistor.

Figure 6-1: A circuit for the bipolar transistor.

The pnp transistor model is similar in all regards to the npn transistor, with the difference that the polarities of the currents and voltages involved are reversed. The following equations are used to compute the relations between currents and voltages in the circuit.

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 305: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

There are also two capacitances that use the same formula as the junction capacitance of the diode model. In the parameter names below, replace x with C for the base-collector capacitance and E for the base-emitter capacitance.

The model parameters are listed in the table below.

TABLE 6-1: BIPOLAR TRANSISTOR MODEL PARAMETERS

PARAMETER DEFAULT DESCRIPTION

BF 100 Ideal forward current gain

BR 1 Ideal reverse current gain

CJC 0 F/m2 Base-collector zero-bias depletion capacitance

CJE 0 F/m2 Base-emitter zero-bias depletion capacitance

FC 0.5 Breakdown current

IKF Inf (A/m2) Corner for forward high-current roll-off

IKR Inf (A/m2) Corner for reverse high-current roll-off

vrb1A---- RBM

RB RBM–

fbq--------------------------–

ib=

fbq1

2 1vbcVAF-----------–

vbeVAR-----------–

----------------------------------------------- 1 1 4IS

e

vbe

NFVT

--------------–

1–IKFA

-------------------------- e

vbc

NRVT

--------------–

1–IKRA

--------------------------+

++

=

ibe AIS

BF------- e

vbe

NFVT

--------------–

1–

ISE e

vbe

NEVT

--------------–

1–

+

=

ibc AIS

BR-------- e

vbc

NRVT

--------------–

1–

ISC e

vbc

NCVT

--------------–

1–

+

=

ice AIS

fbq------- e

vbe

NFVT

--------------–

e

vbc

NCVT

--------------–

+

=

VTkBTNOM

q------------------------=

Cjbx ACJx

1vbx

VJx----------–

MJx–

1 FC–( ) 1– MJx– 1 FC 1 MJx+( )– MJxvbxVJx----------+

×=vbx FCVJx<

vbx FCVJx≥

T H E O R Y F O R T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 305

Page 306: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

306 | C H A P T E

IS 1e-15 A/m2 Saturation current

ISC 0 A/m2 Base-collector leakage saturation current

ISE 0 A/m2 Base-emitter leakage saturation current

MJC 1/3 Base-collector grading coefficient

MJE 1/3 Base-emitter grading coefficient

NC 2 Base-collector ideality factor

NE 1.4 Base-emitter ideality factor

NF 1 Forward ideality factor

NR 1 Reverse ideality factor

RB 0 Ωm2 Base resistance

RBM 0 Ωm2 Minimum base resistance

RC 0 Ωm2 Collector resistance

RE 0 Ωm2 Emitter resistance

TNOM 298.15 K Device temperature

VAF Inf (V) Forward Early voltage

VAR Inf (V) Reverse Early voltage

VJC 0.71 V Base-collector built-in potential

VJE 0.71 V Base-emitter built-in potential

TABLE 6-1: BIPOLAR TRANSISTOR MODEL PARAMETERS

PARAMETER DEFAULT DESCRIPTION

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 307: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

MOSFET Transistors

Figure 6-2 illustrates an equivalent circuit for the n-channel MOSFET transistor. The p-channel MOSFET transistor is treated similarly, but the polarities of the involved voltages are reversed.

Figure 6-2: A circuit for the MOSFET transistor.

The following equations are used to compute the relations between currents and voltages in the circuit.

T H E O R Y F O R T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 307

Page 308: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

308 | C H A P T E

There are also several capacitances between the terminals

The model parameters are as follows:

TABLE 6-2: MOSFET TRANSISTOR MODEL PARAMETERS

PARAMETER DEFAULT DESCRIPTION

CBD 0 F/m Bulk-drain zero-bias capacitance

CGDO 0 F/m Gate-drain overlap capacitance

CGSO 0 F/m Gate-source overlap capacitance

FC 0.5 Capacitance factor

IS 1e-13 A Bulk junction saturation current

KP 2e-5 A/V2 Transconductance parameter

L 50e-6 m Gate length

MJ 0.5 Bulk junction grading coefficient

N 1 Bulk junction ideality factor

ids

WL-----

KP2

------- 1 Λvds+( )vds 2vth vds–( ) vds vth<

WL-----

KP2

------- 1 Λvds+( )vth2 vds vth≥

0 vds vth 0≤<

=

vth vgs VTO Γ Φ vbs– Φ–( )+( )–=

ibd IS e

vbd

NVT

------------–

1–

=

ibs IS e

vbs

NVT

------------–

1–

=

VTkBTNOM

q------------------------=

Cgd Cgd0W=

Cgs Cgs0W=

Cjbd CBD

1vbdPB---------–

MJ–

1 FC–( ) 1– MJ–1 FC 1 MJ+( )– MJ

vbx

PB--------+

×=vbx FCPB<

vbx FCPB≥

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 309: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

PB 0.75 V Bulk junction potential

RB 0 Ω Bulk resistance

RD 0 Ω Drain resistance

RDS Inf (Ω) Drain-source resistance

RG 0 Ω Gate resistance

RS 0 Ω Source resistance

TNOM 298.15 K Device temperature

VTO 0 V Zero-bias threshold voltage

W 50e-6 m Gate width

Γ (GAMMA) 0 V0.5 Bulk threshold parameter

Φ (PHI) 0.5 V Surface potential

Λ (LAMBDA) 0 1/V Channel-length modulation

TABLE 6-2: MOSFET TRANSISTOR MODEL PARAMETERS

PARAMETER DEFAULT DESCRIPTION

T H E O R Y F O R T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 309

Page 310: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

310 | C H A P T E

Diode

Figure 6-3 illustrates equivalent circuit for the diode.

Figure 6-3: A circuit for the diode.

The following equations are used to compute the relations between currents and voltages in the circuit.

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 311: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

where the following model parameters are required

TABLE 6-3: DIODE TRANSISTOR MODEL PARAMETERS

PARAMETER DEFAULT DESCRIPTION

BV Inf (V) Reverse breakdown voltage

CJ0 0 F Zero-bias junction capacitance

FC 0.5 Forward-bias capacitance coefficient

IBV 1e-09 A Current at breakdown voltage

IKF Inf (A) Corner for high-current roll-off

IS 1e-13 A Saturation current

M 0.5 Grading coefficient

N 1 Ideality factor

NBV 1 Breakdown ideality factor

NR 2 Recombination ideality factor

RS 0 Ω Series resistance

TNOM 298.15 K Device temperature

VJ 1.0 V Junction potential

id idhl idrec idb ic+ + +=

idhl IS e

vd

NVT

------------–

1– 1

1IS

IKF--------- e

vd

NVT

------------–

1–

+

------------------------------------------------------=

idrec ISR e

vd

NRVT

--------------–

1–

=

idb IBVe

vd BV+NBVVT

------------------–

=

Cj CJ0

1vdVJ-------–

M–

vd FCVJ<

1 FC–( ) 1– M– 1 FC 1 M+( )– Mvd

VJ-------+

vd FCVJ≥

×=

VTkBTNOM

q------------------------=

T H E O R Y F O R T H E E L E C T R I C A L C I R C U I T I N T E R F A C E | 311

Page 312: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

312 | C H A P T E

Reference for the Electrical Circuit Interface

1. P. Antognetti and G. Massobrio, Semiconductor Device Modeling with Spice, 2nd ed., McGraw-Hill, 1993.

R 6 : T H E E L E C T R I C A L C I R C U I T I N T E R F A C E

Page 313: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

7

H e a t T r a n s f e r I n t e r f a c e s

The AC/DC Module license includes a physics interface found under the Heat Transfer>Electromagnetic Heating branch ( ). This physics interface combines magnetic fields with heat transfer for modeling of electromagnetic heating such as induction heating. The Induction Heating Interface is discussed in this chapter.

313

Page 314: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

314 | C H A P T E

Th e I n du c t i o n Hea t i n g I n t e r f a c e

The Induction Heating interface ( ) is used to model induction heating and eddy current heating. This multiphysics interface adds a Magnetic Fields interface and a Heat Transfer in Solids interface. The multiphysics couplings add the electromagnetic power dissipation as a heat source, and the electromagnetic material properties can depend on the temperature.

Depending on the licensed products, stationary modeling and time-domain modeling are supported in 2D and 3D. In addition, combinations of frequency-domain modeling for the Magnetic Fields interface and stationary modeling for the Heat Transfer in Solids interface, called frequency-stationary and, similarly, frequency-transient modeling, are supported.

When a predefined Induction Heating interface is added from the Heat

Transfer>Electromagnetic Heating branch ( ) of the Model Wizard or Add Physics windows, Magnetic Fields and Heat Transfer in Solids interfaces are added to the Model Builder. A Multiphysics node is also added, which automatically includes the multiphysics coupling features Electromagnetic Heat Source, Boundary Electromagnetic

Heat Source, and Temperature Coupling.

On the Constituent Physics InterfacesThe Magnetic Fields interface is used to compute magnetic field and induced current distributions in and around coils, conductors and magnets. Depending on the licensed products, stationary, frequency-domain, and time-domain formulations are supported in 2D and 3D. Note that the frequency and time domain formulations become ill-posed when approaching the static limit. One may extend the useful frequency range downward by adding a low electric conductivity. The Magnetic Fields interface solves Maxwell's equations formulated using the magnetic vector potential and, optionally for coils, the scalar electric potential as the dependent variables.

The Heat Transfer in Solids interface provides features for modeling heat transfer by conduction, convection, and radiation. A Heat Transfer in Solids model is active by default on all domains. All functionality for including other domain types, such as a fluid domain, is also available. The temperature equation defined in solid domains

R 7 : H E A T TR A N S F E R I N T E R F A C E S

Page 315: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

corresponds to the differential form of Fourier's law that may contain additional contributions like heat sources.

S E T T I N G S F O R P H Y S I C S I N T E R F A C E S A N D C O U P L I N G F E A T U R E S

When physics interfaces are added using the predefined couplings, for example Induction Heating, specific settings are included with the physics interfaces and the coupling features.

However, if physics interfaces are added one at a time, followed by the coupling features, these modified settings are not automatically included.

For example, if single Magnetic Fields and Heat Transfer in Solids interfaces are added, COMSOL adds an empty Multiphysics node. You can choose from the available coupling features but the modified settings are not included.

In previous versions of COMSOL Multiphysics, a specific physics interface called Induction Heating was added to the Model Builder. Now, a predefined multiphysics coupling approach is used, improving the flexibility and design options for your modeling. For specific details, see Multiphysics Modeling Approaches in the COMSOL Multiphysics Reference Manual.

Coupling features are available from the context menu (right-click the Multiphysics node) or from the Physics toolbar, Multiphysics menu.

TABLE 7-1: MODIFIED SETTINGS FOR AN INDUCTION HEATING INTERFACE

PHYSICS INTERFACE OR COUPLING FEATURE

MODIFIED SETTINGS (IF ANY)

Magnetic Fields No changes.

Heat Transfer in Solids No changes.

Electromagnetic Heat Source

The Domain Selection is the same as that of the participating physics interfaces.

The corresponding Magnetic Fields and Heat Transfer in Solids interfaces are preselected in the Electromagnetic Heat Source section.

T H E I N D U C T I O N H E A T I N G I N T E R F A C E | 315

Page 316: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

316 | C H A P T E

P H Y S I C S I N T E R F A C E S A N D C O U P L I N G F E A T U R E S

Coupling Features• The Electromagnetic Heat Source coupling feature node is described in this section.

• The Electromagnetic Heat Source and Temperature Coupling feature nodes are described for The Joule Heating Interface in the COMSOL Multiphysics Reference Manual.

Boundary Electromagnetic Heat Source

The Boundary Selection is the same as the exterior and interior boundaries of the Domain Selection of the participating physics interfaces.

The corresponding Magnetic Fields and Heat Transfer in Solids interfaces are preselected in the Boundary Electromagnetic Heat Source section.

Temperature Coupling The corresponding Magnetic Fields and Heat Transfer in Solids interfaces are preselected in the Temperature Coupling section.

A side effect of adding physics interfaces one at a time is that two study types—Frequency-Stationary and Frequency-Transient—are not available for selection until after at least one coupling feature is added. In this case, it is better to first add an Empty Study, then add the coupling features to the Multiphysics node, and lastly, right-click the Study node to add the study steps as needed.

TABLE 7-1: MODIFIED SETTINGS FOR AN INDUCTION HEATING INTERFACE

PHYSICS INTERFACE OR COUPLING FEATURE

MODIFIED SETTINGS (IF ANY)

Use the online help in COMSOL Multiphysics to locate and search all the documentation. All these links also work directly in COMSOL Multiphysics when using the Help system.

R 7 : H E A T TR A N S F E R I N T E R F A C E S

Page 317: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

Physics Interface FeaturesPhysics nodes are available from the Physics ribbon toolbar (Windows users), Physics context menu (Mac or Linux users), or right-click to access the context menu (all users).

• The available physics features for The Magnetic Fields Interface are listed in the section Domain, Boundary, Point, and Pair Nodes for the Magnetic Fields Interface.

• See The Heat Transfer Interfaces in the COMSOL Multiphysics Reference Manual for information about the available physics features for heat transfer.

Electromagnetic Heat Source

The Electromagnetic Heat Source multiphysics coupling node represents the electromagnetic losses, Qe (SI unit: W/m3), as a heat source in the heat transfer part of the model. It is given by

where the resistive losses are

and the magnetic losses are

In general, to add a node, go to the Physics toolbar, no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.

Inductive Heating of a Copper Cylinder: Application Library path ACDC_Module/Electromagnetic_Heating/inductive_heating

See The Heat Transfer Interfaces and The Joule Heating Interface in the COMSOL Multiphysics Reference Manual for other Heat Transfer interface and feature node settings.

Qe Qrh Qml+=

Qrh12---Re J E*⋅( )=

T H E I N D U C T I O N H E A T I N G I N T E R F A C E | 317

Page 318: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

318 | C H A P T E

S E T T I N G S

The Label is the default multiphysics coupling name.

The Name is used primarily as a scope prefix for variables defined by the coupling node. Refer to such variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different coupling nodes or physics interfaces, the name string must be unique. Only letters, numbers and underscores (_) are permitted in the Name field. The first character must be a letter.

The default Name (for the first multiphysics coupling in the model) is emh1.

E L E C T R O M A G N E T I C H E A T S O U R C E

This section defines the physics involved in the electromagnetic heat source multiphysics coupling. By default, the applicable physics interface is selected in the Electromagnetic list to apply the Heat transfer to its physics interface to establish the coupling.

You can also select None from either list to uncouple the Electromagnetic Heat Source

node from a physics interface. If the physics interface is removed from the Model

Builder, for example Heat Transfer in Solids is deleted, then the Heat transfer list defaults to None as there is nothing to couple to.

Qml12---Re iωB H*⋅( )=

If a physics interface is deleted and then added to the model again, and in order to re-establish the coupling, you need to choose the physics interface again from the Heat transfer or Electromagnetic lists. This is applicable to all multiphysics coupling nodes that would normally default to the once present physics interface. See Multiphysics Modeling Approaches in the COMSOL Multiphysics Reference Manual.

R 7 : H E A T TR A N S F E R I N T E R F A C E S

Page 319: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

8

G l o s s a r y

This Glossary of Terms contains finite element modeling terms in an electromagnetics context. For mathematical terms as well as geometry and CAD terms specific to the COMSOL Multiphysics® software and documentation, see the glossary in the COMSOL Multiphysics Reference Manual. For references to more information about a term, see the index.

319

Page 320: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

320 | C H A P T E

G l o s s a r y o f T e rm sanisotropy Variation of material properties with direction.

constitutive relation The relation between the D and E fields and between the B and H fields. These relations depend on the material properties.

eddy currents Induced currents normal to a time-varying magnetic flux in a ferromagnetic material.

edge element See vector element.

electric dipole See electric currents point dipole, electrostatics point dipole, and magnetic fields electric dipole.

electric currents point dipole Two equal and opposite point current sources +q and −q separated a short distance d. The electric current dipole moment is given by p = qd, where d is a vector going from −q to +q.

electrostatics point dipole Two equal and opposite charges +q and −q separated a short distance d. The electric dipole moment is given by p = qd, where d is a vector going from −q to +q.

gauge transformation A variable transformation of the electric and magnetic potentials that leaves Maxwell’s equations invariant.

magnetic dipole A small circular loop carrying a current. The magnetic dipole moment is m = IAe, where I is the current carried by the loop, A its area, and e a unit vector along the central axis of the loop.

magnetic fields electric dipole The limiting case when the length d of a current filament carrying uniform current I approaches zero while maintaining the product between I and d.

Nedelec’s edge element See vector element.

phasor A complex function of space representing a sinusoidally varying quantity.

R 8 : G L O S S A R Y

Page 321: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

quasi-static approximation The electromagnetic fields are assumed to vary slowly, so that the retardation effects can be neglected. This approximation is valid when the geometry under study is considerably smaller than the wavelength.

vector element A finite element often used for electromagnetic vector fields. The tangential component of the vector field at the mesh edges is used as a degree of freedom. Also called Nedelec’s edge element or just edge element.

G L O S S A R Y O F TE R M S | 321

Page 322: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

322 | C H A P T E

R 8 : G L O S S A R Y
Page 323: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

I n d e x

A adiabatic assumption 62

air stress tensors

electromagnetics 45

moving bodies 49

ampère meter (node) 289

Ampère’s law (node) 196, 199

Ampère’s law and current conservation

(node) 266

anisotropic materials 34

Application Libraries window 22

application library examples

AC/DC materials 63

boundary conditions 61

Cartesian coordinates 59

connecting electrical circuits to phys-

ics interfaces 99

contact impedance 157

dielectric shielding node 118

effective nonlinear magnetic curves 38

electric currents 142

electric shielding 156

electrical circuits 99, 286

electromagnetic forces 66

electrostatics 108

induction heating 317

magnetic and electric fields 261

magnetic field formulation 237, 281

magnetic fields 193

magnetic fields, no currents 244

rotating machinery, magnetic 253

single-turn coil domain 70, 78

stress tensors 45

symmetries 60–61

terminal node 121

thin low permittivity gap 118

total forces 46

vector hysteresis modeling 40, 199

applying, electromagnetic sources 61

Archie’s law (node) 128

automatic current calculation (node) 218

axial symmetry, cylindrical coordinates

59

B base node 295

bipolar junction transistor 295

boundary conditions

electromagnetics theory 35

forced voltage, port 87

boundary current source (node) 150

boundary electric potential coupling

(node) 139

boundary feed (node) 223

boundary group (node) 225

boundary nodes

electric currents 142

electric currents, shell 166

electrostatics 108

magnetic and electric fields 264

magnetic field formulation 237

magnetic fields 193

magnetic fields, no currents 244

Brinell hardness 185

bulk node 296

C calculating

electromagnetic forces 41, 66

forces in moving objects 48

S-parameters 98

capacitance matrix, fixed charge 88

capacitance matrix, forced voltage 87

capacitor (node) 290

Cartesian coordinates 19, 58

cementation exponent 129, 181

I N D E X | 323

Page 324: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

324 | I N D E X

change cross-section (node) 126

change shell thickness (node) 170

change thickness (out-of-plane) (node)

127

charge conservation (node) 111, 135

charge conservation, piezoelectric

(node) 127

charge relaxation theory 173

circuit import, SPICE 301

circular coil 79

coil (node) 208

coil geometry (node) 215

coil wires inlet/outlet (node) 217

coil, single-turn 220

collector node 295

common settings 20

conductive media 187

conductor model (coil) 208

connected boundaries (node)

coil 220

constitutive relations theory 29–30

contact impedance (node) 156

continuum mechanics forces 41

Cooper-Mikic-Yovanovich (CMY) corre-

lation 184

Coulomb gauge 275

coupling, to the electrical circuits inter-

face 100

curl elements 280

curl shape functions 206

current conservation (node)

electric currents 144

electric currents, shell 167

current conservation, ungauged formula-

tions 277

current source (node)

electric currents 148

electric currents, shell 169

electrical circuits 291

current sources, theory 175

current-controlled current source

(node) 294

current-controlled voltage source

(node) 293

cylindrical coordinates 19, 59

D device models, electrical circuits 304

dielectric shielding (node) 118

dielectrics and perfect conductors 36

diode (node) 298

diode transistor model 310

dispersive materials 35

distributed capacitance (node) 123

distributed impedance (node) 151

documentation 21

domain group (node) 225

domain nodes

electric currents 142

electrostatics 108

magnetic and electric fields 264

magnetic field formulation 237

magnetic fields 193

magnetic fields, no currents 244

drain node 296

E edge current (node) 229

edge nodes

electric currents 142

electric currents, shell 166

electrostatics 108

magnetic and electric fields 264

E-J characteristic 279

elastic material stress tensor

electromagnetics 47

moving bodies 50

elastic pure conductor 47, 49

electric currents interface 140

theory 182

Page 325: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

electric currents, shell interface 164

theory 187

electric displacement field (node) 116

electric field (node) 240

electric field transformation (node) 255

electric fields theory 172

electric forces and torques 51

electric insulation (node)

electric currents 148

electric point dipole (node)

electric currents 162

magnetic fields 206

electric point dipole (on axis) (node) 162

electric potential (node) 114, 136

electric shielding (node)

electric currents 155

electric currents, shell 170

electrical circuit interface 286

theory 303

electrical circuits

modeling techniques 99

electrical conductivity, porous media 180

electrical contact (node) 158

theory 183

electrical size 57

electromagnetic energy, theory 32

electromagnetic forces and torques 65

electromagnetic forces, calculating 41

electromagnetic heating (node) 317

electromagnetic quantities 52

electromagnetic sources, applying 61

electromagnetic stress tensors 45

electrostatic point dipole (node) 128

electrostatics interface 106

theory 172

electrostatics, boundary elements inter-

face 131

emailing COMSOL 23

emitter node 295

equation of continuity 173

error message, electrical circuits 100

exporting

SPICE netlists 104

external current density (node)

electric currents 147

magnetic fields 200

external I vs. U (node) 298

external I-terminal (node) 300

external magnetic flux density (node) 248

external magnetic vector potential

(node) 229

external surface charge accumulation

(node) 115

external U vs. I (node) 299

F Faraday’s law 279

Faraday’s law (node) 238

field variables in 2D 63

file, Touchstone 89

fixed current, ports 87

floating potential (node)

electric currents 148

electrostatics 121, 136

single-turn coil 224

fluid saturation 129

force calculation (node) 112

forced voltage, port 87

forces

calculating 65

continuum mechanics and 41

elastic solids, and 43

electromagnetic, calculating 41

in moving objects 48

stationary fields 44

torque 44

formation factor 181

frequency domain study 183

I N D E X | 325

Page 326: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

326 | I N D E X

force calculation and 113

theory, electric currents 175

G Galilei invariants and transformations 48

gap feed (node) 223

gate node 296

gauge fixing 276

gauge fixing for A-field (node) 206

gauge transformation 275

Gauss’ law and charge relaxation theory

173

Gauss’ law equation 176

general elastic materials

electromagnetics 47

moving bodies 50

geometry, simplifying 58

ground (node) 114, 137

ground (node), single-turn coil domain

224

ground node (node) 288

H harmonic perturbation (node), global

214

Helmholtz’s theorem 275

homogenized multi-turn (coil) 208

I impedance boundary condition (node)

229

importing

SPICE netlists 103, 301

induction heating interface 314

inductor (node) 290

inhomogeneous materials 34

initial values (node)

electric currents 147

electric currents, shell 169

electrostatics 112

magnetic and electric fields 266

magnetic field formulation 239

magnetic fields 200

magnetic fields, no currents 246

rotating machinery, magnetic 255

input (node), coil 217

input (node), coil domains 219

internet resources 20

J Jiles-Atherton, hysteresis 38

K Kirchhoff’s circuit laws 303

knowledge base, COMSOL 23

L line charge (node) 123

line charge (on axis) (node) 124

line charge (out-of-plane) (node) 124

line current (out-of-plane) (node) 205

line current source (node) 160

line current source (on axis) (node) 160

linear coil 79

Lorentz force equation 34

Lorentz forces, calculating 65

Lorentz term 33

lumped element (node) 228

lumped parameters

converting 90

energy method 88

fixed current 87

Ohm’s law and 86

studying 89

lumped port (node) 225

lumped ports 94

M magnetic and electric fields interface 258

theory 283

magnetic continuity (node) 268

magnetic field (node) 203

magnetic field formulation interface 235

theory 279

magnetic fields interface 190

theory 272

magnetic fields, no currents interface 242

theory 282

Page 327: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

magnetic flux conservation (node) 246

magnetic flux density (node) 247

magnetic forces and torques 50

magnetic Gauss’ law 280

magnetic Gauss’ law (node) 239

magnetic insulation (node)

magnetic and electric fields 267

magnetic currents 202

magnetic field formulation 240

magnetic fields, no currents 247

magnetic point dipole (node) 232

magnetic point dipole (on axis) (node)

233

magnetic potential (node) 204

magnetic scalar potential (node) 247

magnetic shielding (node)

magnetic and electric fields 267

magnetic currents 233

magnetic fields, no currents 248

material properties

electromagnetics 34

Maxwell capacitance 90

Maxwell stress tensor, calculating 65

Maxwell’s equations

dielectrics 36

electrical circuits and 303

quasi-static approximation 274

theory 28

mesh resolution 64

method of virtual work 50

Mikic elastic correlation 185

mixed formulation boundary (node) 257

MPH-files 22

multiphysics couplings

induction heating 314

multi-turn, homogenized (coil) 208

mutual capacitance matrix 91

mutual inductance (node) 297

N n-Channel MOS transistor 296, 307

n-Channel MOSFET (node) 296

netlists, SPICE 103, 301

nodes, common settings 20

nonlinear materials 35

normal current density (node)

electric currents 151

electric currents, shell 170

NPN bipolar junction transistor 304

NPN BJT (node) 295

numeric coil 80

O Ohm’s law and charge relaxation theory

173

output (node), coil 217

output (node), coil domains 219

P pair contact impedance (node) 156

pair electrical contact (node) 158

pair nodes

electric currents 142

electric currents, shell 166

electrostatics 108

magnetic field formulation 237

magnetic fields 193

magnetic fields, no currents 244

pair thin low permeability gap (node) 249

p-Channel MOS transistor 296

p-Channel MOSFET (node) 296

PDE formulations 31

perfect conductors and dielectrics 36

perfect magnetic conductor (node) 205

periodic condition (node) 116

phasors 36

physics interface guide 15

physics interfaces, common settings 20

PMC. see perfect magnetic conductor.

PNP BJT (node) 295

point charge (node) 125

point charge (on axis) (node) 125

I N D E X | 327

Page 328: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

328 | I N D E X

point current source (node) 161

point current source (on axis) (node)

161

point dipoles, magnetic 232

point nodes

electric currents 142

electric currents, shell 166

electrostatics 108

magnetic and electric fields 264

magnetic field formulation 237

magnetic fields 193

magnetic fields, no currents 244

porous media (node) 129

ports, lumped 94

potentials, scalar and magnetic 31

power law, porous media

conductivity 178

permeability 180

permittivity 179

Poynting’s theorem 33

predefined couplings, electrical circuits

100

prescribed rotation (node) 256

prescribed rotational velocity (node) 256

principle of virtual displacement 50

pure conductor stress tensor 47, 49

Q quasi-static approximation 33, 274

R reciprocal permeability, volume average

180

reciprocal permittivity, volume average

179

resistance matrix 91

resistor (node) 289

RLC coil group (node) 269

robust geometry analysis method (coil)

79

rotating machinery, magnetic interface

251

S saturation coefficient 181

saturation exponent 129

scattering parameters. see S-parameters

sector symmetry (node) 159

selecting

solvers 64

space dimensions 58

study types 62

semiconductor device models 304

shape functions 206

single conductor (coil) 208

single-turn coil (node) 220

skin effects 64

solver settings 64

solving models 58

source node 296

space charge density (node) 112

space dimension, solving models and 58

space dimensions, selecting 58

S-parameter calculations

electric field, and 97

SPICE

exporting 104

SPICE capacitance matrix 90

SPICE netlists 103, 301

standard settings 20

stationary fields, forces 44

stationary source sweep (node) 92

stress tensors 49

electromagnetics 47

moving bodies 50

study types

electric currents 183

electromagnetic theory 31

physics interface availability 18

selecting 62

subcircuit definition (node) 294

subcircuit instance (node) 295

Page 329: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

surface charge density (node) 115, 137

surface current (node)

magnetic and electric fields 267

magnetic currents 204

surface magnetic current density (node)

241

sweeps and lumped parameters 89

symmetry specification (coil) 79

T technical support, COMSOL 23

terminal (node)

electric currents 153

electrostatics 119

electrostatics, boundary elements 138

theory

constitutive relations 29–30

electric currents interface 182

electric currents, shell 187

electric fields 172

electrical circuit interface 303

electromagnetics 28

electrostatics interface 172

lumped ports 94

magnetic and electric fields 274, 283

magnetic field formulation 279

magnetic fields interface 272

magnetic fields, no currents 282

thin low permeability gap (node)

magnetic fields 232

magnetic fields, no currents 249

thin low permittivity gap (node) 117

thin shells, conductive media 187

time dependent study 62, 175, 183

torque forces 44

torques, calculating 65

Touchstone and port sweeps 89

transformations, Galilei 48

transformer (node) 297

transient study 62

transition boundary condition (node)

231

U user defined coil 81

user defined coil geometry (node) 216

V vacuum stress tensors

electromagnetics 45

moving bodies 49

variables

coil domains 76

physical quantities 52

S-parameters 98

velocity (Lorentz term) (node) 201

Vickers correlation coefficient 185

Vickers size index 185

volt meter (node) 288

voltage source (node) 290

voltage-controlled current source

(node) 293

voltage-controlled voltage source (node)

292

volume average, permeability 179

volume average, permittivity 178

volume averages, porous media 177

W wavelength 64

websites, COMSOL 23

Z zero charge (node) 113

zero magnetic scalar potential (node)

248

I N D E X | 329

Page 330: The AC/DC Module User’s Guide · 2017. 4. 19. · CONTENTS| 3 Contents Chapter 1: Introduction About the AC/DC Module 14 What Can the AC/DC Module Do?. . . . . . . . . . . . . .

330 | I N D E X


Recommended