RigidChips
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Physics Engine Quarks

4 posters

Go down

Physics Engine Quarks Empty Physics Engine Quarks

Post by MrSparks Sat Jul 07, 2012 10:08 pm

It's late. I was working on a model Aeolipile. I found that even at 0 spring and 0 damper with 0 air resistance, there is still an outside force acting to slow the spin. Evidenced by the Aeolipile having an upper bound on RPM for a given power and slowing when power is removed in the above environment. Here's the model I'm working with, I'm going to bed, more on the morrow
Code:
// [RCD]
Val
{
   FLAME(default=0)
   FR(default=0)
}
Key
{
}
Body
{
   Core() {
      S:Jet(power=FR, effect=1) {
         S:Cowl(angle=-90) {
            E:Cowl(angle=-90) {
               E:Cowl(option=4) { }
            }
            W:Cowl(angle=-90) {
               W:Cowl(option=3) { }
            }
            S:Cowl(angle=-90) {
               S:Cowl(angle=-45) {
                  S:Cowl() { }
               }
            }
         }
      }
      N:Jet(power=-FR, effect=1) {
         N:Cowl(angle=90) {
            W:Cowl(angle=90) {
               W:Cowl(option=4) { }
            }
            E:Cowl(angle=90) {
               E:Cowl(option=3) { }
            }
            N:Cowl(angle=90) {
               N:Cowl(angle=45) {
                  N:Cowl() { }
               }
            }
         }
      }
      W:TrimF(spring=0, damper=0) {
         W:Frame() {
            W:Frame(angle=105) {
               W:Frame(angle=15) {
                  W:Frame(angle=-60) {
                     W:Frame(angle=-60) {
                        S:Frame() { }
                        N:Frame() { }
                     }
                  }
               }
               W:Arm(angle=100, power=FLAME, option=-75000) { }
            }
         }
      }
      E:TrimF(spring=0, damper=0) {
         E:Frame() {
            E:Frame(angle=105) {
               E:Frame(angle=15) {
                  E:Frame(angle=-60) {
                     E:Frame(angle=-60) {
                        N:Frame() { }
                        S:Frame() { }
                     }
                  }
               }
               E:Arm(angle=100, power=FLAME, option=-75000) { }
            }
         }
      }
   }
}
Lua
{function init()
   power=0
   
end
function OnInit()
   init()
end
function OnReset()
   init()
end
function OnFrame()
   FR=250*power
   FLAME=750000*power
   power=math.mod(power+_KEYDOWN(4),2)
   out(1,math.sqrt(_WX(0)*_WX(0)+_WY(0)*_WY(0)+_WZ(0)*_WZ(0)))

   
end}

semi-related: Aeolipile led me to steam rocket lead me to Nuclear Salt-Water Rocket

MrSparks
Tank
Tank

Posts : 73
Join date : 2012-01-05
Age : 33
Location : Michigan

Back to top Go down

Physics Engine Quarks Empty Re: Physics Engine Quarks

Post by Maurice Sun Jul 08, 2012 11:04 pm

I can think of three possible things.
In order of estimated probability:
1. There are small vibrations within the model that are causing this strange effect.
2. Either spring and damper or air resistance do not actually zero when set to 0 or turned off.
3. Aliens.
Maurice
Maurice
Hover
Hover

Posts : 153
Join date : 2011-10-07
Age : 28
Location : The early 1970's

Back to top Go down

Physics Engine Quarks Empty Re: Physics Engine Quarks

Post by bwansy Mon Jul 09, 2012 1:35 am

Or there could be artificial damping even if air resistance is turned off. The damping in joints has been confirmed to be zero, otherwise the frame would start rotating under zero gravity while the middle is spinning.

bwansy
Admin

Posts : 170
Join date : 2010-07-15

https://rigidchips.forumotion.com

Back to top Go down

Physics Engine Quarks Empty Re: Physics Engine Quarks

Post by RA2lover Mon Jul 09, 2012 11:25 am

what about negative dampening?
RA2lover
RA2lover
Walker
Walker

Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil

Back to top Go down

Physics Engine Quarks Empty Re: Physics Engine Quarks

Post by Maurice Mon Jul 09, 2012 5:05 pm

Negative damper is equivalent to setting damper to zero. I've already conducted experiments on that.
Maurice
Maurice
Hover
Hover

Posts : 153
Join date : 2011-10-07
Age : 28
Location : The early 1970's

Back to top Go down

Physics Engine Quarks Empty Re: Physics Engine Quarks

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum