tidy3d.SolidSpec#
- class SolidSpec[source]#
Bases:
SolidMediumSolid 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 termrho * cp * V . grad(T)for structures using this medium; bothcapacityanddensitymust then be provided, since therho * cpcoefficient iscapacity * density. Leave asNone(the default) for pure conduction. Note: a velocity with a nonzero component normal to an interface between two touching solids is only supported whenrho * cp * V . nmatches 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 nonzerovelocitythere raises a setup error.
Attributes
capacityconductivitydensityvelocityname