Message Boards Message Boards


Get the proper Magnetic Flux Density of a rectangular bar magnet?

Posted 11 months ago
0 Replies
0 Total Likes

I query the PropertyAssociation of the rectangular bar magnet this way: See image

The magnetic flux density already looks bad. I think the \[RuleDelayed] for the M vector needs a closing curly brace "}". Addition to that, when I Activate it, it activates only the Subscript["M",0] QuantityVariable, but does nothing for the for the \[RuleDelayed] to calculate the H vector. Also a //. is needed before the xm, ... etc variables instead of the "," and those variables should be in curly braces.

mfd = Entity["PhysicalSystem", "RectangularBarMagnet"]["MagneticFluxDensity"]

Get the magnetic flux density

After activation and a substitution: Activating and substituting

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract