tidy3d.SolidSpec

Contents

tidy3d.SolidSpec#

class SolidSpec[source]#

Bases: SolidMedium

Solid medium class for backwards compatibility

Parameters:
  • name (Optional[str] = None) – Optional unique name for medium.

  • capacity (Optional[PositiveFloat] = None) – [units = J/(kg*K)]. Specific heat capacity in unit of J/(kg*K).

  • conductivity (PositiveFloat) – [units = W/(um*K)]. Thermal conductivity of material in units of W/(um*K).

  • density (Optional[PositiveFloat] = None) – [units = kg/um^3]. Mass density of material in units of kg/um^3.

  • velocity (Optional[tuple[float, float, float]] = None) – [units = um/s]. Constant advection velocity (vx, vy, vz) of the solid medium in units of um/s. When set to a nonzero value, the heat solver adds a convective transport term rho * cp * V . grad(T) for structures using this medium; both capacity and density must then be provided, since the rho * cp coefficient is capacity * density. Leave as None (the default) for pure conduction. Note: a velocity with a nonzero component normal to an interface between two touching solids is only supported when rho * cp * V . n matches across the face; a normal-flux jump at such an interface is ill-posed and unsupported (velocities tangential to the interface are fine). This term is applied by the heat solver, including when heat is coupled with electrical conduction. It is not supported in non-isothermal charge (coupled charge+heat) simulations, where the coupled thermal solve does not apply it, so setting a nonzero velocity there raises a setup error.

Attributes

capacity

conductivity

density

velocity

name