tidy3d.HuraySurfaceRoughness#

class HuraySurfaceRoughness[source]#

Bases: AbstractSurfaceRoughness

Huray surface roughness model.

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, attrs are mutable. For example, the following is allowed for setting an attr obj.attrs['foo'] = bar. Also note that Tidy3D` will raise a TypeError if attrs contain objects that can not be serialized. One can check if attrs are serializable by calling obj.json().

  • relative_area (PositiveFloat = 1) โ€“ Relative area of the matte base compared to a flat surface

  • coeffs (Tuple[Tuple[pydantic.v1.types.PositiveFloat, pydantic.v1.types.PositiveFloat], ...]) โ€“ [units = (None, um)]. List of (\(f_i, r_i\)) values for model, where \(f_i\) is the ratio of total sphere surface area to the flat surface area, and \(r_i\) the radius of the sphere.

Note

The power loss compared to smooth surface is described by:

\[\frac{A_{matte}}{A_{flat}} + \frac{3}{2}\sum_i f_i/[1+\frac{\delta}{r_i}+\frac{\delta^2}{2r_i^2}]\]

where \(\delta\) is skin depth, \(r_i\) the radius of sphere, \(\frac{A_{matte}}{A_{flat}}\) the relative area of the matte compared to flat surface, and \(f_i=N_i4\pi r_i^2/A_{flat}\) the ratio of total sphere surface area (number of spheres \(N_i\) times the individual sphere surface area) to the flat surface area.

Note

This model is based on:

  1. Eric Bracken, โ€œA Causal Huray Model for Surface Roughnessโ€, DesignCon, 2012.

Attributes

Methods

from_cannonball_huray(radius)

Construct a Cannonball-Huray model.

roughness_correction_factor(frequency,ย ...)

Complex-valued roughness correction factor applied to surface impedance.

Inherited Common Usage

relative_area#
coeffs#
classmethod from_cannonball_huray(radius)[source]#

Construct a Cannonball-Huray model.

Note

The power loss compared to smooth surface is described by:

\[1 + \frac{7\pi}{3} \frac{1}{1+\frac{\delta}{r}+\frac{\delta^2}{2r^2}}\]
Parameters:

radius (float) โ€“ Radius of the sphere.

Returns:

The Huray surface roughness model.

Return type:

HuraySurfaceRoughness

roughness_correction_factor(frequency, skin_depths)[source]#

Complex-valued roughness correction factor applied to surface impedance.

Notes

The roughness correction factor should be causal. It is multiplied to the surface impedance of the lossy metal to account for the effects of surface roughness.

Parameters:
  • frequency (ArrayFloat1D) โ€“ Frequency to evaluate roughness correction factor at (Hz).

  • skin_depths (ArrayFloat1D) โ€“ Skin depths of the lossy metal that is frequency-dependent.

Returns:

The causal roughness correction factor evaluated at frequency.

Return type:

ArrayComplex1D

__hash__()#

Hash method.