Hello, I tried to generate a homogeneous magnetic field in Comsol using infinite element domian. The major domain is a 2D rectangle and I defined layer on both left and right side to generate the infinite element domain. Then I set the left boundary to be zero magnetic scalar potential and the right boundary to be Bx = 1 T. With this setting, I got a uniform field in the main domain but the field in the infinite is not uniform but oscillate. The field at the boundary is zero, not 1 T. Can you help me with this issue?
↧