Page 1 of 1

Help with Mortar BC

Posted: 27 Jun 2021, 20:02
by gangiguy
Hello,

I'm trying to simulate the distribution of electromagnetic field density inside a SRM motor.

I started from files shared in this post and then made a new geometry to study .

The problem I'm facing is that all the fields inside the rotor are equal to 0, while in the stator I get some results.

I think it is something related to the use of Mortar BC but I can't make it working. I tried to make a mesh where the stator air and the rotor air shares the same boundary and simulation works, getting results on the rotor too.
mesh_screenshot.png
(20.39 KiB) Not downloaded yet
mesh_boundary_detail.png
(20.21 KiB) Not downloaded yet
Boundary 1 is the external boundary of the stator, Boundary 2 is the boundary of the stator air mesh and Boundary 3 is the boundary of the rotor air mesh.

Can someone point me in the right direction?

I attached to the post the sif file and the mesh file.
case.sif
(6.52 KiB) Downloaded 146 times
Mesh: here , file was too large for forum.

Thank,

Angelo

Re: Help with Mortar BC

Posted: 28 Jun 2021, 00:05
by kevinarden
Generally boundary conditions either have targets or names such as
Boundary Condition 3
Target Boundaries(1) = 3
...
End
3 and 2 have no name or target

Boundary Condition 1
Name = Azero
A = Real 0
End

Boundary Condition 3
Mortar BC = Integer 2
! Anti Rotational Projector = Logical True
Rotational Projector = Logical True
Galerkin Projector = Logical True
End

Boundary Condition 2
End

Re: Help with Mortar BC

Posted: 29 Jun 2021, 00:26
by gangiguy
Hello,

such a noob mistake. :oops:
I added the target boundaries and now it works at expected.

Thank you very much

Angelo