Login    Register
User Information
Username:
Password:
We are a free and open
community, all are welcome.
Click here to Register
Sponsored
Who is online

In total there are 86 users online :: 3 registered, 0 hidden and 83 guests


Most users ever online was 218 on Wed Dec 07, 2016 6:58 pm

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot] based on users active over the past 5 minutes

The Team
Administrators
Global Moderators
global_moderators.png CS

GGDT Help (Divide by zero)

A place to ask general spud cannon related questions.
Sponsored 
  • Author
    Message

GGDT Help (Divide by zero)

Unread postAuthor: julktyl » Thu Nov 26, 2009 2:48 pm

I'm trying to use GGDT to optimize the chamber volume to a fixed barrel length of 12" but every time I hit optimize it gives me an error that says "Run time error '11': Division by zero." I tried the fixed chamber and fixed length options and those both work fine but the fixed barrel option doesn't. Any suggestions?

Here is a screen shot of my input. There might be something wrong but I don't know what it could be. Maybe someone could try running the data for me to see what they come up with.
  • 0

Attachments
ggdt.JPG
input
User avatar
julktyl
Private
Private
 
Posts: 22
Joined: Fri Nov 20, 2009 10:42 am
Reputation: 0

Unread postAuthor: POLAND_SPUD » Thu Nov 26, 2009 3:08 pm

dwell time can't be 0
  • 0

Children are the future

unless we stop them now
User avatar
POLAND_SPUD
Chief of Staff
Chief of Staff
 
Posts: 5405
Joined: Sat Oct 13, 2007 4:43 pm
Country: Israel (il)
Reputation: 10

Unread postAuthor: julktyl » Thu Nov 26, 2009 3:50 pm

Ok, I changed the dwell volume to 100ms and it gives the same error.
  • 0

User avatar
julktyl
Private
Private
 
Posts: 22
Joined: Fri Nov 20, 2009 10:42 am
Reputation: 0

Unread postAuthor: POLAND_SPUD » Thu Nov 26, 2009 5:16 pm

ohh now I am lost...it did work for me with a couple of designs but you're right it does crash... if you get rid of all zeros from data it doesn't crash always but some time it does :shock:

so far I couldn't get it to crash with 'chamber/barrel seal.' types of valves I've tried about 20 different designs... try to model your design using one of those valves

it might be that the 'generic valve' causes it to crash... I recall D_hall saying that's this function is not the best implemented... I wonder what he will tell about this


ohh btw... dwell time is, IIRC, the amount of time that the valve stays open
  • 0

Children are the future

unless we stop them now
User avatar
POLAND_SPUD
Chief of Staff
Chief of Staff
 
Posts: 5405
Joined: Sat Oct 13, 2007 4:43 pm
Country: Israel (il)
Reputation: 10

Unread postAuthor: Ragnarok » Thu Nov 26, 2009 6:15 pm

I think the problem may be the zero dead volume.

Try setting it to an arbitrarily low value instead of zero.
  • 0

Does that thing kinda look like a big cat to you?
User avatar
Ragnarok
Chief of Staff
Chief of Staff
 
Posts: 5339
Joined: Tue Dec 19, 2006 8:23 am
Location: The UK
Reputation: 8

Unread postAuthor: POLAND_SPUD » Thu Nov 26, 2009 6:22 pm

I tried to get rid of all zeros but they are not the problem... it seems that 'generic valve' is the problem here
  • 0

Children are the future

unless we stop them now
User avatar
POLAND_SPUD
Chief of Staff
Chief of Staff
 
Posts: 5405
Joined: Sat Oct 13, 2007 4:43 pm
Country: Israel (il)
Reputation: 10

Return to General Spud Cannon Related

Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]

Reputation System ©'