Skip to content

v2.13.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 20:35

What's Changed

Added

  • Added SafeUpdate and BacktrackingSafeUpdate to autograd optimization for enforcing parameter bounds and recovering invalid updates, including arrays with different memory layouts.
  • Added downsample(...) on spatial and unstructured datasets to resample fields onto a coarser Cartesian grid.
  • Added BatchedDRCChecker for hierarchical KLayout checks and max_results_per_cell controls for running and loading DRC results.
  • Added downsample_dl to Scene.perturbed_mediums_copy and Simulation.perturbed_mediums_copy to reduce the size of perturbed custom media.
  • Added AutoUnstructuredGrid for automatic TCAD mesh sizing, interface refinement and manual region/line refinements, with helpers for migrating DistanceUnstructuredGrid settings.
  • Field-projection monitors, including DirectivityMonitor, now support use_colocated_integration=False for integration on native field coordinates, including spatially downsampled data.
  • Added multi-mode absorption through a tuple-valued ModeABCBoundary.mode_index on InternalAbsorber, with dominant-mode selection and effective-index tolerance; keep at least two grid cells between the absorber and its sampled domain boundary.
  • Added sampling_dt and num_samples recording controls to field, flux and surface-field time monitors as alternatives to interval; omitted cadence records every time step and can be changed directly with updated_copy(...).
  • Added FieldStructureMonitor and FieldStructureData for electric/displacement fields, absorbed power and structure-resolved optical generation, including per-component results on native field grids and overlap with 2D materials and lumped elements.
  • Added experimental "pca", "temporal" and "auto" adjoint field-source reduction modes through config.adjoint.field_source_reduction_mode, including simulations with symmetry; energy coverage controls compression accuracy.
  • Added SelberherrImpactIonization(formulation="GradQuasiFermi") on the accelerated charge solver for isothermal, self-heating and prescribed-temperature DC and small-signal analyses.
  • Added SelfHeatingMonitor and SelfHeatingData for conduction/isothermal-charge heating and coupling to a separate heat solve; use these instead of HeatFromElectricSource in isothermal charge simulations.
  • SteadyChargeDCAnalysis.temperature now accepts a spatial temperature field on the accelerated charge solver, enabling prescribed-temperature simulations and manual charge/heat iteration.
  • Added SteadyGenerationRecombinationMonitor with net recombination and per-mechanism rates for all active mechanisms, including impact ionization, tunneling and distributed generation.
  • Added TIDY3D_EXECUTION_FLEXCREDIT_LIMIT, FlexCreditLimitExceededError and web.execution_flexcredit_status() for limiting cumulative estimated cloud-execution costs before tasks start.
  • Added CanaliFieldDependence velocity saturation and electric-field or quasi-Fermi-gradient driving forces on the accelerated charge solver; quasi-Fermi-driven DC solves can take up to twice as long.
  • Added structural preprocessing-cache reuse for compatible FDTD simulations and dipole-emission studies through store_preprocess_cache=True and producer task IDs in parent_tasks.
  • Added MethodZip for pairing parameter-sweep values by index, rejecting unequal parameter-list lengths.
  • Added HurkxTrapAssistedTunneling through the field_enhancement of bulk and surface Shockley-Read-Hall recombination models on the accelerated charge solver.
  • Added line and point monitors to charge simulations, returning bias-resolved Cartesian data; electric-field, current-density and capacitance monitors still require two nonzero dimensions.
  • UnsteadyHeatAnalysis.initial_temperature now accepts a finite spatial temperature field, using background_temperature outside its bounds for cooling and heater-shutoff analyses.
  • Added HeatChargeSimulation.linear_solver selection for direct or iterative solving; the CPU charge solver always solves directly, while iterative accelerated solves can reduce memory use.
  • The selected accelerated charge linear solver applies to both DC and small-signal systems; some isolated doped regions or negative-differential-mobility cases require the direct small-signal solver.
  • Added SteadyConvergenceData.cfl_history for inspecting charge-sweep convergence alongside residual histories, with warnings when nonconverged biases reach a CFL bound.
  • Added Pc and mu_min2 parameters to MasettiMobility for boron-doped silicon, with defaults preserving existing results.
  • Added autograd support for uniform Lorentz, Drude, Debye and Sellmeier medium parameters and corrected gradients of dispersive poles and residues.
  • Added EMEModeSolverMonitor.direction and EMESimulationData.port_modes_backward; directional smatrix_in_basis requires paired forward/backward bases, while field_in_basis also accepts an excitation-matched basis; these conversions require tidy3d-extras and an EME license.
  • Added current-driven charge contacts through CurrentBC, supporting multiple contacts, ohmic/Schottky models and one current sweep; currents are whole-device amperes, or amperes per micron of depth in 2D, and sweep results use the solved contact potential.
  • Current-driven contacts act as open circuits in small-signal analyses, which exclude isolated zero-current contacts; ohmic contacts support surface recombination or heterojunction placement, but not both.
  • Added loss-current-density outputs on FieldStructureData and SAR helpers SimulationData.specific_absorption_rate(...) and SimulationData.specific_absorption_rate_from_densities(...); surface-only materials, lumped elements and automatic PEC frames contribute zero, and absorbing volume media require mass densities.
  • Added ProtectedDopingRef for hosted accelerated charge simulations with surrogate previews and encrypted HDF5 data; use web.run() or web.Job, a voltage sweep of at least two points and whole-domain capacitance monitors.
  • Added ProtectedOpticalMediumRef for hosted FDTD and mode simulations with surrogate previews and encrypted HDF5 payloads; local solving, adjoint workflows and result renormalization are unsupported.
  • Added SurfaceFieldStructureMonitor and SimulationData.per_structure_loss(...) for surface and volumetric electromagnetic losses by structure, including symmetry; supply matching monitor frequencies, with unsampled losses reported as NaN.
  • Added ModeStructureMonitor and mode-result optical-generation helpers; the monitor requires colocate=False and all electric-field components.
  • Added experimental meshing for 3D heat, charge and conduction simulations through mesher="experimental"; AutoUnstructuredGrid is unsupported.
  • Added automatic differentiation for GeometryArray geometry, instance offsets and invertible transforms, and for geometry parameters and invertible affine matrices in Transformed.
  • Added autograd support for PolySlab.bulges and arc-containing slab vertices and bounds when sidewall_angle=0 and dilation=0.
  • Added LombardiSurfaceDependence for surface mobility degradation through CaugheyThomasMobility.surface_dependence and MasettiMobility.surface_dependence on the accelerated charge solver.
  • Added TransferredElectronFieldDependence for negative differential mobility in direct-gap III-V semiconductors on the accelerated charge solver.
  • Added autograd support for ThinLensBeam parameters and ThinLensOverlapMonitor amplitudes in fixed homogeneous, isotropic, lossless media.
  • Added AlloyMobility for III-V alloy mobility interpolated between two CaugheyThomasMobility models, with optional alloy scattering, on the accelerated charge solver.
  • Added temperature-dependent thermal conductivity and heat capacity to SolidMedium for heat and accelerated self-heating charge simulations, with range clamping and thermal-resistivity-fit construction; heat capacity has no effect in steady analyses.
  • Added HeterojunctionSurfaceShockleyReedHallRecombination and HeterojunctionCaptureSide for interface-trap recombination with per-side capture velocities.
  • Added LVSRunner and LVSResults for KLayout layout-versus-schematic checks.
  • Added Simulation.check_ports_reach_pml() and opt-in config.validation.check_ports_reach_pml warnings for mode ports whose connected structures do not span the absorbing layer.
  • Added second-order subpixel-smoothed projection to autograd and inverse-design filter-and-project helpers, including SSP1/SSP2 selection and periodic derivatives; the design plugin requires equally spaced 2D grids.
  • Added AnisotropicPermittivity for charge media and tensor-component plotting on the accelerated solver; strongly anisotropic cases should use linear_solver="direct", and conduction simulations still require scalar permittivity.
  • Added FieldStructureTimeMonitor for time-domain fields and static-conductivity loss current, power density and per-structure loss; unsupported lossy dispersive/nonlinear media report NaN, while fully anisotropic and time-modulated media are rejected.
  • Added record_in_pml=False to field, medium, permittivity, flux and projection monitors to exclude absorbing layers from recordings and integration surfaces; the default remains True, and mode/EME simulations do not support this option.
  • Accelerated self-heating charge simulations now support anisotropic thermal conductivity, radiation/convection, solid velocity and thermal contact resistance, subject to interface restrictions.
  • Added shared-company workspace selection through config.workspace.default and helpers for moving, copying and inspecting tasks, workspaces, members and activity; private remains the default workspace.
  • Added LumpedVoltageSource support to Simulation, with validation that the source can impose its voltage on the simulation grid.
  • Added boundary handling, velocity clamping and initial-velocity controls to MethodParticleSwarm.
  • Added ChargeToleranceSpec.linear_rel_tol for the iterative charge-solver tolerance, defaulting to 1e-2.
  • Added incomplete dopant ionization through donor_ionization, acceptor_ionization, Pearson-Bardeen/Altermatt-Schenk/multi-site models and SteadyDopingMonitor, including bound-carrier capacitance on the accelerated charge solver.
  • Added small-signal photocurrent, admittance and capacitance outputs to DeviceCharacteristics on the accelerated charge solver, including photocurrent per unit generation-modulation depth for photodetector response calculations.
  • Added Pockels and DC Kerr electro-optic perturbations through ElectroOpticPerturbation and PerturbationAnisotropicMedium; only diagonal impermeability changes in simulation coordinates are applied.
  • Added charge_material_library with semiconductor, insulator and metal parameter sets for charge simulations, used through MultiPhysicsMedium.
  • Added experimental minimum length-scale constraints for filtered and projected densities, LengthScaleConstraint and make_length_scale_constraint in tidy3d.plugins.autograd, with eroded and dilated thresholds derived for the 2D conic filter. They take the result of the new FilterAndProject.evaluate, which returns the projected design together with the filtered field and the beta and eta used.

