TIDY3D
LEARNING CENTER

Anti-resonant hollow-core fiber

Hollow-core optical fibers guide light through an air core rather than a solid glass core. This unique waveguiding provides inherent advantages like extremely low nonlinearity since the light propagates mainly through air, which allows transmitting much higher peak powers before nonlinear effects occur. Hollow fibers can also achieve lower loss limits compared to solid fibers since the core avoids material absorption and Rayleigh scattering. In addition, the ability to fill the core with specific gases allows for a range of enhanced optical interactions and sensing applications.

There are two main types of hollow-core fibers. Photonic bandgap fibers rely on a periodic microstructured cladding to create a forbidden gap of wavelengths that cannot propagate, thereby confining light to the core defect. Alternatively, anti-resonant fibers utilize non-periodic cladding features that are simply designed to be anti-resonant or anti-reflective against the core mode at the wavelength of interest.

This notebook demonstrates how to analyze the supported modes of an anti-resonant hollow core fiber consisting of a single ring of non-touching hollow tubes surrounding the central air core. The design is adopted from Mattia Michieletto, Jens K. Lyngsø, Christian Jakobsen, Jesper Lægsgaard, Ole Bang, and Thomas T. Alkeskjold, "Hollow-core fibers for high power pulse delivery," Opt. Express 24, 7103-7119 (2016).

Schematic of the hollow-core fiber

Tidy3D supports mode analysis through ModeSimulation. A mode simulation can be executed locally with run_local() without incurring any FlexCredit expenses, or submitted to the cloud with web.run(...), which uses a small amount of FlexCredits. For larger mode solving computation, the cloud is faster since advanced hardware is used in the computation. To learn more about mode simulations, please refer to the dedicated tutorial.

import matplotlib.pyplot as plt
import numpy as np
import tidy3d as td
import tidy3d.web as web

Simulation Setup

Define basic parameters. We aim to solve for the fiber modes at 1030 nm. The core diameter (largest inscribed circle touching the tubes) D is 30 μm. The thickness of the tube wall t is 750 nm. The outer diameter of the tubes d and the number of tubes n can be tuned to optimize the confinement loss. In this notebook, we fix d to 0.6 * D and n to 7.

lda0 = 1.03  # wavelength
D = 30  # core diameter
t = 0.75  # tube wall thickness
n = 7  # number of tubes
d = 0.6 * D  # outer diameter of the tubes

angles = np.linspace(0, 2 * np.pi, n, endpoint=False)  # angles of the tube centers
x0s = np.sin(angles) * (D + d) / 2  # x coordinates of the tube centers
y0s = np.cos(angles) * (D + d) / 2  # y coordinates of the tube centers

The fiber is made of silica glass with a refractive index of 1.45. Here we define the silica and air mediums.

n_silica = 1.45  # refractive index of silica

# define silica and air mediums
silica = td.Medium(permittivity=n_silica**2)
air = td.Medium()

To create the hollow-core fiber structures, we first create a core region made of air with radius D/2 + d. The tubes are constructed by two concentric cylinders, one larger cylinder made of silica with radius d/2 and one smaller cylinder made of air with radius d/2 - t. The combination of these structures with the background medium set to silica will result in the desired fiber cross section.

lz = 1  # dummy length in the z direction

# create a core region made of air
core = td.Structure(geometry=td.Cylinder(center=(0, 0, 0), radius=D / 2 + d, length=lz), medium=air)

# create outer cylinders made of silica
tubes_outer = [
    td.Structure(
        geometry=td.Cylinder(center=(x0s[i], y0s[i], 0), radius=d / 2, length=lz),
        medium=silica,
    )
    for i in range(n)
]

# create inner cylinders made of air
tubes_inner = [
    td.Structure(
        geometry=td.Cylinder(center=(x0s[i], y0s[i], 0), radius=d / 2 - t, length=lz),
        medium=air,
    )
    for i in range(n)
]

To facilitate mode solving, we will create a Simulation first. In this simulation, we do not need to have sources and monitors since we do not need to run any FDTD simulations.

It is worth noting that the cross section of the hollow-core fiber has reflection symmetry in the \(x\) direction. In this example, we focus on modes with an odd symmetry by setting symmetry=(-1,0,0). Modes with an even symmetry can be found in the same way. For more information regarding how symmetry works, refer to the tutorial.

buffer = 3 * lda0  # buffer spacing in x and y
Lx = (D + 2 * d) + buffer  # mode solving plane size in x
Ly = (D + 2 * d) + buffer  # mode solving plane size in y

# define a simulation for mode solving
sim = td.Simulation(
    size=(Lx, Ly, lz / 2),
    grid_spec=td.GridSpec.auto(min_steps_per_wvl=15, wavelength=lda0),
    structures=[core] + tubes_outer + tubes_inner,
    run_time=1e-12,
    medium=silica,
    symmetry=(-1, 0, 0),  # odd symmetry in the x direction
)

