Contenuto principale

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
electromagneticSource(To be removed) Specify current density, charge density, and magnetization for electromagnetic model
electromagneticBC(To be removed) Apply boundary conditions to electromagnetic model
solveSolve structural, heat transfer, electromagnetic, or P2D battery simulation 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
interpolateElectricFieldInterpolate electric field in electrostatic or DC conduction result at arbitrary spatial locations
interpolateElectricFluxInterpolate electric flux density in electrostatic result at arbitrary spatial locations
interpolateMagneticPotentialInterpolate magnetic potential in magnetostatic result at arbitrary spatial locations
interpolateMagneticFieldInterpolate magnetic field in magnetostatic result at arbitrary spatial locations
interpolateMagneticFluxInterpolate magnetic flux density in magnetostatic result at arbitrary spatial locations
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
findElectromagneticSource(To be removed) Find electromagnetic source assigned to geometric region
findElectromagneticBC(To be removed) Find electromagnetic boundary conditions assigned to geometric region

Objects

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

Properties

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