Magnetism 𝜑
The Magnetism φ formulation solves for the magnetic scalar potential to describe magnetostatic fields. This approach is particularly efficient for large 3D non-conducting domains, where using the magnetic vector potential A would lead to a significantly higher number of degrees of freedom (DOFs).
Strong formulation
Section titled “Strong formulation”Our starting points along with the material relation are
Under the assumption of no current flow (), Gauss’s law for magnetism and Ampere’s law state
The curl of is zero, so is a conservative field, meaning there exists a scalar function such that
Here, is called the magnetic scalar potential. Substituting (5) and the constitutive relation into Gauss’s law for magnetism we get
resulting in Laplace’s equation.
Weak formulation
Section titled “Weak formulation”The partial differential equation is multiplied by the test function and integrated over the entire domain to get
Using the Leibniz rule for nabla operator on the divergence term we get
Applying the divergence theorem on the divergence term we get
Rearranging the terms and using relation on the Neumann term, we obtain the final weak formulation
Available Interactions
Section titled “Available Interactions”Constraint
Section titled “Constraint”Applies a fixed value to the scalar potential 𝜑. Use this when you need to fix scalar potential at a node or within a region. This is often used as a gauge condition to ensure a unique solution.
How to use:
Provide a scalar field value in point or region in Amperes
Example:
= 1000 applies a magnetic scalar potential of 1000 A to the specified region.
Unit: Magnetic scalar potential in Amperes (A)
Remanence
Section titled “Remanence”Defines a remanent magnetization for permanent magnets. Can be specified as a constant vector or as a vector valued function.
How to use:
You can use either the matrix editor or the expression editor.
With the matrix editor, you must provide a 3×1 matrix for a 3D problem (2×1 for 2D, etc.):
Add remanence field vector values for each dimension, for example , and for 3D case.
In the expression editor, you can write the direct expression for this 3D case:
Example: [1; 5; 0]
This applies a 3D remanence field constraint of , and to specified node or a region. Same principles apply for 2D.
Adding spatially varying remanence field to permanent magnets
Unit: Remanence magnetic field in Teslas (T)
Lump φ/Φ
Section titled “Lump φ/Φ”Applies a lumped magnetic scalar potential or magnetic flux to a curve in the domain. Used to drive magnetomotive force or magnetic flux through a specific path, such as along a coil, without resolving the full field distribution.
How to use:
Specify the target curve. From Actuation mode, select either magnetic scalar potential, magnetic flux or circuit coupling. Fill in the value.
Example: applies a magnetic scalar potential of 1000 A to the specified curve.
Unit: Magnetic scalar potential in Amperes (A) or magnetic flux in Webers (Wb)
Lump I/V Cut
Section titled “Lump I/V Cut”Applies a lumped current or voltage through a cut surface in the domain. In the magnetic scalar potential formulation, cuts are required to make the domain simply connected, ensuring a unique solution for 𝜑. This interaction is used to drive current or voltage through conducting regions such as coils, without explicitly resolving the detailed field distribution inside the conductor.
How to use:
Specify the target curve. It has to be closed boundary of some surface. From Actuation mode, select either current, voltage or circuit coupling. Fill in the value.
Example: applies 100 Amperes through the cut surface.
Lump I/V Cut in Induction motor
Unit: Current in Amperes (A) or voltage in Volts (V)
External Field
Section titled “External Field”Applies an external magnetic flux density to the simulation domain. This represents an imposed background field that interacts with the model. The field can be specified as a constant vector or spatially varying field.
How to use:
You can use either the matrix editor or the expression editor.
With the matrix editor, you must provide a 3×1 matrix for a 3D problem (2×1 for 2D, etc.). Add external magnetic field values for each dimension.
In the expression editor, you can write the direct expression:
Example: [1; 5; 0]
applies a 3D external magnetic field constraint of , and to specified node or a region. Same principles apply for 2D.
Unit: External magnetic field in Teslas (T)
Periodicity
Section titled “Periodicity”Imposes periodic boundary conditions on the magnetic scalar potential between two boundaries. Reduces the computational domain size for geometrically symmetric or antisymmetric problems, avoiding the need to model the full geometry.
Example:
The periodicity of an electric motor allows modeling only a fraction of the full geometry, such as one pole pair or one quarter, while still capturing the complete field behavior.
Continuity
Section titled “Continuity”Ensures continuity of the magnetic scalar potential across an interface between two boundaries. Used to map the magnetic field continuously.
Example:
For example, continuity maps the rotor and stator fields correctly in rotating mesh interfaces in electric motors.