Main Content

ElectromagneticBCAssignment Properties

Boundary condition for electromagnetic model

An ElectromagneticBCAssignment object specifies the type of PDE boundary condition on a set of geometry boundaries. An ElectromagneticModel object contains an array of ElectromagneticBCAssignment objects in its BoundaryConditions.BCAssignments property.

Specify boundary conditions for your model using the electromagneticBC function.

Properties

expand all

Geometric region type, returned as 'Edge'.

Data Types: char | string

Edge ID, returned as a vector of positive integers. Find the edge IDs by using pdegplot with the 'EdgeLabels' name-value argument set to 'on'.

Data Types: double

Voltage boundary condition, returned as a real number or a function handle. Use a function handle to specify a voltage that depends on space and time.

Data Types: double | function_handle

Magnetic potential boundary condition, returned as a real number or a function handle. Use a function handle to specify a magnetic potential that depends on space and time.

Data Types: double | function_handle

Vectorized function evaluation, returned as 'off' or 'on'. This property applies when you pass a function handle as an argument. To save time in the function handle evaluation, specify 'on' if your function handle computes in a vectorized fashion. See Vectorization. For details on vectorized function evaluation, see Nonconstant Boundary Conditions.

Data Types: char | string

Introduced in R2021a