Skip to content

Commit 713dda7

Browse files
committed
Last updates for 2.9.0rc2
1 parent 5c96f7a commit 713dda7

13 files changed

+120
-12
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.9.0rc2] - 2025-07-17
11+
1012
### Added
1113
- Implemented `FreqRange` utility class for frequency/wavelength handling with constructor methods `from_freq_interval()`, `from_wavelength()`, and `from_wvl_interval()`.
1214
- Add support for `np.unwrap` in `tidy3d.plugins.autograd`.
1315
- Add Nunley variant to germanium material library based on Nunley et al. 2016 data.
1416
- Add `PointDipole.sources_from_angles()` that constructs a list of `PointDipole` objects needed to emulate a dipole oriented at a user-provided set of polar and azimuthal angles.
1517
- Added `priority` parameter to `web.run()` and related functions to allow vGPU users to set task priority (1-10) in the queue.
1618
- `EMEFieldMonitor` now supports `interval_space`.
17-
- `Simulation.precision` option allows to select `"double"` precision for very high-accuracy results. Note that this is very rarely needed, and doubles the simulation computational weight and correpsondingly FlexCredit cost.
19+
- `Simulation.precision` option allows to select `"double"` precision for very high-accuracy results. Note that this is very rarely needed, and doubles the simulation computational weight and correspondingly FlexCredit cost.
1820
- Added material type `PMCMedium` for perfect magnetic conductor.
1921
- `ModeSimulation.plot()` method that plots the mode simulation plane by default, or the containing FDTD simulation if any of ``x``, ``y``, or ``z`` is passed.
2022
- Enable singularity correction at PEC and lossy metal edges.
23+
- New `VolumeMesher` simulation type and associated `VolumeMeshMonitor` and `VolumeMesherData`, which can be used to run the unstructured meshing for a `HeatChargeSimulation` separately before running the solver.
2124

2225
### Changed
2326
- Switched to an analytical gradient calculation for spatially-varying pole-residue models (`CustomPoleResidue`).
@@ -43,6 +46,7 @@ with fewer layers than recommended.
4346
- `MonitorData.get_amplitude()` no longers multiplies by a factor of `1j` and now directly returns the complex value of the data.
4447
- `EMESimulationData.port_modes_tuple` is now symmetry-expanded.
4548
- Fixed `Medium2D` validation error message when invalid data is passed to `ss`.
49+
- The phase of the amplitudes of a `DiffractionMonitor` was correctly centered such that the origin is at the monitor center.
4650

4751
## [2.9.0rc1] - 2025-06-10
4852

@@ -85,7 +89,7 @@ with fewer layers than recommended.
8589
- Upon initialization, an FDTD `Simulation` will now try to create all `ModeSolver` objects associated to `ModeSource`-s and `ModeMonitor`-s so they can be validated.
8690
- `tidy3d.plugins.autograd.interpolate_spline()` and `tidy3d.plugins.autograd.add_at()` can now be called with keyword arguments during tracing.
8791
- Zero-size dimensions automatically receive periodic boundary conditions instead of raising an error.
88-
- Set `ModeSpec` precision to `double` by deafult for more accurate mode solver results. Does not apply to `EMEModeSpec`, where the `auto` precision is still default for speed and cost.
92+
- Set `ModeSpec` precision to `double` by default for more accurate mode solver results. Does not apply to `EMEModeSpec`, where the `auto` precision is still default for speed and cost.
8993

9094
## [2.8.4] - 2025-05-15
9195

docs/faq

Submodule faq updated 76 files

docs/notebooks

Submodule notebooks updated 89 files

tests/sims/full_charge.h5

0 Bytes
Binary file not shown.

tests/sims/full_charge.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@
377377
"min_edges_per_side": 2.0,
378378
"non_refined_structures": []
379379
},
380-
"version": "2.9.0rc1",
380+
"version": "2.9.0rc2",
381381
"plot_length_units": "\u03bcm",
382382
"structure_priority_mode": "equal",
383383
"analysis_spec": {

tests/sims/full_conduction.h5

0 Bytes
Binary file not shown.

tests/sims/full_conduction.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
"min_edges_per_side": 2.0,
278278
"non_refined_structures": []
279279
},
280-
"version": "2.9.0rc1",
280+
"version": "2.9.0rc2",
281281
"plot_length_units": "\u03bcm",
282282
"structure_priority_mode": "equal",
283283
"analysis_spec": null

tests/sims/full_fdtd.h5

1.47 KB
Binary file not shown.

tests/sims/full_fdtd.json

