Magnetic Vector Potential Models

In magnetostatic or low-frequency electrodynamic applications, Simcenter STAR-CCM+ calculates the magnetic field induced by electric currents from the magnetic vector potential.

Magnetic Vector Potential Equations

Simcenter STAR-CCM+ solves for the magnetic vector potential using either the finite volume or the finite element method. Depending on the discretization method, Simcenter STAR-CCM+ solves different integral forms of Eqn. (4241). When using a finite volume approach, Simcenter STAR-CCM+ offers a choice of conservative and non-conservative formulation.

The following equations account for 3D modes and Transverse Electric modes (where the magnetic vector potential lies on the plane defined by a 2D domain). For Transverse Magnetic modes (where the magnetic vector potential is normal to the 2D domain), see Transverse Magnetic Modes.

The following equations include the electric current density induced by a spatial variation of the electric potential:
Figure 1. EQUATION_DISPLAY
J ϕ = σ ϕ
(4297)

When Simcenter STAR-CCM+ solves for the electric potential, this term is calculated from Eqn. (4277). When Simcenter STAR-CCM+ does not solve for the electric potential, this term is not included in the equations.

In steady and quasi-unsteady applications, the transient term in Eqn. (4234), which defines the eddy current density, vanishes.

Finite Volume Magnetic Vector Potential: Conservative Formulation
In the conservative formulation, Simcenter STAR-CCM+ does not impose a gauging condition and solves the equation:
Figure 2. EQUATION_DISPLAY
A 1 μ A d a A 1 μ ( A ) T d a + V σ A t d V + V σ ϕ d V = V J e x d V
(4298)
Finite Volume Magnetic Vector Potential: Non-Conservative Formulation
In the non-conservative approach, Simcenter STAR-CCM+ solves the equation:
Figure 3. EQUATION_DISPLAY
A 1 μ A d a + V σ A t d V + V σ ϕ d V = V J ex d V
(4299)
Simcenter STAR-CCM+ enforces the Coulomb gauge and solves an additional scalar equation for the so-called projection variable. If A is a solution, any potential A 0 = A φ , where φ is an arbitrary scalar field called the projection variable, is also a valid solution. The projection equation is constructed by enforcing the Coulomb gauge on A 0 :
Figure 4. EQUATION_DISPLAY
φ = A
(4300)
This equation is solved in delta form.
Finite Element Magnetic Vector Potential
In steady and quasi-unsteady analyses, Simcenter STAR-CCM+ solves the following regularized weak form of Eqn. (4241):
Figure 5. EQUATION_DISPLAY
V 1 μ ( ∇× A ) ( ∇× δ A ) d V Γ N [ n × δ A ] [ n × J S ] d a + V κ A δ A d V = V J e x δ A d V
(4301)
where δ A is an arbitrary test function, J e x is the source of electric current density, and J S is the electric current sheet at the boundary Γ N .
Eqn. (4301) ensures that the magnetic vector potential is uniquely defined, as it implements the gauging condition:
Figure 6. EQUATION_DISPLAY
∇⋅ κ A = 0
(4302)
which states that the normal component of κ A is continuous over interfaces with different magnetic permeability.
The parameter κ is defined as:
Figure 7. EQUATION_DISPLAY
κ = 1 μ κ ˜
(4303)
where κ ˜ is a user-specified regularization parameter.
In transient analyses, the regularization term:
Figure 8. EQUATION_DISPLAY
V κ A δ A d V
(4304)
is replaced with the transient term:
Figure 9. EQUATION_DISPLAY
V σ A t δ A d V
(4305)
Eqn. (4301) is spatially discretized and solved using the finite element method. In each element domain, the positions are interpolated using nodal shape functions, whereas the magnetic vector potential is interpolated using lowest order H(Curl)-conforming shape functions. For more information, see H(Curl) Hierarchical Shape Functions.
For a correct representation in the lowest order finite element space, provide magnetic vector potential profiles of the form:
Figure 10. EQUATION_DISPLAY
A = a + ( b × x )
(4306)

where a and b are constant vectors and x is the position vector.

Harmonic Balance FV Magnetic Vector Potential
For potentials with single harmonic time dependence, Simcenter STAR-CCM+ computes the complex magnetic vector potential from:
Figure 11. EQUATION_DISPLAY
A ( 1 μ A ) d a ω 0 V ( σ " A + σ A " ) d V + V ( σ ϕ σ " ϕ " ) d V = V J e x d V A ( 1 μ A " ) d a + ω 0 V ( σ A σ " A " ) d V + V ( σ ϕ " + σ " ϕ ) d V = V J e x " d V
(4307)
which is obtained by integrating Eqn. (4266) over the cell domain. The magnetic permeability μ = μ 0 is assumed to be constant and equal to the vacuum permeability.

Simcenter STAR-CCM+ discretizes and solves Eqn. (4307) using the finite volume method. When Simcenter STAR-CCM+ does not solve Eqn. (4278) for the electric potential, the last term on the left-hand side vanishes.

Harmonic Balance FE Magnetic Vector Potential
With the finite element approach, Simcenter STAR-CCM+ computes the complex magnetic vector potential from:
Figure 12. EQUATION_DISPLAY
V 1 μ ( ∇× A ^ ) ( ∇× δ A ) d V + V i ω 0 σ ^ A ^ δ A d V Γ N d a [ H ^ × n ] δ A = V J ^ δ A d V
(4308)

which is obtained by multiplying Eqn. (4254) with an arbitrary test function δ A H ( curl ) (see H(Curl) Hierarchical Shape Functions) and then integrating by parts.

If eddy currents are suppressed, the term:

Figure 13. EQUATION_DISPLAY
V i ω 0 σ ^ A ^ δ A d V
(4309)

is replaced by the regularization term:

Figure 14. EQUATION_DISPLAY
V i k ˜ μ A ^ δ A d V
(4310)

where κ ˜ is a user-specified regularization parameter.

Source Terms

In general, J ex can be written as:

Figure 15. EQUATION_DISPLAY
J ex = J u + J p m
(4311)

where J u is a user-defined electric current density, and J p m is the electric current density induced by permanent magnets:

Figure 16. EQUATION_DISPLAY
J p m = × 1 μ B r
(4312)

B r is the permanent magnet remanent magnetic flux density, that is, the magnetic flux density that exists in the magnet in the absence of external magnetic fields.

For harmonic time dependence, J ^ ex is complex and J p m is not available.

When modeling excitation coils or magnetohydrodynamics, Simcenter STAR-CCM+ adds additional source terms to Eqn. (4311). These terms are discussed in dedicated sections.

Boundary and Interface Conditions

At the domain boundaries, the solution must satisfy either Dirichlet or Neumann boundary conditions. Dirichlet boundary conditions define the magnetic vector potential A . Neumann boundary conditions define the electric current sheet J S , that is, the magnetic field tangential to the boundary:

Figure 17. EQUATION_DISPLAY
J S = H × n
(4313)

In Eqn. (4307), the magnetic vector potential and the electric current sheet are complex quantities.

The Dirichlet boundary condition implementation depends on the discretization method. In the finite volume implementation, a Dirichlet boundary condition prescribes the magnetic vector potential A at the boundary. In the finite element implementation, a Dirichlet boundary condition prescribes the components of A that are tangential to the boundary.

Typical boundary conditions are:
  • Symmetry (Perfect Magnetic Conductor):

    Forces the magnetic flux to cross the boundary at an angle of 90°.

    Specifically, it sets J S to zero. In the finite volume implementation, the normal component of A is also set to zero, whereas the components tangential to the boundary are left free.

  • Anti-Symmetry (Perfect Electric Conductor):

    Prevents any magnetic flux from crossing the boundary.

    Specifically, it sets the tangential component of A to zero, while leaving the normal component free.

In the finite element framework, it is also possible to prescribe the electric current sheet J S at interfaces:

Figure 18. EQUATION_DISPLAY
J S = n × ( H 1 H 0 )
(4314)

where H 1 and H 0 denote the magnetic field at the two sides of the interface, and n is the surface normal pointing from side 0 to side 1.

Eqn. (4313) follows from Eqn. (4314), where the magnetic field at the domain boundary is H 0 , and outside the simulation domain H 1 = 0 .

For electromagnetic coils, the electric sheet boundary (or interface) condition can be interpreted as:

Figure 19. EQUATION_DISPLAY
J S = n t I L
(4315)

where n t is the number of turns of the coil, I is the electric current that flows through an individual coil turn, and L is the coil length.

Periodic and Anti-periodic Interfaces

In many applications, such as electrical machines, you can reduce the cross-sectional field analysis to a certain number of poles by using periodic interfaces.

At a periodic interface, the Finite Element Magnetic Vector Potential model allows you to specify either periodic or anti-periodic conditions, in order to reduce the analysis to an even or odd number of poles, respectively.

In the finite element implementation, the degrees of freedom are located at the mesh element edges (see H(Curl) Hierarchical Shape Functions). At a periodic interface, the element edges on one side of the interface are connected with the corresponding edges on the other side of the interface.

With periodic conditions:

Figure 20. EQUATION_DISPLAY
A ( r , θ ) τ 1 = A ( r , θ + 2 k π p ) τ 2 ; k = 1 , 2 , 3...
(4316)

where p is the number of pole pairs, r and θ are polar coordinates, and τ 1 and τ 2 are two edges that are connected to each other at the interface.

That is, the transformed magnetic vector potential has the same direction on each side of the interface.

With anti-periodic conditions:

Figure 21. EQUATION_DISPLAY
A ( r , θ ) τ 1 = A ( r , θ + 2 ( k 1 ) π p ) τ 2 ; k = 1 , 2 , 3...
(4317)

That is, the transformed magnetic vector potential has opposite directions on each side of the interface.

The Transverse Magnetic Potential model also supports periodic and anti-periodic conditions. For more information, see Transverse Magnetic Modes.

Alpha-Beta Scaling

This scaling method allows you to specify the temperature fitting factors of the intrinsic flux denisty demagnetization curves for remanence flux density, magnetic permeability, and knee point flux density. The fitting factors are S α ( T ) (vertical) and S β ( T ) (horizontal); they are determined by setting four constants, α L , α Q , β L , and β Q and a standard temperature T s . See the knee point adjusted scaling method and the B-H curve of the permanent magnet. As the software sets no constraints on these values, make sure they are realistic. The relations between the functions and the settings are as follows:

Figure 22. EQUATION_DISPLAY
S α ( T ) = 1 + α L ( T T s ) + α Q ( T T s ) 2 S β ( T ) = 1 + β L ( T T s ) + β Q ( T T s ) 2
(4318)