Main Content

ElectromagneticMaterialAssignment Properties

Electromagnetic material properties assignments

Since R2021a

An ElectromagneticMaterialAssignment object describes the material properties of an electromagnetic model. An ElectromagneticModel object contains a vector of ElectromagneticMaterialAssignment objects in its MaterialProperties.MaterialAssignments property.

Create material property assignments for your electromagnetic model using the electromagneticProperties function.

Properties

expand all

Geometric region type, specified as "Face" for a 2-D geometry or "Cell" for a 3-D geometry.

Data Types: char | string

Region ID, specified as a vector of positive integers. Find the face or cell IDs by using pdegplot with the "FaceLabels" or "CellLabels" name-value argument set to "on".

Data Types: double

Relative permittivity of the material, specified as a positive or complex number or a function handle.

  • A positive number specifies a relative permittivity for an electrostatic analysis.

  • A complex number specifies a relative permittivity for a harmonic electromagnetic analysis.

  • A function handle specifies a relative permittivity that depends on the coordinates or, for a harmonic analysis, on the frequency.

Data Types: double | function_handle
Complex Number Support: Yes

Relative permeability of the material, specified as a positive or complex number or a function handle.

  • A positive number specifies a relative permeability for a magnetostatic analysis.

  • A complex number specifies a relative permeability for a harmonic electromagnetic analysis.

  • A function handle specifies a relative permeability that depends on the coordinates or, for a harmonic analysis, on the frequency.

Data Types: double | function_handle
Complex Number Support: Yes

Conductivity of the material, specified as a nonnegative number or a function handle. A function handle specifies a conductivity that depends on the coordinates or, for a harmonic analysis, on the frequency.

Data Types: double | function_handle

Tips

  • When there are multiple assignments to the same face, the toolbox uses the last applied setting.

  • To avoid assigning material properties to the wrong region, check that you are using the correct face IDs and cell IDs by plotting and visually inspecting the geometry. Use pdegplot with the "FaceLabels" or "CellLabels" name-value argument set to "on".

Version History

Introduced in R2021a