You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tmp.lua.zip
I attached a lua script, which should calculate the forces and the torque on the rotor. While it is possible to get the torque by:
mo_gapintegral("SlidingBand", 0)
the command
mo_gapintegral("SlidingBand", 1) gives the torque and nil instead of the force in x and y direction.
If I open the tmp.ans created by femmcli and the attached lua script in femm, I can open the Lua Console and enter:
xForce_0, yForce_0 = mo_gapintegral("SlidingBand",1)
print("xForce_0: ", xForce_0)
print("yForce_0: ", yForce_0)
torque_0 = mo_gapintegral("SlidingBand",0)
print("torque_0: ", torque_0)
which gives the expected results.
Thanks so much for the new version!
PS: there is another function mo_gap_integral doing the same as mo_gapintegral
The text was updated successfully, but these errors were encountered:
tmp.lua.zip
I attached a lua script, which should calculate the forces and the torque on the rotor. While it is possible to get the torque by:
mo_gapintegral("SlidingBand", 0)
the command
mo_gapintegral("SlidingBand", 1) gives the torque and nil instead of the force in x and y direction.
If I open the tmp.ans created by femmcli and the attached lua script in femm, I can open the Lua Console and enter:
xForce_0, yForce_0 = mo_gapintegral("SlidingBand",1)
print("xForce_0: ", xForce_0)
print("yForce_0: ", yForce_0)
torque_0 = mo_gapintegral("SlidingBand",0)
print("torque_0: ", torque_0)
which gives the expected results.
Thanks so much for the new version!
PS: there is another function mo_gap_integral doing the same as mo_gapintegral
The text was updated successfully, but these errors were encountered: