Calculation of the radial force of the rotor of a motor

General discussion about Elmer

Calculation of the radial force of the rotor of a motor

Postby Jenwel » 12 Jul 2017, 10:17

Hi,
I am anlyzing the force acting on a rotor of the switched reluctance motor in a 2D transient model.
The solver "MagnetoDynamics2D" is used to solve the potential, and the "MagnetoDynamicsCalcFields" is used to extract the distribution of flux density, and also the magnetic torque and force acting on the rotor.
I find the nodal force are saved in the vtu results. But I want to know how to calculate the scalar radial force in X and Y direction acting on the rotor, and save them in the .dat file?
I know the force acting on the rotor may be summed, but I do not know how to call the related variables in Elmer.
The sif and mesh files are attached.

Thank you in advance!

Best Regards
Jenwel
Attachments
SRM_force.zip
(1.65 MiB) Downloaded 11 times
Jenwel
 
Posts: 19
Joined: 22 Jun 2017, 07:07

Re: Calculation of the radial force of the rotor of a motor

Postby Jenwel » 22 Jul 2017, 06:03

Hi guys,
I have solved the problem, after I slightly modified the source code in the file "CalcFields.F90".
An additional subroutine is added and can be called by the subroutine "MagnetoDynamicsCalcFields".
Now, the solver can also solve the electromagnetic force acting on the steel in x and y direction, for a 2D Magnetic Problem.

The modifed file "ModifiedCalcFields.F90" and the file "Utils.F90" are attached, if anyone needs that, please compile them to "MagnetoDynamics.dll" via the compiler Elmerf90.
The previous dll file "MagnetoDynamics.dll" in the directory of Elmer should be replaced by the modified compiled file "MagnetoDynamics.dll".
Besides, in the sif file, the body for calculating the electromagnetic force should be identified by "Force Groups = Integer 1", as follows:

Code: Select all
Body 21
  Name = RotorIron
  Equation = 1
  Material = 2
  Body Force = 1
  Torque Groups = Integer 1
  Force Groups = Integer 1
End


Then, the scalar electromagnetic force in x and y direction can be calculated as the result in the dat file.

Good luck!

Jenwel
Attachments
ModifiedCalcFields.F90
(114.43 KiB) Downloaded 12 times
Utils.F90
(18.87 KiB) Downloaded 9 times
Jenwel
 
Posts: 19
Joined: 22 Jun 2017, 07:07


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest