tidy3d.HeatBoundarySpec#
- class HeatBoundarySpec[source]#
Bases:
HeatChargeBoundarySpecHeat BC specification. DEPRECIATED.
- Parameters:
attrs (dict = {}) β Dictionary storing arbitrary metadata for a Tidy3D object. This dictionary can be freely used by the user for storing data without affecting the operation of Tidy3D as it is not used internally. Note that, unlike regular Tidy3D fields,
attrsare mutable. For example, the following is allowed for setting anattrobj.attrs['foo'] = bar. Also note that Tidy3D will raise aTypeErrorifattrscontain objects that can not be serialized. One can check ifattrsare serializable by callingobj.json().placement (Union[StructureBoundary, StructureStructureInterface, MediumMediumInterface, SimulationBoundary, StructureSimulationBoundary]) β Location to apply boundary conditions.
condition (Union[TemperatureBC, HeatFluxBC, ConvectionBC, VoltageBC, CurrentBC, InsulatingBC]) β Boundary conditions to apply at the selected location.
Warning
Included backward-compatibility only.
Example
>>> import tidy3d as td >>> bc_spec = td.HeatBoundarySpec( ... placement=td.SimulationBoundary(), ... condition=td.ConvectionBC(ambient_temperature=300, transfer_coeff=1), ... )
Attributes
Methods
Inherited Common Usage
- __hash__()#
Hash method.