Subscribe to rss feed

Improving the USOFS software | Project planning and misc | Forum

 
You must be logged in to post user permissions login Login register Register


Register? | Lost Your Password?

Search Forums:


searchicon 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

topic

Improving the USOFS software

print
small tagNo Tags
UserPost

8:33 pm
March 2, 2010


Luke Maurits

Adelaide, Australia

Admin

posts 1483

offline
link
print
21
0
ratedowngrey
rateupgrey

This does indeed look great!

As for units: altitude is in meters (m), velocity is in meters per second (m/s), acceleration is in meters per second per second (m/s/s), but it might also be nice to include it in units of g (to get from m/s/s to g, divide by 9.8), Mach number has no units and I suspect that the dynamic pressure is in Pascals (Pa) but I'll check that.

It would probably be fine to truncate the maxima to, say, 2 decimal points for the purposes of displaying things on screen, that will make things look a little tidier.

I really must find time to figure out why the physics is so broken in this!

Main CLLARE workgroups: Mission Planning, Navigation and Guidance. I do maths, physics, C, Python and Java.

9:14 pm
March 2, 2010


craiggers

Cambridge, MA

Member

posts 7

followme

offline
link
print
22
0
ratedowngrey
rateupgrey

Updated with units and your suggestions:

maxima2

9:46 pm
March 2, 2010


Rocket-To-The-Moon

Altus, Oklahoma, USA

Member

posts 685

offline
link
print
23
0
ratedowngrey
rateupgrey

The units for Mach is simply Mach. The speed of sound in air in meters per second is equal to s=20.1*[(air temperature in Kelvis)^(1/2)] and the mach number would be M=v/s where v is the rocket's velocity in m/s.

Main Workgroups: Propulsion & Spacecraft Engineering

12:02 am
March 3, 2010


Luke Maurits

Adelaide, Australia

Admin

posts 1483

offline
link
print
24
0
ratedowngrey
rateupgrey

Rocket-To-The-Moon said:The units for Mach is simply Mach. The speed of sound in air in meters per second is equal to s=20.1*[(air temperature in Kelvis)^(1/2)] and the mach number would be M=v/s where v is the rocket's velocity in m/s.


The Mach number is technically a dimensionless number (see the second sentence of the Overview section of the Wikipedia article).  Also, the speed of sound in air varies with air density, which varies with altitude.  The USOFS code takes this into account, however.

Thanks for making the changes, Craig, great work.  I hate to nit-pick, but having the times in units of seconds (e.g. t = 59.9s) would be a fantastic final tweak.

Main CLLARE workgroups: Mission Planning, Navigation and Guidance. I do maths, physics, C, Python and Java.

12:38 am
March 3, 2010


craiggers

Cambridge, MA

Member

posts 7

followme

offline
link
print
25
0
ratedowngrey
rateupgrey

 I hate to nit-pick, but having the times in units of seconds (e.g. t = 59.9s) would be a fantastic final tweak.

Not a problem at all, that was an easy adjustment :)

2:12 am
March 3, 2010


Luke Maurits

Adelaide, Australia

Admin

posts 1483

offline
link
print
26
0
ratedowngrey
rateupgrey

So, the issue of the bizarre simulation results is not so deep as I first feared.  There is no problem with the physics per se, rather with the data!

The default rocket specifications that are hard-coded into USOFS are stupidly inappropriate.  The thrust of 1000 N combined with the empty mass of 30 kilograms, the fuel mass of 100 kg and the payload mass of 5 kg means that, at the time of ignition, the rocket engine provides 1000 / 135 = 7.40 m/s/s of upward acceleration, which is of course not enough to counter the 9.8 m/s/s/ downward acceleration due to gravity.  Since USOFS has no crash-detection built in (since the simulations usually terminate at zenith), the rocket actually falls down through the ground, resulting in the observed negative altitude values.  Eventually, the mass of the rocket decreases sufficiently (as fuel is burned) for the net acceleration to be in the upward direction and the rocket flies back up, through the ground and into the realm of positive altitude, at about t=50s.  USOFS believes the air density at negative altitudes to be zero, which explains the extremely sharp spikes in Mach number and dynamic pressure at the time the rocket passes upward through the ground, and also the small drop in acceleration observed at the same time: there is an instantaneous switch from flying in a vacuum to flying through the densest part of the atmosphere at high speeds!

If one takes the simple step of setting the thrust to 2000 N, one gets much, much nicer looking graphs which are entirely within the realms of what is physically sensible. :)

Main CLLARE workgroups: Mission Planning, Navigation and Guidance. I do maths, physics, C, Python and Java.

small tagNo Tags

About the CSTART – Collaborative Space Travel and Research Team Forum

Forum Timezone: UTC -6

Most Users Ever Online: 59

Currently Online:
11 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 4
Forums: 36
Topics: 512
Posts: 3809

Membership:

There are 1133 Members

There are 2 Admins

Top Posters:

Rocket-To-The-Moon – 685
brmj – 402
rpulkrabek – 348
DenisG – 69
antinode – 64
J. Simmons – 46

Recent New Members: jmwright, uhwuggawuh, seikialice88, bishvabis, alijayadv, harris

Administrators: Luke Maurits (1483 Posts), Rizwan (170 Posts)



 
share save 120 16