Main Content
ElectromagneticModel
Domain-specific electromagnetic workflow is not recommended. New features might not be compatible with this workflow. For help migrating your existing code to the unified finite element workflow, see Migration from Domain-Specific to Unified Workflow.
Description
An ElectromagneticModel
object contains
information about an electromagnetic analysis problem: the geometry, material properties,
electromagnetic sources, boundary conditions, and mesh.
Creation
To create a ElectromagneticModel
object, use the
createpde
function and specify "electromagnetic"
as its first
argument.
Properties
Object Functions
geometryFromEdges | Create 2-D geometry from decomposed geometry matrix |
geometryFromMesh | Create 2-D or 3-D geometry from mesh |
importGeometry | Import geometry from STL or STEP file |
generateMesh | Create triangular or tetrahedral mesh |
electromagneticProperties | Assign properties of material for electromagnetic model |
electromagneticSource | Specify current density, charge density, and magnetization for electromagnetic model |
electromagneticBC | Apply boundary conditions to electromagnetic model |
solve | Solve structural analysis, heat transfer, or electromagnetic analysis problem |
Examples
Version History
Introduced in R2021aSee Also
electromagneticProperties
| electromagneticSource
| electromagneticBC
| solve