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.
Remanence
Section titled “Remanence”Defines a remanent magnetization for permanent magnets. Can be specified as a constant value or as a vector field.
Lump φ/Φ
Section titled “Lump φ/Φ”Applies a lumped scalar potential 𝜑 or magnetic scalar potential Φ to a specific region or node. This is often used to model simplified circuit elements, where the detailed field distribution is not explicitly resolved but replaced with an equivalent lumped potential difference.
Lump I/V Cut
Section titled “Lump I/V Cut”Applies current/voltage cuts through the domain. Used to drive current or voltage trough regions.
External Field
Section titled “External Field”Applies an external magnetic flux density B 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.
Periodicity
Section titled “Periodicity”Imposes periodic boundary conditions on 𝜑. Reduces computational domain size for symmetric problems.
Continuity
Section titled “Continuity”Ensures continuity of scalar potential 𝜑 across material interfaces. Used to map the fields, for example in rotating simulations.