Main Content

Electromagnetics

(To be removed) Solve problems that model electric and magnetic fields

Note

Domain-specific electromagnetic workflow will be removed. Use Unified Modeling instead. For help migrating your existing code to the unified finite element workflow, see Migration from Domain-Specific to Unified Workflow.

In this workflow, you can only specify and store parameters belonging to electromagnetic analysis.

Functions

expand all

createpdeCreate a PDE model
electromagneticProperties(To be removed) Assign properties of material for electromagnetic model (Since R2021a)
electromagneticSource(To be removed) Specify current density, charge density, and magnetization for electromagnetic model (Since R2021a)
electromagneticBC(To be removed) Apply boundary conditions to electromagnetic model (Since R2021a)
solveSolve structural analysis, heat transfer, or electromagnetic analysis problem
generateMaxwellStressTensorCompute Maxwell stress tensor at nodal locations (Since R2024a)
assembleFEMatricesAssemble finite element matrices
interpolateElectricPotentialInterpolate electric potential in electrostatic or DC conduction result at arbitrary spatial locations (Since R2021a)
interpolateElectricFieldInterpolate electric field in electrostatic or DC conduction result at arbitrary spatial locations (Since R2021a)
interpolateElectricFluxInterpolate electric flux density in electrostatic result at arbitrary spatial locations (Since R2021a)
interpolateMagneticPotentialInterpolate magnetic potential in magnetostatic result at arbitrary spatial locations (Since R2021a)
interpolateMagneticFieldInterpolate magnetic field in magnetostatic result at arbitrary spatial locations (Since R2021a)
interpolateMagneticFluxInterpolate magnetic flux density in magnetostatic result at arbitrary spatial locations (Since R2021a)
interpolateHarmonicFieldInterpolate electric or magnetic field in harmonic result at arbitrary spatial locations (Since R2022a)
interpolateCurrentDensityInterpolate current density in DC conduction result at arbitrary spatial locations (Since R2022b)
interpolateMaxwellStressTensorInterpolate Maxwell stress tensor at arbitrary spatial locations (Since R2024a)
findElectromagneticProperties(To be removed) Find electromagnetic material properties assigned to geometric region (Since R2021a)
findElectromagneticSource(To be removed) Find electromagnetic source assigned to geometric region (Since R2021a)
findElectromagneticBC(To be removed) Find electromagnetic boundary conditions assigned to geometric region (Since R2021a)

Objects

ElectromagneticModel(To be removed) Electromagnetic model object (Since R2021a)
ElectrostaticResultsElectrostatic solution and derived quantities (Since R2021a)
MagnetostaticResultsMagnetostatic solution and derived quantities (Since R2021a)
HarmonicResultsHarmonic electromagnetic solution (Since R2022a)
ConductionResultsDC conduction solution (Since R2022b)

Properties

ElectromagneticMaterialAssignment Properties(To be removed) Electromagnetic material properties assignments (Since R2021a)
ElectromagneticSourceAssignment Properties(To be removed) Electromagnetic source assignments (Since R2021a)
ElectromagneticBCAssignment Properties(To be removed) Electromagnetic boundary condition assignments (Since R2021a)
PDESolverOptions PropertiesAlgorithm options for solvers