Numerical simulation of combustion

A place for general potato gun questions and discussions.
exp
Private
Private
Posts: 3
Joined: Mon Mar 13, 2006 10:43 am

Tue Mar 14, 2006 5:25 am

Hi!

I programmed a tool to simulate combustion kinetics during firing a spud gun. During my stay in India last year I was so bored that I build a spud gun and had enough time to write this software too.
I did not validate the results because of a lack of time and equipment, maybe somebody can do that for me (I am now in Germany and I can go to jail for possession of a spud gun).

For the theory of the simulation: I am a mechanical engineering student from munich with profund knowledge of thermodynamics, fluiddynamics and combustion. the theory used here is veryfied and results are reasonable.

If you have any questions, post here or mail to exp3.14159@gmx.de

Have fun
Attachments
SimGun.zip
(92.69 KiB) Downloaded 318 times
User avatar
PCGUY
Owner
Owner
United States of America
Posts: 1436
Joined: Wed Aug 18, 2004 10:54 pm
Location: Illinois
Has thanked: 2 times
Been thanked: 26 times
Contact:

Tue Mar 14, 2006 12:15 pm

Hey, I updated your file to a .zip (many people don't have WinRAR for RAR's and it's just easier to use a zip).

I also added a small HTML file for help when people get an error. Many people don't have .net framework either so I included a link to download it from Microsoft in the HTML file.
Yes, I am the guy that owns & operates SpudFiles (along with our extremely helpful moderators).
exp
Private
Private
Posts: 3
Joined: Mon Mar 13, 2006 10:43 am

Tue Mar 14, 2006 1:09 pm

@PCGUY:


thanx!
User avatar
saladtossser
Sergeant 3
Sergeant 3
Posts: 1234
Joined: Sat Mar 26, 2005 10:40 am
Location: Toronto
Contact:

Tue Mar 14, 2006 2:38 pm

u miss spelled butane with buthane, but i like it
"whoa... I thought pimpmann was black..."-pyromanic13
User avatar
drac
Corporal 4
Corporal 4
United States of America
Posts: 899
Joined: Sun Apr 24, 2005 8:56 am
Location: Avon, NY
Been thanked: 2 times

Tue Mar 14, 2006 4:42 pm

Oh salad, do you have to nitpick? I for one think it's incredible, this guy's got some mad skills.
User avatar
boilingleadbath
Staff Sergeant 2
Staff Sergeant 2
Posts: 1635
Joined: Sat Mar 12, 2005 10:35 pm
Location: Pennsylvania, USA

Tue Mar 14, 2006 6:18 pm

I ran the program with the specifications of latke's L3 launcher; .3m/s front velocity.

The results did not come close to matching latke's experimental values, with energies being about 1/4 of those reported.
I had some luck changing the front velocity to about 3 m/s and using pressure gain of 2.5... matched the entire curve fairly well, acctualy.
User avatar
drac
Corporal 4
Corporal 4
United States of America
Posts: 899
Joined: Sun Apr 24, 2005 8:56 am
Location: Avon, NY
Been thanked: 2 times

Tue Mar 14, 2006 8:22 pm

BLB, perhaps that is because the program's combustion modeler is based on Butane, not propane?

Perhaps an Emperial version is in order? It would make it easier for those of us not good with metric (Me).
User avatar
boilingleadbath
Staff Sergeant 2
Staff Sergeant 2
Posts: 1635
Joined: Sat Mar 12, 2005 10:35 pm
Location: Pennsylvania, USA

Tue Mar 14, 2006 9:06 pm

The energy/volume for a stociometric mix is nearly the same... butane is going to be giving you something like 1% more fuel/fuel-air mix volume, but is going to burn with slightly less energy/mol of O2.
User avatar
Rambo
Corporal
Corporal
Posts: 509
Joined: Sun Jan 15, 2006 2:07 pm

Wed Mar 15, 2006 1:42 am

Why the program changes the energy of the projectile when useing 1kg and 2kg for not a big gun? (V*V*M)/2=const (for hevy spuds)
Why don't we use GGDT with 40psi, helium gas and burst disc for a valve?
exp
Private
Private
Posts: 3
Joined: Mon Mar 13, 2006 10:43 am

Wed Mar 15, 2006 6:35 am

@ boilingleadbath: today I am not able to open Latke's page to check his results. A pressure gain less than 4 is not realistic because the mixture will simply not ignite. Does Latke use any kind of turbulator in his combustion chamber to explain a front velocity of more than .37?
Maybe a CFD (Computed Fluid Dynamic) simulation should be done on that matter*.
Of course the real process will be different because of 3D flame distribution and flux towards the barrel entrance. Maybe I should do a version 2 with a simple 3D model...

@ drac: There is really no significant difference between propane and butane.

@ Rambo: The projectile energy is the integral of the pressure over the barrel length. A heavier projectile causes it to stay in the barrel longer, therefore the burnout is higher and the pressure too -> more projectile energy.

@ all friends of empirial units: I for myself am very happy with SI units especially for more complicated mathematics. If somebody wants to edit it to inches/feet/pounds/etc. I will send you the source code (it's C#).


*but it is a huge amount of work and computation power...
User avatar
boilingleadbath
Staff Sergeant 2
Staff Sergeant 2
Posts: 1635
Joined: Sat Mar 12, 2005 10:35 pm
Location: Pennsylvania, USA

Thu Mar 16, 2006 7:56 pm

Yeah, he has a fan in the chamber, which probably causes some degree of turbulance. Of course, I forget wheather he has the ignition behind or infront of the fan, so that may not be the cause.
(turns out that it's movable, so no word on where it was during the tests)

A chamber fan adds about 40%-60% more muzzle energy acording to latke tests.
Post Reply