Skip to content

Commit a541d4e

Browse files
marc-flexmomchil-flex
authored andcommitted
Adding unsteady heat and custom source to changelog.
1 parent 42e0474 commit a541d4e

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
- `priority` field in `Structure` and `MeshOverrideStructure` for setting the behavior in structure overlapping region. When its value is `None`, the priority is automatically determined based on the material property and simulation's `structure_priority_mode`.
1717
- Automatically apply `matplotlib` styles when importing `tidy3d` which can be reverted via the `td.restore_matplotlib_rcparams()` function.
1818
- Added `TriangleMesh.from_height_expression` class method to create a mesh from an analytical height function defined on a 2D grid and `TriangleMesh.from_height_grid` class method to create a mesh from height values sampled on a 2D grid.
19+
- Added heat sources with custom spatial dependence. It is now possible to add a `SpatialDataArray` as the `rate` in a `HeatSource`.
20+
- Added Transient Heat simulations. It is now possible to run transient Heat simulations. This can be done by specifying `analysis_spec` of `HeatChargeSimulation` object as `UnsteadyHeatAnalysis`.
1921

2022
### Fixed
2123
- Fixed bug in broadband adjoint source creation when forward simulation had a pulse amplitude greater than 1 or a nonzero pulse phase.

docs/api/heat/analysis.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. currentmodule:: tidy3d
2+
3+
Transient Heat Analysis
4+
-----------------
5+
6+
.. autosummary::
7+
:toctree: ../_autosummary/
8+
:template: module.rst
9+
10+
tidy3d.UnsteadySpec
11+
tidy3d.UnsteadyHeatAnalysis

tidy3d/components/tcad/simulation/heat_charge.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,16 @@ class HeatChargeSimulation(AbstractSimulation):
125125
126126
.. math::
127127
128-
-k \\cdot \\nabla(T) = q
128+
-\\nabla \\cdot (-k \\nabla T) = q
129+
130+
It is also possible to run transient heat simulations by specifying ``analysis_spec=UnsteadyHeatAnalysis(...)``. This adds
131+
the temporal terms to the above equations:
132+
133+
.. math::
134+
135+
\\frac{\\partial \\rho c_p T}{\\partial t} -\\nabla \\cdot (k \\nabla(T)) = q
136+
137+
where :math:`\\rho` is the density and :math:`c_p` is the specific heat capacity of the medium.
129138
130139
131140
The steady-state electrical ``Conduction`` equation depends on the electric conductivity (:math:`\\sigma`) of a

0 commit comments

Comments
 (0)