Lines changed: 108 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,76 @@
616616
}
617617
}
618618
},
619+
{
620+
"attrs": {},
621+
"geometry": {
622+
"attrs": {},
623+
"type": "Box",
624+
"center": [
625+
-1.0,
626+
0.0,
627+
0.0
628+
],
629+
"size": [
630+
1.0,
631+
1.0,
632+
1.0
633+
]
634+
},
635+
"name": null,
636+
"background_permittivity": null,
637+
"background_medium": null,
638+
"priority": null,
639+
"type": "Structure",
640+
"medium": {
641+
"attrs": {},
642+
"name": null,
643+
"frequency_range": null,
644+
"allow_gain": null,
645+
"nonlinear_spec": null,
646+
"modulation_spec": null,
647+
"viz_spec": null,
648+
"heat_spec": null,
649+
"type": "AnisotropicMedium",
650+
"xx": {
651+
"attrs": {},
652+
"name": "PMC",
653+
"frequency_range": null,
654+
"allow_gain": false,
655+
"nonlinear_spec": null,
656+
"modulation_spec": null,
657+
"viz_spec": null,
658+
"heat_spec": null,
659+
"type": "PMCMedium"
660+
},
661+
"yy": {
662+
"attrs": {},
663+
"name": null,
664+
"frequency_range": null,
665+
"allow_gain": false,
666+
"nonlinear_spec": null,
667+
"modulation_spec": null,
668+
"viz_spec": null,
669+
"heat_spec": null,
670+
"type": "Medium",
671+
"permittivity": 1.0,
672+
"conductivity": 0.0
673+
},
674+
"zz": {
675+
"attrs": {},
676+
"name": null,
677+
"frequency_range": null,
678+
"allow_gain": false,
679+
"nonlinear_spec": null,
680+
"modulation_spec": null,
681+
"viz_spec": null,
682+
"heat_spec": null,
683+
"type": "Medium",
684+
"permittivity": 1.0,
685+
"conductivity": 0.0
686+
}
687+
}
688+
},
619689
{
620690
"attrs": {},
621691
"geometry": {
@@ -722,6 +792,39 @@
722792
"type": "PECMedium"
723793
}
724794
},
795+
{
796+
"attrs": {},
797+
"geometry": {
798+
"attrs": {},
799+
"type": "Box",
800+
"center": [
801+
-1.0,
802+
0.0,
803+
0.0
804+
],
805+
"size": [
806+
1.0,
807+
1.0,
808+
1.0
809+
]
810+
},
811+
"name": null,
812+
"background_permittivity": null,
813+
"background_medium": null,
814+
"priority": null,
815+
"type": "Structure",
816+
"medium": {
817+
"attrs": {},
818+
"name": "PMC",
819+
"frequency_range": null,
820+
"allow_gain": false,
821+
"nonlinear_spec": null,
822+
"modulation_spec": null,
823+
"viz_spec": null,
824+
"heat_spec": null,
825+
"type": "PMCMedium"
826+
}
827+
},
725828
{
726829
"attrs": {},
727830
"geometry": {
@@ -2028,7 +2131,7 @@
20282131
"offset": 5.0,
20292132
"remove_dc_component": true
20302133
},
2031-
"num_freqs": 3,
2134+
"num_freqs": 1,
20322135
"direction": "+",
20332136
"angle_theta": 0.0,
20342137
"angle_phi": 0.0,
@@ -2060,7 +2163,7 @@
20602163
"offset": 5.0,
20612164
"remove_dc_component": true
20622165
},
2063-
"num_freqs": 3,
2166+
"num_freqs": 1,
20642167
"direction": "+",
20652168
"angle_theta": 0.0,
20662169
"angle_phi": 0.0,
@@ -2170,7 +2273,7 @@
21702273
"offset": 5.0,
21712274
"remove_dc_component": true
21722275
},
2173-
"num_freqs": 3,
2276+
"num_freqs": 1,
21742277
"direction": "+",
21752278
"angle_theta": 0.5235987755982988,
21762279
"angle_phi": 0.6283185307179586,
@@ -3291,7 +3394,7 @@
32913394
"layer_refinement_specs": [],
32923395
"type": "GridSpec"
32933396
},
3294-
"version": "2.9.0rc1",
3397+
"version": "2.9.0rc2",
32953398
"plot_length_units": "\u03bcm",
32963399
"structure_priority_mode": "equal",
32973400
"lumped_elements": [
@@ -3364,6 +3467,7 @@
33643467
"simulation_type": "tidy3d",
33653468
"post_norm": 1.0,
33663469
"courant": 0.8,
3470+
"precision": "hybrid",
33673471
"normalize_index": 0,
33683472
"shutoff": 0.0001,
33693473
"run_time": 1e-12

tests/sims/full_steady_heat.h5

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)