RF Module Users Guide
RF Module Users Guide
User’s Guide
RF Module User’s Guide
© 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
Contact Information
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:
Chapter 1: Introduction
Chapter 2: RF Modeling
Simplifying Geometries 27
2D Models . . . . . . . . . . . . . . . . . . . . . . . . . 27
3D Models . . . . . . . . . . . . . . . . . . . . . . . . . 29
Using Efficient Boundary Conditions . . . . . . . . . . . . . . . 30
Applying Electromagnetic Sources . . . . . . . . . . . . . . . . 30
Meshing and Solving . . . . . . . . . . . . . . . . . . . . . . 31
CONTENTS |3
S-Parameters and Ports 40
S-Parameters in Terms of Voltage and Electric Field . . . . . . . . . . 40
S-Parameter Calculations . . . . . . . . . . . . . . . . . . . . 41
S-Parameter Variables . . . . . . . . . . . . . . . . . . . . . 41
Port Sweeps/Manual Terminal Sweeps and Touchstone Export. . . . . . 41
Spice Import 55
SPICE Import . . . . . . . . . . . . . . . . . . . . . . . . 55
SPICE Export . . . . . . . . . . . . . . . . . . . . . . . . 56
Reference for SPICE Import and Export . . . . . . . . . . . . . . 56
Maxwell’s Equations 62
Introduction to Maxwell’s Equations . . . . . . . . . . . . . . . 62
Constitutive Relations . . . . . . . . . . . . . . . . . . . . . 63
4 | CONTENTS
Potentials. . . . . . . . . . . . . . . . . . . . . . . . . . 64
Electromagnetic Energy . . . . . . . . . . . . . . . . . . . . 65
Material Properties . . . . . . . . . . . . . . . . . . . . . . 66
Boundary and Interface Conditions . . . . . . . . . . . . . . . . 68
Phasors . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Special Calculations 70
S-Parameter Calculations . . . . . . . . . . . . . . . . . . . . 70
Far-Field Calculations Theory . . . . . . . . . . . . . . . . . . 73
References . . . . . . . . . . . . . . . . . . . . . . . . . 74
Electromagnetic Quantities 75
CONTENTS |5
Magnetic Field . . . . . . . . . . . . . . . . . . . . . . . 109
Scattering Boundary Condition . . . . . . . . . . . . . . . . 109
Impedance Boundary Condition . . . . . . . . . . . . . . . . 112
Surface Current Density . . . . . . . . . . . . . . . . . . . 114
Surface Magnetic Current Density . . . . . . . . . . . . . . . 115
Surface Roughness . . . . . . . . . . . . . . . . . . . . . 115
Transition Boundary Condition . . . . . . . . . . . . . . . . 116
Periodic Condition . . . . . . . . . . . . . . . . . . . . . 117
Magnetic Current . . . . . . . . . . . . . . . . . . . . . 118
Two-Port Network . . . . . . . . . . . . . . . . . . . . . 119
Two-Port Network Port . . . . . . . . . . . . . . . . . . . 120
Edge Current . . . . . . . . . . . . . . . . . . . . . . . 120
Electric Point Dipole . . . . . . . . . . . . . . . . . . . . 120
Magnetic Point Dipole . . . . . . . . . . . . . . . . . . . . 121
Line Current (Out-of-Plane) . . . . . . . . . . . . . . . . . 121
Archie’s Law . . . . . . . . . . . . . . . . . . . . . . . 121
Porous Media . . . . . . . . . . . . . . . . . . . . . . . 122
6 | CONTENTS
The Electromagnetic Waves, Time Explicit Interface 139
Domain, Boundary, and Pair Nodes for the Electromagnetic Waves,
Time Explicit Interface . . . . . . . . . . . . . . . . . . 140
Wave Equations . . . . . . . . . . . . . . . . . . . . . . 141
Initial Values. . . . . . . . . . . . . . . . . . . . . . . . 143
Electric Current Density . . . . . . . . . . . . . . . . . . . 144
Magnetic Current Density . . . . . . . . . . . . . . . . . . 144
Electric Field . . . . . . . . . . . . . . . . . . . . . . . 144
Perfect Electric Conductor . . . . . . . . . . . . . . . . . . 145
Magnetic Field . . . . . . . . . . . . . . . . . . . . . . . 145
Perfect Magnetic Conductor . . . . . . . . . . . . . . . . . 145
Surface Current Density . . . . . . . . . . . . . . . . . . . 146
Low-Reflecting Boundary . . . . . . . . . . . . . . . . . . . 146
Flux/Source . . . . . . . . . . . . . . . . . . . . . . . . 147
CONTENTS |7
Absorbing Layers . . . . . . . . . . . . . . . . . . . . . . 173
8 | CONTENTS
C h a p t e r 6 : H e a t Tr a n s f e r I n t e r f a c e s
Chapter 7: Glossary
CONTENTS |9
10 | C O N T E N T S
1
Introduction
This guide describes the RF Module, an optional add-on package for COMSOL
Multiphysics® with customized physics interfaces and functionality optimized for
the analysis of electromagnetic waves.
This chapter introduces you to the capabilities of this module. 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.
11
About the RF Module
In this section:
The module is useful for component design in virtually all areas where you find
electromagnetic waves, such as:
• Antennas
• Filters, couplers, and power dividers
• Planar circuits and passive devices
• RF interconnects and packages
• Waveguides and cavity resonators
• Frequency-selective surfaces
• Meta-materials
12 | CHAPTER 1: INTRODUCTION
The physics interfaces cover the following types of electromagnetics field simulations
and handle time-harmonic, time-dependent, and eigenfrequency/eigenmode
problems:
Material properties include inhomogeneous and fully anisotropic materials, media with
gains or losses, and complex-valued material properties. In addition to the standard
postprocessing features, the module supports direct computation of S-parameters and
far-field patterns. You can add ports with a wave excitation with specified power level
and mode type, and add PMLs (perfectly matched layers) to simulate electromagnetic
waves that propagate into an unbounded domain. For time-harmonic simulations, you
can use the scattered wave or the total wave.
This module also has interfaces for circuit modeling, a SPICE interface, and support
for importing ECAD drawings.
Independently of the structure size, the 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.
14 | CHAPTER 1: INTRODUCTION
PHYSICS INTERFACE ICON TAG SPACE AVAILABLE PRESET STUDY
DIMENSION TYPE
AC/DC
Electromagnetic Heating
However, if the Frequency Domain study available with the Electromagnetic Waves,
Frequency Domain interface is used, this allows you to efficiently simplify and assume
that all variations in time occur as sinusoidal signals. Then the problem is
time-harmonic and in the frequency domain. Thus you can formulate it as a stationary
problem with complex-valued solutions. The complex value represents both the
amplitude and the phase of the field, while the frequency is specified as a scalar model
input, usually provided by the solver. This approach is useful because, combined with
Fourier analysis, it applies to all periodic signals with the exception of nonlinear
16 | CHAPTER 1: INTRODUCTION
problems. Examples of typical frequency domain simulations are wave-propagation
problems like waveguides and antennas.
For nonlinear problems you can apply a Frequency Domain study after a linearization
of the problem, which assumes that the distortion of the sinusoidal signal is small.
Use a Time Dependent study when the nonlinear influence is strong, or if you are
interested in the harmonic distortion of a sine signal. It can also be more efficient to
use a Time Dependent study if you have a periodic input with many harmonics, like a
square-shaped signal.
DEFAULT FREQUENCY
In the RF module, the Frequency Domain, the Frequency-Domain Modal, and the
Eigenfrequency study step have GHz as the default frequency unit and a default
frequency of 1[GHz].
18 | CHAPTER 1: INTRODUCTION
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.
• 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.
• Press Ctrl+F1.
• From the File menu select Help>Documentation ( ).
• Press Ctrl+F1.
• On the main toolbar, click the Documentation ( ) button.
• From the main menu, select Help>Documentation.
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.
To include the latest versions of model examples, from the Help menu
select ( ) Update COMSOL Application Library.
To receive technical support from COMSOL for the COMSOL products, please
contact your local COMSOL representative or send your questions to
20 | CHAPTER 1: INTRODUCTION
support@comsol.com. An automatic notification and a case number are sent to you by
email.
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.
RF THEORY
The Electromagnetics Theory chapter contains a review of the basic theory of
electromagnetics, starting with Maxwell’s Equations, and the theory for some Special
Calculations: S-parameters, lumped port parameters, and far-field analysis. There is
also a list of Electromagnetic Quantities with their SI units and symbols.
RADIO FREQUENCY
Radio Frequency Interfaces chapter describes:
22 | CHAPTER 1: INTRODUCTION
• The Transmission Line Interface, which solves the time-harmonic transmission line
equation for the electric potential.
• The Electromagnetic Waves, Time Explicit Interface, which solves a transient wave
equation for both the electric and magnetic fields.
ELECTRICAL CIRCUIT
AC/DC Interfaces chapter describes The Electrical Circuit Interface, which simulates
the current in a conductive and capacitive material under the influence of an electric
field. All three study types (Stationary, Frequency Domain, and Time Dependent) are
available. The underlying theory is also included at the end of the chapter.
H E A T TR A N S F E R
Heat Transfer Interfaces chapter describes the Microwave Heating interface, which
combines the physics features of an Electromagnetic Waves, Frequency Domain
interface from the RF Module with the Heat Transfer interface. The predefined
interaction adds the electromagnetic losses from the electromagnetic waves as a heat
source and solves frequency domain (time-harmonic) electromagnetic waves in
conjunction with stationary or transient heat transfer. This physics interface is based on
the assumption that the electromagnetic cycle time is short compared to the thermal
time scale (adiabatic assumption). The underlying theory is also included at the end of
the chapter.
O V E R V I E W O F T H E U S E R ’S G U I D E | 23
24 | CHAPTER 1: INTRODUCTION
2
RF Modeling
The goal of this chapter is to familiarize you with the modeling procedure in the
RF Module. A number of models available through the RF Module Applications
Libraries also illustrate the different aspects of the simulation process.
In this chapter:
25
Preparing for RF Modeling
Several modeling topics are described in this section that might not be found in
ordinary textbooks on electromagnetic theory.
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. Keep in mind that it can be more accurate and efficient to use several
simple models instead of a single, complex one.
26 | CHAPTER 2: RF MODELING
Simplifying Geometries
Most of the problems that are 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 to or equivalent to the real problem.
Furthermore, it is good practice to start a modeling project by building one or several
2D models before going to a 3D model. 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.
In this section:
• 2D Models
• 3D Models
• Using Efficient Boundary Conditions
• Applying Electromagnetic Sources
• Meshing and Solving
2D Models
The text below is a guide to some of the common approximations made for 2D
models. Remember that the modeling in 2D usually represents some 3D geometry
under the assumption that nothing changes in the third dimension or that the field has
a prescribed propagation component in the third dimension.
CARTESIAN COORDINATES
In this case a cross section is viewed 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 or that the field has a prescribed wave vector
component 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).
SIMPLIFYING GEOMETRIES | 27
There are usually two approaches that lead to a 2D cross-section view of a problem.
The first approach is when it is known that there is no variation of the solution in one
particular dimension.
This is shown in the model H-Bend Waveguide 2D, where the electric field only has
one component in the z direction and is constant along that axis. The second approach
is when there is a problem where the influence of the finite extension in the third
dimension can be neglected.
Figure 2-1: The cross sections and their real geometry for Cartesian coordinates and
cylindrical coordinates (axial symmetry).
28 | CHAPTER 2: RF MODELING
When using the axisymmetric versions, the horizontal axis represents the
radial (r) direction and the vertical axis the z direction, and the geometry
in the right half-plane (that is, for positive r only) must be created.
PO LA RIZATION IN 2D
In addition to selecting 2D or 2D axisymmetry when you start building the model, the
physics interfaces (The Electromagnetic Waves, Frequency Domain Interface or The
Electromagnetic Waves, Transient Interface) in the Model Builder offers a choice in
the Components settings section. The available choices are Out-of-plane vector,
In-plane vector, and Three-component vector. This choice determines what
polarizations can be handled. For example, as you are solving for the electric field, a
2D TM (out-of-plane H field) model requires choosing In-plane vector as then the
electric field components are in the modeling plane.
3D Models
Although COMSOL Multiphysics fully supports arbitrary 3D geometries, it is
important to simplify the problem. This is because 3D models often require more
computer power, memory, and time to solve. The extra time spent on simplifying a
model is probably well spent when solving it. Below are a few issues that need to be
addressed before starting to implement a 3D model in this module.
• Check if it is 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.
• Look for symmetries in the geometry and model. Many problems have planes where
the solution is the same on both sides of the plane. A good way to check this is to
flip the geometry around the plane, for example, by turning it up-side down around
the horizontal plane. Then remove the geometry below the plane if no differences
are observed 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.
• There are also cases when the dependence along one direction is known, and it can
be replaced by an analytical function. Use this approach either to convert 3D to 2D
or to convert a layer to a boundary condition.
SIMPLIFYING GEOMETRIES | 29
Using Efficient Boundary Conditions
An important technique to minimize the problem size is to use efficient boundary
conditions. Truncating the geometry without introducing too large errors is one of the
great challenges in modeling. Below are a few suggestions of how to do this. They
apply to both 2D and 3D problems.
• Many models extend to infinity or can have regions where the solution only
undergoes small changes. This problem is addressed in two related steps. First, the
geometry needs to be truncated in a suitable position. Second, a suitable boundary
condition needs to be applied 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. For radiation problems, special
low-reflecting boundary conditions need to be applied. This boundary should be in
the order of a few wavelengths away from any source.
A more accurate option is to use perfectly matched layers (PMLs). PMLs are layers
that absorbs all radiated waves with small reflections.
• Replace thin layers with boundary conditions where possible. There are several types
of boundary conditions in COMSOL Multiphysics suitable for such replacements.
For example, replace materials with high conductivity by the perfect electric
conductor (PEC) boundary condition.
• Use boundary conditions for known solutions. For example, an antenna aperture
can be modeled as an equivalent surface current density on a 2D face (boundary) in
a 3D model.
30 | CHAPTER 2: RF MODELING
Meshing and Solving
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:
• The first 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.
• The second 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. At least two linear
elements per skin depth are required to capture the variation of the fields. If the skin
depth is not studied or a very accurate measure of the dissipation loss profile is not
needed, replace regions with a small skin depth with a boundary condition, thereby
saving elements. If it is necessary to resolve the skin depth, the boundary layer
meshing technique can be a convenient way to get a dense mesh near a boundary.
• The third and last factor is the wavelength. To resolve a wave properly, it is necessary
to use about 10 linear (or five 2nd order) elements per wavelength. Keep in mind
that the wavelength depends on the local material properties.
SOLVERS
In most cases the solver sequence generated by COMSOL Multiphysics can be used.
The choice of solver is optimized for the typical case for each physics interface and
study type in this module. However, in special cases tuning the solver settings can be
required. This is especially important for 3D problems because they can require a large
amount of memory.
• Meshing
• Studies and Solvers
SIMPLIFYING GEOMETRIES | 31
Periodic Boundary Conditions
The RF Module has a dedicated Periodic Condition. The periodic condition can
identify simple mappings on plane source and destination boundaries of equal shape.
The destination can also be rotated with respect to the source. There are three types
of periodic conditions available (only the first two for transient analysis):
Periodic boundary conditions must have compatible meshes. This can be done
automatically by enabling the Physics-control mesh in the setting for The
Electromagnetic Waves, Frequency Domain Interface or by manually setting up the
correct mesh sequence
To learn how to use the Copy Mesh feature to ensure that the mesh on
the destination boundary is identical to that on the source boundary, see
Plasmonic Wire Grating: Application Library path RF_Module/Tutorials/
plasmonic_wire_grating.
32 | CHAPTER 2: RF MODELING
In the COMSOL Multiphysics Reference Manual:
∇ × ( μ –1 ∇ × E ) – ω 2 εc E = 0
The known background field becomes a source term and the scattered field
formulation thus solves for the relative electric field. A linearly polarized plane wave
background field, a paraxial-approximate Gaussian beam, or a user-defined
background field can be specified. When solving the scattered field formulation the
total, the background, and the relative electric fields are available. The relative field is
the difference between the background field and the total field. It is the relative field
that contributes to the far-field calculation. For more information about the Far-Field
computation, see Far-Field Calculations Theory. The benefit to this approach is that if
the background field is much larger in magnitude than the scattered field, the accuracy
of the simulation improves if the relative field is solved for. Another advantage is that
is becomes very easy to set up a perfectly matched layer surrounding the homogeneous
medium modeling domain.
The drawback to the this approach is that the relative field requires some careful
interpretation. The relative electric field can conceptually be decomposed into:
The Escattered component is the scattered field from object. This is the field that is of
interest in a scattering problem. However, the relative field may also consist of a
component that represents a correction to the background field and a cancellation of
the background field. The Ecorrection component can be nonzero when the
background field does not exactly satisfy Maxwell’s equations, such as when the
paraxial Gaussian beam approximation is used for a tightly focused beam. For more
information about the Gaussian beam theory, see Gaussian Beams as Background
Fields. The Ecancellation component will be nonzero and equal to −Ebackground
wherever the total field should be zero, such as in the interior of any perfectly shielded
34 | CHAPTER 2: RF MODELING
objects, or behind a relatively large shielding object. Note that this decomposition is
conceptual only, it is only the relative field that is available.
An alternative of using the scattered-field formulation, is to use ports with the Activate
slit condition on interior port setting enabled. Then the domain can be excited by the
interior port and the outgoing field can be absorbed by perfectly matched layers. For
more information about the Port feature and the Activate slit condition on interior port
setting, see Port Properties.
In this section:
The Far-Field Domain and the Far-Field Calculation nodes get their selections
automatically, if the Perfectly Matched Layer (PML) feature has been defined before
adding the Far-Field Domain feature.
For each variable name entered, the software generates functions and variables, which
represent the vector components of the far electric field. The names of these variables
36 | CHAPTER 2: RF MODELING
are constructed by appending the names of the independent variables to the name
entered in the field.
For example, the name Efar is entered and the geometry is Cartesian with the
independent variables x, y, and z, the generated variables get the names Efarx, Efary,
and Efarz.
If, on the other hand, the geometry is axisymmetric with the independent variables r,
phi, and z, the generated variables get the names Efarr, Efarphi, and Efarz.
In 2D, the software only generates the variables for the nonzero field components. The
physics interface name also appears in front of the variable names so they can vary, but
typically look something like emw.Efarz and so forth.
To each of the generated variables, there is a corresponding function with the same
name. This function takes the vector components of the evaluated far-field direction as
arguments.
The vector components also can be interpreted as a position. For example, assume that
the variables dx, dy, and dz represent the direction in which the far electric field is
evaluated.
The expression
Efarx(dx,dy,dz)
gives the value of the far electric field in this direction. To give the direction as an angle,
use the expression
Efarx(sin(theta)*cos(phi),sin(theta)*sin(phi),cos(theta))
where the variables theta and phi are defined to represent the angular direction
( θ, ϕ ) in radians. The magnitude of the far field and its value in dB are also generated
as the variables normEfar and normdBEfar, respectively.
M O D E L I N G W I T H F A R- F I E L D C A L C U L A T I O N S | 37
The variables are plotted for a selected number of angles on a unit circle (in 2D) or a
unit sphere (in 3D). The angle interval and the number of angles can be manually
specified. For 2D Far Field plots also the reference direction from which the angle is
measured and the normal to the plane the far field is computed for can be specified.
For 3D Far Field plots you also specify an expression for the surface color.
The main advantage with the Far Field plot, as compared to making a Line Graph, is that
the unit circle/sphere that you use for defining the plot directions, is not part of your
geometry for the solution. Thus, the number of plotting directions is decoupled from
the discretization of the solution domain.
Default Far Field plots are automatically added to any model that uses far
field calculations.
38 | CHAPTER 2: RF MODELING
Additional variable is provided for 2D models.
M O D E L I N G W I T H F A R- F I E L D C A L C U L A T I O N S | 39
S - P a r a m e t e r s a n d Port s
In this section:
S 11 S 12 . . S 1n
S 21 S 22 . . .
S = . . . . .
. . . . .
S n1 . . . S nn
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.
40 | CHAPTER 2: RF MODELING
S-Parameter Calculations
The RF interfaces have built-in support for S-parameter calculations. Use a Port
boundary feature for each port in the model. 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.
• For more details about lumped ports, see Lumped Ports with Voltage
Input.
• See Port and Lumped Port for instructions to set up a 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 ports with the numbers 1 and 2 and 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:
S 11dB = 20 log 10 ( S 11 )
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.
42 | CHAPTER 2: RF MODELING
L um pe d P o r ts wi t h Vol t age In p u t
In this section:
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
V port
Z port = -------------
I port
V port – V in
S 11 = ----------------------------
V in
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.
L U M P E D P O R T S W I T H VO L T A G E I N P U T | 43
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
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
V = E ⋅ dl = ( E ⋅ ah ) dl
h h
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.
I
+V
Js E h
Ground
n
Lumped port boundary
The transmission line current can be represented with a surface current at the lumped
port boundary directed opposite to the electric field.
V
Z = ----
I
and in analogy to this an equivalent surface impedance is defined at the lumped port
boundary
E ⋅ ah
η = -------------------------
Js ⋅ ( –ah )
To calculate the surface current density from the current, integrate along the width, w,
of the transmission line
I = ( n × Js ) ⋅ dl
= – ( J s ⋅ a h ) dl
w w
44 | CHAPTER 2: RF MODELING
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
( E ⋅ a h ) dl ( E ⋅ a h ) dl
V h
Z = ---- = ----------------------------------- = η ------------------------------ ≈ η ----
h h
I w
– ( J s ⋅ a h ) dl ( E ⋅ a h ) dl
w w
w
η = Z ----
h
where the last approximation assumed that the electric field is constant over the
integrations. A similar relationship can be derived for coaxial cables
2π
η = Z ----------
b
ln ---
a
The transfer equations above are used in an impedance type boundary condition,
relating surface current density to tangential electric field via the surface impedance.
1 1
n × ( H 1 – H 2 ) + --- n × ( E × n ) = 2 --- n × ( E 0 × n )
η η
where E is the total field and E0 the incident field, corresponding to the total voltage,
V, and incident voltage, V0, at the port.
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.
L U M P E D P O R T S W I T H VO L T A G E I N P U T | 45
L UMPED PO R T VAR IA BL ES
Each lumped port generates variables that are accessible to the user. Apart from the
S-parameter, a lumped port condition also generates the following variables.
NAME DESCRIPTION
For example, a lumped port with port number 1, defined in the first geometry, for the
Electromagnetic Waves interface with the tag emw, defines the port impedance variable
emw.Zport_1.
46 | CHAPTER 2: RF MODELING
Lossy Eigenvalue Calculations
In mode analysis and eigenfrequency analysis, it is usually the primary goal to find a
propagation constant or an eigenfrequency. These quantities are often real valued
although it is not necessary. If the analysis involves some lossy part, like a nonzero
conductivity or an open boundary, the eigenvalue is complex. In such situations, the
eigenvalue is interpreted as two parts (1) the propagation constant or eigenfrequency
and (2) the damping in space and time.
In this section:
• Eigenfrequency Analysis
• Mode Analysis
Eigenfrequency Analysis
The eigenfrequency analysis solves for the eigenfrequency of a model. The
time-harmonic representation of the fields is more general and includes a complex
parameter in the phase
˜ jωt ˜ –λ t
E ( r, t ) = Re ( E ( r T )e ) = Re ( E ( r )e )
where the eigenvalue, (−λ) = −δ + jω, has an imaginary part representing the
eigenfrequency, and a real part responsible for the damping. It is often more common
to use the quality factor or Q-factor, which is derived from the eigenfrequency and
damping
ω
Q fact = ---------
2δ
These situations may require special treatment, especially since it can lead to “singular
matrix” or “undefined value” messages if not treated correctly. Under normal
circumstances, the automatically generated solver settings should handle the cases
described in the table above. However, the following discussion provide some
background to the problem of defining the eigenvalue linearization point. The
complication is not only the nonlinearity itself, it is also the way it enters the equations.
For example the impedance boundary conditions with nonzero boundary conductivity
has the term
ε 0 μ 0 μ rbnd
– ( – λ ) ------------------------------------------ ( n × ( n × H ) )
σ bnd
ε rbnd + -----------------
( – λ )ε 0
where (−λ) = −δ + jω. When the solver starts to solve the eigenfrequency problem it
linearizes the entire formulation with respect to the eigenvalue around a certain
linearization point. By default this linearization point is set to the value provided to the
Search for eigenvalues around field, for the three cases listed in the table above.
Normally, this should be a good value for the linearization point. For instance, for the
48 | CHAPTER 2: RF MODELING
impedance boundary condition, this avoids setting the eigenvalue λ to zero in the
denominator in the equation above. For other cases than those listed in the table
above, the default linearization point is zero.
If the default values for the linearization point is not suitable for your particular
problem, you can manually provide a “good” linearization point for the eigenvalue
solver. Do this in the Eigenvalue node (not the Eigenfrequency node) under the Solver
Sequence node in the Study branch of the Model Builder. A solver sequence can be
generated first. In the Linearization Point section, select the Transform point check box
and enter a suitable value in the Point field. For example, if it is known that the
eigenfrequency is close to 1 GHz, enter the eigenvalue 1[GHz] in the field.
In many cases it is enough to specify a good linearization point and then solve the
problem once. If a more accurate eigenvalue is needed, an iterative scheme is necessary:
1 Specify that the eigenvalue solver only searches for one eigenvalue. Do this either
for an existing solver sequence in the Eigenvalue node or, before generating a solver
sequence, in the Eigenfrequency node.
2 Solve the problem with a “good” linearization point. As the eigenvalue shifts, use
the same value with the real part removed from the eigenvalue or, equivalently, use
the real part of the eigenfrequency.
3 Extract the eigenvalue from the solution and update the linearization point and the
shift.
4 Repeat until the eigenvalue does not change more than a desired tolerance.
Mode Analysis
In mode analysis and boundary mode analysis COMSOL Multiphysics solves for the
propagation constant. The time-harmonic representation is almost the same as for the
eigenfrequency analysis, but with a known propagation in the out-of-plane direction
50 | CHAPTER 2: RF MODELING
Connecting to Electrical Circuits
In this section:
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
• 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.
• Apply the voltage or current from the connecting “External” circuit feature as an
excitation in the non-circuit physics interface.
52 | CHAPTER 2: RF MODELING
• 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 VA 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
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.
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.
54 | CHAPTER 2: RF MODELING
Spice Import
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.
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
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.
SPICE IMPORT | 55
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:
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.
56 | CHAPTER 2: RF MODELING
Reduced Order Modeling
When designing bandpass-filter type high-Q devices in the frequency domain, it may
be necessary to apply many frequency samples to describe the passband accurately. The
reduced order modeling technique can help accelerate the modeling of such devices as
a fine frequency resolution can be used for a modest simulation time.
In this section:
DATA MANAGEMENT
With a very fine frequency step simulation, the solutions contain a lot of data. As a
result, the model file size will increase tremendously when it is saved. By selecting the
Store fields in output check box in the Values of Dependent Variables section of the
Frequency Domain study step settings, it is possible to define for what part of the model
the computed solution should be saved. When only S-parameters are of interest, it is
not necessary to store all of the field solutions. Instead, only store the field on the
selections for the port and lumped port boundaries, as those will be used for the
S-parameter calculations.
In the Values of Dependent Variables section, change the selection in the Store fields in
output combo box from All to For selections and then add the explicit selections that
include the port and lumped port boundaries. The explicit selection can be easily
created from the port and lumped port feature by clicking Create Selection icon in the
Boundary Selection settings once the selection is specified.
58 | CHAPTER 2: RF MODELING
frequencies of a device. In a subsequent step, the information from the Eigenfrequency
solutions can be reused in a Frequency-Domain Modal study to generate a solution for
the driven problem.
DATA MANAGEMENT
The Store fields in output check box in the Values of Dependent Variables section can be
applied to the Frequency-Domain Modal study — if you are interested only in
S-parameters. By storing solutions only on port or lumped port boundaries, the saved
model file size will decrease a lot.
60 | CHAPTER 2: RF MODELING
3
Electromagnetics Theory
In this chapter:
• Maxwell’s Equations
• Special Calculations
• Electromagnetic Quantities
See also:
61
Maxwell’s Equations
In this section:
The equations can be formulated in differential or integral form. The differential form
are 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
∂D
∇ × H = J + -------
∂t
∂------
B-
∇×E = –
∂t
∇⋅D = ρ
∇⋅B = 0
∂ρ
∇⋅J = – ------
∂t
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 constitutive relations describing the macroscopic
properties of the medium, are included. They are given as
D = ε0 E + P
B = μ0 ( H + M )
J = σE
Here ε0 is the permittivity of vacuum, μ0 is the permeability of vacuum, and σ the
electrical conductivity. In the SI system, the permeability of a 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
1 – 12 1 –9
ε 0 = ----------
2
= 8.854 ⋅ 10 F/m ≈ --------- ⋅ 10 F/m
c0 μ0 36π
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
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, however, 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
M A X W E L L ’S E Q U A T I O N S | 63
magnetization is directly proportional to the magnetic field, M = χmH, where χm is the
magnetic susceptibility. For such materials, the constitutive relations can be written
D = ε 0 ( 1 + χ e )E = ε 0 ε r E = εE
B = μ 0 ( 1 + χ m )H = μ 0 μ r H = μH
The parameter εr is the relative permittivity and μr is the relative permeability of the
material. These are usually scalar properties but they can, for a general anisotropic
material, be 3-by-3 tensors. The properties ε and μ (without subscripts) are the
permittivity and permeability of the material.
D = ε0 εr E + Dr
The field 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
B = μ0 μr H + Br
where Br is the remanent magnetic flux density, which is the magnetic flux density
when no magnetic field is present.
e
J = σE + J
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
B = ∇×A
∂A
E = – ∇V – -------
∂t
Electromagnetic Energy
The electric and magnetic energies are defined as
D T
∂D
We = V 0 E ⋅ dD dV = V 0 E ⋅ -------
∂t
dt dV
B T
∂B
Wm = V 0 H ⋅ dB dV = V 0 H ⋅ ------
∂t
- dt dV
The time derivatives of these expressions are the electric and magnetic power
∂D
Pe = V E ⋅ -------
∂t
dV
∂B
Pm = V H ⋅ ------
∂t
- dV
These quantities are related to the resistive and radiative energy, or energy loss,
through Poynting’s theorem (Ref. 3)
∂D ∂B
– V E ⋅ -------
∂t
+ H ⋅ ------- dV = J ⋅ E dV + ( E × H ) ⋅ n dS
∂t V °S
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,
Ph = V J ⋅ E dV
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,
Pr =
°S ( E × H ) ⋅ n dS
The quantity S = E × H is called the Poynting vector.
Under the assumption the material is linear and isotropic, it holds that
M A X W E L L ’S E Q U A T I O N S | 65
∂D ∂E
E ⋅ ------- = εE ⋅ ------- = ∂ --- εE ⋅ E
1
∂t ∂t ∂t 2
∂B ∂B
H ⋅ ------- = --- B ⋅ ------- = ∂ ------- B ⋅ B
1 1
∂t μ ∂t ∂ t 2μ
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), this
equation results:
–∂ V --2- εE ⋅ E + ------
- B ⋅ B dV =
1 1
∂t 2μ V J ⋅ E dV + °S ( E × H ) ⋅ n dS
The integrand of the left-hand side is the total electromagnetic energy density
1 1
w = w e + w m = --- εE ⋅ E + ------- B ⋅ B
2 2μ
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 where they require some consideration. A given material can
belong to one or more of these groups. The groups are:
• Inhomogeneous materials
• Anisotropic materials
• Nonlinear materials
• Dispersive materials
The least complicated of the groups above is that of the inhomogeneous materials. An
inhomogeneous medium is one where the constitutive parameters vary with the space
coordinates, so that different field properties prevail at different parts of the material
structure.
For anisotropic materials, the field relations at any point are different for different
directions of propagation. This means that a 3-by-3 tensor is required to properly
define the constitutive relations. If this tensor is symmetric, the material is often
referred to as reciprocal. In these cases, the coordinate system can be rotated in such
a way that a diagonal matrix is obtained. 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). An example where anisotropic parameters
Finally, dispersion describes changes in the velocity of the wave with wavelength. In
the frequency domain, dispersion is expressed by a frequency dependence in the
constitutive laws.
The physics-specific domain material properties are by default taken from the material
specification. The material properties are inputs to material laws or constitutive
relations that are defined on the feature level below the physics interface node in the
model tree. There is one editable default domain feature (wave equation) that initially
represents a linear isotropic material. Domains with different material laws are specified
by adding additional features. Some of the domain parameters can either be a scalar or
a matrix (tensor) depending on whether the material is isotropic or anisotropic.
In a similar way, boundary, edge, and point settings are specified by adding the
corresponding features. A certain feature might require one or several fields to be
specified, while others generate the conditions without user-specified fields.
M A X W E L L ’S E Q U A T I O N S | 67
Boundary and Interface Conditions
To get a full description of an electromagnetic problem, specify boundary conditions
at material interfaces and physical boundaries. At interfaces between two media, the
boundary conditions can be expressed mathematically as
n2 × ( E1 – E2 ) = 0
n2 ⋅ ( D1 – D2 ) = ρs
n2 × ( H1 – H2 ) = Js
n2 ⋅ ( B1 – B2 ) = 0
where ρs and Js denote surface charge density and surface current density,
respectively, and n2 is the outward normal from medium 2. Of these four conditions,
only two are independent. One of the first and the fourth equations, together with one
of the second and third equations, form a set of two independent conditions.
A consequence of the above is the interface condition for the current density,
∂ρ s
n 2 ⋅ ( J 1 – J 2 ) = – --------
∂t
–n2 × E2 = 0
–n2 × H2 = Js
–n2 ⋅ D2 = ρs
–n2 ⋅ B2 = 0
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
ˆ ˆ jφ jωt ˜ jωt
E ( r, t ) = E ( r ) cos ( ωt + φ ) = Re ( E ( r )e e ) = Re ( E ( r )e )
˜
The field E ( r ) is a phasor (phase vector), 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ω,
∂------
E- ˜ jωt
= Re ( jωE ( r )e )
∂t
This means that an equation for the phasor can be derived from a time-dependent
equation by replacing the time derivatives by a factor jω. All time-harmonic equations
in this module are expressed as equations for the phasors. (The tilde is dropped from
the variable denoting the phasor.).
˜
Re ( E ( r ) )
M A X W E L L ’S E Q U A T I O N S | 69
Special Calculations
In this section:
• S-Parameter Calculations
• Far-Field Calculations Theory
• References
S-Parameter Calculations
For high-frequency problems, voltage is not a well-defined entity, and it is necessary
to define the scattering parameters (S-parameter) in terms of the electric field. To
convert an electric field pattern on a port to a scalar complex number corresponding
to the voltage in transmission line theory an eigenmode expansion of the
electromagnetic fields on the ports needs to be performed. Assume that an eigenmode
analysis has been performed on the ports 1, 2, 3, … and that the electric field patterns
E1, E2, E3, … of the fundamental modes on these ports are known. Further, assume
that the fields are normalized with respect to the integral of the power flow across each
port cross section, respectively. This normalization is frequency dependent unless
TEM modes are being dealt with. The port excitation is applied using the fundamental
eigenmode, the mode with subscript 1. The computed electric field Ec on the port
consists of the excitation plus the reflected field. That is, on the port boundary where
there is an incident wave, the computed field can be expanded in terms of the mode
fields as
Ec = E1 + Si1 Ei ,
i=1
Ec = Si1 Ei
i=1
*
( ( E c – E 1 ) ⋅ E 1 ) dA 1
S 11 = port 1
---------------------------------------------------------------
-
*
( E 1 ⋅ E 1 ) dA 1
port 1
*
( E c ⋅ E 2 ) dA 2
port 2
S 21 = ----------------------------------------------
-
*
( E 2 ⋅ E 2 ) dA 2
port 2
*
( E c ⋅ E 3 ) dA 3
port 3
S 31 = ----------------------------------------------
-
*
( E 3 ⋅ E 3 ) dA 3
port 3
and so on. To get S22 and S12, excite port number 2 in the same way.
1 *
S av = --- Re ( E × H )
2
The amount of power flowing out of a port is given by the normal component of the
Poynting vector,
1 *
n ⋅ S av = n ⋅ --- Re ( E × H )
2
Below the cutoff frequency the power flow is zero, which implies that it is not possible
to normalize the field with respect to the power flow below the cutoff frequency. But
in this region the S-parameters are trivial and do not need to be calculated.
In the following subsections the power flow is expressed directly in terms of the electric
field for TE, TM, and TEM waves.
SPECIAL CALCULATIONS | 71
TE Waves
For TE waves it holds that
E = – Z TE ( n × H )
ωμ
Z TE = -------
β
ω is the angular frequency of the wave, μ the permeability, and β the propagation
constant. The power flow then becomes
1 * 1 * 1 2
n ⋅ S av = --- n ⋅ Re ( E × H ) = – --- Re ( E ⋅ ( n × H ) ) = -------------- E
2 2 2Z TE
TM Waves
For TM waves it holds that
1
H = ----------- ( n × E )
Z TM
β
Z TM = -------
ωε
1 * 1 *
n ⋅ S av = --- n ⋅ Re ( E × H ) = --------------- ( n ⋅ Re ( E × ( n × E ) ) )
2 2Z TM
1 2
= --------------- n × E
2Z TM
TEM Waves
For TEM waves it holds that
1
H = --------------- ( n × E )
Z TEM
μ
Z TEM = ---
ε
1 * 1 2 1 2
n ⋅ S av = --- n ⋅ Re ( E × H ) = ------------------ n × E = ------------------ E
2 2Z TEM 2Z TEM
where the last equality holds because the electric field is tangential to the port.
jk
E p = ------ r 0 × [ n × E – ηr 0 × ( n × H ) ] exp ( jkr ⋅ r 0 ) dS
4π
jk
Ep =
4π
λ ------ r 0 × [ n × E – ηr 0 × ( n × H ) ] exp ( jkr ⋅ r 0 ) dS
In both cases the integration is performed on a closed boundary. In the scattered field
formulation, where the total electric field is the sum of the background field and the
scattered field, the far-field only gets contributions from the scattered field, since the
contributions from the background field cancel out when integrated over all parts of
the closed boundary.
For scattering problems, the far field in COMSOL Multiphysics is identical to what in
physics is known as the “scattering amplitude”.
The antenna is located in the vicinity of the origin, while the far-field point p is taken
at infinity but with a well-defined angular position ( θ, ϕ ) .
• E and H are the fields on the “aperture”—the surface S enclosing the antenna.
• r0 is the unit vector pointing from the origin to the field point p. If the field points
lie on a spherical surface S', r0 is the unit normal to S'.
• n is the unit normal to the surface S.
• η is the impedance:
η = μ⁄ε
SPECIAL CALCULATIONS | 73
• λ is the wavelength.
• r is the radius vector (not a unit vector) of the surface S.
• Ep is the calculated far field in the direction from the origin towards point p.
Thus the unit vector r0 can be interpreted as the direction defined by the angular
position ( θ, ϕ ) and Ep is the far field in this direction.
Because the far field is calculated in free space, the magnetic field at the far-field point
is given by
r0 × Ep
H p = -------------------
η0
The Poynting vector gives the power flow of the far field:
* 2
r 0 ⋅ S = r 0 ⋅ Re ( E p × H p ) ∼ E p
References
1. D.K. Cheng, Field and Wave Electromagnetics, 2nd ed., Addison-Wesley, 1991.
4. R.K. Wangsness, Electromagnetic Fields, 2nd ed., John Wiley & Sons, 1986.
ELECTROMAGNETIC QUANTITIES | 75
TABLE 3-1: ELECTROMAGNETIC QUANTITIES
This chapter discusses the physics interfaces found under the Radio Frequency
branch ( ).
In this chapter:
77
The Electromagnetic Waves,
Frequency Domain Interface
The Electromagnetic Waves, Frequency Domain (emw) interface ( ), found under the
Radio Frequency branch ( ) when adding a physics interface, is used to solve for
time-harmonic electromagnetic field distributions.
For this physics interface, the maximum mesh element size should be limited to a
fraction of the wavelength. The domain size that can be simulated thus scales with the
amount of available computer memory and the wavelength. The physics interface
supports the study types Frequency Domain, Eigenfrequency, Mode Analysis, and
Boundary Mode Analysis. The Frequency Domain study type is used for source driven
simulations for a single frequency or a sequence of frequencies. The Eigenfrequency
study type is used to find resonance frequencies and their associated eigenmodes in
resonant cavities.
This physics interface solves the time-harmonic wave equation for the electric field.
When this physics interface is added, these default nodes are also added to the Model
Builder — Wave Equation, Electric, Perfect Electric Conductor, and Initial Values. Then,
from the Physics toolbar, add other nodes that implement, for example, boundary
conditions. You can also right-click Electromagnetic Waves, Frequency Domain to select
physics features from the context menu.
The Mode analysis study type is applicable only for 2D and 2D axisymmetric
cross-sections of waveguides and transmission lines where it is used to find allowed
propagating modes. Boundary mode analysis is used for the same purpose in 2D, 2D
axisymmetry, and 3D and applies to boundaries representing waveguide ports.
SETTINGS
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 emw.
For Scattered field select a Background wave type — User defined (the default), Gaussian
beam, or Linearly polarized plane wave.
User Defined
Enter the component expressions for the Background electric field Eb (SI unit: V/m).
The entered expressions must be differentiable.
Gaussian Beam
The Gaussian beam background field is a solution to the paraxial wave equation, which
is an approximation to the Helmholtz equation solved for by the Electromagnetic
Waves, Frequency Domain (emw) interface. The approximation is valid for Gaussian
beams that have a beam radius that is much larger than the wavelength. Since the
paraxial Gaussian beam background field is an approximation to the Helmholtz
equation, for tightly focused beams, you can get a nonzero scattered field solution,
even if you do not have any scatterers. For more information about the Gaussian beam
theory, see Gaussian Beams as Background Fields.
• Select a Beam orientation: Along the x-axis (the default), Along the y-axis, or for 3D
components, Along the z-axis.
• Enter a Beam radius w0 (SI unit: m). The default is 20π/emw.k0 m (10 vacuum
wavelengths).
• Enter a Focal plane along the axis p0 (SI unit: m). The default is 0 m.
• Enter the component expressions for the Background electric field amplitude,
Gaussian beam Ebg0 (SI unit: V/m).
• Enter a Wave number k (SI unit: rad/m). The default is emw.k0 rad/m. The wave
number must evaluate to a value that is the same for all the domains the scattered
field is applied to. Setting the Wave number k to a positive value, means that the wave
is propagating in the positive x-, y-, or z-axis direction, whereas setting the Wave
number k to a negative value means that the wave is propagating in the negative x-,
y-, or z-axis direction.
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 79
Linearly Polarized Plane Wave
The initial background wave is predefined as E0 = exp(−jkxx)z. This field is
transformed by three successive rotations along the roll, pitch, and yaw angles, in that
order. For a graphic representation of the initial background field and the definition of
the three rotations, c.f. Figure 4-1 below.
• Enter an Electric field amplitude E0 (SI unit: V/m). The default is 1 V/m.
• Enter a Roll angle (SI unit: rad), which is a right-handed rotation with respect to the
+x-direction. The default is 0 rad, corresponding to polarization along the
+z-direction.
• Enter a Pitch angle (SI unit: rad), which is a right-handed rotation with respect to
the +y-direction. The default is 0 rad, corresponding to the initial direction of
propagation pointing in the +x-direction.
• Enter a Yaw angle (SI unit: rad), which is a right-handed rotation with respect to the
+z-direction.
• Enter a Wave number k (SI unit: rad/m). The default is emw.k0 rad/m. The wave
number must evaluate to a value that is the same for the domains the scattered field
is applied to.
Figure 4-1: Schematic of the directions for the wave vector k, the electric field E0, and the
roll, pitch and yaw rotations. The top image represents an initial wave propagating in the
x direction with a polarization along the z direction.
For 2D components, assign a wave vector component to the Out-of-plane wave number
field. For 2D axisymmetric components, assign an integer constant or an integer
parameter expression to the Azimuthal mode number field.
PHYSICS-CONTROLLED MESH
Select the Enable check box to use a physics-controlled mesh for the electromagnetic
problem. When selected, this invokes a parameter for the maximum mesh element size
in free space. The physics-controlled mesh automatically scales the maximum mesh
element size as the wavelength changes in different dielectric and magnetic regions. If
the model is configured by any periodic conditions, identical meshes are generated on
each pair of periodic boundaries. Perfectly matched layers are built with a structured
mesh, specifically, a swept mesh in 3D and a mapped mesh in 2D.
When Enable is selected, choose one of the three options for the Maximum mesh
element size control parameter — User defined (the default), Frequency, or Wavelength.
For the option User defined, enter a suitable Maximum element size in free space. For
example, 1/5 of the vacuum wavelength or smaller. When Frequency is selected, enter
the highest frequency intended to be used during the simulation. The maximum mesh
element size in free space is 1/5 of the vacuum wavelength for the entered frequency.
For the Wavelength option, enter the smallest vacuum wavelength intended to be used
during the simulation. The maximum mesh element size in free space is 1/5 of the
entered wavelength.
When Resolve wave in lossy media is selected, the outer boundaries of lossy media
domains are meshed with a maximum mesh element size in free space given by the
minimum value of half a skin depth and 1/5 of the vacuum wavelength.
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 81
The maximum mesh element size in dielectric media is that in free space divided by the
square root of the product of the relative permittivity and permeability.
ANALYSIS METHODOLOGY
From the Methodology options list, select one of three solver configurations: Robust,
Intermediate, or Fast (the default).
The settings of each methodology option are found in Solver Configurations and the
subsidiary nodes.
For Activate port sweep enter a Sweep parameter name to assign a specific name to the
parameter that controls the port number solved for during the sweep. Before making
the port sweep, the parameter must also have been added to the list of parameters in
the Parameters section of the Parameters node under the Global Definitions node.
For this physics interface, the S-parameters are subject to Touchstone file export. Click
Browse to locate the file, or enter a file name and path. Select an Output format:
Magnitude angle, Magnitude (dB) angle, or Real imaginary.
Enter a Reference impedance, Touchstone file export Zref (SI unit: Ω). The default is
50 Ω.
DEPENDENT VARIABLES
The dependent variables (field variables) are for the Electric field E and its components
(in the Electric field components fields). The name can be changed but the names of
fields and dependent variables must be unique within a model.
DISCRETIZATION
To display this section, click the Show button ( ) and select Discretization.
DOMAIN
BOUNDARY CONDITIONS
With no surface currents present the boundary conditions
n2 × ( E1 – E2 ) = 0
n2 × ( H1 – H2 ) = 0
need to be fulfilled. Because E is being solved for, the tangential component of the
electric field is always continuous, and thus the first condition is automatically fulfilled.
The second condition is equivalent to the natural boundary condition
–1 –1
– n × [ ( μ r ∇ × E ) 1 – ( μ r ∇ × E ) 2 ] = n × jωμ 0 ( H 1 – H2 ) = 0
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 83
and is therefore also fulfilled. These conditions are available (listed in alphabetical
order):
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.
2
∇ × ( μ r– 1 ∇ × E ) – k 0 ε rc E = 0
for the time-harmonic and eigenfrequency problems. The wave number of free space
k0 is defined as
ω
k 0 = ω ε 0 μ 0 = -----
c0
˜
E ( x, y, z ) = E ( x, y ) exp ( – ik z z ) .
˜ 2 ˜
( ∇ – ik z z ) × [ μ r–1 ( ∇ – ik z z ) × E ] – k 0 ε rc E = 0 ,
Notice that the ansatz above just explains how the wave equation is modified when the
out-of-plane wave vector component kz is not zero. As an example, for a plane wave
with a nonzero out-of-plane wave vector component, the electric field is of course
given by
˜
E ( x, y, z ) = E ( x, y ) exp ( – ik z z ) = A exp ( – i ( k x x + k y y + k z z ) ) ,
where A is a constant amplitude and kx, ky, and kz are the wave vector components.
In 2D axisymmetry, the electric field varies with the azimuthal mode number m as
˜
E ( r, ϕ, z ) = E ( r, z ) exp ( – imϕ ) .
∇ – im ˜ ˜
----- ϕ × μ r–1 ∇ – i m
----- ϕ × E – k 0 ε rc E = 0 ,
2
r r
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 85
where ϕ is the unit vector in the out-of-plane ϕ-direction.
ω
Q fact = ---------
2δ
Using the relation εr = n2, where n is the refractive index, the equation can
alternatively be written
2 2
∇ × ( ∇ × E ) – k0 n E = 0
When the equation is written using the refractive index, the assumption is that μr = 1
and σ = 0 and only the constitutive relations for linear materials are available. When
solving for the scattered field the same equations are used but E = Esc + Ei and Esc is
the dependent variable.
The Divergence Constraint subnode is available from the context menu (right-click the
parent node) or from the Physics toolbar, Attributes menu.
Relative Permittivity
When Relative permittivity is selected, the default Relative permittivity εr takes values
From material. Select Porous media to add a Porous Media subnode, or for User defined
select Isotropic, Diagonal, Symmetric, or Anisotropic and enter values or expressions in
the field or matrix.
Refractive Index
When Refractive index is selected, the default Refractive index n and Refractive index,
imaginary part k take the values From material. To specify the real and imaginary parts
of the refractive index and assume a relative permeability of unity and zero
Dielectric Loss
When Dielectric loss is selected, the default Relative permittivity ε′ and Relative
permittivity (imaginary part) ε″ take values From material. For User defined select
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 87
Isotropic, Diagonal, Symmetric, or Anisotropic and enter values or expressions in the field
or matrix.
M 2
fj ωP
εr ( ω ) = ε∞ + ---------------------------------------
2
ω 0j – ω + iΓ j ω
2
-
j=1
When Drude-Lorentz dispersion model is selected, the default Relative permittivity, high
frequency ε∞ (dimensionless) takes its value From material. For User defined select
Isotropic, Diagonal, Symmetric, or Anisotropic and enter a value or expression in the field
or matrix.
In the table, enter values or expressions in the columns for the Oscillator strength,
Resonance frequency (rad/s), and Damping in time (rad/s).
Δε k
ε ( ω ) = ε∞ + ---------------------
1 + iωτ k
-
k
When Debye dispersion model is selected, the default Relative permittivity, high
frequency ε∞ (dimensionless) takes its value From material. For User defined select
Isotropic, Diagonal, Symmetric, or Anisotropic and enter a value or expression in the field
or matrix.
MAGNETIC FIELD
Select the Constitutive relation — Relative permeability (the default) or Magnetic losses.
• For Relative permeability the relative permeability μr uses values From material. For
User defined select Isotropic, Diagonal, Symmetric, or Anisotropic based on the
characteristics of the magnetic field, and then enter values or expressions in the field
or matrix. If 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.
• For Magnetic losses the default values for Relative permeability (real part) μ′ and
Relative permeability (imaginary part) μ″ are taken From material. For User defined
enter different values.
CONDUCTION CURRENT
By default, the Electrical conductivity σ (SI unit: S/m) uses values From material.
• For User defined select Isotropic, Diagonal, Symmetric, or Anisotropic based on the
characteristics of the current and enter values or expressions in the field or matrix.
• For Linearized resistivity the default values for the Reference temperature Tref (SI
unit: K), Resistivity temperature coefficient α (SI unit: 1/K), and Reference resistivity
ρ0 (SI unit: Ω⋅m) are taken From material. For User defined enter other values or
expressions for any of these variables.
• 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, the Archie’s Law subnode is available from the context
menu (right-click the parent node) or from the Physics toolbar, Attributes menu.
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 89
Divergence Constraint
The Divergence Constraint subnode is available from the context menu (right-click the
Wave Equation, Electric parent node) or from the Physics toolbar, Attributes menu. It
is used for numerical stabilization when the frequency is low enough for the total
electric current density related term in the wave equation to become numerically
insignificant. For The Electromagnetic Waves, Frequency Domain Interface and Heat
Transfer Interfaces the divergence condition is given by
∇⋅J = 0
∇ ⋅ ( σA ) = 0
DIVERGENCE CONSTRAINT
Enter a value or expression for the Divergence condition variable scaling ψ0.
For the Electromagnetic Waves, Transient interface (and the Microwave Plasma
interface available with the Plasma Module) the SI unit is A/m and the default is
1 A/m.
Initial Values
The Initial Values node adds an initial value for the electric field that can serve as an
initial guess for a nonlinear solver. Add additional Initial Values nodes from the Physics
toolbar.
INITIAL VALUES
Enter values or expressions for the initial values of the components of the Electric field
E (SI unit: V/m). The default values are 0 V/m.
J = σE + J e
Far-Field Domain
To set up a far-field calculation, add a Far-Field Domain node and specify the far-field
domains in its Settings window. Use Far-Field Calculation subnodes (one is added by
default) to specify all other settings needed to define the far-field calculation. If a
Perfectly Matched Layer (PML) node has been added before adding the Far-Field
Domain, all of the domains in the Electromagnetic Waves, Frequency Domain interface
adjacent to the PML are automatically selected by default. If there is no PML, all of
the domains are selected. The selection can be modified. In that case, select only a
homogeneous domain or domain group that is outside of all radiating and scattering
objects and which has the material settings of the far-field medium.
Far-Field Calculation
A Far-Field Calculation subnode is added by default to the Far-Field Domain node and
is used to select boundaries corresponding to a single closed surface surrounding all
radiating and scattering objects. By default, all exterior boundaries of the Far-Field
Domain are selected. If a Perfectly Matched Layer (PML) node has been added before
adding the Far-Field Domain, all exterior boundaries of the Far-Field Domain adjacent
to the PML are selected. Symmetry reduction of the geometry makes it relevant to
select boundaries defining a nonclosed surface. Also use this feature to indicate
symmetry planes and symmetry cuts applied to the geometry, and whether the selected
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 91
boundaries are defining the inside or outside of the far field domain; that is, to say
whether they are facing away from infinity or toward infinity.
FAR-FIELD CALCULATION
Enter a Far-field variable name. The default is Efar.
Select as needed the Symmetry in the x=0 plane, Symmetry in the y=0 plane, or
Symmetry in the z=0 plane check boxes to use it your model when calculating the
far-field variable. The symmetry planes have to coincide with one of the Cartesian
coordinate planes.
When a check box is selected, also choose the type of symmetry to use from the
Symmetry type list that appears — Symmetry in E (PMC) or Symmetry in H (PEC). The
selection should match the boundary condition used for the symmetry boundary.
Using these settings, include the parts of the geometry that are not in the model for
symmetry reasons in the far-field analysis.
From the Boundary relative to domain list, select Inside or Outside (the default) to define
if the selected boundaries are defining the inside or outside of the far-field domain (that
is, whether facing away from infinity or toward infinity).
If perfectly matched layers are added to the model after the Far-Field
Domain is configured, then it is necessary to press the Reset Far-Field
Boundaries button to reassign all exterior boundaries.
n×E = 0
is a special case of the electric field boundary condition that sets the tangential
component of the electric field to zero. It is used for modeling of a lossless metallic
surface (for example, a ground plane) or as a symmetry type boundary condition. It
imposes symmetry for magnetic fields and “magnetic currents” and antisymmetry for
electric fields and electric currents. It supports induced electric surface currents and
Js
J
I'
I
Js
Figure 4-2: The perfect electric conductor boundary condition is used on exterior and
interior boundaries representing the surface of a lossless metallic conductor or (on exterior
boundaries) representing 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 electric field vanishes at the boundary.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
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,
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 93
which in addition to setting the surface current density to zero also makes the
tangential electric field discontinuous.
Js=0
I'
I
J=0
Figure 4-3: 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. 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 electric
field (and in dynamics the tangential electric field) discontinuous.
Port
Use the Port node where electromagnetic energy enters or exits the model. A port can
launch and absorb specific modes. Use the boundary condition to specify wave type
ports. Ports support S-parameter calculations but can be used just for exciting the
model. This node is not available with the Electromagnetic Waves, Transient interface.
• Circular Port Reference Axis to determine a reference direction for the modes. This
subnode is selected from the Points submenu when Circular is selected as the type of
port.
• Periodic Port Reference Point to uniquely determine reciprocal lattice vectors. This
subnode is selected from the Points submenu when Periodic is selected as the type of
port.
Select the Type of Port — User defined, Numeric, Rectangular, Coaxial, Circular, or
Periodic.
Periodic ports are available in 3D and 2D. Circular and Coaxial ports are available in 3D
and 2D axisymmetry.
Numeric ports require a Boundary Mode Analysis study type. It should appear before the
frequency domain study node in the study branch of the model tree. If more than one
numeric port is needed, use one Boundary Mode Analysis node per port and assign
each to the appropriate port. Then, it is best to add all the studies; Boundary Mode
Analysis 1, Boundary Mode Analysis 2,..., Frequency Domain 1, manually. Numeric
ports are by default computed for the deformed mesh whereas other types of ports
compute the mode shape using geometry information.
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 95
reflected equals the specified Deposited power. If Specify deposited power is marked this
must be the only inport.
Then select a Slit type — PEC-backed (the default) or Domain-backed. The PEC-backed
type makes the port on interior boundaries perform as it does on exterior boundaries.
The Domain-backed type can be combined with perfectly matched layers to absorb the
excited mode from a source port and other higher order modes.
Select a Port orientation — Forward (the default) or Reverse to define the inward normal
vector of the port. The Forward direction is visualized with a red arrow on the port
boundary. The Reverse direction is opposite to the arrow.
Note that there can only be one domain-backed slit port per boundary.
Select the Analyze as a TEM field check box to add Integration Line for Current and
Integration Line for Voltage subnodes. These subnodes are available from the context
PO R T MODE SETT IN GS
The input is based on the Type of Port selected above — User Defined, Rectangular,
Circular, or Periodic. No entry is required if Numeric or Coaxial are selected.
Set the Mode phase θin (SI unit: rad) for the port mode field. The default is 0 radians.
For instance, if the inspected port mode field is polarized in the opposite direction
compared to the expected direction, a Mode phase of π (enter pi in the field) can be
used for polarizing the mode field in the expected direction. Notice that a change of
the Mode phase, either on the exciting or the listener port, changes also the S-parameter
coupling the exciting and the listener port. However, a change of the Mode phase on
the exciting port does not modify the reflection coefficient (normally denoted S11)
associated with the exciting port.
User Defined
For User defined specify the eigenmode of the port. The mode field can be entered with
an arbitrary amplitude and is normalized internally.
• Enter the components of the Electric mode field E0 (SI unit: V/m) or the Magnetic
mode field H0 (SI unit: A/m). The entered expressions must be differentiable.
• Enter the Propagation constant β (SI unit: rad/m). This is frequency dependent for
all but TEM modes and a correct frequency-dependent expression must be used.
Rectangular
For Rectangular specify a unique rectangular mode.
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 97
For 3D components, select a Mode type — Transverse electric (TE) or Transverse
magnetic (TM). Enter the Mode number, for example, 10 for a TE10 mode, or 11 for a
TM11 mode.
For 2D components, to excite the fundamental mode, select the mode type Transverse
electromagnetic (TEM), since the rectangular port represents a parallel-plate waveguide
port that can support a TEM mode. Only TE modes are possible when solving for the
out-of-plane vector component, and only TM and TEM modes are possible when
solving for the in-plane vector components. There is only a single mode number,
which is selected from a list.
Coaxial
In 2D axisymmetry, Coaxial does not support non-zero azimuthal mode number. The
Azimuthal mode number in the Physics interface should be defined as zero.
Circular
For Circular specify a unique circular mode.
For 3D components, enter the Mode number, for example, 11 for a TE11 mode, or 01
for a TM01 mode. When Circular is selected as the type of port in 3D, the Circular Port
Reference Axis subnode is available from the context menu (right-click the parent
node) or from the Physics toolbar, Attributes menu. It defines the orientation of fields
on a port boundary.
Periodic
For Periodic specify parameters for the mode field. When Periodic is selected, the
Diffraction Order port subnode is available from the context menu (right-click the
parent node) or from the Physics toolbar, Attributes menu.
Select a Input quantity — Electric field or Magnetic field and define the mode field
amplitude.
• For 2D components and if the Input quantity is set to Electric field, define the Electric
mode field amplitude. For example, for a TE wave set the x, y, and z components to
For 3D components, if Wave excitation at this port is On, define the Elevation angle of
incidence and Azimuth angle of incidence. The Elevation angle of incidence α1 and Azimuth
angle of incidence α2 are used in the relations
k = k parellel + k perpendicular
where k is the wave vector, kparallel is the projection of k onto the port, kF is the
k-vector for Floquet periodicity, n is the outward unit normal vector to the boundary,
and a 1 is one of the normalized primitive unit cell vectors from the periodic structure
defined from Periodic Port Reference Point.
The Azimuth angle of incidence is the counterclockwise rotating angle from the
primitive vector a1 around the axis built with Periodic Port Reference Point and n.
For periodic ports with hexagonal port boundaries, the definition of the vector a1 is
slightly different from the default definition. In this case, the unit cell is actually a
rhomboid, with primitive vectors pointing in other directions than the side vectors of
the hexagon. Thus, for a hexagonal periodic port, the vector a1 is defined along one
of the sides of the hexagon, and it is not one of the primitive vectors of the hexagonal
point lattice. The Azimuth angle of incidence α2 is still measured from the vector a1,
even though this vector now refers to a side vector of the hexagonal port boundary and
not a primitive vector.
For 2D components define the Angle of incidence. The Angle of incidence α is defined
by the relation
k × n = k sin αz
T HE E L E C T RO M A G N E T I C WAVE S, F RE Q UE N C Y D O M AI N I N T E R F AC E | 99
where k is the projection of the wave vector in the xy-plane, n is the normalized
normal vector to the boundary, k is the magnitude of the projected wave vector in the
xy-plane, and z is the unit vector in the z-direction.
Notice that the mode field defined for the Periodic port assumes isotropic
material properties in the domain adjacent to the selected port boundary.
The propagation directions for listener Periodic ports are deduced from
the angle setting(s) for the source Periodic port and the refractive indexes
defined for the source and the listener ports. Thus, adding source Periodic
ports with different propagation angles will give ambiguous propagation
directions for the listener Periodic ports.
• Select the Include in automatic diffraction order calculation check box to add
Diffraction Order subnodes to the selected Periodic port, when the Compute
Diffraction Order button is clicked from the exciting Periodic port.
• Define the Refractive index, real part at the boundary.
• Define the Maximum frequency — From study (the default) or User defined. When
From study is selected, the Maximum frequency is taken from the study step associated
with the physics interface. For User defined, enter the maximum frequency fmax (SI
unit: Hz). The default value is 0 Hz. If a single frequency is used, insert the
frequency, or if a frequency sweep is performed, insert the maximum frequency of
the sweep. This parameter is only available when Wave excitation at this port is On.
When all parameters are defined, click the Compute Diffraction Orders button from the
exciting Periodic port to automatically create Diffraction Order ports as subnodes to all
Periodic ports having the Include in automatic diffraction order calculation check box
selected.
Diffraction Order
The Diffraction Order port is available in 3D and 2D. When the Type of Port is set to
Periodic under Port Properties, this subnode is available from the context menu
Use the Diffraction Order port to define diffraction orders from a periodic structure.
Normally a Diffraction Order node is added automatically during the Periodic port
setup. Additional Diffraction Order ports subnodes are available from the context menu
(right-click the parent node) or from the Physics toolbar, Attributes menu.
Components
Select the Components setting for the port — In-plane vector (the default) or
Out-of-plane vector. In 3D, when the diffraction order m and n are both set to 0, a third
option is Orthogonal polarization, which represents a polarization orthogonal to the
polarization of the incident wave.
Diffraction Order
Specify an integer constant or an integer parameter expression for the Diffraction order
m (the default is 0) and in 3D n (the default is 0).
Note that In-plane vector and Out-of-plane vector are based on the plane of diffraction
which is constructed with the diffraction wave vector and the outward normal vector
of the port boundary. The diffraction wave vector is defined by
k diffraction,parallel = k F + MG 1 + NG 2
2 2
k diffraction,perpendicular = k – k diffraction,parallel
For a 2D component, In-plane vector is available when the settings for the physics
interface is set to either In-plane vector or Three-component vector under Electric Field
Components Solved For. Out-of-plane vector is available when the settings for the
physics interface is set to either Out-of-plane vector or Three-component vector under
Electric Field Components Solved For.
Enter a value or expression for the Mode phase θin (SI unit: rad). The default is
0 radians. The Mode phase setting is further discussed for the Port feature.
Notice that the mode field defined for the Diffraction Order feature
assumes isotropic material properties in the domain adjacent to the
selected feature boundary.
The Periodic Port Reference Point is used to uniquely identify two primitive unit cell
vectors, a1 and a2, and two reciprocal lattice vectors, G1 and G2. These reciprocal
vectors are defined in terms of the unit cell vectors, a1 and a2, tangent to the edges
shared between the port and the adjacent periodic boundary conditions. G1 and G2
are defined by the relation
a1 × a2
---------------------
- = n
a1 × a2
where n is the outward unit normal vector to the port boundary. If there are multiple
points defined in the selection list, only the last point is used.
POINT SELECTION
The primitive unit cell vectors, a1 and a2 are defined from two edges sharing the
Periodic Port Reference Point on a port boundary. The two vectors can have unequal
lengths and are not necessarily orthogonal. They start from the Periodic Port Reference
Point.
For listener (passive, observation, and not excited) ports, if the outward normal vector
on the listener port boundary is opposite to that of the source port, the listener port
reference point needs to be mirrored from the source port reference point based on
the center coordinate of the model domain. For example, if the source port reference
point is at {-1,-1,1} in a cubic domain around the origin, the mirrored listener port
reference point is {1,1,-1}. In this case, if the Azimuth angle of incidence at the source
port boundary is α2, the Azimuth angle of incidence at the listener port boundary
π/2 − α2 and the signs of the diffraction order on the source and listener ports are
opposite. See also Periodic for the angle definition.
If the lattice vectors are collinear with two Cartesian axes, then the lattice vectors can
be defined without the Periodic Port Reference Point. For the port where n points along
a positive Cartesian direction, a1 and a2 are also assigned to point along positive
Cartesian directions. Conversely, for the port where n points along a negative
Cartesian direction, a1 and a2 are assigned to point along negative Cartesian
directions. The condition a1 × a2 || n is true on both ports. For example, if n = z, then
a1/|a1| = x and a2/|a2| = y and if n = −z, then a1/|a1| = −x and a2/|a2| = −y.
Lumped Port
Use the Lumped Port node to apply a voltage or current excitation of a model or to
connect to a circuit. A lumped port is a simplification of the port boundary condition.
Select User defined for nonuniform ports, for example, a curved port and enter values
or expressions in the fields — Height of lumped port hport (SI unit: m), Width of lumped
port wport (SI unit: m), and Direction between lumped port terminals ah. In 2D
axisymmetry, Coaxial does not support a nonzero azimuthal mode number. The
Azimuthal mode number in the Physics interface should be defined as zero.
Notice that the input field for Direction between lumped port terminals ah
is not shown in 2D, when Electric field components solved for is set to
Out-of-plane vector in the Components section for the physics interface. In
this case the Direction between lumped port terminals ah is defined to be
in the out-of-plane direction.
Terminal Type
Select a Terminal type — a Cable port for a voltage driven transmission line and
S-parameter calculation, a Current driven port, or a Circuit port.
For Cable select On or Off from the Wave excitation at this port list to set whether it is
an inport or a listener port. If On is selected, enter a Voltage V0 (SI unit: V), and Port
phase θin (SI unit: rad).
SETTINGS
No entry is required if a Circuit terminal type is selected above.
• For a Cable terminal type enter the Characteristic impedance Zref (SI unit: Ω).
• For a Current terminal type enter a Terminal current I0 (SI unit: A).
Calculate S-parameter
The Calculate S-parameter check box needs to be activated for S-parameter calculation
with the Electromagnetic Waves, Transient interface, while the Cable port in the
Electromagnetic Wave, Frequency Domain calculates S-parameters automatically.
VO L T A G E S O U R C E T Y P E
When Calculate S-parameter is checked, select Voltage source type from the list (default
Modulated Gaussian pulse). The Modulated Gaussian pulse is defined as
( x – ( 0,97 ⋅ 2 ⁄ f 0 ) )
2
2f 0 – -----------------------------------------------
2 ⁄ ( 2f 0 )
2
-
----------
-e ⋅ sin ( 2πf 0 )
2π
where the Center frequency f0 defines the location as 0.97×2/f0, the standard deviation
as 1/(2f0), and the modulation frequency f0.
The Gaussian pulse location is slightly shifted from twice the period time by a factor of
0.97 to improve the frequency responses.
Lumped Element
Use a Lumped Element node to mimic the insertion of a capacitor, inductor, or general
impedance between two metallic boundaries. A Lumped Element condition is a passive
lumped port boundary condition which cannot be used as a source. Unlike a Lumped
Port, it does not generate S-parameters. The sign of the current and power of a Lumped
Element is opposite to that of a Lumped Port.
It can only be applied on boundaries that extend between two metallic boundaries —
that is, boundaries where Perfect Electric Conductor, Impedance Boundary, or Transition
Boundary (Electromagnetic Waves, Frequency Domain interface only) conditions
apply — separated by a distance much smaller than the wavelength.
SETTINGS
Select a Lumped element device — User defined (the default), Inductor, Capacitor,
Parallel LC, Series LC, Parallel RLC, or Series RLC. Inductor, Capacitor, Parallel LC, Series LC,
Parallel RLC, and Series RLC are available only in the frequency domain study type.
• For User defined enter a Lumped element impedance Zelement (SI unit: Ω). The
default is 50 Ω.
Uniform Element
The Uniform Element is available in 3D. When the Type of lumped port is set to
Multielement uniform under Lumped Port Properties, this subnode is available from the
context menu (right-click the Lumped Port parent node) or from the Physics toolbar,
Attributes menu.
Electric Field
The Electric Field boundary condition
n × E = n × E0
specifies the tangential component of the electric field. It should in general not be used
to excite a model. Consider using the Port, Lumped Port, or Scattering Boundary
Condition instead. It is provided mainly for completeness and for advanced users who
can recognize the special modeling situations when it is appropriate to use. The
commonly used special case of zero tangential electric field is described in the Perfect
Electric Conductor section.
CONSTRAINT SETTINGS
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:
n × H = n × H0
MAGNETIC FIELD
Enter the value or expression for the components of the Magnetic field H0
(SI unit: A/m).
– jk ( n ⋅ r ) – jk ( k ⋅ r )
E = E sc e + E0 e Plane scattered wave
– jk ( n ⋅ r )
e – jk ( k ⋅ r )
E = E sc ------------------------ + E 0 e Cylindrical scattered wave
r
– jk ( n ⋅ r )
e – jk ( k ⋅ r )
E = E sc ------------------------ + E 0 e Spherical scattered wave
rs
The field E0 is the incident plane wave that travels in the direction k. The boundary
condition is transparent for incoming (but not outgoing) plane waves with any angle
of incidence.
The boundary is only perfectly transparent for scattered (outgoing) waves of the
selected type at normal incidence to the boundary. That is, a plane wave at oblique
incidence is partially reflected and so is a cylindrical wave or spherical wave unless the
wave fronts are parallel to the boundary. For the Electromagnetic Waves, Frequency
• For cylindrical waves, specify around which cylinder axis the waves are cylindrical.
Do this by specifying one point at the cylinder axis and the axis direction.
• For spherical waves, specify the center of the sphere around which the wave is
spherical.
The domain material adjacent to the boundary where the Scattering Boundary
Condition is applied can be lossy.
If the problem is solved for the eigenfrequency or the scattered field, the boundary
condition does not include the incident wave.
– jk ( n ⋅ r )
E sc = E sc e Plane scattered wave
– jk ( n ⋅ r )
e
E sc = E sc ------------------------ Cylindrical scattered wave
r
– jk ( n ⋅ r )
e
E sc = E sc ------------------------ Spherical scattered wave
rs
If the Incident field is not set to No incident field, edit the Incident wave direction kdir
for the vector coordinates. The default direction is in the opposite direction to the
boundary normal. For 2D axisymmetry, the Incident wave direction kdir should be
parallel or anti-parallel to the symmetry axis.
Select a Scattered wave type for which the boundary is absorbing — Plane wave (the
default), Spherical wave, or Cylindrical wave.
• For the Electromagnetic Waves, Frequency Domain interface, select an Order —First
order (the default) or Second order.
• For Cylindrical wave also enter coordinates for the Source point r0 (SI unit: m) and
Source axis direction raxis (dimensionless). For 2D the Source axis direction is
IN IT IA L VA LU E S FO R I NC IDE N T WAVE
For the Electromagnetic Waves, Transient interface enter the components for the
initial value of the Magnetic vector potential A0 (SI unit: Wb/m).
Select the Dispersion and absorption model that will be used when calculating the wave
number and attenuation constant for the incident and scattered waves — Low loss
When the Dispersion and absorption model is set to Low loss approximation
the refractive index is calculated from the relative permittivity and the
relative permeability as
n = εr μr .
1 μ0 μr 1
γ = --- σ -----------
- = --- σZ c ,
2 ε0 εr 2
When the Dispersion and absorption model is set to High loss, the real and
the imaginary parts of the complex refractive index is solved for from the
real and the imaginary parts of the relative permittivity, using the relations
2 2
n – κ = ε' r μ r
and
σμ r
2nκ = ε'' r μ r = --------- .
ωε 0
ω
γ = ---- κ .
c
μ0 μr
------------ n × H + E – ( n ⋅ E )n = ( n ⋅ E s )n – E s
εc
is used at boundaries where the field is known to penetrate only a short distance
outside the boundary. This penetration is approximated by a boundary condition to
μεc
N = -----------
-
μ1 ε1
where μ1 and ε1 are the material properties of the inner domain, is large; that is,
| N | >> 1.
The source electric field Es can be used to specify a source surface current on the
boundary.
The Surface Roughness subnode is available from the context menu (right-click the
parent node) or from the Physics toolbar, Attributes menu.
Js
J
I'
I
Js
Enter a Source electric field Es (SI unit: V/m). The default is 0 V/m.
–n × H = Js
n2 × ( H1 – H2 ) = Js
specifies a surface current density at both exterior and interior boundaries, respectively.
The current density is specified as a three-dimensional vector, but because it needs to
flow along the boundary surface, COMSOL Multiphysics projects it onto the
boundary surface and neglects its normal component. This makes it easier to specify
the current density and avoids unexpected results when a current density with a
component normal to the surface is given.
For the Surface Current Density subnode, select Side — Upside (the default) or Downside
to define on which side the Surface Current Density is applied. The red arrow visualized
on the selected boundaries always indicates the upside.
n × E = J ms
n 2 × ( E 1 – E 2 ) = – J ms
specifies a surface magnetic current density at both exterior and interior boundaries,
respectively. The magnetic current density is specified as a three-dimensional vector,
but because it needs to flow along the boundary surface, COMSOL Multiphysics
projects it onto the boundary surface and neglects its normal component. This makes
it easier to specify the magnetic current density and avoids unexpected results when a
magnetic current density with a component normal to the surface is given.
Surface Roughness
The Surface Roughness subnode is available from the context menu (right-click the
Impedance Boundary Condition or Transition Boundary Condition parent node) or
from the Physics toolbar, Attributes menu.
SURFACE ROUGHNESS
Select a Surface roughness model — Sawtooth (the default) or Snowball. For Sawtooth,
enter a value or expression for the Surface roughness ΔRMS (SI unit: m). For Snowball,
enter a Snowball hexagon cell area Ahex (SI unit: m2). Then enter values for the Snowball
radius (SI unit: m) and Number of snowballs in the table, adding as many rows as you
need.
Select the Skin depth type to be Physics-controlled (the default) or User defined. For User
defined, enter the Skin depth δ (SI unit: m).
The Surface Roughness increases the impedance, and consequently it decreases the
surface current density of Impedance Boundary Condition or Transition Boundary
Condition, proportional to the ratio between the impedance of a rough surface and
that of a smooth surface:
where ΔRMS is the root mean square of the surface roughness, and δ is the skip depth
of the material (Ref. 1).
SNOWBALL MODEL
2
3 N i ⋅ 4πa i δ δ
2
Z rough = Z smooth ⋅ 1 + ---
2 ------------------------ ⁄ 1 + ----- + -----2-
A hex ai a
i i
where Ahex is the hexagonal area of a unit cell, Ni is the number of snowballs, ai is the
radius of a snowball, and δ is the skip depth of the material (Ref. 2).
For Transition Boundary Condition, select Side — Upside (the default) or Downside to
define on which side the Surface Roughness is applied. The red arrow visualized on the
selected boundaries always indicates the upside.
References
1. E. Hammerstad, O. Jensen, “Accurate Models for Microstrip Computer-Aided
Design”, Microwave symposium Digest, 1980 IEEE MTT-S International, pp.407–
409, May 1980
where indices 1 and 2 refer to the different sides of the layer. This feature is not
available with the Electromagnetic Waves, Transient interface.
The Surface Roughness subnode is available from the context menu (right-click the
parent node) or from the Physics toolbar, Attributes menu.
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
Select an Electric displacement field model — Relative permittivity (the default),
Refractive index, Loss tangent, loss angle, Loss tangent, dissipation factor, Dielectric loss,
Drude-Lorentz dispersion model, or Debye dispersion model. See the Wave Equation,
Electric node, Electric Displacement Field section, for all settings.
Periodic Condition
The Periodic Condition sets up a periodicity between the selected boundaries. The
Destination Selection subnode is available from the context menu (right-click the parent
node) or from the Physics toolbar, Attributes menu.
BOUNDARY SELECTION
The software automatically identifies the boundaries as either source boundaries or
destination boundaries This works fine for cases like opposing parallel boundaries. To
control the destination, add a Destination Selection subnode. By default it contains the
selection that COMSOL Multiphysics has identified.
• Continuity to make the electric field periodic (equal on the source and destination),
• Antiperiodicity to make it antiperiodic, or
• Floquet periodicity (The Electromagnetic Waves, Frequency Domain Interface only)
to use a Floquet periodicity (Bloch-Floquet periodicity).
- For Floquet periodicity also enter the source for the k-vector for Floquet periodicity.
- For User defined specify the components of the k-vector for Floquet periodicity kF
(SI unit: rad/m).
- For From periodic port the k-vector for Floquet periodicity kF is obtained from the
Periodic Port settings.
CONSTRAINT SETTINGS
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.
Magnetic Current
The Magnetic Current node specifies a magnetic line current along one or more edges.
For a single Magnetic Current source, the electric field is orthogonal to both the line
and the distance vector from the line to the field point. For 2D and 2D axisymmetric
models the Magnetic Current node is applied to Points, representing magnetic currents
directed out of the model plane. For 3D models, the Magnetic Current is applied to
Edges.
Two-Port Network
Use the Two-Port Network node to characterize the response of a two-port network
system such as reflection and transmission using S-parameters.
A Two-Port Network can only be applied on boundaries that extend between two
metallic boundaries — that is, boundaries where Perfect Electric Conductor, Impedance
Boundary, or Transition Boundary conditions apply — separated by a distance much
smaller than the wavelength.
TW O - P O R T N E T W O R K P R O P E R T I E S
Type of Port
Select a Type of Port — Coaxial or Uniform.
Coaxial does not support nonzero azimuthal mode number. The Azimuthal mode
number in the Physics interface should be defined as zero.
Matrix defines the S-parameter by a constant matrix input. Touchstone file imports a
two-port Touchstone file to characterize the two-port boundaries as a function of
frequency.
SETTINGS
Enter the Characteristic impedance Zref (SI unit: Ω) for Matrix.
Interpolation
Select a Interpolation — Nearest neighbor, Linear, Piecewise cubic, or Cubic spline (the
default).
The S-parameter values are interpolated within the frequency range specified in the
Touchstone file.
The S-parameter values are extrapolated outside the frequency range specified in the
Touchstone file.
Edge Current
The Edge Current node specifies an electric line current along one or more edges.
EDGE CURRENT
Enter an Edge current I0 (SI unit: A).
DIPOLE SPECIFICATION
Select a Dipole specification — Magnitude and direction or Dipole moment.
DIPOLE PARAMETERS
Based on the Dipole specification selection:
• For Magnitude and direction enter coordinates for the Electric current dipole moment
direction np and Electric current dipole moment, magnitude p (SI unit: A·m).
• For Dipole moment enter coordinates for the Electric current dipole moment p (SI
unit: A·m).
DIPOLE SPECIFICATION
Select a Dipole specification — Magnitude and direction or Dipole moment.
DIPOLE PARAMETERS
Based on the Dipole specification selection:
• For Magnitude and direction enter coordinates for the Magnetic dipole moment
direction nm and Magnetic dipole moment, magnitude m (SI unit: m2·A).
• For Dipole moment enter coordinates for the Magnetic dipole moment m (SI unit:
m2·A).
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 Wave Equation,
Electric 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:
CONDUCTION CURRENTS
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.
• 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 Wave
Equation, Electric 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 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.
POROUS MEDIA
This section is always available and is used to define the mixture model for the domain.
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 VE 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
PE 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 PE 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.
When this physics interface is added, these default nodes are also added to the Model
Builder—Wave Equation, Electric, Perfect Electric Conductor, and Initial Values. Then,
from the Physics toolbar, add other nodes that implement, for example, boundary
conditions and mass sources. You can also right-click Electromagnetic Waves, Transient
to select physics features from the context menu.
Except where indicated, most of the settings are the same as for The Electromagnetic
Waves, Frequency Domain Interface.
SETTINGS
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 temw.
COMPONENTS
This section is available for 2D and 2D axisymmetric components.
DISCRETIZATION
To display this section, click the Show button ( ) and select Discretization.
The domain, boundary, edge, point, and pair 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).
T H E E L E C T R O M A G N E T I C W A V E S , TR A N S I E N T I N T E R F A C E | 125
DOMAIN
These nodes are unique for this physics interface and described in this section:
BOUNDARY CONDITIONS
With no surface currents present the boundary conditions
n2 × ( E1 – E2 ) = 0
n2 × ( H1 – H2 ) = 0
need to be fulfilled. Depending on the field being solved for, it is necessary to analyze
these conditions differently. When solving for A, the first condition can be formulated
in the following way.
∂A 2 ∂A 1 ∂
n2 × ( E1 – E2 ) = n2 × – = ( n2 × ( A2 – A1 ) )
∂t ∂t ∂t
The tangential component of the magnetic vector potential is always continuous and
thus the first condition is fulfilled. The second condition is equivalent to the natural
boundary condition.
–1 –1 –1
–n × ( μr ∇ × A1 – μr ∇ × A2 ) = –n × μr ( H1 – H2 ) = 0
These nodes and subnodes are available and described for the Electromagnetic Waves,
Frequency Domain interface (listed in alphabetical order):
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.
∂A ∂ ∂A
+ μ0 ε0 εr + ∇ × ( μr ∇ × A ) = 0
–1
μ0 σ
∂t ∂t ∂ t
for transient problems with the constitutive relations B = μ0μrH and D = ε0εrE. Other
constitutive relations can also be handled for transient problems. The Divergence
Constraint subnode is available from the context menu (right-click the parent node) or
from the Physics toolbar, Attributes menu.
T H E E L E C T R O M A G N E T I C W A V E S , TR A N S I E N T I N T E R F A C E | 127
ELECTRIC DISPLACEMENT FIELD
Select an Electric displacement field model—Relative permittivity (the default),
Refractive index, Polarization, Remanent electric displacement, or Drude-Lorentz
dispersion model.
Relative Permittivity
When Relative permittivity is selected, the default Relative permittivity εr
(dimensionless) takes values From material. For User defined select Isotropic, Diagonal,
Symmetric, or Anisotropic and enter values or expressions in the field or matrix. If
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.
Refractive Index
When Refractive index is selected, the default Refractive index n (dimensionless) takes
the value From material. To specify the refractive index and assume a relative
permeability of unity and zero conductivity, for one or both of the options, select User
defined then choose Isotropic, Diagonal, Symmetric, or Anisotropic. Enter values or
expressions in the field or matrix.
Notice that only the real part of the refractive index is used for the
transient formulation.
Polarization
For Polarization enter coordinates for the Polarization P (SI unit: C/m2).
D = ε0 ε∞ E + Pn ,
n=1
∂2 ∂ 2 2
-------2- + Γ n ----- + ω n P n = ε 0 f n ω p E .
∂t ∂t
MAGNETIC FIELD
This section is available if Relative permittivity, Polarization, or Remanent electric
displacement are chosen as the Electric displacement field model.
Relative Permeability
For Relative permeability the relative permeability μr uses values From material. For User
defined select Isotropic, Diagonal, Symmetric, or Anisotropic based on the characteristics
of the magnetic field, and then enter values or expressions in the field or matrix. If
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.
Magnetization
For Magnetization enter coordinates for M (SI unit: A/m).
CONDUCTION CURRENT
This section is available if Relative permittivity, Polarization, or Remanent electric
displacement are chosen as the Electric displacement field model.
By default, the Electrical conductivity σ (SI unit: S/m) uses values From material.
• For User defined select Isotropic, Diagonal, Symmetric, or Anisotropic based on the
characteristics of the current and enter values or expressions in the field or matrix.
T H E E L E C T R O M A G N E T I C W A V E S , TR A N S I E N T I N T E R F A C E | 129
• For Linearized resistivity the default values for the Reference temperature Tref (SI
unit: K), Resistivity temperature coefficient α (SI unit: 1/K), and Reference resistivity
ρ0 (SI unit: Ωm) use values From material. For User defined enter other values or
expressions for any of these variables.
• If 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.
• If Archie’s Law is selected, the Archie’s Law subnode is available from the context
menu (right-click the parent node) or from the Physics toolbar, Attributes menu.
Initial Values
The Initial Values node adds an initial value for the magnetic vector potential and its
time derivative that serves as initial conditions for the transient simulation.
INITIAL VALUES
Enter values or expressions for the initial values of the components of the magnetic
vector potential A (SI unit: Wb/m) and its time derivative ∂A/∂t (SI unit: V/m). The
default values are 0 Wb/m and 0 V/m, respectively.
Drude-Lorentz Polarization
This subfeature is available only when Drude-Lorentz Dispersion Model is selected as the
Electric displacement field model in the Wave Equation, Electric feature 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.
D = ε0 ε∞ E + Pn ,
n=1
∂2 ∂ 2 2
-------2- + Γ n ----- + ω n P n = ε 0 f n ω p E .
∂t ∂t
IN IT IA L VA LUES
Enter values or expressions for the initial values of the components of the
Drude-Lorentz polarization Pn (SI unit: C/m2) and its time derivative ∂Pn/∂t (SI
unit: A/m2). The default values are 0 C/m2 and 0 A/m2, respectively.
DISCRETIZATION
To display this section, click the Show button ( ) and select Discretization. Select the
element order from the list box for the Drude-Lorentz polarization Pn.
T H E E L E C T R O M A G N E T I C W A V E S , TR A N S I E N T I N T E R F A C E | 131
The Transmission Line Interface
The Transmission Line (tl) interface ( ), found under the Radio Frequency
branch ( ) when adding a physics interface, is used to study propagation of waves
along one-dimensional transmission lines. The physics interface solves the
time-harmonic transmission line equation for the electric potential.
The physics interface is used when solving for electromagnetic wave propagation along
one-dimensional transmission lines and is available in 1D, 2D, and 3D. The physics
interface has Eigenfrequency and Frequency Domain study types available. The
Frequency Domain study is used for source driven simulations for a single frequency
or a sequence of frequencies.
When this physics interface is added, these default nodes are also added to the Model
Builder— Transmission Line Equation, Absorbing Boundary, and Initial Values. Then, from
the Physics toolbar, add other nodes that implement, for example, boundary
conditions. You can also right-click Transmission Line to select physics features from the
context menu.
SETTINGS
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 tl.
DISCRETIZATION
To display this section, click the Show button ( ) and select Discretization.
• Domain, Boundary, Edge, Point, and Pair Nodes for the Transmission
Line Equation Interface
• Theory for the Transmission Line Interface
• Visualization and Selection Tools in the COMSOL Multiphysics
Reference Manual
T H E TR A N S M I S S I O N L I N E I N T E R F A C E | 133
Select Edges for 3D models, Boundaries for 2D models, and Domains for
1D models. Points are available for all space dimensions (3D, 2D, and
1D).
For all space dimensions, select Points for the boundary condition.
1 - ∂V
∂ -------------------- – ( G + iωC )V = 0
∂ x R + iωL ∂ x
TR A N S M I S S I O N L I N E E Q U A T I O N
Enter the values for the following:
The default values give a characteristic impedance for the transmission line of 50 Ω.
IN IT IA L VA LUES
Enter values or expressions for the initial values of the Electric potential V (SI unit: V).
Absorbing Boundary
The Absorbing Boundary condition is stated as
n ⋅ ∇V - ------ V
-------------------- + = 0
R + jωL Z 0
γ = ( R + iωL ) ( G + iωC )
and n is the normal pointing out of the domain. The absorbing boundary condition
prescribes that propagating waves are absorbed at the boundary and, thus, that there
is no reflection at the boundary. The Absorbing Boundary condition is only available
on external boundaries.
Incoming Wave
The Incoming Wave boundary condition
V – 2V 0
n ⋅ ∇V - --------------------
-------------------- + = 0
R + jωL Z0
lets a wave of complex amplitude Vin enter the domain. The complex propagation
constant γ and the outwards-pointing normal n are defined in the section describing
the Absorbing Boundary node. The Incoming Wave boundary condition is only
available on external boundaries.
T H E TR A N S M I S S I O N L I N E I N T E R F A C E | 135
VO L T A G E
Enter the value or expression for the input Electric potential V0 (SI unit: V). The
default is 1 V.
Open Circuit
The Open Circuit boundary condition is a special case of the Terminating Impedance
boundary condition, assuming an infinite impedance, and, thus, zero current at the
boundary. The condition is thus
n ⋅ ∇V = 0
Terminating Impedance
The Terminating Impedance boundary condition
n ⋅ ∇V - ------ V
-------------------- + - = 0
R + jωL Z L
specifies the terminating impedance to be ZL. Notice that the Absorbing Boundary
condition is a special case of this boundary condition for the case when
R + jωL-
ZL = Z0 = ---------------------
G + jωC
The Open Circuit and Short Circuit boundary conditions are also special cases of this
condition. The Terminating Impedance boundary condition is only available on
external boundaries.
Short Circuit
The Short Circuit node is a special case of the Terminating Impedance boundary
condition, assuming that impedance is zero and, thus, the electric potential is zero.
The constraint at this boundary is, thus, V = 0.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
Lumped Port
Use the Lumped Port node to apply a voltage or current excitation of a model or to
connect to a circuit. The Lumped Port node also defines S-parameters (reflection and
transmission coefficients) that can be used in later postprocessing steps.
SETTINGS
If a Circuit port type is selected under Port Properties, this section does not
require any selection.
T H E TR A N S M I S S I O N L I N E I N T E R F A C E | 137
• If a Cable port type is selected under Port Properties, enter the Characteristic
impedance Zref (SI unit: Ω). The default is 50 Ω.
• If a Current terminal type is selected under Port Properties, enter a Terminal
current I0 (SI unit: A). The default is 1 A.
If Cable is selected as the port type, select the Wave excitation at this port check box to
enter values or expressions for the:
This physics interface solves two first-order partial differential equations (Faraday’s law
and Maxwell-Ampère’s law) for the electric and magnetic fields using the time explicit
discontinuous Galerkin method.
When this physics interface is added, these default nodes are also added to the Model
Builder—Wave Equations, Perfect Electric Conductor, and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, boundary conditions.
You can also right-click Electromagnetic Waves, Time Explicit to select physics features
from the context menu.
The interface includes absorbing layers that are used to set up effective nonreflecting
like boundary conditions. These features are added from the Definitions toolbar, by
clicking Absorbing Layer. If COMSOL Multiphysics is not running in full-screen mode
nor in a large window, Absorbing Layer is accessible on the Definitions toolbar by first
clicking Coordinate Systems and then Absorbing Layer. You can also right-click
Definitions in the Model Builder and select Absorbing Layer from the context menu.
SETTINGS
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 ewte.
COMPONENTS
This section is available for 2D and 2D axisymmetric components.
T H E E L E CT RO M A G N E T I C WAVE S , T I M E E X P L I CI T I N T E R F A C E | 139
Select the Field components solved for:
• Full wave (the default) to solve using a full three-component vector for the electric
field E and the magnetic field H.
• E in plane (TM wave) to solve for the electric field vector components in the modeling
plane and one magnetic field vector component perpendicular to the plane,
assuming that there is no electric field perpendicular to the plane and no magnetic
field components in the plane.
• H in plane (TE wave) to solve for the magnetic field vector components in the
modeling plane and one electric field vector component perpendicular to the plane.
DEPENDENT VARIABLES
The dependent variables (field variables) are for the Electric field vector E and for the
Magnetic field vector H. The name can be changed but the names of fields and
dependent variables must be unique within a model.
DISCRETIZATION
To display this section, click the Show button ( ) and select Discretization.
Wave Equations
The Wave Equations node is the main node for the Electromagnetic Waves, Time
Explicit interface. The governing transient equations can be written in the form
∂D
∇ × H = σE + -------
∂t
∂------
B-
∇×E = –
∂t
∂E
ε 0 ε r ------- – ∇ × H + σE = 0
∂t
∂H
μ 0 μ r -------- + ∇ × E = 0
∂t
MATERIAL PROPERTIES
The default Relative permittivity εr (dimensionless), Relative permeability μr
(dimensionless), and Electrical conductivity σ (SI unit: S/m) take values From material.
T H E E L E CT RO M A G N E T I C WAVE S , T I M E E X P L I CI T I N T E R F A C E | 141
For User defined select Isotropic, Diagonal, Symmetric, or Anisotropic and enter values or
expressions in the field or matrix.
NUMERICAL PARAMETERS
The defaults for each parameter are as follows:
• Lax-Friedrichs flux parameter for E field τE (SI unit: S), the default is 0.5/Z for
Ampere’s law.
• Lax-Friedrichs flux parameter for H fieldτH (SI unit:Ω), the default is 0.5 Z for
Faraday’s law, where Z is the impedance of vacuum.
• Estimate of maximum wave speed cmax (SI unit: m/s) the default is taken from the
speed of light in a vacuum c_const.
FILTER PARAMETERS
The filter provides higher-order smoothing of nodal discontinuous Galerkin
formulations and is intended to be used for absorbing layers, but you can also use it to
stabilize linear wave problems with highly varying coefficients. The filter is constructed
by transforming the solution (in each global time step) to an orthogonal polynomial
representation, multiplying with a damping factor and then transforming back to the
(Lagrange) nodal basis. Select the Activate check box to use this filter.
–1
VΛV
1, 0 ≤ η ≤ η c
Λ mm = σ(η) = η – η c 2s
--------------
-
– α 1 – η c
e , ηc ≤ η ≤ 1
where
im
η = η ( m ) = -------
Np
and Np is the basis function and im the polynomial order for coefficient m. α (default
value: 36), ηc (default value: 1), and s (default value: 3) are the filter parameters that
When using Absorbing Layer features, add an additional Wave Equations feature for the
corresponding domain selection. Select the Activate check box and add filter
parameters. An example of a filter parameter combination that can be used for a Wave
Equations feature active on an Absorbing Layer domain selection is α = 0.1, ηc = 0.01,
and s = 2. However, other combinations could work better, depending on the
particular application.
• Absorbing Layers
Reference
1. J.S. Hesthaven and T. Warburton, Nodal Discontinuous Galerkin Methods—
Algorithms, Analysis, and Applications, Springer, 2008.
Initial Values
The Initial Values node adds the initial values for the Electric field and Magnetic field
variables that serve as an initial condition for the transient simulation.
T H E E L E CT RO M A G N E T I C WAVE S , T I M E E X P L I CI T I N T E R F A C E | 143
DOMAIN SELECTION
If there is more than one type of domain, each with different initial values defined, it
might be necessary to remove these domains from the selection. These are then
defined in an additional Initial Values node.
INITIAL VALUES
Enter values or expressions for the initial values of the components of the Electric field
E (SI unit: V/m) and Magnetic field H (SI unit: A/m). The default values are 0 for all
vector components.
∂E
ε 0 ε r ------- – ∇ × H + σE = – J e
∂t
∂H
μ 0 μ r -------- + ∇ × E = – J m
∂t
Electric Field
The Electric Field boundary condition
n × E = n × E0
ELECTRIC FIELD
Enter values or expressions for the components of the Electric field E0 (SI unit: V/m).
n×E = 0
is a special case of the electric field boundary condition that sets the tangential
component of the electric field to zero. It is used for the modeling of a lossless metallic
surface, for example a ground plane or as a symmetry type boundary condition.
It imposes symmetry for magnetic fields and antisymmetry for electric fields and
electric currents. It 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 is automatically balanced by induced surface currents.
Magnetic Field
The Magnetic Field node adds a boundary condition for specifying the tangential
component of the magnetic field at the boundary:
n × H = n × H0
MAGNETIC FIELD
Enter values or expressions for the components of the Magnetic field H0
(SI unit: A/m).
n×H = 0
is a special case of the surface current density boundary condition that sets the
tangential component of the magnetic field and thus also the surface current density
T H E E L E CT RO M A G N E T I C WAVE S , T I M E E X P L I CI T I N T E R F A C E | 145
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
electric field discontinuous.
–n × H = Js
n × ( H1 – H2 ) = Js
specifies a surface current density at both exterior and interior boundaries. The current
density is specified as a three-dimensional vector, but because it needs to flow along
the boundary surface, COMSOL Multiphysics projects it onto the boundary surface
and neglects its normal component. This makes it easier to specify the current density
and avoids unexpected results when a current density with a component normal to the
surface is given.
Low-Reflecting Boundary
The Low-Reflecting Boundary condition
n × E = Z0 H
IMPEDANCE
Enter the value or expression for the medium Impedance Z0 (SI unit: Ω). By default,
the Z0 uses the value of the vacuum’s impedance. Then select Isotropic, Diagonal,
Symmetric, or Anisotropic based on the material characteristics and enter values or
expressions in the field or matrix.
n × E = E0
n × H = H0
BOUNDARY FLUX/SOURCE
Enter values or expressions for the components of the tangential Electric field E0
(SI unit: V/m) and the tangential Magnetic field H0 (SI unit: A/m).
T H E E L E CT RO M A G N E T I C WAVE S , T I M E E X P L I CI T I N T E R F A C E | 147
Theory for the Electromagnetic
Waves Interfaces
The Electromagnetic Waves, Frequency Domain Interfaceand The Electromagnetic
Waves, Transient Interface theory is described in this section:
∂D
∇ × H = J + -------
∂t
∂------
B-
∇×E = –
∂t
∂εE
∇ × H = σE + ----------
∂t
∂H
∇ × E = – μ --------
∂t
jωt
E ( x, y, z, t ) = E ( x, y, z )e
jωt
H ( x, y, z, t ) = H ( x, y, z )e
the two laws can be combined into a time harmonic equation for the electric field, or
a similar equation for the magnetic field
∇ × ( μ –1 ∇ × E ) – ω 2 εc E = 0
–1
∇ × ( ε c ∇ × H ) – ω 2 μH = 0
The first of these, based on the electric field is used in The Electromagnetic Waves,
Frequency Domain Interface.
Using the relation εr = n2, where n is the refractive index, the equation can
alternatively be written
2 2
∇ × ( ∇ × E ) – k0 n E = 0
ω
k 0 = ω ε 0 μ 0 = -----
c0
When the equation is written using the refractive index, the assumption is that μr = 1
and σ = 0 and only the constitutive relations for linear materials are available. When
solving for the scattered field the same equations are used but E = Esc + Ei and Esc is
the dependent variable.
EIGENFREQUENCY ANALYSIS
When solving the frequency domain equation as an eigenfrequency problem the
eigenvalue is the complex eigenfrequency λ = jω + δ, where δ is the damping of the
solution. The Q-factor is given from the eigenvalue by the formula
The spatial parameter, α = δz + jβ = −λ, can have a real part and an imaginary part. The
propagation constant is equal to the imaginary part, and the real part, δz, represents
the damping along the propagation direction. When solving for all three electric field
components the allowed anisotropy of the optionally complex relative permittivity and
relative permeability is limited to:
In 2D, the electric field varies with the out-of-plane wave number kz as
˜
E ( x, y, z ) = E ( x, y ) exp ( – ik z z ) .
˜ 2 ˜
( ∇ – ik z z ) × [ μ r–1 ( ∇ – ik z z ) × E ] – k 0 ε rc E = 0 ,
Similarly, in 2D axisymmetry, the electric field varies with the azimuthal mode number
m as
˜
E ( r, ϕ, z ) = E ( r, z ) exp ( – imϕ )
∇ – im ˜ ˜
----- ϕ × μ r–1 ∇ – i m
----- ϕ × E – k 0 ε rc E = 0 ,
2
r r
In-plane TM Waves
The TM waves polarization has only one magnetic field component in the z direction,
and the electric field lies in the modeling plane. Thus the time-harmonic fields can be
obtained by solving for the in-plane electric field components only. The equation is
formally the same as in 3D, the only difference being that the out-of-plane electric field
component is zero everywhere and that out-of-plane spatial derivatives are evaluated
for the prescribed out-of-plane wave vector dependence of the electric field.
2
– ∇ ⋅ ( μ̃ r ∇E z ) – ε rzz k 0 E z = 0
where
T
μr
μ̃ r = -------------------
det ( μ r )
To be able to write the fields in this form, it is also required that εr, σ, and μr are non
diagonal only in the xy-plane. μr denotes a 2-by-2 tensor, and εrzz and σzz are the
relative permittivity and conductivity in the z direction.
Axisymmetric TM Waves
A TM wave has a magnetic field with only a ϕ component and thus an electric field
with components in the rz-plane only. The equation is formally the same as in 3D, the
only difference being that the ϕ component is zero everywhere and that spatial
derivatives with respect to ϕ are evaluated for the prescribed azimuthal mode number
dependence of the electric field.
Axisymmetric TE Waves
A TE wave has only an electric field component in the ϕ direction, and the magnetic
field lies in the modeling plane. Given these constraints, the 3D equation can be
simplified to a scalar equation for E ϕ . To write the fields in this form, it is also required
that εr and μr are non diagonal only in the rz-plane. μr denotes a 2-by-2 tensor, and
ε rϕϕ and σ ϕϕ are the relative permittivity and conductivity in the ϕ direction.
Electric Losses
The frequency domain equations allow for several ways of introducing electric losses.
Finite conductivity results in a complex permittivity,
σ
ε c = ε – j ----
ω
ε c = ε 0 ( ε' – jε'' )
where ε' is the real part of εr, and all losses are given by ε''. This dielectric loss model
can be combined with a finite conductivity resulting in:
σ
ε c = ε 0 ε' – j --------- + ε''
ωε 0
ε c = ε 0 ε' ( 1 – j tan δ )
In optics and photonics applications, the refractive index is often used instead of the
permittivity. In materials where μr is 1, the relation between the complex refractive
index
n = n – jκ
2
ε rc = n
that is
2 2
ε' r = n – κ
ε'' r = 2nκ
2 1 2 2
n = --- ( ε' r + ε' r + ε'' r )
2
2 1 2 2
κ = --- ( – ε' r + ε' r + ε'' r )
2
In the physics and optics literature, the time harmonic form is often written with a
minus sign (and “i” instead of “j”):
– i ωt
E ( x, y, z, t ) = E ( x, y, z )e
Magnetic Losses
The frequency domain equations allow for magnetic losses to be introduced as a
complex relative permeability.
μ r = ( μ' – jμ'' )
The complex relative permeability can be combined with any electric loss model except
refractive index.
∂A ∂ ∂A ∇ μ –1
μ0 σ + μ0 ε + × ( r ∇ × A) = 0
∂t ∂t ∂t
Using the relation εr = n2, where n is the refractive index, the equations can
alternatively be written
WAVE S IN 2D
In 2D, different polarizations can be chosen by selecting to solve for a subset of the
3D vector components. When selecting all three components, the 3D equation applies
with the addition that out-of-plane spatial derivatives are set to zero.
In-plane TM Waves
The TM waves polarization has only one magnetic field component in the z direction,
and thus the electric field and vector potential lie in the modeling plane. Hence it is
obtained by solving only for the in-plane vector potential components. The equation
is formally the same as in 3D, the only difference being that the out-of-plane vector
potential component is zero everywhere and that out-of-plane spatial derivatives are
set to zero.
In-plane TE Waves
As the field propagates in the modeling xy-plane a TE wave has only one non zero
vector potential component, namely in the z direction. The magnetic field lies in the
modeling plane. Thus the equation in the time domain can be simplified to a scalar
equation for Az:
∂A z ∂A z
+ μ 0 ε 0 ∂ ε r
–1
μ0 σ + ∇ ⋅ ( μ r ( ∇A z ) ) = 0
∂t ∂t ∂t
Using the relation εr = n2, where n is the refractive index, the equation can
alternatively be written
∂ n 2 ∂A z ∇ ∇A
μ0 ε0 + ⋅( z) = 0
∂t ∂t
When using the refractive index, the assumption is that μr = 1 and σ = 0 and only the
constitutive relations for linear materials can be used.
Axisymmetric TM Waves
TM waves have a magnetic field with only a ϕ component and thus an electric field
and a magnetic vector potential with components in the rz-plane only. The equation
is formally the same as in 3D, the only difference being that the ϕ component is zero
everywhere and that spatial derivatives with respect to ϕ are set to zero.
Axisymmetric TE Waves
A TE wave has only a vector potential component in the ϕ direction, and the magnetic
field lies in the modeling plane. Given these constraints, the 3D equation can be
simplified to a scalar equation for A ϕ . To write the fields in this form, it is also required
that εr and μr are non diagonal only in the rz-plane. μr denotes a 2-by-2 tensor, and
ε rϕϕ and σ ϕϕ are the relative permittivity and conductivity in the ϕ direction.
Vector Elements
Whenever solving for more than a single vector component, it is not possible to use
Lagrange elements for electromagnetic wave modeling. The reason is that they force
the fields to be continuous everywhere. This implies that the physics interface
conditions, which specify that the normal components of the electric and magnetic
fields are discontinuous across interior boundaries between media with different
permittivity and permeability, cannot be fulfilled. To overcome this problem, the
Electromagnetic Waves, Frequency Domain interface uses vector elements, which do
not have this limitation.
The solution obtained when using vector elements also better fulfills the divergence
conditions ∇ · D = 0 and ∇ · B = 0 than when using Lagrange elements.
Using the default parameters for the eigenfrequency study, it might find a large
number of false eigenfrequencies, which are almost zero. This is a known consequence
of using vector elements. To avoid these eigenfrequencies, change the parameters for
the eigenvalue solver in the Study Settings. Adjust the settings so that the solver
searches for eigenfrequencies closer to the lowest eigenfrequency than to zero.
w0 2 2
ρ - ρ
E b ( x, y, z ) = E bg0 ------------ exp – -------------- – jkz – jk ---------------- + j η ( z ) ,
w(z) w (z)
2 2R ( z )
where w0 is the beam radius, p0 is the focal plane on the z-axis, Ebg0 is the background
electric field amplitude and the spot radius for different positions along the
propagation axis is given by
z – p0 2
w ( z ) = w 0 1 + --------------- .
z0
z0 2
R ( z ) = ( z – p0 ) 1 + ---------------
z – p 0
z–p
η ( z ) = atan --------------0- .
z0
The equations above are expressed using the Rayleigh range z0 and the transverse
coordinate ρ, defined by
2
k0 w0 2 2 2
z 0 = --------------, ρ = x + y .
2
Note that the time-harmonic ansatz in COMSOL is ejωt and with this convention, the
beam above propagates in the +z-direction. The equations are modified accordingly
for beams propagating along the other coordinate axes.
The background field for a Gaussian beam is defined in a similar way for 2D
components. In the particular case where the beam propagates along the x-axis, the
background field is defined as
2 2
w0 y η(x)
y - -----------
E b ( x, y, z ) = E bg0 ------------ - – jkx – jk ---------------
exp – -------------- +j .
w( x) w (x)
2 2R ( x ) 2
For a beam propagating along the y-axis, the coordinates x and y are interchanged.
Notice that the expressions above for Gaussian beams are not solutions to the
Helmholtz equation, but to the so called paraxial approximation of the Helmholtz
equation. This means that these equations become less accurate the smaller the spot
radius is and should not be used when the spot radius is of the same size as or smaller
than the wavelength.
There are several possible approaches to compute an average material property starting
from the material properties and the volume fraction of each material.
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 = θ1 σ1 + θ2 σ2 + …
i=1
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
n
θi θ1 θ2
--1- =
σ ----σ-i = ------ + ------ + …
σ1 σ2
i=0
If the conductivities are defined by second order tensors, the inverse of the tensors are
used.
POWER L AW
A power law gives the following expression for the equivalent conductivity:
ε = θi εi = θ1 ε1 + θ2 ε2 + …
i=1
VO L U M E A VE R A G E , R E C I P R O C A L PE R M I T T I V I T Y
The second method is the volume average of the inverse of the permittivities:
n
1 θi θ1 θ2
--- =
ε ----εi = ----- + ----- + …
ε1 ε2
i=0
If the permittivity is defined by a second-order tensor, the inverse of the tensor is used.
POWER LAW
A power law gives the following expression for the equivalent permittivity:
n
θi θ θ
ε = ∏ εi = ε 11 ε 22 …
i=0
μ = θi μi = θ1 μ1 + θ2 μ2 + …
i=1
VO L U M E A V E R A G E , R E C I P R O C A L PE R M E A B I L I T Y
The second method is the volume average of the inverse of the permeabilities:
n
θi θ1 θ2
--1- =
μ ----μ-i = ------ + ------ + …
μ1 μ2
i=0
If the permeability is defined by a second-order tensor, the inverse of the tensor is used.
POWER L AW
A power law gives the following expression for the equivalent permeability:
n
θi θ θ
μ = ∏ μi = μ 11 μ 22 …
i=0
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. 2) 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.
Archie’s law relates the effective conductivity to the fluid conductivity σL, fluid
saturation sL, and porosity εp:
n m
σ = sL εp σL
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.
The distribution of the electric potential V and the current I describes the propagation
of the signal wave along the line. The following equations relate the current and the
electric potential
∂V
= – ( R + jωL )I (4-1)
∂x
∂I
= – ( G + jωC )V (4-2)
∂x
Equation 4-1 and Equation 4-2 can be combined to the second-order partial
differential equation
T H E O R Y F O R T H E TR A N S M I S S I O N L I N E I N T E R F A C E | 163
2
∂ V 2
2
= γ V (4-3)
∂x
where
γ = ( R + jωL ) ( G + jωC ) = α + jβ
Here γ, α, and β are called the complex propagation constant, the attenuation
constant, and the (real) propagation constant, respectively.
– γx γx (4-4)
V ( x ) = V+ e + V- e
By inserting Equation 4-4 in Equation 4-1 you get the current distribution
γ – γx γx
I ( x ) = --------------------- ( V + e – V - e )
R + jωL
V R + jωL R + jωL-
Z 0 = ---- = --------------------- = ---------------------
I γ G + jωC
To make sure that the current is conserved across internal boundaries, COMSOL
Multiphysics solves the following wave equation (instead of Equation 4-3)
1 - ∂V
∂ -------------------- – ( G + jωC )V = 0 (4-5)
∂ x R + jωL ∂ x
V1 = V2 (4-6)
I1 = I2 (4-7)
In Equation 4-6 and Equation 4-7, the indices 1 and 2 denote the domains on the two
sides of the boundary. The currents flowing out of a boundary are given by
n i ⋅ ∇V i
I i = – ------------------------- , i = 1, 2
R i + jωL i
Because V is solved for, the electric potential is always continuous, and thus
Equation 4-6 is automatically fulfilled. Equation 4-7 is equivalent to the natural
boundary condition
1 - ∂V
-------------------------- – --------------------------- ∂V
1
= 0
R 2 + jωL 2 ∂ x 2 R 1 + jωL 1 ∂ x 1
When the transmission line is terminated by a load impedance, as Figure 4-5 shows,
the current through the load impedance is given by
V( L)
I ( L ) = ------------- (4-8)
ZL
1 - ∂V ------V
-------------------- + - = 0 (4-9)
R + jωL ∂ x Z L
The Open Circuit boundary condition is obtained by letting the load impedance
become infinitely large, that is, no current flows through the load impedance.
On the other hand, the Short Circuit boundary condition specifies that the voltage at
the load is zero. In COMSOL Multiphysics this is implemented as a constraint on the
electric potential.
T H E O R Y F O R T H E TR A N S M I S S I O N L I N E I N T E R F A C E | 165
To excite the transmission line, use the Incoming Wave boundary condition. Referring
to the left (input) end of the transmission line in Figure 4-5, the forward propagating
wave has a voltage amplitude of V0. Thus, the total voltage at this boundary is given by
V ( 0 ) = V = V0 + V-
1 ∂V 1 2V 0 – V
I ( 0 ) = – --------------------- = ------ ( V 0 – V - ) = --------------------
R + jωL ∂ x x=0
Z0 Z0
1 ∂V V – 2V 0
– --------------------- + -------------------- = 0
R + jωL ∂ x Z0
For the Lumped Port boundary condition, the port current (positive when entering
the transmission line) defines the boundary condition as
1 ∂V
– --------------------- – I port = 0
R + jωL ∂ x
2V 0 – V
I port = --------------------
Z0
for a Cable lumped port (see the Lumped Port section for a description of the lumped
port settings).
• The Equations
• In-plane E Field or In-plane H Field
• Fluxes as Dirichlet Boundary Conditions
• Absorbing Layers
The Equations
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 the:
For general time-varying fields, the differential form of Maxwell’s equations can be
written as
∂D
∇ × H = J + -------
∂t
∂B
∇ × E = – ------- (4-10)
∂t
∇⋅D = ρ
∇⋅B = 0
The first two equations are also called Maxwell-Ampere’s law and Faraday’s law,
respectively. Equation three and four are two forms of Gauss’ law, the electric and
magnetic form, respectively.
T H E O R Y FO R T H E E L E CT RO M A G N E T I C WAVE S , T I M E E X P L I CI T I N T E R F A C E | 167
CONSTITUTIVE RELATIONS
To obtain a closed system of equations, the constitutive relations describing the
macroscopic properties of the medium are included. These are given as
D = ε0 E + P
B = μ0 ( H + M ) (4-11)
J = σE
Here ε0 is the permittivity of a vacuum, μ0 is the permeability of a vacuum, and σ the
electric conductivity of the medium. In the SI system, the permeability of a 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
1 – 12 1 –9
ε 0 = ----------
2
= 8.854 ⋅ 10 F/m ≈ --------- ⋅ 10 F/m
c0 μ0 36π
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
moments. P is generally a function of E. Some materials might 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 example,
have a nonzero M also when there is no magnetic field present.
To get a wave equation for the E field, for example, take the curl of the second
equation in Equation 4-10 (previously divided by μ0), and insert it into the time
derivative of the first row in Equation 4-10
2 2
∂M ∂E ∂ E- ∂ P
– ∇ × ----- ∇ × E + -------- = σ ------- + ε 0 ---------
1
+ ----------
μ0 ∂t ∂t ∂t 2 ∂t 2
this is referred as curl-curl formulation in the literature (second order time derivatives
and second order space derivatives).
LINEAR MATERIALS
In the simplest case linear materials, the polarization is directly proportional to the
electric field, that is
∂P ⁄ ∂E = ε 0 χ e and P = ε 0 χ e E
∂M ⁄ ∂H = χ m and M = χ m H
As a consequence, for linear materials, the constitutive relations in Equation 4-11 can
be written as
D = ε 0 E + P = ε 0 ( 1 + χ e )E = ε 0 ε r E
B = μ 0 ( H + M ) = μ 0 ( 1 + χ m )H = μ 0 μ r H
Here, ε = ε0εr and μ = μ0μr are the permittivity and permeability of the material. The
relative permittivity εr and the relative permeability μr are usually scalar properties but
these can be second-rank symmetric (Hermitian) tensors for a general anisotropic
material.
∂E
∇ × H = σE + ε 0 ε r -------
∂t
(4-12)
∂-------
H-
∇ × E = –μ 0 μr
∂t
∂u
da + ∇ ⋅ Γ(u) = f
∂t
T H E O R Y FO R T H E E L E CT RO M A G N E T I C WAVE S , T I M E E X P L I CI T I N T E R F A C E | 169
0 u3 –u2
∇ × u = ∇ ⋅ –u3 0 u1 (4-13)
u2 –u1 0
Maxwell’s equations in 3D
∂E
ε 0 ε r ------- – ∇ × H = – σE
∂t
∂H
μ 0 μ r -------- + ∇ × E = 0
∂t
∂E
d E ------- + ∇ ⋅ Γ E ( H ) = f
∂t
∂-------
H
dH - + ∇ ⋅ ΓH ( E ) = 0
∂t
d E = ε 0 ε r and d H = μ 0 μ r
0 h3 –h2 0 e3 –e2
ΓE ( H ) = – –h3 0 h1 and Γ H ( E ) = – e 3 0 e1
h2 –h1 0 e2 –e1 0
When using SI units (or other) for the electromagnetic fields and material
properties, the Lax-Friedrichs flux parameter is not dimensionless and
must have units of τE = 1/(2Z) for Ampere’s law and τH = Z/2 for
Faraday’s law, where Z is the impedance of the medium.
TM WAVES IN 2D
For TM waves in 2D, solve for an in-plane electric field vector and one out-of-plane
variable for the magnetic field. Maxwell’s equations then read
∂E
ε 0 ε r ------- + ∇ ⋅ Γ E ( H ) = – σ ⋅ E
∂t
(4-14)
∂H
μ 0 μ r -------- + ∇ ⋅ Γ H ( E ) = 0
∂t
0 –h3
ΓE ( H ) = and Γ H ( E ) = e 2 – e 1 (4-15)
h3 0
The default Lax-Friedrichs flux parameters are τE = 1/(2Z) for Ampere law, and the
scalar τH = Z/2 for Faraday’s law, where Z is the impedance of a vacuum.
TE WAVE S IN 2D
For TE waves in 2D, solve for an in-plane magnetic field vector and one out-of-plane
variable for the electric field. Maxwell’s equations then read
∂E
ε 0 ε r ------- + ∇ ⋅ Γ E ( H ) = – σE
∂t
(4-16)
∂H
μ 0 μ r -------- + ∇ ⋅ Γ H ( E ) = 0
∂t
0 e3
Γ E ( H ) = – h 2 h 1 and Γ H ( E ) = (4-17)
–e3 0
T H E O R Y FO R T H E E L E CT RO M A G N E T I C WAVE S , T I M E E X P L I CI T I N T E R F A C E | 171
The divergence of ΓH(E) is applied row-wise. The tensor of relative permeability μr
represents in-plane material properties, while the relative permittivity εr and
conductivity σ are out-of-plane scalar properties.
The default Lax-Friedrichs flux parameters are τE = 1/(2Z) for Ampere law, and two
scalar τH = Z/2 for Faraday’s law, where Z is the impedance of a vacuum.
∂E
ε 0 ε r ------- + ∇ ⋅ Γ E ( H ) = – σE
∂t
∂H
μ 0 μ r -------- + ∇ ⋅ Γ H ( E ) = 0
∂t
0 –h3 h2 0 e3 –e2
ΓE ( H ) = h3 0 – h 1 and Γ H ( E ) = – e 3 0 e1
–h2 h1 0 e2 –e1 0
For Ampere’s law, the normal to the flux term on exterior boundaries reads
n ⋅ ΓE ( H ) = –n × H
n ⋅ ΓH ( E ) = n × E
which means that normal fluxes on external boundaries can only prescribe tangential
components for the fields.
BOUNDARY CONDITIONS
The boundary conditions for outer boundaries are computed from the normal fluxes
n · ΓH(E) and n · ΓE(H).
Absorbing Layers
The Electromagnetic Waves, Time Explicit Interface includes so-called absorbing
layers, also often referred to as sponge layers. The layers work by combining three
techniques: a scaling system, filtering, and simple nonreflecting conditions. For a
review of the method see, for example, Ref. 1.
The layers are set up by adding the Absorbing Layer under the Definitions node. This
adds a special scaled system. The scaling effectively slows down the propagating waves
and ensures that they hit the outer boundary in the normal direction. For the
Absorbing Layer domain selection, add an additional Wave Equations feature, mark
the Activate check box under the Filter Parameters section, and enter filter parameters.
Filtering attenuates and filters out high-frequency components of the wave. Finally, at
the outer boundary of the layer add a simple Low-Reflecting Boundary condition,
which will work well to remove all remaining waves as normal incidence has been
ensured.
For more detailed information about the filter see the Filter Parameters
section under Wave Form PDE in the COMSOL Multiphysics Reference
Manual.
T H E O R Y FO R T H E E L E CT RO M A G N E T I C WAVE S , T I M E E X P L I CI T I N T E R F A C E | 173
For the Absorbing Layers select the Type (Cartesian, cylindrical, spherical, or user
defined) under the Geometry section. Enter values for the Physical Width and Pole
Distance under the Scaling section.
For more detailed on the Geometry and Scaling see the Infinite Elements,
Perfectly Matched Layers, and Absorbing Layers in the COMSOL
Multiphysics Reference Manual.
For the layers to work optimally the filter should not be too aggressive. Moreover, the
scaled coordinates in the layer domain should also vary smoothly. To inspect the scaled
system you can plot the coordinate variables x_absorb_ab1, y_absorb_ab1, and
z_absorb_ab1. Using the absorbing layers with the three combined techniques will
enable the reduction of spurious reflections by a factor between 100 and 1000
compared to the incident amplitude.
Reference
1. P. G. Petropoulos, L. Zhao, and A. C. Cangellaris, “A Reflectionless Sponge Layer
Absorbing Boundary Condition for the Solution of Maxwell’s Equations with
High-Order Staggered Finite Difference Schemes”, J. Comp. Phys., vol. 139, pp.
184–208, 1998.
AC/DC Interfaces
This chapter summarizes the functionality of the electrical circuit interface found
under the AC/DC branch ( ) when adding a physics interface.
In this chapter:
See The AC/DC Interfaces in the COMSOL Multiphysics Reference Manual for
other AC/DC interface and feature node settings.
175
The Electrical Circuit Interface
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.
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.
DEVICE NAMES
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.
SETTINGS
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.
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).:
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.
GROUND CONNECTION
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).
Resistor
The Resistor ( ) feature connects a resistor between two nodes in the electrical
circuit.
DEVICE NAME
Enter a Device name for the resistor. The prefix is R.
DEVICE PARAMETERS
Enter the Resistance of the resistor.
Capacitor
The Capacitor ( ) feature connects a capacitor between two nodes in the electrical
circuit.
DEVICE NAME
Enter a Device name for the capacitor. The prefix is C.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the capacitor.
DEVICE PARAMETERS
Enter the Capacitance of the capacitor.
Inductor
The Inductor ( ) feature connects an inductor between two nodes in the electrical
circuit.
DEVICE NAME
Enter a Device name for the inductor. The prefix is L.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the inductor.
DEVICE PARAMETERS
Enter the Inductance of the inductor.
Voltage Source
The Voltage Source ( ) feature connects a voltage source between two nodes in the
electrical circuit.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the voltage source. The first node
represents the positive reference terminal.
DEVICE PARAMETERS
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.
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.
Current Source
The Current Source ( ) feature connects a current source between two nodes in the
electrical circuit.
NODE CONNECTIONS
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.
DEVICE PARAMETERS
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.
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.
DEVICE NAME
Enter a Device name for the voltage-controlled voltage source. The prefix is E.
NODE CONNECTIONS
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.
DEVICE PARAMETERS
Enter the voltage Gain. The resulting voltage is this number multiplied by the control
voltage.
DEVICE NAME
Enter a Device name for the voltage-controlled current source. The prefix is G.
NODE CONNECTIONS
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.
DEVICE PARAMETERS
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.
DEVICE NAME
Enter a Device name for the current-controlled voltage source. The prefix is H.
NODE CONNECTIONS
Set two Node names for the connection nodes for the voltage source. The first node in
a pair represents the positive reference terminal.
DEVICE PARAMETERS
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.
DEVICE NAME
Enter a Device name for the current-controlled current source. The prefix is F.
NODE CONNECTIONS
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.
DEVICE PARAMETERS
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 PINS
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
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.
DEVICE NAME
Enter a Device name for the subcircuit instance. The prefix is X.
NODE CONNECTIONS
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.
DEVICE NAME
Enter a Device name for the BJT. The prefix is Q.
MODEL PARAMETERS
Specify the Model Parameters. Reasonable defaults are provided but for any particular
BJT, the device manufacturer should be the primary source of information.
DEVICE NAME
Enter a Device name for the MOSFET. The prefix is M.
NODE CONNECTIONS
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.
Mutual Inductance
The Mutual Inductance allows specifying a coupling between two existing Inductor
features in the circuit. The mutual inductance of the coupling is
M = k L1 L2
where k is the coupling factor and L1 and L2 are the inductances of the inductors.
DEVICE PARAMETERS
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.
NODE CONNECTIONS
Enter or edit the table in the Node names column for the primary and secondary node
connections.
DEVICE PARAMETERS
Chose a Transformer model—Specify inductors (the default) or Ideal transformer.
For Ideal transformer enter values or expressions for the Winding ratio N1/N2
(dimensionless). The default is 10.
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.
DEVICE NAME
Enter a Device name for the diode. The prefix is D.
NODE CONNECTIONS
Specify two Node names for the positive and negative nodes for the Diode device.
MODEL PARAMETERS
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.
DEVICE NAME
Enter a Device name for the External I vs. U node.
EXTERNAL DEVICE
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.
DEVICE NAME
Enter a Device name for the External U vs. I node.
EXTERNAL DEVICE
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.
DEVICE NAME
Enter a Device name for the External I-terminal.
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.
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.
See SPICE Export for more details on the supported SPICE commands.
• 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.
Bipolar Transistors
Figure 5-1 illustrates the equivalent circuit for the npn bipolar junction 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.
v be
– --------------
v bc
– --------------
NF VT NR VT
= ----------------------------------------------- 1 + 1 + 4I S -------------------------- + --------------------------
1 e – 1 e – 1
f bq
v v I A I A
2 1 – ----------- – -----------
bc be KF KR
V AF V AR
v be v be
I S – -------------
N V
-
– --------------
N V
i be = A ------- e F T – 1 + I SE e E T – 1
B
F
v bc v bc
I S – --------------
N V – --------------
N V
i bc = A -------- e R T – 1 + I SC e C T – 1
B
R
v be v bc
I S – -------------
N V
- – --------------
N V
i ce = A ------- e F T + e C T
f
bq
k B T NOM
V T = ------------------------
q
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.
v bx – MJx
1 – ---------
-
V Jx v bx < F C V Jx
C jbx
= AC Jx ×
v bx v bx ≥ F C V Jx
( 1 – F ) – 1 – M Jx 1 – F ( 1 + M ) + M ---------
C C Jx Jx V -
Jx
The following equations are used to compute the relations between currents and
voltages in the circuit.
C gd = C gd0 W
C gs = C gs0 W
1 – v
–M J
bd
--------
-
PB v bx < F C P B
C jbd = C BD ×
v bx v bx ≥ F C P B
( 1 – F ) – 1 – M J 1 – F ( 1 + M ) + M -------
-
C C J JP
B
The following equations are used to compute the relations between currents and
voltages in the circuit.
vd –M
1 – ------
- vd < FC VJ
V J
C j = C J0 ×
– 1 – M vd
( 1 – FC ) 1 – F C ( 1 + M ) + M ------- v d ≥ F C V J
V J
k B T NOM
V T = ------------------------
q
This chapter describes The Microwave Heating Interface found under the Heat
Transfer>Electromagnetic Heating branch ( ) when adding a physics interface.
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.
203
The Microwave Heating Interface
The Microwave Heating interface ( ) is used to model electromagnetic heating for
systems and devices that are on a scale ranging from 1/10 of a wavelength up to,
depending on available computer memory, about 10 wavelengths. This multiphysics
interface adds an Electromagnetic Waves, Frequency Domain interface and a Heat
Transfer in Solids interface. The multiphysics couplings add the electromagnetic losses
from the electromagnetic waves as a heat source, and the electromagnetic material
properties can depend on the temperature. The modeling approach is based on the
assumption that the electromagnetic cycle time is short compared to the thermal time
scale.
The following table shows what study step combinations of Electromagnetic Waves,
Frequency Domain interface and Heat Transfer in Solids interface are supported from
the Microwave Heating interface.
TABLE 6-1: STUDY STEP COMBINATIONS OF ELECTROMAGNETIC WAVES, FREQUENCY DOMAIN INTERFACE
AND HEAT TRANSFER IN SOLIDS INTERFACE
204 | C H A P T E R 6 : H E A T TR A N S F E R I N T E R F A C E S
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
corresponds to the differential form of Fourier's law that may contain additional
contributions like heat sources.
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 Electromagnetic Waves, Frequency Domain and Heat Transfer in
Solids interfaces are added, COMSOL adds an empty Multiphysics node. You can
choose from the available coupling features, Electromagnetic Heat Source, Boundary
Electromagnetic Heat Source, and Temperature Coupling, but the modified settings are
not included.
Coupling features are available from the context menu (right-click the
Multiphysics node) or from the Physics toolbar, Multiphysics menu.
Electromagnetic Heat The Domain Selection is the same as that of the participating
Source physics interfaces.
The corresponding Electromagnetic Waves, Frequency Domain
and Heat Transfer in Solids interfaces are preselected in the
Electromagnetic Heat Source section (described in the
COMSOL Multiphysics Reference Manual).
Boundary The Boundary Selection is the same as the exterior and interior
Electromagnetic Heat boundaries of the Domain Selection of the participating physics
Source interfaces.
The corresponding Electromagnetic Waves, Frequency Domain
and Heat Transfer in Solids interfaces are preselected in the
Boundary Electromagnetic Heat Source section (described in
the COMSOL Multiphysics Reference Manual).
Temperature Coupling The corresponding Electromagnetic Waves, Frequency Domain
and Heat Transfer in Solids interfaces are preselected in the
Temperature Coupling section (described in the COMSOL
Multiphysics Reference Manual).
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.
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.
Coupling Features
• The Electromagnetic Heat Source coupling feature node is described in this section.
• The Boundary Electromagnetic Heat Source and Temperature Coupling coupling
feature nodes are described for The Joule Heating Interface in the COMSOL
Multiphysics Reference Manual.
206 | C H A P T E R 6 : H E A T TR A N S F E R I N T E R F A C E S
Physics Interface Features
Physics 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 Electromagnetic Waves, Frequency Domain
Interface are listed in the section Domain, Boundary, Edge, Point, and Pair Nodes
for the Electromagnetic Waves, Frequency Domain Interface.
• See The Heat Transfer Interfaces in the COMSOL Multiphysics Reference Manual
for information about the available physics features for heat transfer.
If you have an add-on module, such as the Heat Transfer Module, there
are additional specialized physics nodes available and described in the
individual module documentation.
Q e = Q rh + Q ml
1 *
Q rh = --- Re ( J ⋅ E )
2
1 *
Q ml = --- Re ( iωB ⋅ H )
2
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 feature in the model) is emh.
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.
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.
208 | C H A P T E R 6 : H E A T TR A N S F E R I N T E R F A C E S
7
Glossary
209
Glossary of Terms
absorbing boundary A boundary that lets an electromagnetic wave propagate through
the boundary without reflections.
constitutive relation The relation between the D and E fields and between the B and
H fields. These relations depend on the material properties.
cutoff frequency The lowest frequency for which a given mode can propagate
through, for example, a waveguide or optical fiber.
eigenmode A possible propagating mode of, for example, a waveguide or optical fiber.
electric 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.
lumped port A type of port feature. Use the lumped port to excite the model with a
voltage, current, or circuit input. The lumped port must be applied between two
metallic objects, separated by much less than a wavelength.
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.
perfect electric conductor (PEC) A material with high electrical conductivity, modeled
as a boundary where the electric field is zero.
surface current density Current density defined on the surface. The component
normal to the surface is zero. The unit is A/m.
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 | 211
212 | CHAPTER 7: GLOSSARY
I n d e x
2D microwave heating 207
wave equations 85 perfect electric conductor 93
2D axisymmetry perfect magnetic conductor 94
wave equations 85 periodic boundary condition 118
2D modeling techniques 27, 29 periodic boundary conditions 32
3D modeling techniques 29 periodic port reference point 104
INDEX| 213
electromagnetic waves, transient 126 divergence constraint (node) 90
transmission line 133 documentation 18
bulk node 185 domain nodes
electromagnetic waves, frequency do-
C calculating
main interface 83
S-parameters 41
electromagnetic waves, time explicit
capacitor (node) 179
140
Cartesian coordinates 27
drain node 185
cementation exponent 122, 162
Drude-Lorentz dispersion model 88
circuit import, SPICE 190
Drude-Lorentz polarization (node) 130
circular port reference axis (node) 101
collector node 185 E E (PMC) symmetry 36
common settings 15 edge current (node) 120
complex permittivity, electric losses and eigenfrequency analysis 47
153 eigenfrequency calculations theory 157
complex propagation constant 164 eigenfrequency study 149
complex relative permeability, magnetic eigenmode analysis 70
losses and 154 eigenvalue (node) 49
constitutive relations 168 electric current density (node) 144
constitutive relations, theory 63 electric field (node) 108, 144
continuity, periodic boundaries and 32 electric losses theory 153
coupling, to the electrical circuits inter- electric point dipole (node) 120
face 52 electric scalar potential 64
curl-curl formulation 168 electric susceptibility 169
current source (node) 180 electrical circuit interface 176
current-controlled current source theory 192
(node) 183 electrical circuits
current-controlled voltage source modeling techniques 51
(node) 183 electrical conductivity 63
cutoff frequency 71 electrical conductivity, porous media 162
cylindrical coordinates 28 electrical size, modeling 13
cylindrical waves 110 electromagnetic energy theory 65
electromagnetic heat source (node) 207
D Debye dispersion model 88
electromagnetic quantities 75
device models, electrical circuits 193
electromagnetic sources, applying 30
dielectric medium theory 68
electromagnetic waves, frequency do-
diffraction order (node) 101
main interface 78–79
diode (node) 187
theory 148
diode transistor model 199
electromagnetic waves, time explicit in-
dispersive materials 66
214 | I N D E X
terface 139 axisymmetric, frequency domain 152
theory 167 axisymmetric, time domain 156
electromagnetic waves, transient inter- in-plane, frequency domain 151
face 124 in-plane, time domain 155
theory 148 perpendicular 150
emailing COMSOL 20
I impedance boundary condition (node)
emitter node 185
112
error message, electrical circuits 52
importing
exponential filter, for wave problems 142
SPICE netlists 55, 190
exporting
incoming wave (node) 135
SPICE netlists 56
inductor (node) 179
external current density (node) 90
inhomogeneous materials 66
external I vs. U (node) 187
initial values (node)
external I-terminal (node) 189
electromagnetic waves, frequency do-
external U vs. I (node) 188
main interface 90
F far field variables 38 electromagnetic waves, time explicit
Faraday’s law 167 interface 143
far-field calculation (node) 91 electromagnetic waves, transient 130
far-field calculations 73 transmission line 135
far-field domain (node) 91 in-plane TE waves theory
far-field variables 36 frequency domain 152
file, Touchstone 82, 133 time domain 155
Floquet periodicity 32, 118 in-plane TM waves theory
fluid saturation 122 frequency domain 151
flux/source (node) 147 time domain 155
formation factor 162 inports 95
forward-propagating wave 164 integration line for current (node) 101
free-space variables 85 integration line for voltage (node) 101
frequency domain equation 149 internet resources 18
Frequency-Domain Modal Method 58
K Kirchhoff’s circuit laws 192
G gate node 185 knowledge base, COMSOL 21
Gauss’ law 167
L line current (out-of-plane) (node) 121
geometry, simplifying 27
linearization point 49
ground node (node) 178
listener ports 95
H H (PEC) symmetry 36 losses, electric 153
high frequency modeling 13 losses, magnetic 154
hybrid-mode waves low-reflecting boundary (node) 146
INDEX| 215
lumped element (node) 107 perfect electric conductor (node) 145
lumped port (node) 104, 137 boundaries 92
lumped ports 43–44 perfect magnetic conductor (node) 93,
145
M magnetic current (node) 118
periodic boundary conditions 32
magnetic current density (node) 144
periodic condition (node) 117
magnetic field (node) 109, 145
periodic port reference point (node) 103
magnetic losses theory 154
permeability
magnetic point dipole (node) 121
anisotropic 150
magnetic susceptibility 64, 169
permeability of vacuum 63
material properties 66
permittivity
materials 67
anisotropic 150
Maxwell’s equations 62
permittivity of vacuum 63
electrical circuits and 192
phasors theory 68
Maxwell-Ampere’s law 167
physics interfaces, common settings 15
mesh resolution 31
PMC. see perfect magnetic conductor
microwave heating interface 204
PNP BJT (node) 184
mode analysis 49, 150
polarization, 2D and 2D axisymmetry 29
mode phase
porous media (node) 122
for Port and Diffraction Order 97
port (node) 94
modeling tips 26
port boundary conditions 41
MPH-files 20
ports, lumped 43–44
multiphysics couplings
potentials theory 64
microwave heating 204
power law, porous media
mutual inductance (node) 186
conductivity 159
N n-Channel MOS transistor 185, 196
permeability 161
n-Channel MOSFET (node) 185
permittivity 160
netlists, SPICE 55, 190
Poynting’s theorem 65
nodes, common settings 15
predefined couplings, electrical circuits
nonlinear materials 66
52
NPN bipolar junction transistor 193
propagating waves 164
NPN BJT (node) 184
propagation constant 164
numeric modes 95
Q quality factor (Q-factor) 47, 149
O open circuit (node) 136
quasi-static modeling 13
P p-Channel MOS transistor 185
R reciprocal permeability, volume average
p-Channel MOSFET (node) 185
161
PEC. see perfect electric conductor
reciprocal permittivity, volume average
perfect conductors theory 68
160
216 | I N D E X
refractive index 86 mode analysis 49, 150
refractive index theory 153 subcircuit definition (node) 184
relative electric field 35 subcircuit instance (node) 184
relative permeability 64 surface charge density 68
relative permittivity 64 surface current density (node) 114, 146
remanent displacement 64 surface magnetic current density (node)
resistor (node) 178 115
surface roughness (node) 115
S saturation coefficient 162
symbols for electromagnetic quantities
saturation exponent 122
75
scattered fields, definition 34
symmetry in E (PMC) or H (PEC) 36
scattering boundary condition (node)
symmetry planes, far-field calculations 36
109
symmetry, axial 28
scattering parameters. see S-parameters
selecting T TE axisymmetric waves theory
mesh resolution 31 frequency domain 152
solver sequences 31 time domain 156
study types 13, 16 TE waves theory 72
semiconductor device models 193 technical support, COMSOL 20
short circuit (node) 137 TEM waves theory 72
SI units 75 terminating impedance (node) 136
simplifying geometries 27 theory
skin effect, meshes and 31 constitutive relations 63
solver sequences, selecting 31 dielectrics and perfect conductors 68
source node 185 electric and magnetic potentials 64
space dimensions 14, 27 electrical circuit interface 192
S-parameter calculations electromagnetic energy 65
electric field, and 40 electromagnetic waves 148
port node and 94 electromagnetic waves, time explicit
theory 70 interface 167
spherical waves 110 far-field calculations 73
SPICE lumped ports 44
exporting 56 Maxwell equations 62
SPICE netlists 55, 190 phasors 68
standard settings 15 S-parameters 70
study types 13 surface charges 68
boundary mode analysis 95 transmission line 163
eigenfrequency 47, 149 time domain equation, theory 154
frequency domain 149 TM waves
INDEX| 217
axisymmetric 149 wave number, free-space 85
TM waves theory 72 wavelength, meshes and 31
Touchstone file 82, 133 websites, COMSOL 21
transformer (node) 186
transition boundary condition (node)
116
transmission line equation (node) 134
transmission line interface 132
theory 163
TW axisymmetric waves theory
frequency domain 152
time domain 156
two-port network (node) 119
two-port network port (node) 120
V variables
eigenfrequency analysis and 48
far-field 36
for far fields 38
lumped ports 46
mode analysis 50, 150
S-parameters 41
vector elements theory 156
voltage input, ports 43
voltage source (node) 179
voltage-controlled current source
(node) 182
voltage-controlled voltage source (node)
182
volume average, permeability 161
volume average, permittivity 160
volume averages, porous media 159
218 | I N D E X