Pavel SEMTEC IM tutorial

The graphical user interface of Elmer
Post Reply
minhaj021
Posts: 7
Joined: 08 Feb 2018, 18:20
Antispam: Yes

Pavel SEMTEC IM tutorial

Post by minhaj021 » 28 Feb 2018, 16:27

Hi,
I am trying to simulate pavel's tutorial using ELMER. I have a question regarding Multi-Slice Simulation, i have given following commands in my Virtual machine
ns=4
slen=0.04
# make rotor and stator elmer meshes from geo files
gmsh gmsh/im_stator.geo -2 -o im_stator.msh
ElmerGrid 14 2 im_stator.msh -2d -autoclean -names
gmsh gmsh/im_rotor.geo -2 -o im_rotor.msh
ElmerGrid 14 2 im_rotor.msh -2d -autoclean -names
# unite and scale to SI
ElmerGrid 2 2 im_stator -in im_rotor -unite -autoclean -names -out im
ElmerGrid 2 2 im -scale 0.001 0.001 0.001
# create slices
ElmerGrid 2 2 im -out imms -clone 1 1 $ns -clonesize 0 0 $slen
ElmerGrid 2 2 imms -partition 1 1 $ns
cp im/mesh.names imms/mesh.name

After making imms folder,i tried to run transient.sif file after first iteration it gave the error

'' WARNING:: LevelProjector: Projector % InvPerm not set in for dofs: 48
RotationalInterfaceMeshes: You might try to switch master and target!
ERROR:: RotationalInterfaceMeshes: Check your settings, this cannot be periodic!
Note: The following floating-point exceptions are signalling: IEEE_DENORMAL''
How can i deal with this?
secondly, i in tutorial it is mention that ''The last ElmerGrid command -partition 1 1 $ns creates 1 partition per slice (you can check the result of slicing in ParaView by using ElmerGrid with the second parameter 5)''. According to my understanding i change the command like '' ElmerGrid 2 5 imms -partition 1 1 $ns'' and for the next i changed partition seconed parameter to 5, but i got nothing. I am very confused in that please guide me to resolve this issue.

Thanks
Attachments
node.PNG
node.PNG (222.79 KiB) Viewed 580 times

pavel
Posts: 34
Joined: 17 Apr 2014, 17:08
Antispam: Yes

Re: Pavel SEMTEC IM tutorial

Post by pavel » 01 Mar 2018, 10:57

Hi,

Which command you used to run the simulation?
It might be an issue with your local MPI setup as multi-slice model works only in parallel with MPI.
Google about MPI and run Elmer tests related to MPI, see if they pass.

BR, Pavel

minhaj021
Posts: 7
Joined: 08 Feb 2018, 18:20
Antispam: Yes

Re: Pavel SEMTEC IM tutorial

Post by minhaj021 » 01 Mar 2018, 14:04

I am running my simulation using Taito CSC server. I am successful in running the simulation as parallel job. But I am not able to visualize the results as shown in tutorial like mine one is not showing 4 slices.
paraview result of multiclice.PNG
(198.8 KiB) Not downloaded yet
Secondly, In the following lines
# create slices
ElmerGrid 2 2 im -out imms -clone 1 1 $ns -clonesize 0 0 $slen
ElmerGrid 2 2 imms -partition 1 1 $ns cp im/mesh.names imms/mesh.name

pavel wrote that '' The last ElmerGrid command -partition 1 1 $ns creates 1 partition per slice (you can check the result of slicing in ParaView by using ElmerGrid with the second parameter 5). I am confuse about that how I to modify and get result in Paraview.
pavel issue.PNG
(62.3 KiB) Not downloaded yet
I have attached my .sh file, Paraview result picture of multislice simulation, and later mentioned issue. Once I will get out of this issue I will try to simulate your results.
parallel job code.PNG
(64.64 KiB) Not downloaded yet

pavel
Posts: 34
Joined: 17 Apr 2014, 17:08
Antispam: Yes

Re: Pavel SEMTEC IM tutorial

Post by pavel » 01 Mar 2018, 15:45

Hi,

Parallel paraview files should have extension .pvtu. Look for those files.
And a general advise is to debug your parallel runs locally before running those batch jobs remotely.

BR, Pavel

minhaj021
Posts: 7
Joined: 08 Feb 2018, 18:20
Antispam: Yes

Re: Pavel SEMTEC IM tutorial

Post by minhaj021 » 01 Mar 2018, 16:11

Yes, pavel i got Parallel paraview files should have extension .pvtu. Thanks

minhaj021
Posts: 7
Joined: 08 Feb 2018, 18:20
Antispam: Yes

Re: Pavel SEMTEC IM tutorial

Post by minhaj021 » 14 May 2018, 16:03

Hi,
Pavel i have question about iron loss coefficients, how you have computed them? they are for M800-65A if i am not wrong
cofficients.PNG
(28.5 KiB) Not downloaded yet
. And the values in loss.dat file
loss.PNG
loss.PNG (51.12 KiB) Viewed 275 times
. Are these values are for no load condition?

Thanks

minhaj021
Posts: 7
Joined: 08 Feb 2018, 18:20
Antispam: Yes

Re: Pavel SEMTEC IM tutorial

Post by minhaj021 » 11 Jun 2018, 14:19

Hi,
I have a question regarding iron loss.I simulated transient loss.sif file and I got results as shown in the figure (attached in above message). Can you help me in understanding them more? Are these values are for no load condition? Actually, i want to calculate loss values at 32.5 N load condition. Give me some instruction how i can i reach that goal.

Thanks
Minhaj

pavel
Posts: 34
Joined: 17 Apr 2014, 17:08
Antispam: Yes

Re: Pavel SEMTEC IM tutorial

Post by pavel » 12 Jun 2018, 20:38

Hi,

This sif should result in iron losses at nominal point as the rotor runs with nominal slip
https://github.com/pavelponomarev/Elmer ... n_loss.sif
The coefficients for the iron losses I have taken from one of the publications, and unfortunately I do not remember exactly which one. Please google publications regarding FEM iron losses models and look in several top-cited. I am sure you will find these numbers there.

BR, Pavel

Post Reply