The Magnetic and Electric Fields Interface
The Magnetic and Electric Fields (mef) interface (), found under the AC/DC>Electromagnetic Fields>Vector Formulations branch when adding a physics interface, is used to compute magnetic field and current distributions when the exciting current is driven by an applied voltage. Stationary, and frequency-domain modeling are supported in 2D and 3D. Note that in most cases, using the Magnetic Fields interface with its dedicated coil modeling features is the preferred choice over using the Magnetic and Electric Fields interface.
The physics interface solves Maxwell’s equations formulated using the magnetic vector potential and the scalar electric potential as the dependent variables.
Use the Magnetic and Electric Fields interface when the current continuity equation is needed everywhere in the simulation domain.
The main node is the Ampère’s Law and Current Conservation feature, which adds the equation for the electric potential and magnetic vector potential and provides an interface for defining the constitutive relations and their associated properties such as the relative permeability, relative permittivity, and electrical conductivity.
The Ampère’s Law and Current Conservation feature can be overridden with an Ampère’s Law feature or a Coil feature, that are identical to the ones in the Magnetic Fields interface, removing the electric potential and the current conservation equation from the selected domains.
When this physics interface is added, these default nodes are also added to the Model BuilderAmpère’s Law and Current Conservation, Magnetic Insulation (the default boundary condition for the magnetic vector potential), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, boundary conditions and external currents. You can also right-click Magnetic and Electric Fields to select physics features from the context menu.
Physics-Controlled Mesh
The physics-controlled mesh is controlled from the Mesh node’s Settings window (if the Sequence type is Physics-controlled mesh). There, in the table in the Physics-Controlled Mesh section, find the physics interface in the Contributor column and select or clear the check box in the Use column on the same table row for enabling (the default) or disabling contributions from the physics interface to the physics-controlled mesh.
Information from the physics, such as the presence of an infinite elements domain or periodic condition, will be used to automatically set up an appropriate meshing sequence.
In the COMSOL Multiphysics Reference Manual see the Physics-Controlled Mesh section for more information about how to define the physics-controlled mesh.
Except where described below, most Settings windows are the same as for the Magnetic Fields, Electrostatics, and Electric Currents interfaces. Also see About the Magnetic and Electric Field Interface Boundary Conditions for more information.
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 mef.
Background Field
The only option available from the Solve for list is Full field.
Components
For 2D and 2D axisymmetric components, select ComponentsOut-of-plane vector potential (the default), In-plane vector potential, or Three-component vector potential. From the practical viewpoint this choice is equivalent to deciding in what directions the electric current is allowed to flow (out-of-plane currents, in-plane currents or currents flowing in all three coordinate directions).
Thickness
Enter a value or expression for the Out-of-plane thickness d. The default value of 1 unit length is typically not representative for a thin domain. Instead it describes a unit thickness that makes the 2D equation identical to the equation used for 3D components.
Input Sweep Settings
Enter a Reference impedance Zref (SI unit: Ω). The default is 50 Ω. This impedance is used by Terminal features (when the Terminal Type is set to Terminated) and the Touchstone file export functionality.
Select the Activate input sweep check box to switch on the sweep and invoke a parametric sweep over the Lumped ports or the Terminal nodes.
Select an option from the Sweep on list — Terminals or Ports. This setting controls which features are activated during the sweep.
Enter a Sweep parameter name to indicate the name of the model parameter that controls the terminal or port activated in each step of the sweep. The default is PortName. The name given must match the model parameter, defined under Global Definitions, that is the object of a Parametric Sweep node in the current Study.
The lumped parameters computed can be subject to a Touchstone file export. To activate this functionality, enter a file path or Browse for a file. Select a Parameter format (value pairs) for the Touchstone export — Magnitude and angle (MA) (the default), Magnitude in dB and angle (DB), or Real and imaginary parts (RI). Select an option from the If file exists list — Overwrite or Create new. Create new is useful when the model is solved multiple times with different settings. Select a Parameter to exportZ (the default), Y, or S.
When Terminals is selected under Sweep on, also select a Parameter to exportZ (the default), Y, or S. When the sweep is carried on Ports, the exported parameter is always S.
Error Check
To display this section, click the Show More Options button () and select Advanced Physics Options.
When the Check applicability of features in study check box is selected, any features that are incompatible with the study will generate an error message when trying to solve or show the default solver. No solver will be generated. Deselect it and you will be able to run the model, possibly with runtime errors instead. It is available to allow the advanced user to tweak any feature and use it outside of its intended study scope.
Dependent Variables
The dependent variables (field variables) are for the Electric potential V and Magnetic vector potential A. The name can be changed but the names of fields and dependent variables must be unique within a model.
Discretization
Select the shape order for the Magnetic vector potential dependent variable — Linear, Quadratic (the default), or Cubic and for the Electric potential dependent variable — Linear, Quadratic (the default), Cubic, or Quartic. For more information about the Discretization section, see Settings for the Discretization Sections in the COMSOL Multiphysics Reference Manual.
Magnetic Brake: Application Library path ACDC_Module/Motors_and_Actuators/magnetic_brake
Inductance of a Power Inductor: Application Library path ACDC_Module/Inductive_Devices_and_Coils/power_inductor