In MATLAB PDE toolbox, how to specify the value of the tangential component of the magnetic field vector on the boundary
5 次查看(过去 30 天)
显示 更早的评论
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 个)
Shishir Reddy
2025-6-20
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 个评论
Pablo
2025-9-26
It does not work, the "MagneticInsulation" is not a property for segments within Matlab.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geometry and Mesh 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!