主要内容

Electromagnetics

Solve problems that model electric and magnetic fields

Solve PDEs that model static electric and magnetic fields. A typical programmatic workflow for solving an electromagnetic problem includes the following steps:

  • Create a special electromagnetic model container for an electrostatic, magnetostatic, or harmonic analysis.

  • Define a geometry and mesh it.

  • 分配材料的电磁特性,例如相对介电常数,相对渗透率和电导率。

  • Specify charge or current density within the geometry.

  • 在边界上指定电压,磁电势,电气或磁场。

  • Specify absorbing boundary conditions.

  • Solve and plot results, such as the resulting electric or magnetic potentials, fields, and flux densities.

Magnetic potential plot in color with the equipotential lines as contours and the magnetic field as arrows

Functions

expand all

Createpde Create model
electromagneticProperties Assign properties of material for electromagnetic model
electromagneticSource Specify current density or charge density for electromagnetic model
electromagneticBC Apply boundary conditions to electromagnetic model
solve Solve heat transfer, structural analysis, or electromagnetic analysis problem
汇集 Assemble finite element matrices
间际电位 Interpolate electric potential in electrostatic result at arbitrary spatial locations
interpolateElectricField Interpolate electric field in electrostatic result at arbitrary spatial locations
interpolateElectricFlux Interpolate electric flux density in electrostatic result at arbitrary spatial locations
interpolateMagneticPotential Interpolate magnetic potential in magnetostatic result at arbitrary spatial locations
interpolateMagneticField Interpolate magnetic field in magnetostatic result at arbitrary spatial locations
interpolateMagneticFlux Interpolate magnetic flux density in magnetostatic result at arbitrary spatial locations
跨乳房 Interpolate electric or magnetic field in harmonic result at arbitrary spatial locations
pdeplot 绘图解决方案或二维问题网格
pdeplot3D Plot solution or surface mesh for 3-D problem
PDEGPLOT 绘图PDE几何形状
pdemesh Plot PDE mesh
pdeviz Create and plot PDE visualization object
findElectromagneticProperties 查找分配给几何区域的电磁材料特性
Findelectromagneticsource Find electromagnetic source assigned to geometric region
FindelectromagneticBC Find electromagnetic boundary conditions assigned to geometric region

Objects

ElectromagneticModel 电磁模型对象
静电剂 静电溶液和衍生量
MagnetostaticResults Magnetostatic solution and derived quantities
谐调 Harmonic electromagnetic solution

Properties

电磁 - 物质设置特性 Electromagnetic material properties assignments
ElectromagneticSourceAssignment Properties Electromagnetic source assignments
ElectromagneticBCAssignment Properties 电磁边界条件分配
pdesolveroptions属性 Algorithm options for solvers
PDEVisualization Properties PDE visualization of mesh and nodal results

Topics

Electrostatic and Magnetostatic Problems

Electromagnetic Equations