Tidy3D Documentation

website·Indexed 32 days ago

https://tidy3d-help-center.simulation.cloud/

Documentation for Tidy3D simulation software, covering FDTD and EME solvers. Includes guides on GridSpec, BoundarySpec, parametric mediums, source configurations like PlaneWave and GaussianPulse, thermal properties, and design space exploration via parameter sweeps.

Tokens
95.5K
Snippets
189
Records
904
Agent score
47%

What's inside Tidy3D

  1. Overview of Total-Field Scattered-Field (TFSF) source

    The Total-Field Scattered-Field (TFSF) source injects a plane wave within a finite region. It is specifically designed to facilitate the computation of scattering and absorption cross sections without requiring additional normalization. The source injects 1 W/μm² of power along the injection_axis. Note that for angled incidence, the power is injected along the injection_axis rather than the propagation direction, which differs from the PlaneWave source.
  2. Overview of Design Space Exploration methods

    Design Space Exploration in Tidy3D allows users to run multiple simulation tasks in a batch by sampling variables. This is accessed via the 'Design Optimization' tab on the bottom panel after parameterizing the simulation model. Three sampling methods are available: Parameter Sweep (uniform grid), Monte Carlo (Latin Hypercube), and Custom Sweep (manual or range-based data points).
  3. Overview of FluxMonitor

    The FluxMonitor records power flux through a plane in the frequency domain.

    • 2D Box Geometry: Returns the total flux through the plane. A positive sign indicates power flow in the positive direction along the axis normal to the plane.
    • 3D Box Geometry: Returns the total power exiting the box by integrating flux over all surfaces (unless specific surfaces are excluded via exclude_surfaces).

    Note: For 2D planes, flux is summed over all Yee grid pixels touched by the plane rather than a precise geometric integration. For 3D monitors, edge counting is handled to minimize discrepancies, though small differences may exist compared to using six individual 2D monitors.

  4. Overview of the Flux Time Monitor

    The Flux Time Monitor (corresponding to the tidy3d.FluxTimeMonitor API object) records electromagnetic power flux in the time domain. For 2D monitors, it calculates the total flux through a plane, where positive flux aligns with the specified normal_dir. For 3D box monitors, it calculates the total outward power integrated over the box surfaces, with the option to exclude specific surfaces.
  5. Overview of Script Analysis notebooks

    The Script Analysis feature allows users to create Python notebooks to access and analyze simulation results. It is used for creating customized charts from design optimization results, calculating mode overlaps, or obtaining complex figures-of-merit. Notebooks support both code and markdown cells and can be imported or exported as .ipynb or .py files.
  6. Overview of Layer Refinement in Tidy3D

    Layer Refinement (implemented via tidy3d.LayerRefinementSpec) provides automatic mesh snapping and refinement for layered structures. It is primarily used in RF layouts to ensure controlled resolution along the layer normal direction and to align grid cells with stack-up interfaces, layer bounds, and in-plane corners. This refinement is applied when at least one grid direction uses AutoGrid or QuasiUniformGrid.