flex_rf.tidy3d.FullyAnisotropicMedium
Type: class │ Base(s): AbstractMedium
Description
Section titled “Description”Fully anisotropic medium including all 9 components of the permittivity and conductivity tensors.
Provided permittivity tensor and the symmetric part of the conductivity tensor must have coinciding main directions. A non-symmetric conductivity tensor can be used to model magneto-optic effects. Note that dispersive properties and subpixel averaging are currently not supported for fully anisotropic materials.
Simulations involving fully anisotropic materials are computationally more intensive, thus, they take longer time to complete. This increase strongly depends on the filling fraction of the simulation domain by fully anisotropic materials, varying approximately in the range from 1.5 to 5. The cost of running a simulation is adjusted correspondingly.
Example(s)
Section titled “Example(s)”perm = [[2, 0, 0], [0, 1, 0], [0, 0, 3]]cond = [[0.1, 0, 0], [0, 0, 0], [0, 0, 0]]anisotropic_dielectric = FullyAnisotropicMedium(permittivity=perm, conductivity=cond)Parameters
Section titled “Parameters”name [str | None] = None |
|
Optional unique name for medium. |
frequency_range [FreqBound | None] = None |
|
Optional range of validity for the medium. |
allow_gain [bool] = False |
|
Allow the medium to be active. Caution: simulations with a gain medium are unstable, and are likely to diverge.Simulations where |
nonlinear_spec [NonlinearSpec | NonlinearSusceptibility | None] = None |
|
Nonlinear spec applied on top of the base medium properties. |
modulation_spec [ModulationSpec | None] = None |
|
Modulation spec applied on top of the base medium properties. |
viz_spec [VisualizationSpec | None] = None |
|
Plotting specification for visualizing medium. |
heat_spec [ThermalSpecType | None] = None |
|
DEPRECATED: Use |
permittivity [TensorReal] = [[1, 0, 0], [0, 1, 0], [0, 0, 1]] |
|
Relative permittivity tensor. |
conductivity [TensorReal] = [[0, 0, 0], [0, 0, 0], [0, 0, 0]] |
|
Electric conductivity tensor. Defined such that the imaginary part of the complex permittivity at angular frequency omega is given by conductivity/omega. |
Methods
Section titled “Methods”eps_comp(row: Axis, col: Axis, frequency: float) |
|
Single component the complex-valued permittivity tensor as a function of frequency. |
eps_diagonal(frequency: float) |
|
Main diagonal of the complex-valued permittivity tensor as a function of frequency. |
eps_model(frequency: float) |
|
Complex-valued permittivity as a function of frequency. |
eps_sigma_diag() |
|
Main components of permittivity and conductivity tensors and their directions. |
from_diagonal(xx: Medium, yy: Medium, zz: Medium, rotation: RotationType) |
|
Construct a fully anisotropic medium by rotating a diagonally anisotropic medium. |
n_cfl() |
|
This property computes the index of refraction related to CFL condition, so that the FDTD with this medium is stable when the time step size that doesn’t take material factor into account is multiplied by |
permittivity_spd_and_ge_one(val: TracedFloat) |
|
Check that provided permittivity tensor is symmetric positive definite with eigenvalues >= 1. |
plot(freqs: float, ax: Ax = None) |
|
Plot n, k of a |