PMSM Simulation from Pavel in ElmerFEM 9.0
PMSM Simulation from Pavel in ElmerFEM 9.0
Hello,
I am trying to learn how to use Elmer by running some of the simulations done by Pavel. I generated the same mesh and the .sif file. The simulation is running but I get strange results (see images). The flux lines in most of the time-steps seem to be ok, but in some time-steps i experience some sudden jumps.
Cogging Torque
Flux density plot
I am runing the simulation on the elmerfem virtual machine with the latest elmerfem 9.0 version installed. Is the setup in the .sif file still up to date?
I am trying to learn how to use Elmer by running some of the simulations done by Pavel. I generated the same mesh and the .sif file. The simulation is running but I get strange results (see images). The flux lines in most of the time-steps seem to be ok, but in some time-steps i experience some sudden jumps.
Cogging Torque
Flux density plot
I am runing the simulation on the elmerfem virtual machine with the latest elmerfem 9.0 version installed. Is the setup in the .sif file still up to date?
- Attachments
-
- pmsm_project.zip
- (727.64 KiB) Downloaded 132 times
-
- Site Admin
- Posts: 4864
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: PMSM Simulation from Pavel in ElmerFEM 9.0
Hi
You should give more information on what kind of mortar BC it is: galerkin projector & rotational projector.
-Peter
You should give more information on what kind of mortar BC it is: galerkin projector & rotational projector.
-Peter
Re: PMSM Simulation from Pavel in ElmerFEM 9.0
Hi Peter,
thanks for the fast reply. How to do that?
Thanks,
Mladen
thanks for the fast reply. How to do that?
Thanks,
Mladen
Re: PMSM Simulation from Pavel in ElmerFEM 9.0
Hi Peter,
i just added "Rotational Projector = Logical True" in the sliding boundary definition and the obtained torque looks much smoother.
Thanks again for the help!
Mladen
i just added "Rotational Projector = Logical True" in the sliding boundary definition and the obtained torque looks much smoother.
Code: Select all
Boundary Condition 2
Target Boundaries(1) = 2
Name = "Sliding"
Discontinuous Boundary = Logical True
Save Line = True
Mortar BC = 3
Rotational Projector = Logical True
End
Mladen
Re: PMSM Simulation from Pavel in ElmerFEM 9.0
What is the meaning of "Mortar BC = 3"? In this example the mesh consists from only one sliding boundary with the number 2.
Code: Select all
Boundary Condition 2
Target Boundaries(1) = 2
Name = "Sliding"
Discontinuous Boundary = Logical True
Save Line = True
Mortar BC = 3
Rotational Projector = Logical True
End
-
- Posts: 2422
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PMSM Simulation from Pavel in ElmerFEM 9.0
A mortar condition is between two boundaries, they are always in pairs, so boundary 2 as defined by the target boundary is mortared to boundary 3 as defined by Mortar BC = 3. The mortar conditions between the two boundaries are specified by the user.
Boundary Condition 2
Target Boundaries(1) = 2
Mortar BC = 3
This is set for the non-mortar (slave) boundary to refer to the boundary condition index of the
corresponding mortar boundary. The mortar boundaries always come in pairs, but the settings
are only given in the context of the non-mortar boundary.
Boundary Condition 2
Target Boundaries(1) = 2
Mortar BC = 3
This is set for the non-mortar (slave) boundary to refer to the boundary condition index of the
corresponding mortar boundary. The mortar boundaries always come in pairs, but the settings
are only given in the context of the non-mortar boundary.
Re: PMSM Simulation from Pavel in ElmerFEM 9.0
I understand that the Mortar condition needs 2 boundaries. But in this example there is no boundary 3 defined in the sif file. Only 2 boundaries are defined. It seems that the model is made in such a way that boundary 2 is "master" and "slave" boundary in the same time.
Thanks,
Mladen
Thanks,
Mladen
-
- Posts: 2422
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PMSM Simulation from Pavel in ElmerFEM 9.0
Since Boundary 2 is defined as belonging to elements on both sides, and Discontinuous Boundary = Logical True is on, then the code understands that there needs to be a mortar condition to the both sides. Therefore the Mortar BC = 3 does nothing, and can be deleted from the SIF.
Re: PMSM Simulation from Pavel in ElmerFEM 9.0
That makes sense, thanks a lot!
Mladen
Mladen
Re: PMSM Simulation from Pavel in ElmerFEM 9.0
I made some tests and it looks like "Mortar BC = 3" cannot be deleted from the SIF. However, the number 3 is not relevant. It can be any number other than the numbers used in the defined boundaries. If deleted the solver shows "discont" message and appends "discont_" to the result file name.