Changed

  • Remote adjoint runs now reject surface-sample sets exceeding 5 GB before upload, identifying the largest structures and settings that can reduce the size.
  • EME basis conversion now rejects backward-only bases for forward-mode results; local EME requires forward mode data and rejects non-diagonal fully anisotropic cells, which should be solved on the server.
  • Verbose cloud execution now reports remote simulation-cache hits and their zero cost.
  • Reduced adjoint setup time, downloads and peak memory for shape and custom-medium gradients, while honoring the configured gradient precision.
  • Custom geometry-gradient callbacks now derive sampling scales from the simulation and adjoint frequencies; accessing geometry sampling scales from a medium-only custom_vjp raises AdjointError.
  • Surface recombination now applies only on semiconductor faces, enforces the appropriate interface model and handles contact intersections consistently; incompatible placements are rejected or reported before solving.
  • Charge-contact validation now checks required material properties, compatible drives and supported placements before submission; contacts on insulators require the accelerated solver and semiconductor electron affinities.
  • Charge contacts on the same metal now form one terminal even across multiple boundary entries, while distinct metals remain separate; conflicting drives on one metal are rejected.
  • Flux and field-projection monitors now require colocate=True; choose the integration scheme with use_colocated_integration.
  • Internal absorbers placed against a domain boundary are rejected; move them inward or use a domain boundary condition, and use the absorber geometry to position multi-mode absorption.
  • On the accelerated charge solver, Selberherr/PQ impact ionization uses the conduction-band-edge gradient, eliminating spurious equilibrium generation and improving low-current and bipolar-sweep consistency.
  • Adjoint simulations now warn when their fields stop before reaching the forward simulation’s shutoff threshold, which can bias gradients.
  • Reduced compressed result-file sizes for simulations with large monitor arrays.
  • tidy3d mcp now uses the independently released tidy3d-mcp runtime while preserving the integrated command.
  • ChargeToleranceSpec.cfl_min now defaults to 1, and charge setup warns when rel_tol is looser than 1e-10.
  • Cloud runs now accept any positive integer vGPU allocation supported by the license, with unsupported requests rejected before submission.
  • Improved geometry queries, structure plotting, simulation setup and mesh generation for large or repeated geometries.
  • Equivalent semiconductor band parameters now identify a same-material junction despite different metadata or equivalent density-of-states representations, allowing surface recombination without artificial thermionic emission.
  • Self-heating charge analyses no longer require a TemperatureMonitor, and warn when heat-removing boundary conditions or semiconductor heat properties are missing.
  • Non-isothermal charge simulations now reject solids without charge properties before upload; use ChargeInsulatorMedium(permittivity=...) for insulating solids, including the background.
  • Charge setup now reports ignored heat settings, incompatible electron/hole mobility models, duplicate recombination models and configurations whose contact entries form only one terminal before submission.
  • EME FlexCredit, runtime, memory and storage estimates now include anisotropic backward modes and all required self/cross-overlap calculations, so estimates for existing jobs may increase.
  • Two-dimensional heat/charge simulations now reject symmetry along their zero-size axis.
  • Multifrequency diffraction objectives can share adjoint simulations when their in-plane wavevectors match.
  • Reduced time-stepping costs for constant-conductivity 2D sheets and lumped RC elements.
  • Charge setup now warns when matching semiconductor band parameters use inconsistent band-gap narrowing across an interface, which can introduce an artificial voltage offset.
  • Baseband sources now derive their characteristic frequency from their fastest transition so automatic grids resolve the signal; set freq0 explicitly when needed, including steeply angled plane waves.
  • Reduced import time for the dispersion plugin.
  • Explicit None is now rejected for FieldProjector.origin, DispersionFitter.k_data and RectangularDielectric.box_medium, clad_thickness, box_thickness or side_margin; omit these arguments to use their defaults.
  • EMEModeSpec.increasing_mode_tolerance now defaults to inf, retaining slightly growing or gain-medium modes; unsafe growth is reported, and saved simulations keep their stored tolerance.
  • Charge-sweep cost estimates now include convergence substeps, retries and all iterative-solver work, which can increase reported estimates and charges.
  • Voltage sources now reject empty or nonfinite voltage arrays before submission.
  • An empty small-signal at_voltages selection now warns and behaves as None.
  • Accelerated charge runs now enforce memory-based limits after meshing; an oversized direct small-signal factorization returns DC results with ac_analysis_skipped=True, while other oversized solves report an actionable error.
  • Geometry.from_gds now warns and skips individually invalid extruded polygons while importing valid ones; an entirely invalid layer or invalid polygon hole still raises an error.
  • Reduced mode-solver setup time for automatic precision and tensorial material classification, particularly in EME.
  • TriangleMesh shape gradients now require a closed, outward-oriented volume mesh.
  • Surface monitors now reject an empty fields selection before simulation.
  • Semiconductor simulations with electrical boundary conditions now require an explicit charge analysis_spec.
  • Charge simulations now reject unsupported Cartesian temperature recording and Cartesian potential recording in 2D or bias sweeps before upload; use unstructured recording and convert the results when needed.
  • config.adjoint.default_wavelength_fraction controls standard shape-gradient sampling instead of monitor_interval_poly/monitor_interval_custom, which still control volumetric derivative recording; remote gradients now honor this setting and minimum_spacing_fraction.
  • Masetti mobility validation now checks the high-doping limit and relevant temperatures, and warns when nonpositive mobility is clamped to zero.
  • Metal-gradient setup now warns about geometries or nearby media that can reduce accuracy and rejects allocations exceeding the configured fraction of available memory.
  • Improved selective/lazy result loading from large files using monitor names, with clear errors for missing requested results.

Fixed

  • Corrected PEC, PEC2D and surface-impedance metal shape gradients, including overlaps, curved surfaces, cutouts, dielectric contacts, anisotropic surroundings and two-dimensional geometries.
  • Corrected charge transport, small-signal response and self-heating power under nonuniform temperature, including Fermi-Dirac statistics; affected temperatures and currents can change, while isothermal results are unaffected.
  • Corrected EME interpolation, monitor-frequency handling and basis conversion, and report unsupported mode settings earlier; regenerate older results that report inconsistent mode frequencies.
  • Microwave transmission-line data now retains every mode index, using NaN for modes without impedance specifications and returning field data when all impedance specifications are unset.
  • Corrected charge-sweep bias coordinates, duplicates, capacitance and resistance outputs; capacitance stencils narrower than 1e-7 V return NaN, and a single-bias resistance is None.
  • Unstructured datasets now validate mesh indices, preserve indices without optional mesh tools and reject arithmetic between incompatible meshes.
  • Improved charge-sweep initialization and convergence near equilibrium, in strong inversion, with floating metals, at high bias and in wide-bandgap devices with impact ionization.
  • Autograd-traced PolySlab geometries now support geometry queries and plane/tilted-plane sections without crashes.
  • Corrected charge-contact and gate potentials using metal work functions and the VoltageBC reference: the background semiconductor, otherwise the lowest-priority semiconductor structure.
  • Corrected optical queries, local mode solves, conductor priority and anisotropy checks for MultiPhysicsMedium; optical queries require an optical component, and wrapping Medium2D is rejected.
  • Corrected unstructured-data selection and slicing across material interfaces, preserving distinct material-side values; select a side explicitly or use method="nearest" when the interface itself has no sample.
  • Surface recombination now accepts supported semiconductor/insulator and same-material semiconductor interfaces.
  • Corrected mode normalization, phase tracking, tensorial and backward modes, low-frequency conductive media and boundary-plane handling; lossy-mode amplitudes and phases may change, and boundary-plane solves report actionable errors.
  • Corrected AutoGrid and QuasiUniformGrid refinement near narrow features, periodic boundaries, simulation edges and unshadowed overrides, avoiding unnecessary sliver cells while preserving local grid-size constraints.
  • Corrected spatial-array inputs and singleton-coordinate handling in custom heat/charge perturbations, with actionable errors for unsupported extra coordinates.
  • Corrected material permittivity, refractive-index and subpixel handling for custom, anisotropic, PEC/PMC and lossy-metal media, including constant CustomSellmeier contributions.
  • Corrected geometry containment, clipping, reflections and scaling for slanted or self-intersecting slabs, transformed geometries, circular arcs and disjoint boxes.
  • Corrected local far-field projection bounds, downsampling, windowing, angular slices and y-normal Poynting signs; invalid line projections in 2D are rejected, and projection data retains its specified medium.
  • Improved ABCBoundary, ModeABCBoundary and internal-absorber accuracy and stability on coarse grids and where conductors cross absorber planes.
  • Corrected adjoint gradients near interfaces, absorbing/periodic boundaries and symmetry planes, including tapered/dilated slabs, cylinder bounds and custom-medium frequency scaling; forward and adjoint runs now use matching grids.
  • Corrected charge small-signal conductance, capacitance and bias coordinates, including Fermi-Dirac statistics, Schottky contacts and insulator-adjacent driven contacts.
  • Spatially varying HeatSource.rate fields are now applied correctly instead of being ignored.
  • Corrected custom/dispersive/anisotropic medium conversions, plotting and validation to preserve conductivity, gain settings, negative permittivity, spatial variation and reference-frequency perturbations.
  • Temperature monitors in isothermal charge simulations now report the solved lattice temperature instead of 0 K.
  • Corrected loading and resaving batches, downloading mode/component-modeler simulations, results without solver logs and output paths containing dots.
  • Corrected mode filtering, sorting and reduced simulations to preserve fields, monitors, attributes and mode-plane bounds, and validate custom impedance paths.
  • GDS exports now preserve custom-medium priority when thresholded structures overlap lower-priority geometry on the same layer.
  • Adjoint runs now report failed simulation tasks and server failure details immediately.
  • Corrected the transient-heat characteristic-time estimate and its excessive-runtime warning.
  • Heat-boundary conditions now respect geometry tolerance and report placements without solid material, preventing silently unanchored steady heat solves.
  • Corrected doping at box faces, contact boundaries and thin Gaussian-doping boxes, and sample finite out-of-plane doping/generation data at the actual 2D simulation plane.
  • Corrected array serialization to preserve real two-element arrays, transposed spatial-coordinate associations, singleton EME sweep dimensions and complex VTU data.
  • Corrected GDS holes, multipart exports and off-center symmetry reflections, and preserved shared interfaces during polygon cleanup and boundary plotting.
  • Corrected EME anisotropic mode matching and lossy-mode normalization, coefficient indexing and basis conversion after selecting or reordering sweeps, frequencies, ports or modes.
  • Corrected 2D and symmetry-expanded charge fields, vector signs, whole-device characteristics and monitor voltage coordinates.
  • Corrected charge-terminal composition and contact/interface handling for repeated boundary entries, touching metals, mixed ohmic/Schottky faces, surface recombination and split semiconductor structures.
  • Corrected the DC electron-capacitance sign so electron and hole capacitances are both positive in reverse bias.
  • Corrected charge-medium permittivity plots, negative-permittivity logarithmic scaling and boundary-condition plots for overlaps, multipart regions and holes.
  • Corrected optimization-helper gradients for complex PyTorch outputs, convolution/filtering, ramp projections, curvature penalties and interpolation bounds, including singleton inputs and complex fill values.
  • Automatic runtimes now include custom-pulse delays, and narrow-band Gaussian pulse-width calculations avoid numerical cancellation.
  • Corrected complex phase display in perturbation plots.
  • Corrected adjoint-gradient temporal normalization for beam and custom field/current source parameters, including bandwidth and forward normalization settings.
  • Corrected PML and far-field warnings and removed repeated direct-solver and EME mode-count warnings.
  • Corrected import-order-dependent failures in model subclasses, including inverse-design metrics.
  • Schottky barrier validation now uses the correct lattice or heat-sink temperature for VarshniEnergyBandGap semiconductors.
  • Corrected charge contact potentials and same-material junction currents with band-gap narrowing, including double-counted Fermi-Dirac degeneracy; affected band diagrams, flat-band/breakdown voltages and high-doping results can change.
  • Corrected broadband fixed-in-plane-wavevector sources, including negative incidence angles, and reject bandwidths too close to the critical frequency.
  • Optical homogeneity checks now ignore medium names and user attributes when the optical models match.
  • Local subpixel mode results now support public current and voltage integrals.
  • Corrected diffraction-order phase and evanescent-order outputs; evanescent amplitudes, powers and newly recorded fields are zero.
  • Oversized EME port offsets now report a port_offsets validation error.
  • Concurrent logging, including batch uploads, no longer fails intermittently or mixes warning/output state between threads.
  • Corrected Si_MultiPhysics silicon electron mobility from 1471 to 1417 cm²/V/s, reducing lightly doped values by up to 3.7%; set mobility_n.mu=1471.0 to reproduce previous results.
  • RF component-modeler status, cost and monitoring failures now include the server’s task-block explanation.
  • Corrected inverse-design integer/category sampling, genetic-algorithm elitism and Bayesian numeric categories; integer spans exclude the upper bound, so use (n, n + 1) to select one integer.
  • Corrected microwave wave-impedance signs, time-domain current integrals, collinear-wire inductance, symmetry-expanded conductor paths and backward-port source placement.
  • Simulation and EME subsections now honor symmetry and preserve the full requested region.
  • Corrected local-cache reuse after reduced mode runs or cache-directory changes, and prevent reused output paths from caching results for the wrong simulation.
  • Corrected time-domain Poynting vectors for complex fields and phase handling in electric/magnetic vector plots.
  • Simulation.n_max now returns the maximum refractive index at the highest source central frequency instead of raising an error.
  • Corrected continued inverse-design optimization, multimode objective validation, result deletion/history and DataFrame import/export with auxiliary data.
  • Field/mode dot products now return empty results when frequency or mode selections do not overlap.
  • Diverged heat/conduction solves now report diverged with suggested remedies, retain their results and are not billed.
  • Corrected source and PEC-frame placement far from the coordinate origin on fine grids, preventing one-cell shifts.
  • Fixed UnicodeEncodeError crashes in console and log output when the output stream cannot encode a character, for example after the upload in web.Job.estimate_cost() on Windows with the cp1252 code page; transfer arrows now fall back to ASCII and other such characters print as ?.
  • Fixed from tidy3d import web raising PermissionError when access to the configuration folder is denied, for example in a sandbox on Windows; Tidy3D now uses the temporary configuration folder, as it already did for a folder it cannot write to.
  • Fixed renormalize_fields on far-field projection data. For FieldProjectionAngleData, FieldProjectionKSpaceData and DirectivityData, the returned monitor now carries the new proj_distance, so directivity and flux_from_projected_fields() no longer return wrong values or raise KeyError after re-projection. For these and FieldProjectionCartesianData, field components that share one array are no longer scaled more than once.

Removed

  • Removed tidy3d.plugins.microwave, terminal component-modeler classes and the RF material library; migrate to flexcompute.rf.tidy3d, while the modal component modeler remains available.

Breaking Changes

  • Accelerated charge simulations now use the direct linear solver by default, increasing robustness but potentially using more memory and credits; set linear_solver="iterative" to preserve the previous solver choice.
  • Ohmic-contact metals and connected metals with work_function now apply it to their insulator-face potentials and require electron_affinity on every semiconductor; unset the ohmic metal’s work_function, or use a separate medium without it, to preserve previous behavior.
  • Removed EMESweepSpec.sweep_modes, EMESimulationData.port_modes_list_sweep and redundant sweep axes from invariant EME data; use port_modes_tuple for the shared port basis, and select or migrate multi-entry legacy axes before loading.
  • Removed EMEFreqSweep; use physical EMESimulation.freqs and EMEModeSpec.interp_spec, and migrate saved frequency sweeps with an earlier version by multiplying base frequencies by freq_scale_factors.
  • Charge-monitor plotting now requires a solved voltage exactly, instead of selecting the nearest bias implicitly.
  • CurrentBC is no longer accepted in conduction simulations, on the non-accelerated charge solver or on contacts touching only insulators.
  • Constructing BroadbandPulse now requires tidy3d-extras, including before attaching the pulse to a source.
  • Charge media no longer expose optical methods/settings or accept heat_spec; use static permittivity and MultiPhysicsMedium(optical=..., heat=..., charge=...) for coupled properties, while obsolete optical settings in saved files warn and are ignored.
  • TriangleMesh now rejects near-zero-area triangles; pass remove_degenerate_faces=True to TriangleMesh.from_stl, from_triangles or another mesh factory to remove them explicitly.
  • NumericalStructureConfig.compute_derivatives now receives declared NumericalDerivativeQuery results through query_results instead of derivative_helper.
  • Point-cloud field/permittivity and dipole-emission monitors are no longer Box subclasses; their read-only center, size and bounds derive from points.
  • Accelerated self-heating charge simulations now conduct heat through metals with a solid heat medium, applying heat conditions on their outer faces; temperatures/currents can change, and removing the metal’s SolidMedium preserves previous thermal behavior.
  • Thermal contact resistance in accelerated self-heating charge simulations now rejects edges meeting a third structure, including heat-conducting metals or insulators.
  • Uncontacted metals touching semiconductors in accelerated charge simulations now require VoltageBC, CurrentBC or InsulatingBC; the latter preserves the former insulating behavior.
  • Uncontacted metals touching a terminal now join it, while bridges between incompatible terminals are rejected; gates on one source can merge, and explicit InsulatingBC preserves the previous insulation.
  • Uncontacted metals surrounded by insulators now float at zero charge in accelerated charge simulations, with disconnected pieces floating independently; use InsulatingBC to retain the previous result.
  • PolySlab.from_gds and ComplexPolySlab.from_gds now reject merged polygons with holes or no area; use Geometry.from_gds(..., merge_adjacent=True) for layouts containing holes.
  • SimulationData.apply_phase now returns phased data without modifying its inputs, including complex arrays and datasets; use the returned object.
  • Local bent-mode solving now requires tidy3d-extras and a local mode-solver license; alternatively run ModeSimulation on the server with web.run(...).

Planned Deprecation

  • Deprecated FieldProjector.trapezoid; use numpy.trapezoid instead.
  • tidy3d.rf now exposes only RF classes retained under tidy3d.components and is scheduled for removal in 3.0; use flexcompute.rf.tidy3d.
  • Explicit precision="single" and precision="auto" mode specifications are deprecated; use "double", which is already the default.
  • Cartesian unstructured=False recording on temperature/potential monitors is deprecated for removal in 3.0; convert unstructured results with to_spatial_data_array().
  • ModeSolver execution and tidy3d.plugins.mode.web are deprecated for removal in 3.0; use ModeSimulation and tidy3d.web.run.

Full Changelog: v2.12.0...v2.13.0