MagneticSymmetryValue

MagneticSymmetryValue[pred,vars,pars]

represents a magnetic symmetry boundary condition for PDEs with predicate pred indicating where it applies, with model variables vars and global parameters pars.

MagneticSymmetryValue[pred,vars,pars,lkey]

represents a magnetic symmetry boundary condition with local parameters specified in pars[lkey].

Details

Examples

open allclose all

Basic Examples  (1)

Set up a magnetic symmetry boundary condition:

Scope  (1)

Set up a magnetic symmetry boundary condition in 3D:

Applications  (1)

Model an iron cube embedded in air and emerged in a homogeneous magnetic field of [TemplateBox[{InterpretationBox[, 1], "T", teslas, "Teslas"}, QuantityTF]] directed along the axis. The domain is composed of an iron cube of length [TemplateBox[{InterpretationBox[, 1], "cm", centimeters, "Centimeters"}, QuantityTF]]. Due to symmetry, only 1/8 of the whole domain is simulated. The air boundary surrounding the iron cube is modeled as a second cube of length [TemplateBox[{InterpretationBox[, 1], "cm", centimeters, "Centimeters"}, QuantityTF]].

In the reduced geometry, at the surfaces parallel to the planes - and - a symmetry boundary condition needs to be applied.

Define the mesh:

The mesh has internal boundaries that represent the inner iron cube. Define the iron cube:

Visualize a wireframe of the mesh:

Define variables:

Define parameters the permeability of vacuum and iron :

To specify the homogeneous magnetic field across the domain, an outward magnetic flux density normal to the boundary at is specified.

Set up the magnetic flux density condition:

Set up the magnetic symmetry condition:

Since the magnetic symmetry condition is a Neumann zero boundary condition, which is the default boundary condition if nothing is specified on a boundary, it could also be omitted.

Solve the magnetostatic PDE model:

Compute the magnetic field intensity:

To visualize another 1/8 of the field, at , the symmetric behavior of the field must be considered. At positive values, the field is and at negative values, the field is .

Visualize the symmetric vector field at of the complete geometry:

Wolfram Research (2025), MagneticSymmetryValue, Wolfram Language function, https://reference.wolfram.com/language/ref/MagneticSymmetryValue.html.

Text

Wolfram Research (2025), MagneticSymmetryValue, Wolfram Language function, https://reference.wolfram.com/language/ref/MagneticSymmetryValue.html.

CMS

Wolfram Language. 2025. "MagneticSymmetryValue." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MagneticSymmetryValue.html.

APA

Wolfram Language. (2025). MagneticSymmetryValue. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MagneticSymmetryValue.html

BibTeX

@misc{reference.wolfram_2024_magneticsymmetryvalue, author="Wolfram Research", title="{MagneticSymmetryValue}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/MagneticSymmetryValue.html}", note=[Accessed: 15-January-2025 ]}

BibLaTeX

@online{reference.wolfram_2024_magneticsymmetryvalue, organization={Wolfram Research}, title={MagneticSymmetryValue}, year={2025}, url={https://reference.wolfram.com/language/ref/MagneticSymmetryValue.html}, note=[Accessed: 15-January-2025 ]}