Repository navigation
What's Changed
Added
- Added
SafeUpdateandBacktrackingSafeUpdateto 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
BatchedDRCCheckerfor hierarchical KLayout checks andmax_results_per_cellcontrols for running and loading DRC results. - Added
downsample_dltoScene.perturbed_mediums_copyandSimulation.perturbed_mediums_copyto reduce the size of perturbed custom media. - Added
AutoUnstructuredGridfor automatic TCAD mesh sizing, interface refinement and manual region/line refinements, with helpers for migratingDistanceUnstructuredGridsettings. - Field-projection monitors, including
DirectivityMonitor, now supportuse_colocated_integration=Falsefor integration on native field coordinates, including spatially downsampled data. - Added multi-mode absorption through a tuple-valued
ModeABCBoundary.mode_indexonInternalAbsorber, with dominant-mode selection and effective-index tolerance; keep at least two grid cells between the absorber and its sampled domain boundary. - Added
sampling_dtandnum_samplesrecording controls to field, flux and surface-field time monitors as alternatives tointerval; omitted cadence records every time step and can be changed directly withupdated_copy(...). - Added
FieldStructureMonitorandFieldStructureDatafor 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 throughconfig.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
SelfHeatingMonitorandSelfHeatingDatafor conduction/isothermal-charge heating and coupling to a separate heat solve; use these instead ofHeatFromElectricSourcein isothermal charge simulations. SteadyChargeDCAnalysis.temperaturenow accepts a spatial temperature field on the accelerated charge solver, enabling prescribed-temperature simulations and manual charge/heat iteration.- Added
SteadyGenerationRecombinationMonitorwith net recombination and per-mechanism rates for all active mechanisms, including impact ionization, tunneling and distributed generation. - Added
TIDY3D_EXECUTION_FLEXCREDIT_LIMIT,FlexCreditLimitExceededErrorandweb.execution_flexcredit_status()for limiting cumulative estimated cloud-execution costs before tasks start. - Added
CanaliFieldDependencevelocity 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=Trueand producer task IDs inparent_tasks. - Added
MethodZipfor pairing parameter-sweep values by index, rejecting unequal parameter-list lengths. - Added
HurkxTrapAssistedTunnelingthrough thefield_enhancementof 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_temperaturenow accepts a finite spatial temperature field, usingbackground_temperatureoutside its bounds for cooling and heater-shutoff analyses.- Added
HeatChargeSimulation.linear_solverselection 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_historyfor inspecting charge-sweep convergence alongside residual histories, with warnings when nonconverged biases reach a CFL bound. - Added
Pcandmu_min2parameters toMasettiMobilityfor boron-doped silicon, with defaults preserving existing results. - Added autograd support for uniform
Lorentz,Drude,DebyeandSellmeiermedium parameters and corrected gradients of dispersive poles and residues. - Added
EMEModeSolverMonitor.directionandEMESimulationData.port_modes_backward; directionalsmatrix_in_basisrequires paired forward/backward bases, whilefield_in_basisalso accepts an excitation-matched basis; these conversions requiretidy3d-extrasand 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
FieldStructureDataand SAR helpersSimulationData.specific_absorption_rate(...)andSimulationData.specific_absorption_rate_from_densities(...); surface-only materials, lumped elements and automatic PEC frames contribute zero, and absorbing volume media require mass densities. - Added
ProtectedDopingReffor hosted accelerated charge simulations with surrogate previews and encrypted HDF5 data; useweb.run()orweb.Job, a voltage sweep of at least two points and whole-domain capacitance monitors. - Added
ProtectedOpticalMediumReffor hosted FDTD and mode simulations with surrogate previews and encrypted HDF5 payloads; local solving, adjoint workflows and result renormalization are unsupported. - Added
SurfaceFieldStructureMonitorandSimulationData.per_structure_loss(...)for surface and volumetric electromagnetic losses by structure, including symmetry; supply matching monitor frequencies, with unsampled losses reported as NaN. - Added
ModeStructureMonitorand mode-result optical-generation helpers; the monitor requirescolocate=Falseand all electric-field components. - Added experimental meshing for 3D heat, charge and conduction simulations through
mesher="experimental";AutoUnstructuredGridis unsupported. - Added automatic differentiation for
GeometryArraygeometry, instance offsets and invertible transforms, and for geometry parameters and invertible affine matrices inTransformed. - Added autograd support for
PolySlab.bulgesand arc-containing slab vertices and bounds whensidewall_angle=0anddilation=0. - Added
LombardiSurfaceDependencefor surface mobility degradation throughCaugheyThomasMobility.surface_dependenceandMasettiMobility.surface_dependenceon the accelerated charge solver. - Added
TransferredElectronFieldDependencefor negative differential mobility in direct-gap III-V semiconductors on the accelerated charge solver. - Added autograd support for
ThinLensBeamparameters andThinLensOverlapMonitoramplitudes in fixed homogeneous, isotropic, lossless media. - Added
AlloyMobilityfor III-V alloy mobility interpolated between twoCaugheyThomasMobilitymodels, with optional alloy scattering, on the accelerated charge solver. - Added temperature-dependent thermal conductivity and heat capacity to
SolidMediumfor heat and accelerated self-heating charge simulations, with range clamping and thermal-resistivity-fit construction; heat capacity has no effect in steady analyses. - Added
HeterojunctionSurfaceShockleyReedHallRecombinationandHeterojunctionCaptureSidefor interface-trap recombination with per-side capture velocities. - Added
LVSRunnerandLVSResultsfor KLayout layout-versus-schematic checks. - Added
Simulation.check_ports_reach_pml()and opt-inconfig.validation.check_ports_reach_pmlwarnings 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
AnisotropicPermittivityfor charge media and tensor-component plotting on the accelerated solver; strongly anisotropic cases should uselinear_solver="direct", and conduction simulations still require scalar permittivity. - Added
FieldStructureTimeMonitorfor 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=Falseto field, medium, permittivity, flux and projection monitors to exclude absorbing layers from recordings and integration surfaces; the default remainsTrue, 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.defaultand helpers for moving, copying and inspecting tasks, workspaces, members and activity; private remains the default workspace. - Added
LumpedVoltageSourcesupport toSimulation, 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_tolfor the iterative charge-solver tolerance, defaulting to1e-2. - Added incomplete dopant ionization through
donor_ionization,acceptor_ionization, Pearson-Bardeen/Altermatt-Schenk/multi-site models andSteadyDopingMonitor, including bound-carrier capacitance on the accelerated charge solver. - Added small-signal photocurrent, admittance and capacitance outputs to
DeviceCharacteristicson the accelerated charge solver, including photocurrent per unit generation-modulation depth for photodetector response calculations. - Added Pockels and DC Kerr electro-optic perturbations through
ElectroOpticPerturbationandPerturbationAnisotropicMedium; only diagonal impermeability changes in simulation coordinates are applied. - Added
charge_material_librarywith semiconductor, insulator and metal parameter sets for charge simulations, used throughMultiPhysicsMedium. - Added experimental minimum length-scale constraints for filtered and projected densities,
LengthScaleConstraintandmake_length_scale_constraintintidy3d.plugins.autograd, with eroded and dilated thresholds derived for the 2D conic filter. They take the result of the newFilterAndProject.evaluate, which returns the projected design together with the filtered field and thebetaandetaused.
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_vjpraisesAdjointError. - 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 withuse_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 mcpnow uses the independently releasedtidy3d-mcpruntime while preserving the integrated command.ChargeToleranceSpec.cfl_minnow defaults to1, and charge setup warns whenrel_tolis looser than1e-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
freq0explicitly when needed, including steeply angled plane waves. - Reduced import time for the dispersion plugin.
- Explicit
Noneis now rejected forFieldProjector.origin,DispersionFitter.k_dataandRectangularDielectric.box_medium,clad_thickness,box_thicknessorside_margin; omit these arguments to use their defaults. EMEModeSpec.increasing_mode_tolerancenow defaults toinf, 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_voltagesselection now warns and behaves asNone. - 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_gdsnow 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.
TriangleMeshshape gradients now require a closed, outward-oriented volume mesh.- Surface monitors now reject an empty
fieldsselection 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_fractioncontrols standard shape-gradient sampling instead ofmonitor_interval_poly/monitor_interval_custom, which still control volumetric derivative recording; remote gradients now honor this setting andminimum_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 Vreturn NaN, and a single-bias resistance isNone. - 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
PolySlabgeometries now support geometry queries and plane/tilted-plane sections without crashes. - Corrected charge-contact and gate potentials using metal work functions and the
VoltageBCreference: 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 wrappingMedium2Dis 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
AutoGridandQuasiUniformGridrefinement 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
CustomSellmeiercontributions. - 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,ModeABCBoundaryand 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.ratefields 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
VarshniEnergyBandGapsemiconductors. - 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_offsetsvalidation error. - Concurrent logging, including batch uploads, no longer fails intermittently or mixes warning/output state between threads.
- Corrected
Si_MultiPhysicssilicon electron mobility from 1471 to 1417 cm²/V/s, reducing lightly doped values by up to 3.7%; setmobility_n.mu=1471.0to 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_maxnow 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
divergedwith 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
UnicodeEncodeErrorcrashes in console and log output when the output stream cannot encode a character, for example after the upload inweb.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 webraisingPermissionErrorwhen 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_fieldson far-field projection data. ForFieldProjectionAngleData,FieldProjectionKSpaceDataandDirectivityData, the returned monitor now carries the newproj_distance, sodirectivityandflux_from_projected_fields()no longer return wrong values or raiseKeyErrorafter re-projection. For these andFieldProjectionCartesianData, 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 toflexcompute.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_functionnow apply it to their insulator-face potentials and requireelectron_affinityon every semiconductor; unset the ohmic metal’swork_function, or use a separate medium without it, to preserve previous behavior. - Removed
EMESweepSpec.sweep_modes,EMESimulationData.port_modes_list_sweepand redundant sweep axes from invariant EME data; useport_modes_tuplefor the shared port basis, and select or migrate multi-entry legacy axes before loading. - Removed
EMEFreqSweep; use physicalEMESimulation.freqsandEMEModeSpec.interp_spec, and migrate saved frequency sweeps with an earlier version by multiplying base frequencies byfreq_scale_factors. - Charge-monitor plotting now requires a solved voltage exactly, instead of selecting the nearest bias implicitly.
CurrentBCis no longer accepted in conduction simulations, on the non-accelerated charge solver or on contacts touching only insulators.- Constructing
BroadbandPulsenow requirestidy3d-extras, including before attaching the pulse to a source. - Charge media no longer expose optical methods/settings or accept
heat_spec; use staticpermittivityandMultiPhysicsMedium(optical=..., heat=..., charge=...)for coupled properties, while obsolete optical settings in saved files warn and are ignored. TriangleMeshnow rejects near-zero-area triangles; passremove_degenerate_faces=TruetoTriangleMesh.from_stl,from_trianglesor another mesh factory to remove them explicitly.NumericalStructureConfig.compute_derivativesnow receives declaredNumericalDerivativeQueryresults throughquery_resultsinstead ofderivative_helper.- Point-cloud field/permittivity and dipole-emission monitors are no longer
Boxsubclasses; their read-onlycenter,sizeandboundsderive frompoints. - 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
SolidMediumpreserves 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,CurrentBCorInsulatingBC; 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
InsulatingBCpreserves the previous insulation. - Uncontacted metals surrounded by insulators now float at zero charge in accelerated charge simulations, with disconnected pieces floating independently; use
InsulatingBCto retain the previous result. PolySlab.from_gdsandComplexPolySlab.from_gdsnow reject merged polygons with holes or no area; useGeometry.from_gds(..., merge_adjacent=True)for layouts containing holes.SimulationData.apply_phasenow returns phased data without modifying its inputs, including complex arrays and datasets; use the returned object.- Local bent-mode solving now requires
tidy3d-extrasand a local mode-solver license; alternatively runModeSimulationon the server withweb.run(...).
Planned Deprecation
- Deprecated
FieldProjector.trapezoid; usenumpy.trapezoidinstead. tidy3d.rfnow exposes only RF classes retained undertidy3d.componentsand is scheduled for removal in 3.0; useflexcompute.rf.tidy3d.- Explicit
precision="single"andprecision="auto"mode specifications are deprecated; use"double", which is already the default. - Cartesian
unstructured=Falserecording on temperature/potential monitors is deprecated for removal in 3.0; convert unstructured results withto_spatial_data_array(). ModeSolverexecution andtidy3d.plugins.mode.webare deprecated for removal in 3.0; useModeSimulationandtidy3d.web.run.
Full Changelog: v2.12.0...v2.13.0