Ignore:
Timestamp:
Jun 5, 2017, 3:03:57 PM (7 years ago)
Author:
Evgeny Stambulchik <Evgeny.Stambulchik@…>
Branch:
default
Phase:
public
Message:

Added sound velocity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/class/pf/Plasma.js

    r367 r368  
    308308           
    309309            return 1/v_m1;
     310        },
     311       
     312        getSoundVelocity: function()
     313        {
     314            var gamma = 5.0/3;
     315           
     316            return Math.sqrt(gamma*this.getPressure()/this.getMassDensity());
    310317        },
    311318
Note: See TracChangeset for help on using the changeset viewer.