Page 1 of 1

Anti periodic boundary conditions with Elmer

Posted: 14 Nov 2023, 05:29
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

Re: Anti periodic boundary conditions with Elmer

Posted: 14 Nov 2023, 10:01
by hielau
Hi,

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

Code: Select all

Mortar BC = Interger 3
-Lauri

Re: Anti periodic boundary conditions with Elmer

Posted: 15 Nov 2023, 04:53
by sbrialmont
Hi,

Thank you very much for the prompt answer !

I think I got it.

Sebastien