ElectromagneticBCAssignment Properties
Electromagnetic boundary condition assignments
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.
Create boundary condition assignments for your electromagnetic model using the electromagneticBC
function.
Properties
ElectricField
— Electric field boundary condition
column vector | function handle
Electric field boundary condition, returned as a column vector of two elements for a 2-D model, a column vector of three elements for a 3-D model, or a function handle. Use a function handle to specify an electric field that depends on the coordinates.
The solver uses an electric field boundary condition for a harmonic analysis with the electric field type.
Data Types: double
| function_handle
MagneticField
— Magnetic field boundary condition
column vector | function handle
Magnetic field boundary condition, returned as a column vector of two elements for a 2-D model, a column vector of three elements for a 3-D model, or a function handle. Use a function handle to specify a magnetic field that depends on the coordinates.
The solver uses a magnetic field boundary condition for a harmonic analysis with the magnetic field type.
Data Types: double
| function_handle
MagneticPotential
— Magnetic potential boundary condition
real number | column vector | function handle
Magnetic potential boundary condition, returned as a real number for a 2-D model, a column vector of three elements for a 3-D model, or a function handle. Use a function handle to specify a magnetic potential that depends on the coordinates.
The solver uses a magnetic potential boundary condition for a magnetostatic analysis.
Data Types: double
| function_handle
RegionID
— Region ID
vector of positive integers
Region ID, returned as a vector of positive integers. Find the edge or face IDs by
using pdegplot
with the
"EdgeLabels"
or "FaceLabels"
name-value argument
set to "on"
.
Data Types: double
RegionType
— Geometric region type
"Edge"
for a 2-D model | "Face"
for a 3-D model
Geometric region type, returned as "Edge"
for a 2-D model or
"Face"
for a 3-D model.
Data Types: char
| string
Vectorized
— Vectorized function evaluation
"off"
(default) | "on"
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
Voltage
— Voltage boundary condition
real number | function handle
Voltage boundary condition, returned as a real number or a function handle. Use a function handle to specify a voltage that depends on the coordinates.
The solver uses a voltage boundary condition for an electrostatic analysis.
Data Types: double
| function_handle
FarField
— Absorbing boundary condition
"absorbing"
Absorbing boundary condition, returned as "absorbing"
. The solver
uses an absorbing boundary condition for a harmonic analysis.
Data Types: char
Thickness
— Width of far field absorbing region
nonnegative number
Width of the far field absorbing region, returned as a nonnegative number. The solver uses an absorbing boundary condition for a harmonic analysis.
Data Types: double
Scaling
— Scaling parameter defining attenuation rate
5 (default) | nonnegative number
Scaling parameter defining the attenuation rate of the waves entering the absorbing region, returned as a nonnegative number. The solver uses an absorbing boundary condition for a harmonic analysis.
Data Types: double
Exponent
— Exponent defining attenuation rate
4 (default) | nonnegative number
Exponent defining the attenuation rate of the waves entering the absorbing region, returned as a nonnegative number. The solver uses an absorbing boundary condition for a harmonic analysis.
Data Types: double
Version History
See Also
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)