To verify the setup is correct, we can plot the permittivity distribution of the fiber cross section.

sim.plot_eps(z=0)
plt.show()
08:17:08 UTC WARNING: An appropriate frequency could not be determined when     
             plotting the permittivity. The permittivity will be evaluated at   
             infinite frequency. Please supply a value for `freq` to plot at a  
             finite frequency.                                                  

Perform Mode Solving

Now we are ready to perform the mode solving. We will solve for the first 5 modes with effective indices around 1 since we are looking for modes concentrated in air. To get better accuracy, we set precision="double". We are also interested in the confinement loss of the modes, which require the mode solver to use PML boundaries. By default, the mode solver uses PEC boundaries. To override it, we specify the number of PML layers to be 15 in both the \(x\) and \(y\) directions in this case.

# define the mode spec
mode_spec = td.ModeSpec(num_modes=5, target_neff=1, precision="double", num_pml=(15, 15))

# define a mode simulation
mode_simulation = td.ModeSimulation.from_simulation(
    simulation=sim,
    plane=td.Box(size=(td.inf, td.inf, 0)),
    mode_spec=mode_spec,
    freqs=[td.C_0 / lda0],
)

Since the mode solving plane is very large and we need to obtain accurate results for the effective indices and losses, we run the mode solving calculation on the server instead of locally on the computer.

sim_data = web.run(mode_simulation, task_name="hollow_core_fiber_modes")
mode_data = sim_data.modes
08:17:09 UTC Created task 'hollow_core_fiber_modes' with resource_id            
             'mos-97148f55-688d-4c9e-bef2-d8b1db5f076c' and task_type 'MODE'.   
↑ simulation.hdf5.gz ━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 1.6/1.6 kB • ? • 0:00:00

08:17:11 UTC Estimated FlexCredit cost: 0.135. For this solver type, the        
             estimate is the final billed cost.                                 
08:17:12 UTC status = queued                                                    
             To cancel the simulation, use 'web.abort(task_id)' or              
             'web.delete(task_id)' or abort/delete the task in the web UI.      
             Terminating the Python script will not stop the job running on the 
             cloud.                                                             
08:17:26 UTC starting up solver                                                 
             running solver                                                     
solver progress ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00

08:27:52 UTC status = success                                                   
↓ simulation_data.hdf5.gz ━━━━━━━━━━━━ 100.0% • 436.6/436.6 • 8.8 MB/s • 0:00:00
                                                MB                              

08:28:42 UTC Loading results from simulation_data.hdf5                          

Analyze Mode Results

Plot the first 4 mode profiles. We see that the first mode is the HE\(_{11}\) mode. The second and third modes are the HE\(_{31}\) modes. The forth mode has the field concentrated inside the tubes and is commonly referred to as the “tube mode”.

fig, ax = plt.subplots(2, 2, tight_layout=True)

fig, axs = sim_data.plot_field_components(
    field_names=("E",),
    mode_indices=(0, 1, 2, 3),
    val="abs",
    eps_alpha=0,
    ax=ax.reshape(-1),
    robust=False,
)

If needed, all electric and magnetic field components can be plotted to inspect the polarization better. As a demonstration, we plot the three electric field components of the fundamental mode.

fig, ax = plt.subplots(1, 3, figsize=(10, 3), tight_layout=True)

sim_data.plot_field("Ex", "real", mode_index=0, eps_alpha=0, ax=ax[0])
ax[0].set_title("Ex")
sim_data.plot_field("Ey", "real", mode_index=1, eps_alpha=0, ax=ax[1])
ax[1].set_title("Ey")
sim_data.plot_field("Ez", "real", mode_index=2, eps_alpha=0, ax=ax[2])
ax[2].set_title("Ez")
plt.show()

In addition, we can convert the mode data to a pandas data frame to inspect various mode properties such as the effective indices, confinement loss, and mode area.

mode_data.to_dataframe()
wavelength n eff k eff loss (dB/cm) TE (Ex) fraction wg TE fraction wg TM fraction mode area
f mode_index
2.910606e+14 0 1.03 0.999695 4.853013e-10 0.000257 0.999975 0.999679 0.999678 384.422989
1 1.03 0.999231 1.025061e-08 0.005431 0.502053 0.999192 0.999188 532.370761
2 1.03 0.999230 2.979626e-09 0.001579 0.497948 0.999915 0.998464 529.784349
3 1.03 0.998863 3.812191e-06 2.019908 0.781180 0.998749 0.998505 516.932904
4 1.03 0.998863 3.599774e-06 1.907358 0.501424 0.998766 0.998483 725.644851