[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [femm] Calculation of force



It looks like I messed up here. The results that are returned by lineintegral(3) aren't in the same order as in the manual. The program is returning all the right results, just not necessarily in the right order. For AC problems, you want to use a command line like the following to get all of the force results:

f2xr,f2xi,f2yr,f2yi,fdcx,g1,fdcy,g2 = lineintegral(3)

where:

f2xr and f2xi are the real and imaginary parts of the x-direction part of the 2X frequency component of force;
f2yr and f2yi are the real and imaginary parts of the y-direction part of the 2X frequency component of force;
fdcx and fdcy are the x- and y-direction components of the steady-state force


For DC problems, you want to use a command line like the following to get all of the force results:
fx,g1,fy,g2 = lineintegral(3)


In both cases, g1 and g2 are dummy variables that contain garbage.

Sorry about this--I'll get out a patched version that works like it says in the manual as directly as possible.

Dave.

agnaldo@xxxxxxxxxx wrote:

Hi.
We are having the same kind of problem: the force value calculated once in a
position isn't the same when calculated at the same position using LUA script.
Can anybody help?


> Hello femm group.
> I have a problem. I have simulation force effects between feromagnetic
> core and coil in the electromagnet. This simulation I define as
> axisimetric problem. The force is calculation by line integral (f =
> lineintegral(3)) along the contour for different position of
> feromagnetic core. When I made control estimation by post processor
> (without lua script) I was found different results. In my opinoin the
> results calculation by line integral are not right because theoretical
> assumption is other. I don't know where I make errors.
>
> Thanks
> Roman Beresik