Help with Mortar BC

Numerical methods and mathematical models of Elmer
Post Reply
gangiguy
Posts: 6
Joined: 16 May 2020, 23:10
Antispam: Yes

Help with Mortar BC

Post 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 138 times
Mesh: here , file was too large for forum.

Thank,

Angelo
kevinarden
Posts: 2221
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Help with Mortar BC

Post 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
gangiguy
Posts: 6
Joined: 16 May 2020, 23:10
Antispam: Yes

Re: Help with Mortar BC

Post by gangiguy »

Hello,

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

Thank you very much

Angelo
Post Reply