Induction heating

59 views
Skip to first unread message

Filippo Locci

unread,
Feb 27, 2012, 11:36:15 AM2/27/12
to Agros2D
Hi Pavel K.,
I'm using your tutorial program.a2d
<document>
<problems>
....
<scriptstartup>
Brm = 1.28
murm = 1.11
sigma = 33e6
n = 1500
p = 1
f = p*n/60
omega = 2*pi*f
</scriptstartup>

In the script startup section when you have defined the problem f is
the frequency, and n are rpm isn't it? But I don't understand the
meaning of p? Is it the period?
I need to export the data describing position and power losses (pj) to
calculate the temperature of the billet, how it is possible?
Thank you so much
Filippo Locci

Florin Tanasa

unread,
Feb 27, 2012, 12:05:03 PM2/27/12
to agr...@googlegroups.com
Hi Filippo,
p is number of poles pairs
Exp.:
for an motor with one pairs poles and frequency of voltage is 50Hz we
have synchronous speed 3000 rpm.
But I have errors with some examples:
in dc_motor.py
at line
addedge(0.018, -0.023, 0.018, 0.023, 103.906, "none")
I got this errors
Run script: dc_motor
Line 29: <type 'exceptions.IndexError'>
Angle '103.906' is out of range.

Stacktrace:
File '/home/florin/compilari/agros2d/data/scripts/dc_motor.py', line 29,
in <module>
File 'agros2d.pyx', line 123, in agros2d.addedge (python/agros2d.c:1484)

Does anyone know where is the problem?
--
Cu stimă,
Florin Tanasă,
http://sites.google.com/site/florintanasa/

Filippo Locci

unread,
Feb 27, 2012, 12:18:56 PM2/27/12
to Agros2D
Hi, in a tutorial I resolved deleting a node or edge and creating a
new node or edge.
Try and thank you
Filippo

On 27 Feb, 18:05, Florin Tanasa <florin.tan...@gmail.com> wrote:
> Hi Filippo,
> p is number of poles pairs
> Exp.:
> for an motor with one pairs poles and frequency of voltage is 50Hz  we
> have synchronous speed 3000 rpm.
> But I have errors with some examples:
> in dc_motor.py
> at line
> addedge(0.018, -0.023, 0.018, 0.023, 103.906, "none")
> I got this errors
> Run script: dc_motor
> Line 29: <type 'exceptions.IndexError'>
> Angle '103.906' is out of range.
>
> Stacktrace:
> File '/home/florin/compilari/agros2d/data/scripts/dc_motor.py', line 29,
> in <module>
> File 'agros2d.pyx', line 123, in agros2d.addedge (python/agros2d.c:1484)
>
> Does anyone know where is the problem?
> --
> Cu stimă,
> Florin Tanasă,http://sites.google.com/site/florintanasa/

Florin Tanasa

unread,
Feb 27, 2012, 12:59:07 PM2/27/12
to agr...@googlegroups.com
Ok,
I commented the line with errors and I make changes with this two lines:
addedge(0.018, -0.023, 0.018, 0.023, 82.0182, "none")
addedge(-0.018, 0.023, -0.018, -0.023, 82.0182, "none")
The angle of the edge is accepted between 0 - 90 degree.
I put 82.0182 to make airgap the same values between armature (rotor)
and iron (stator).
But now occurred another errors, after first rotation, in left upper
coil.
The errors say something about crossing and change the color in green.
Only me have this errors?


--
Cu stimă,
Florin Tanasă,
http://sites.google.com/site/florintanasa/

David Pánek

unread,
Feb 27, 2012, 3:03:11 PM2/27/12
to agr...@googlegroups.com
Hi, the reason of this problem is that in master branch some kind of
control of geometry was implemented. The geometry control still doesn't
work quite well. I hope we can correct it in few days.
But the error also can be caused by real crossing in geometry (which is
not allowed - edge can not cross another one), please check if your
geometry is not deformed during rotation.

David P�nek


Dne 27.2.2012 18:59, Florin Tanasa napsal(a):

Florin Tanasa

unread,
Feb 27, 2012, 3:26:43 PM2/27/12
to agr...@googlegroups.com
Hi David,
This is the script. Is from data/scripts.
But I modified only the first two line from #edges
I do not see any crossing in the green edges (img_01.png).

--
Cu stimă,
Florin Tanasă,
http://sites.google.com/site/florintanasa/


În data de Lu, 27-02-2012 la 21:03 +0100, David Pánek a scris:
> Hi, the reason of this problem is that in master branch some kind of
> control of geometry was implemented. The geometry control still doesn't
> work quite well. I hope we can correct it in few days.
> But the error also can be caused by real crossing in geometry (which is
> not allowed - edge can not cross another one), please check if your
> geometry is not deformed during rotation.
>

> David Pánek

dc_motor.py
img_00.png
img_01.png

David Pánek

unread,
Feb 27, 2012, 3:34:00 PM2/27/12
to agr...@googlegroups.com
Thank you for pictures. This is definitely our bug.

David

Dne 27.2.2012 21:26, Florin Tanasa napsal(a):

Pavel Karban

unread,
Feb 27, 2012, 3:35:50 PM2/27/12
to agr...@googlegroups.com
Hi Florin,

I fixed dc_motor.py script in master branch - see attached (edge angle
in range from 0 to 90 degree). Could you check it?

Pavel

On 27.2.2012 21:03, David P�nek wrote:
> Hi, the reason of this problem is that in master branch some kind of
> control of geometry was implemented. The geometry control still
> doesn't work quite well. I hope we can correct it in few days.
> But the error also can be caused by real crossing in geometry (which
> is not allowed - edge can not cross another one), please check if your
> geometry is not deformed during rotation.
>

> David P�nek

dc_motor.py

Florin Tanasa

unread,
Feb 27, 2012, 3:45:44 PM2/27/12
to agr...@googlegroups.com
Hi Pavel,
I checked.
The script is loading ok now.
But the errors with crossing green edges remains after first rotation of
rotor.

--
Cu stimă,
Florin Tanasă,
http://sites.google.com/site/florintanasa/


În data de Lu, 27-02-2012 la 21:35 +0100, Pavel Karban a scris:
> Hi Florin,
>
> I fixed dc_motor.py script in master branch - see attached (edge angle
> in range from 0 to 90 degree). Could you check it?
>
> Pavel
>

> On 27.2.2012 21:03, David Pánek wrote:
> > Hi, the reason of this problem is that in master branch some kind of
> > control of geometry was implemented. The geometry control still
> > doesn't work quite well. I hope we can correct it in few days.
> > But the error also can be caused by real crossing in geometry (which
> > is not allowed - edge can not cross another one), please check if your
> > geometry is not deformed during rotation.
> >

> > David Pánek

Reply all
Reply to author
Forward
0 new messages