Forum | Improving the USOFS software

You must be logged in to post login Login register Register

Search Forums:


searchicon 






topic

Improving the USOFS software

previous
small tagNo Tags
UserPost

8:33 pm
March 2, 2010


Luke Maurits

Adelaide, Australia

Admin

posts 1024

offline
link
print
21

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!

Starting a new TA job next week, might be busy for a while! Main CLLARE workgroups: Mission Planning, Navigation and Guidance. I do maths, physics, C, Python and Java.

9:14 pm
March 2, 2010


craiggers

Rochester, NY

Member

posts 6

offline
link
print
22

9:46 pm
March 2, 2010


Rocket-To-The-Moon

Grand Forks, North Dakota, USA

Member

posts 556

offline
link
print
23

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.

Swamped with work & school at the moment. Main Workgroups: Propulsion & Spacecraft Engineering

12:02 am
March 3, 2010


Luke Maurits

Adelaide, Australia

Admin

posts 1024

offline
link
print
24

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.

Starting a new TA job next week, might be busy for a while! Main CLLARE workgroups: Mission Planning, Navigation and Guidance. I do maths, physics, C, Python and Java.

12:38 am
March 3, 2010


craiggers

Rochester, NY

Member

posts 6

offline
link
print
25

 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 1024

offline
link
print
26

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. :)

Starting a new TA job next week, might be busy for a while! 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

Most Users Ever Online:

28


Currently Online:

3 Guests

Forum Stats:

Groups: 4

Forums: 32

Topics: 352

Posts: 2477

Membership:

There are 86 Members

There has been 1 Guest

There are 2 Admins

There are 0 Moderators

Top Posters:

Rocket-To-The-Moon – 556

brmj – 327

rpulkrabek – 142

DenisG – 49

noumena – 36

maciejm – 20

Administrators: Luke Maurits (1024 Posts), Rizwan (144 Posts)




  • Share/Bookmark