# DistanceUnstructuredGrid

Adaptive grid based on distance to material interfaces. Currently, it is not recommended for larger simulations.

# Grid Size Near Interfaces

dl_interface: Grid size near the material interfaces.

Type: floating-point number

  • Unit: m, μm (default), or nm
  • Constraint: greater than 0
  • Required field

# Grid Size Away Interfaces

dl_bulk: Grid size away from the material interfaces.

Type: floating-point number

  • Unit: m, μm (default), or nm
  • Constraint: greater than 0
  • Required field

# Relative Minimum Grid Size

relative_min_dl: The minimal allowed mesh size relative to the largest dimension of the simulation domain. Use relative_min_dl=0 to remove this constraint.

Type: floating-point number

  • Unit: m, μm (default), or nm
  • Constraint: greater than 0
  • Default: 0.001

# Distance to Enforce Grid Size Near Interfaces

distance_interface: Distance from interface within which dl_interface is enforced.Typically, it is the same as dl_interface or its multiple.

Type: floating-point number

  • Unit: m, μm (default), or nm
  • Constraint: greater than or equal to 0
  • Required field

# Distance to Enforce Grid Size Alway Interfaces

distance_bulk: Distance from interface outside of which dl_bulk is enforced. Typically, it is twice dl_bulk or its multiple. Use larger values for a smoother transition from dl_interface to dl_bulk.

Type: floating-point number

  • Unit: m, μm (default), or nm
  • Constraint: greater than or equal to 0
  • Required field

# Sampling

sampling: An internal advanced parameter that defines the number of sampling points per surface when computing distance values.

Type: floating-point number

  • Unit: unitless
  • Constraint: greater than 0
  • Default: 100

# Non Refined Structures

non_refined_structures: List of structures for which dl_interface will not be enforced. dl_bulk is used instead.

Type: list