Anti periodic boundary conditions with Elmer

Numerical methods and mathematical models of Elmer
Post Reply
sbrialmont
Posts: 6
Joined: 14 Nov 2023, 04:39
Antispam: Yes

Anti periodic boundary conditions with Elmer

Post by sbrialmont »

Hi,

I'm currently trying to run a very simple model of an electrical machine stator using Elmer.
As I'm completely new, I'm trying to make myself easier with the functionalities. So I chose a very basic electrical machine geometry in which I forget about the rotor. A constant excitation current is applied in the stator winding and the model runs in magnetostatic regime. Everything is linear.

I'm facing issues using anti periodic boundary conditions. As the subject has been raised many times on the Forum, I tried to use Mortar BCs but it does not seem to work:

Code: Select all

Boundary Condition 1
  Target Boundaries(1) = 3 
  Name = "FarField"
  Potential = 0.0
End

Boundary Condition 2
  Name = StatorMaster
  Mortar BC = Integer 1
  Mortar BC Static = Logical True
  Anti Radial Projector = Logical True
  Galerkin Projector = Logical True
End

Boundary Condition 3
  Name = StatorSlave
End

Using these BC provides me with the same results as if no BC was applied on the periodic boundaries...
I'm not sure to get how the Mortar BCs should be applied so I think I'm missing something probably very basic.

Thank you a lot in advance for your help !

Sebastien
Attachments
pmsm.msh
(647.79 KiB) Downloaded 11 times
case.sif
(3.85 KiB) Downloaded 13 times
hielau
Posts: 12
Joined: 26 Sep 2017, 19:18
Antispam: Yes

Re: Anti periodic boundary conditions with Elmer

Post by hielau »

Hi,

your Mortar BC is not pointing to a correct slave BC.

Code: Select all

Mortar BC = Interger 3
-Lauri
sbrialmont
Posts: 6
Joined: 14 Nov 2023, 04:39
Antispam: Yes

Re: Anti periodic boundary conditions with Elmer

Post by sbrialmont »

Hi,

Thank you very much for the prompt answer !

I think I got it.

Sebastien
Post Reply