2D Coplanar Waveguide Mode Analysis

Problem description

This example demonstrates the "BoundaryMode" simulation type by computing propagation constants, effective indices, and characteristic impedance for a coplanar waveguide (CPW) cross-section. It uses a similar CPW geometry as the 3D crosstalk example but solves the 2D eigenvalue problem directly on the cross-section mesh, making it much cheaper than a full 3D driven simulation.

Two configurations are provided in the examples/cpw2d/ directory:

  • Thin metal (cpw2d_thin.json): Zero-thickness PEC traces on a dielectric substrate.
  • Thick metal with impedance BC (cpw2d_thick_impedance.json): Finite-thickness traces with a surface impedance boundary condition modeling kinetic inductance.

The CPW has a center trace on a silicon substrate ($\varepsilon_r = 11.47$, $\tan\delta = 1.2 \times 10^{-7}$). The mesh length unit is $\mu\text{m}$.

Configuration

Both configurations use "Problem": {"Type": "BoundaryMode"} and request 2 modes at 5 GHz. The key solver settings are:

"BoundaryMode":
{
    "Freq": 5.0,
    "N": 2,
    "Save": 2,
    "Target": 2.497,
    "Tol": 1.0e-8
}

The "Target" parameter sets the effective index $n_\text{eff} = k_n / k_0$ near which the eigenvalue solver searches via shift-and-invert, where $k_n$ is the propagation constant and $k_0 = \omega / c_0$ is the free-space wavenumber. The solver finds modes with $n_\text{eff}$ closest to (but not necessarily above) the target. A value near the expected $n_\text{eff}$ (between 1 for air and $\sqrt{\varepsilon_r} \approx 3.39$ for the substrate) helps the solver converge to the desired propagating modes.

Thin metal configuration

The thin metal case (cpw2d_thin.json) uses PEC boundary conditions on the trace and ground boundaries. It also specifies impedance and voltage postprocessing with a coordinate path across the CPW gap:

"Postprocessing":
{
    "Impedance":
    [
        {
            "Index": 1,
            "VoltagePath": [[518.5, 0.0], [522.0, 0.0]],
            "NSamples": 200
        }
    ],
    "Voltage":
    [
        {
            "Index": 1,
            "VoltagePath": [[518.5, 0.0], [522.0, 0.0]],
            "NSamples": 200
        }
    ]
}

Additionally, domain energy postprocessing and interface dielectric loss (SA, MS, MA types) are configured for energy participation ratio analysis.

Thick metal with impedance BC

The thick metal case (cpw2d_thick_impedance.json) replaces PEC boundaries with a surface impedance boundary condition that models the kinetic inductance of a superconducting film:

"Impedance":
[
    {
        "Attributes": [1],
        "Ls": 1.332e-13
    }
]

The surface inductance $L_s$ adds an inductive contribution to the boundary condition, which increases the effective index of the guided modes compared to the ideal PEC case.

The figure below shows the $E_x$ component of the first propagating mode for the thick metal configuration, zoomed into the trace and gap region. The field is concentrated in the gaps between the center conductor and ground planes, with singularities at the metal corners.



Results

The mode analysis solver writes propagation constants and effective indices to mode-kn.csv and characteristic impedance to mode-Z.csv.

Effective index

For the thin metal (PEC) case:

        m,               Re{kn} (1/m),               Im{kn} (1/m),                  Re{n_eff},                  Im{n_eff},              Error (Bkwd.),               Error (Abs.)
 1.00e+00,        +2.616686307764e+02,        -1.279743148881e-05,        +2.497022709558e+00,        -1.221219255696e-07,        +7.944031597345e-17,        +6.651607538443e-02
 2.00e+00,        +2.620357881074e+02,        -1.264876675263e-05,        +2.500526378267e+00,        -1.207032640310e-07,        +2.172378830595e-16,        +1.170584299783e-03

For the thick metal with impedance BC:

        m,               Re{kn} (1/m),               Im{kn} (1/m),                  Re{n_eff},                  Im{n_eff},              Error (Bkwd.),               Error (Abs.)
 1.00e+00,        +2.630183037084e+02,        -1.591729594305e-05,        +2.509902220379e+00,        -1.518938258920e-07,        +1.196928491271e-16,        +7.570176099768e-03
 2.00e+00,        +2.649098929716e+02,        -1.996924666550e-05,        +2.527953070928e+00,        -1.905603368221e-07,        +3.044347178650e-16,        +6.796307976105e-03

The impedance BC shifts the effective index upward for both modes. This is expected: the surface inductance $L_s$ increases the effective path length seen by the wave, raising $n_\text{eff}$. The shift is larger for mode 1, which has more field energy concentrated near the conductor surfaces.

Characteristic impedance

The power-voltage characteristic impedance $Z_\text{PV} = |V|^2 / (2P)$ is computed from the voltage line integral across the CPW gap and the mode power. For the thin metal case:

        m,              Z_PV[1] (Ohm),              L_PV[1] (H/m),              C_PV[1] (F/m)
 1.00e+00,        +3.878574108173e+01,        +3.230530779000e-07,        +2.147482805724e-10
 2.00e+00,        +1.218541484182e+01,        +1.016368171680e-07,        +6.844952180235e-10

For the thick metal with impedance BC:

        m,              Z_PV[1] (Ohm),              L_PV[1] (H/m),              C_PV[1] (F/m)
 1.00e+00,        +1.202234888590e+01,        +1.006526994182e-07,        +6.963807747737e-10
 2.00e+00,        +3.919425480089e+01,        +3.304994309985e-07,        +2.151423424406e-10

The two modes correspond to the even and odd CPW modes, which have different impedance values. Note that the mode ordering (by propagation constant) can differ between the thin and thick configurations.