tidy3d.PECConformal#

class PECConformal[source]#

Bases: AbstractSubpixelAveragingMethod

Apply a subpixel averaging method known as conformal mesh scheme to PEC boundaries.

Parameters:
  • timestep_reduction (float = 0.3) – Reduction factor between 0 and 1 such that the simulation’s time step size is 1 - timestep_reduction times its default value. Accuracy can be improved with a smaller time step size, but the simulation time will be increased.

  • edge_singularity_correction (bool = True) – Apply field correction model at metallic edges where field singularity occurs. The edges should be straight, and aligned with the primal grids; and the wedge angle is either 0 or 90 degree.

Note

The algorithm is based on:

S. Dey and R. Mittra, “A locally conformal finite-difference time-domain (FDTD) algorithm for modeling three-dimensional perfectly conducting objects”, IEEE Microwave and Guided Wave Letters, 7(9), 273 (1997).

S. Benkler, N. Chavannes and N. Kuster, “A new 3-D conformal PEC FDTD scheme with user-defined geometric precision and derived stability criterion”, IEEE Transactions on Antennas and Propagation, 54(6), 1843 (2006).

Attributes

courant_ratio

The scaling ratio applied to Courant number so that the courant number in the simulation is sim.courant * courant_ratio.

timestep_reduction

edge_singularity_correction

timestep_reduction#
edge_singularity_correction#
property courant_ratio#

The scaling ratio applied to Courant number so that the courant number in the simulation is sim.courant * courant_ratio.