Hey all- thought I'd post this.
In anticipation of my counterbalanced hammer valve i've been doing alot of research on properly determining o-ring size. Since I order my o-rings from http://www.mcmaster, I really don't want to have to order new ones, so I decided to make a calculator based on my research.
The word document is the best research I've found on determining o-ring size.
the two matlab files are derived from the equations in that word document.
I haven't quite finished oringcalculatorbasedonoring.m its inches only, the other one does have some metric aspect, but its all primarily inches.
I originally wrote oringcalculator.m This calculates O-ring sizes based on bore diameter and groove diameter. However, it became very difficult to find aluminum tubing within the acceptable ranges of what I wanted, so I wrote oringcalculatorbasedonoring.m to determine bore size and groove size based on the actual o-ring dimensions, as its easier to adjust groove size than find an o-ring within the range.
I realize very few people probably use matlab, I may adapt this into C over winterbreak we will see though.
Attached is a sample display from oringcalculatorbasedonoring.m
Enjoy!
EDIT: Doh! Don't know why I didn't think of making this an excel document so everyone can use it. Expect an excel calculator for all of this either tonight or tomorrow
EDIT 2: Made the excel document, there are 3 sheets, please be sure to look through all of them before starting. While the excel sheet shouldn't have any errors... it might. the matlab files don't, but excel files were thrown together quickly and might not be perfect.. if i find any mistakes i'll update it.
PLEASE USE THESE! This made designing o-ring seals loads easier for me, and hopefully when i order all my parts, it seals perfectly! The numbers shouldn't lie..
I got all of this information off of one website, and it had a built in calculator... unfortunately you can only view the site about 3 times before they try and force you to shell out money to join the website... So I copied the info and made the calculators to make them open to everyone.
o-ring size calculator
- Attachments
-
O-rings.zip
- (52.54 KiB) Downloaded 1082 times
"Some say his pet elephant is pink, and that he has no understanding of "PG rated forum". All we know is, he's called JSR. "
- jackssmirkingrevenge
- Five Star General
- Posts: 26216
- Joined: Thu Mar 15, 2007 11:28 pm
- Has thanked: 576 times
- Been thanked: 347 times
Nice one, good job
shame it's only imperial...

hectmarr wrote:You have to make many weapons, because this field is long and short life
JSR, don't fret, I'll work on the metric excel spreadsheet tomorrow and upload it then.. shouldn't have to wait more than 12 hours.
Originally I designed this for a hammervalve I had planned out..
but now I'm tempted to build a barrel sealing piston with a floating o-ring setup... ugh decisions decisions.
I hate having so many ideas, but being at college pretty much screws me over as far as building stuff goes..
Originally I designed this for a hammervalve I had planned out..
but now I'm tempted to build a barrel sealing piston with a floating o-ring setup... ugh decisions decisions.
I hate having so many ideas, but being at college pretty much screws me over as far as building stuff goes..
"Some say his pet elephant is pink, and that he has no understanding of "PG rated forum". All we know is, he's called JSR. "
- jackssmirkingrevenge
- Five Star General
- Posts: 26216
- Joined: Thu Mar 15, 2007 11:28 pm
- Has thanked: 576 times
- Been thanked: 347 times
Cool, cheers 


Unless you're designing for a specific purpose, it's hard to get down to building, especially when you're doing something "for the heck of it". Story of my lifeI hate having so many ideas, but being at college pretty much screws me over as far as building stuff goes..

hectmarr wrote:You have to make many weapons, because this field is long and short life
Couldn't have put it any better myself.. I love designing new ideas and such, but its hard to actually build it when a) I don't have much time as it is and b) I have way too many ideas to ever build unless I get rich and get a machine shop.Unless you're designing for a specific purpose, it's hard to get down to building, especially when you're doing something "for the heck of it". Story of my life
I think i may focus on projectile design for now.... Going for a saboted round, aiming for accurate shots on a 5"x5" plate at 50-75 yards with penetration goals TBD... I think its rather feasible, if I can ever figure out how to optimize Cg and Cp...
well its 313 in the morning, and my brain isn't functioning.. time to hit the sack..
"Some say his pet elephant is pink, and that he has no understanding of "PG rated forum". All we know is, he's called JSR. "
- Gun Freak
- Lieutenant 5
- Posts: 4971
- Joined: Mon Jan 25, 2010 4:38 pm
- Location: Florida
- Been thanked: 8 times
Once again, story of jack's lifewell its 313 in the morning, and my brain isn't functioning.. time to hit the sack..


OG Anti-Hybrid
One man's trash is a true Spudder's treasure!
Golf Ball Cannon "Superna" ■ M16 BBMG ■ Pengun ■ Hammer Valve Airsoft Sniper ■ High Pressure .22 Coax
Holy Shat!
One man's trash is a true Spudder's treasure!
Golf Ball Cannon "Superna" ■ M16 BBMG ■ Pengun ■ Hammer Valve Airsoft Sniper ■ High Pressure .22 Coax
Holy Shat!
Alright bit o' an update here....
Gonna work on the excel files some more later... also gonna make them older formats of excel since i saved them as .xlsx documents which is why so many people probably will have issues openin them..
Gonna work on the excel files some more later... also gonna make them older formats of excel since i saved them as .xlsx documents which is why so many people probably will have issues openin them..
"Some say his pet elephant is pink, and that he has no understanding of "PG rated forum". All we know is, he's called JSR. "
- Gippeto
- First Sergeant 3
- Posts: 2504
- Joined: Sat Jan 19, 2008 10:14 am
- Location: Soon to be socialist shit hole.
- Has thanked: 2 times
- Been thanked: 17 times
HOW could you forgot man whoring.Gun Freak wrote:Once again, story of jack's lifewell its 313 in the morning, and my brain isn't functioning.. time to hit the sack..minus the sleeping part of course

"It could be that the purpose of your life is to serve as a warning to others" – unknown
Liberalism is a mental disorder, reality is it's cure.
Liberalism is a mental disorder, reality is it's cure.
- jackssmirkingrevenge
- Five Star General
- Posts: 26216
- Joined: Thu Mar 15, 2007 11:28 pm
- Has thanked: 576 times
- Been thanked: 347 times
Oh come onGippeto wrote:HOW could you forgot man whoring.

hectmarr wrote:You have to make many weapons, because this field is long and short life
finally got around to updating the spreadsheets, now 97-2003 excel compatible.
- Attachments
-
O-rings.zip
- (49.12 KiB) Downloaded 549 times
"Some say his pet elephant is pink, and that he has no understanding of "PG rated forum". All we know is, he's called JSR. "