Main Content

FEM-based Solver for RF Structures

The finite element method (FEM) solver in RF PCB Toolbox™ computes electric and magnetic fields across RF structures. Use this solver to model and analyze PCB components with different shapes and geometries and to find a numerical solution to complex mathematical formulations of these structures. This topic explains the mathematical formulation of the FEM to electromagnetically solve RF structures in RF PCB Toolbox.

To solve time-harmonic Maxwell's equations in the computational domain  Ω, this implementation of the FEM uses hierarchical curl-conforming finite elements (FEs). Basis functions used in these FEs belong to the H(curl;Ω) space. In general, curl-conforming basis function ensure tangential continuity of the field across interfaces between adjacent elements [2, 3]. Maxwell's curl equations dictate this type of field continuity. The curl-conforming functional space H(curl;Ω), is mathematically described as

H(curl;Ω){f|fL2(Ω),curl(f)L2(Ω)}

, where L2(Ω) is the space of square-integrable functions defined over Ω. For more information on functional spaces and their application in FEM, please refer to [1].

Weak Formulation

Using the ejωt anastaz, Maxwell's-curl equations are written as

{curl(E)=Mjωμ¯¯Hcurl(H)=+J+jωε¯¯E

.

Assume a total field formulation that does not separate incident and scattered field contributions in E or H. Also, assume that an absorbing boundary condition of the form, B(E-Einc)=0 is imposed on the boundary of Ω. This absorbing boundary condition truncates the computational domain while minimizing any artificial reflections from the truncating boundary. In the figure, observe that γT(E)=0 enforces the required field condition on any of the perfect electric conductor (PEC) and γT(E)=Esrc enforces any Dirichlet-type boundary-source conditions. A Dirichlet-type boundary-source condition defines a source as a known tangential E-field. In electrodynamics, when ω0, the two curl equations completely describe the underlying physics without the need for independent enforcement of the divergence equations. To form the proper weak form corresponding to the curl equations, take the curl of the first equation and substitute the resulting curl(H) using the second curl equation.

μ¯¯r1curl(E)=μ¯¯r1Mjωμ0H,

curl(μ¯¯r1curl(E))=curl(μ¯¯r1M)jωμ0curl(H),

curl(μ¯¯r1curl(E))=curl(μ¯¯r1M)jωμ0J+ω2μ0ε0ε¯¯rE.

Diagram showing a complete circuit model for the via cell.

Similarly, for the H-field formulation, write

curl(ε¯¯r1curl(H))=curl(ε¯¯r1J)jωε0M+ω2ε0μ0μ¯¯rH.

For an E-field formulation, test the resulting equation with an appropriate testing function T. To test this equation, multiply the equation with T* (complex conjugate of T) and take the integral over the entire problem domain, Ω.

T*curl(μ¯¯r1curl(E))=T*curl(μ¯¯r1M)jωμ0T*J+ω2μ0ε0T*ε¯¯rE

T*curl(μ¯¯r1curl(E))k02T,ε¯¯rEΩ=T,curl(μ¯¯r1M)Ωjωμ0T,JΩ

Using the vector identity

div(A×B)=Bcurl(A)Acurl(B)

and a bra-ket notation

a,bΩΩa*bdΩ

you arrive at

curl(T),μ¯¯r1curl(E)Ωk02T,ε¯¯rEΩ+T,n^×μ¯¯r1curl(E)Ω\ΓD=T,curl(μ¯¯r1M)Ωjωμ0T,JΩ

.

Note that the bra-ket is conjugate-linear in the first variable and linear in the second variable. The equivalent H-field formulation is

curl(T),ε¯¯r1curl(H)Ωk02T,μ¯¯rHΩ+T,n^×ε¯¯r1curl(H)Ω\ΓD=+T,curl(ε¯¯r1J)Ωjωε0T,MΩ

.

The test functions T and the trial functions E belong to the space of curl-confirming functions defined over Ω that is H(curl;Ω). Solving the weak form equations is equivalent to solving the original curl equations if and only if the weak form equations are satisfied for

EH(curl;Ω),TH(curl;Ω).

When forming matrix equations corresponding to the weak form, remember that the testing functions T are chosen to have zero trace on any Dirichlet boundary where there is explicit knowledge of the E field in the form

E=Eknown,ΓD.

or the H field in the form of

H=Hknown,ΓD.

This means that the T,n^×μ¯¯r1curl(E) term in E-field formulation and the T,n^×ε¯¯r1curl(H) term in H-field formulation vanish by the choice of testing functions. On other types of boundaries, these terms are manipulated according to the requirements. For example, in the E-field formulation and in the presence of a Neumann boundary condition where

H=Hknown,ΓN

,

the T,n^×μ¯¯r1curl(E) term is replaced by

T,jωμ0n^×Hknown

and moved to the RHS of the equation.

References

[1] Leszek Demkowicz J. Tinsley Oden, Applied Functional Analysis, CRC Press, 2023, ISBN: 0-471-43818-9.

[2] Nedelec, “Mixed Finite Elements in R3”, in Numerische Mathematik, Vol. 35, 1980, pp. 315–341.

[3] Ivo Dolezel Pavel Solin Karel Segeth, Higher-Order Finite Element Methods, Chapman & Hall, CRC, 2003, ISBN: 9781584884385.