HGDT 0.5 online
- MaxuS the 2nd
- Corporal 2
- Posts: 674
- Joined: Sat Jan 19, 2008 3:59 pm
I get that runtime error when I attempt to input points for the perfect hybrid.
Badman
- jimmy101
- Sergeant Major 2
- Posts: 3206
- Joined: Wed Mar 28, 2007 9:48 am
- Location: Greenwood, Indiana
- Has thanked: 6 times
- Been thanked: 18 times
- Contact:
Not sure if the new version has this problem but 0.4 did strange things when the "init position" was set to a small value. This was modeling 1x gun without any burst disk (burst pressure=0). You get the crazy graph and HGDT crashes.
There also seemed to be some strange interaction with "init position" and other parts of the model. With "init position" set to 0.1", and using an oversized chamber (CB 2.7) I get "Barrel unnecessarily long" warning and "Proj never cleared barrel" error. That doesn't make sense for an oversized chamber. If "Init Position" changed back to the default 0.5" then the errors go away.
There also seemed to be some strange interaction with "init position" and other parts of the model. With "init position" set to 0.1", and using an oversized chamber (CB 2.7) I get "Barrel unnecessarily long" warning and "Proj never cleared barrel" error. That doesn't make sense for an oversized chamber. If "Init Position" changed back to the default 0.5" then the errors go away.

- D_Hall
- Staff Sergeant 5
- Posts: 1924
- Joined: Thu Feb 07, 2008 7:37 pm
- Location: SoCal
- Has thanked: 8 times
- Been thanked: 44 times
Those two problems are directly related to each other. I believe the first one should be gone and the second minimized... But the second may show it's face from time to time.jimmy101 wrote:Not sure if the new version has this problem but 0.4 did strange things when the "init position" was set to a small value. This was modeling 1x gun without any burst disk (burst pressure=0). You get the crazy graph and HGDT crashes.
There also seemed to be some strange interaction with "init position" and other parts of the model. With "init position" set to 0.1", and using an oversized chamber (CB 2.7) I get "Barrel unnecessarily long" warning and "Proj never cleared barrel" error. That doesn't make sense for an oversized chamber. If "Init Position" changed back to the default 0.5" then the errors go away.
When the disk bursts and mass is introduced to the barrel, well, a small amount of mass is introduced. The problem is that I use a finite time step and the mass flow is constant throughout that step. At the end of the step, a very small mass flow introduced into a VERY VERY small volume results in a very high pressure: a pressure higher than the chamber (obviously, this wouldn't happen in the real world).
The projectile starts to move forward and...
The next timestep, the flow reverses. We again have the "too much mass moved in too much time" problem and now the pressure in the barrel is VERY low. A vacuum is formed.
The projectile gets pulled backward and...
...The simulation interprets that as a projectile that has run down a very long barrel, stopped, and is now being pulled back into the chamber.
- D_Hall
- Staff Sergeant 5
- Posts: 1924
- Joined: Thu Feb 07, 2008 7:37 pm
- Location: SoCal
- Has thanked: 8 times
- Been thanked: 44 times
Looks like you're using the old language pack. Did you reinstall the language packs with 0.5 (yes they changed).Larda wrote:Now it works, almost.
Everything seems to be fine except that some of the text is in the wrong place.
If you don't want to do that, as Spudfarm says just edit the main.txt file in the Language directory.
- Lentamentalisk
- Sergeant 3
- Posts: 1202
- Joined: Tue Aug 07, 2007 5:27 pm
- Location: Berkeley C.A.
I just DLed the latest version of HGDT today, and several oddities occurred
Not sure how these things happened...
also, any chance you could add the option of using pure O2, rather than just air?
Not sure how these things happened...
also, any chance you could add the option of using pure O2, rather than just air?
Do not look back, and grieve over the past, for it is gone;
Do not be troubled about the future, for it has not yet come;
Live life in the present, and make it so beautiful that it will be worth remembering.
Do not be troubled about the future, for it has not yet come;
Live life in the present, and make it so beautiful that it will be worth remembering.
- D_Hall
- Staff Sergeant 5
- Posts: 1924
- Joined: Thu Feb 07, 2008 7:37 pm
- Location: SoCal
- Has thanked: 8 times
- Been thanked: 44 times
Regarding the "cold barrel": You set your burst diaphram to go almost the moment combustion started. In essence, your gun was running as a straight up pneumatic. The only reason why the chamber burned out so quickly is because most of the unburned fuel/air had already left the chamber and was in the barrel. The rise of the barrel temp towards the end was when the gases in the barrel started to burn.Lentamentalisk wrote:I just DLed the latest version of HGDT today, and several oddities occurred
Not sure how these things happened...
also, any chance you could add the option of using pure O2, rather than just air?
Regarding the plot/text mismatch: The plots only show one in every 25 data points. There's just tooo damned much to plot otherwise. If things are happening very fast, it's totally possible for the plot to miss things. Notice how the plot in your case is very spikey (ie, not a smooth curve)? That's a good indicator that it wasn't keeping up. This is WHY the text is there.
Regarding oxygen: Nope. I figure anybody who's smart enough to intelligently play around with enrichment stuff is sharp enough that he/she doesn't need my help. And if he DOES need my help? Sorry, I'm not gonna get involved in those sorts of games. DDT becomes much more likely and the last thing I need is somebody coming after me because my sim didn't warn them. No way no how do I help anybody play that game.