In MATLAB PDE toolbox, how to specify the value of the tangential component of the magnetic field vector on the boundary
8 views (last 30 days)
Show older comments
I want to solve the magnetic field generated by solenoid coil by constructing a 2D axisymmetric finite element model. At the same time, because this coil is symmetrical about the middle plane, in order to reduce the calculation freedom, we now want to calculate only the upper half of the coil and specify that the tangential component of the magnetic field in the middle plane of the coil is equal to 0. Now the problem is how to specify that the tangential component of the magnetic field vector on the boundary is equal to 0 in MATLAB PDE toolbox. I sincerely look forward to your answer!
1 Comment
Answers (1)
Shishir Reddy
on 20 Jun 2025
Hi @鸿卓
To model only the upper half of your solenoid in a 2D axisymmetric simulation and enforce the correct symmetry on the mid-plane, It is appropriate to impose a condition that sets the tangential component of the magnetic field intensity to zero along the plane of symmetry.
In the MATLAB PDE Toolbox, this is commonly done using the 'MagneticInsulation' boundary condition, which enforces that the tangential component of the magnetic field intensity vector (H) is zero, effectively what is needed for symmetry about a plane.
edgeBC(model,'Edge',edgeID,'MagneticInsulation',true);
Here, edgeID refers to the boundary edge along the symmetry (mid-plane) of your geometry.
Make sure your model is defined as axisymmetric by setting -
model.Axisymmetric = true;
For more information regarding the 'edgeBC' function, kindly refer the following documentation -
I hope this helps.
1 Comment
Pablo
on 26 Sep 2025 at 7:24
It does not work, the "MagneticInsulation" is not a property for segments within Matlab.
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!