Professional Documents
Culture Documents
Program To Find Renolds No
Program To Find Renolds No
h> void main() { float rho,d,v,u,Re; clrscr(); printf("\n\t ALL DIAMENSION SHOULD BE IN METER"); printf("\n\t Enter the diameter of pipe :"); scanf("%f",&d); printf("\n\t Enter the value of density :"); scanf("%f",&rho); printf("\n\t Enter the value of velocity :"); scanf("%f",&v); printf("\n\t Enter the value of viscosity :"); scanf("%f",&u); Re=(rho*d*v)/u; printf("\n\t The Renolds no is : %f", Re); if(Re<=2000) { printf("\n\t Flow is laminar"); } else { printf("\n\t Flow is turbulant"); } getch(); }
OUTPUT: ALL DIAMENSION SHOULD BE IN METER Enter the diameter of pipe :10 Enter the value of density :800 Enter the value of velocity :1.02 Enter the value of viscosity :0.10 The Renolds no is : 81600.000000 Flow is turbulant
OUTPUT:.. ALL DAIAMENSION SHOULD BE IN METER Enter the inlet diameter of venturimeter :20 Enter the throat diameter of venturimeter :10 Enter the manometer height :0.05 Enter the value of coefficient of discharge :0.98 Value of a1 314.158997 m^2 Value of a2 78.539749 m^2 Value of Qact is 77.982834 m^3/sec Value of Qthe is 79.574318 m^3/sec