Main Content

Magnetic Domain

The magnetic domain declaration is shown below.

domain magnetic
% Magnetic Domain

% Copyright 2009-2013 The MathWorks, Inc.

  parameters
    mu0 = { 4*pi*1e-7 'Wb/(m*A)' };   % Permeability constant
  end

  variables
    mmf = { 0 , 'A' };
  end

  variables(Balancing = true)
    phi = { 0 , 'Wb' };
  end

end

It contains the following variables and parameters:

  • Across variable mmf (magnetomotive force), in A

  • Through variable phi (flux), in Wb

  • Parameter mu0, specifying the permeability constant of the material

To refer to this domain in your custom component declarations, use the following syntax:

foundation.magnetic.magnetic 

Related Topics