Experiment No. 5 Design of Journal Bearing: Sushama Kumari - 45
Experiment No. 5 Design of Journal Bearing: Sushama Kumari - 45
#include<stdio.h> #include<conio.h> #include<math.h> #define PI 3.14 void main() { clrscr(); float W,l,N,to,Z,ta,p,c,d,a,Qg,p1,Qd,cf,cl,C,A,T; printf("enter the value of diameter of journal\n"); scanf("%f",&d); printf("enter the value of load on journal\n"); scanf("%f",&W); printf("enter the value of speed of journal\n"); scanf("%f",N); printf("enter the value of absolute viscosity\n"); scanf("%f",&Z); printf("enter the value of bearing pressure\n"); scanf("%f",&p); l=1.6*d; p1=W/(l*d); printf("the value of bearing pressure is = %f\n",p1); if(p1<p) { printf("the value of p1 is safe\n"); printf("hence,the value of l & d are also safe\n"); } else { printf("unsafe\n"); } a=(Z*N)/p1; printf("enter the value for clearance ratio\n"); scanf("%f",cl); float k=0.002; cf=((33/(pow(10,8)))*(a)*(1/cl))+k; printf("the value of co-efficient of friction is=%f\n",cf); float V=((PI*d*N)/60)*W; Qg=cf*W*V; printf("the heat generated is = %f\n",Qg); printf("enter the value of heat dissipation co-efficient\n"); scanf("%f",&C);
printf("enter the value of ambient temp\n"); scanf("%f",&ta); printf("enter the value of temp\n"); scanf("%f",&to); T=0.5*(to-ta); Qd=C*l*d*T; printf("value of heat dissipated is = %f\n",Qd); A=Qd-Qg; printf("amount of artificial cooling is = %f\n",A); getch(); }
output
enter the value of diameter of journal 100 enter the value of load on journal 20000 enter the value of speed of journal 900 enter the value of absolute viscosity 0.017 enter the value of bearing pressure 1.5 the value of bearing pressure is = 1.250000 the value of p1 is safe hence,the value of l & d are also safe enter the value for clearance ratio 0.0013 the value of co-efficient of friction is=0.002000 the heat generated is = 0.031811 enter the value of heat dissipation co-efficient 1232 enter the value of ambient temp 15.5 enter the value of temp 55 value of heat dissipated is = 389312000.000000 amount of artificial cooling is = 389312000.000000