simulating magnetic/electro motor

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  08 August 2003
simulating magnetic/electro motor

Hi everybody,

Id like to simulate an electro-motor with some little real-world-physics.

As many of You will know, an electro-motor is made of an rotor and a stator. Normally, the stator has static magnet, while the rotor is made of copper-"cables" where the electricity passes thru (which also is a magnet, but you can regulate its magnetic force and so the engine is faster or has more power).

Now I would visualize this magnetic force between rotor and stator. But it need also real-world - behaviour.

So my first thought is to use active (rotor) / passiv (stator) rigid bodies for the real-world stuff, and particles for the magnetic force. My goal is, to get some new attributes (Volt, Ampere, Distance between rotor and stator, etc) on eg. an Locator which are connect to different attributes of the Act/Pass-RiBo with SetDrivenKeys. As the particle-simulation derivers and is dependend from the magnets, they are also connected to different attributes of the A/P-RiBo

Easier said:
Locator with new attr. ---> real-world simulation with A/P-RiBo ---> Particles for magnetic-force visualization

Any ideas to my thoughts ??
Does anyone have experience with real-world simulations in Maya
Attached Images
File Type: gif magnet.gif (10.1 KB, 58 views)
  08 August 2003
In your case I think you should forget active and passive rigid bodies because rotor and stator are not touching each other.
Your solution is in .mel script.
Add some new attributes to your rotor and stator objects and link them with some math formulas via .mel.
If I knew the formula for rotor speed by heart I could help you in writing that expression but unfortunatly I don't...but let's try improvising...
Let's asume that speed=U/I (I know it's's resistance but let's asume)
You could add 2 float attributes to rotor object "volt" & "amper" and write a simple expression like:
This way you can add all the neccesery attributes to your objects and then calculate voltage,resistance,etc...and use it to drive the rotation speed of your rotor...
Hope this brings some ideas...
Good luck
  08 August 2003
MEL ? Well, i never thought about it

Sounds benissimo.

Mille Grazie
  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 11:11 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.