Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
23Activity
0 of .
Results for:
No results containing your search query
P. 1
Helical Gear Design

Helical Gear Design

Ratings:

4.75

(4)
|Views: 3,304|Likes:
Published by Nazim
Helical Gear (c Programme)
Helical Gear (c Programme)

More info:

Published by: Nazim on May 15, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

12/15/2012

pdf

text

original

 
Helical Gear Design
#include<stdio.h>#include<conio.h>#include<stdlib.h>#include<math.h>void main(){clrscr();float st_g,st_p,psi1,psi,fefg,fefp,fbg,fbp,Zfg,Zfp,c,Zp,Zg,Yp,Yg;float Fi,Fw,Fb,Ft,Fd,Dp,kw,f,m,mn,v,cv,Q,Np;int choice; printf("\nEnter the Following Values\n"); printf("\nNumber of Teeth on Pinion(Zp): ");scanf("%f",&Zp); printf("\tNumber of Teeth on Gear(Zg): ");scanf("%f",&Zg); printf("\nTransverse Module(m) in mm: ");scanf("%f",&m); printf("\tPinion Speed(Np) in Rpm: ");scanf("%f",&Np); printf("\nHelix Angle(psi) in Degree: ");scanf("%f",&psi1); psi=cos(psi1*3.14159/180); printf("\nSafe working Strength for pinion(fbp) in Mpa: ");scanf("%f",&fbp); printf("\tSafe working Strength for Gear(fbg) in Mpa: ");scanf("%f",&fbg); printf("\nFlexural endurance limit for pinion(fefp) in Mpa: ");scanf("%f",&fefp); printf("\tFlexural endurance limit for Gear(fefg) in Mpa: ");scanf("%f",&fefg); printf("\nFactor(c): ");scanf("%f",&c); printf("\tLoad Stress Factor(kw): ");scanf("%f",&kw);mn=m*psi;Zfp=Zp/(psi*psi*psi);Zfg=Zg/(psi*psi*psi);Q=(2*Zg)/(Zp+Zg);f=11*m;Dp=Zp*m/1000;v=(3.14159*Dp*Np)/60;if(v>=0&&v<5)cv=4.58/(4.58+v);if((v>=5)&&(v<10))
 
cv=6.1/(6.1+v);if((v>=10)&&(v<=20))cv=15.25/(15.25+v);if(v>20)cv=5.55/(5.55+sqrt(v)); printf("\nSelect a tooth system:\n1. 14.5øFD system\n2. 20øFD system\n3. 20øcompositesystem\n");scanf("%d",&choice);if(choice==1){Yp=3.14159*(.124-.684/Zfp);Yg=3.14159*(.124-.684/Zfg);st_g=Yg*fbg;st_p=Yp*fbp;if(st_g>st_p){printf("\nPinion is weaker. design is based on Pinion");Ft=0.75*fbp*f*mn*Yp*cv;Fb=0.75*fefp*f*mn*Yp;}if(st_p>st_g){printf("\nGear is weaker. design is based on Gear");Ft=0.75*fbg*f*mn*Yg*cv;Fb=0.75*fefg*f*mn*Yg;}}if(choice==2){Yp=3.14159*(.154-.912/Zfp);Yg=3.14159*(.154-.912/Zfg);st_g=Yg*fbg;st_p=Yp*fbp;if(st_g>st_p){printf("\nPinion is weaker. design is based on Pinion");Ft=0.75*fbp*f*mn*Yp*cv;Fb=0.75*fefp*f*mn*Yp;}if(st_p>st_g){printf("\nGear is weaker. design is based on Gear");Ft=0.75*fbg*f*mn*Yg*cv;Fb=0.75*fefg*f*mn*Yg;}}
 
if(choice==3){Yp=3.14159*(.175-.841/Zfp);Yg=3.14159*(.175-.841/Zfg);st_g=Yg*fbg;st_p=Yp*fbp;if(st_g>st_p){printf("\nPinion is weaker. design is based on pinion");Ft=0.75*fbp*f*mn*Yp*cv;Fb=0.75*fefp*f*mn*Yp;}if(st_p>st_g){printf("\nGear is weaker. design is based on Gear");Ft=0.75*fbg*f*mn*Yg*cv;Fb=0.75*fefg*f*mn*Yg;}}if((choice==0)||(choice>3)){ printf("Wrong Choice Entered");exit;}Fw=Dp*f*kw*Q/(psi*psi);Fi=(21*v*(c*f*psi*psi+Ft)*psi)/(21*v+(sqrt(c*f*psi*psi+Ft)));Fd=Ft+Fi; printf("\n\n$$$$$$$$$$$$$$$$$$HELICAL GEAR DESIGN$$$$$$$$$$$$$$$$$$"); printf("\n\n\tFb=%f",Fb); printf("\n\tFt=%f",Ft); printf("\n\tFw=%f",Fw); printf("\n\tFd=%f",Fd);if ( (Fw>=Fd)&&(Fb>=Fd)){ printf("\n\nDesign is Safe.");}if ((Fb>=Fd)&&(Fw<Fd)){ printf("\n\nDesign is Weak against Wear. Heat Treatment is required");}if(((Fb<Fd)&&(Fw>=Fd))&&((Fb<Fd)&&(Fw<Fd))){ printf("\nDesign is not SAFE at all.");}getch();}

Activity (23)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Gishire liked this
meckup123 liked this
Gishire liked this
Puji Rianto liked this
Chusnadi liked this
krongdak liked this
sunny9688 liked this
krongdak liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->