SlideShare a Scribd company logo
Ques) Design a cast iron piston for a single acting four stroke engine for the following data;
Bore Diameter=100mm; Length of stroke=125mm; Indicated mean effective
pressure=0.75N/mm2
; Maximum Pressure=5N/mm2
; m=0.15kg/BP/h; h=42*103
kJ/kg;
Speed=2000 r.p.m.
#include<math.h>
#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
float Em,Ip,Bp,N,D,L,H,C,m,h,x,n,th,th1,th2,th3,tr,t1,t2,t3,t4,b1,b2,l1,df,di,P,Pm,Sb,Fb,Z;
cout<<"Enter The Bore Diameter And Length Of Stroke Of The IC Engine ";
cin>>D>>L;
cout<<"Enter The Speed Of IC Engine ";
cin>>N;
cout<<"Enter The Indicated Mean Effective Pressure ";
cin>>Pm;
cout<<"Enter The Maximum Gas Prerssure ";
cin>>P;
cout<<"Enter The Mechanical Efficiency Of IC Engine ";
cin>>Em;
cout<<"Enter The Fuel Consumption ";
cin>>m;
cout<<"Enter The Higher Calorific Value Of Fuel ";
cin>>h;
cout<<"Press-1, If The Engine Is Four Stroke ";
cin>>x;
if(x==1)
n=N/2;
else
n=N;
Ip=(Pm*L*3.14*D*D*n)/(60*4);
Bp=(Em*Ip)/100;
H=(0.05*Bp*h*m)/3600;
th1=(0.43*D*sqrt(P/38));
th2=(0.032*D)+1.5;
th3=H/(12.56*46.6*222);
if(th1>th2)
{
if(th1>th3)
th=th1;
else
th=th3;
}
else
th=th2;
tr=(th/2.5);
t1=(D*0.0316);
t2=(0.8*t1);
t3=(0.03*D)+t1+4.9;;
t4=(0.3*t3);;
b1=(1.1*th);
b2=t2;
l1=(0.475*D);
df=(3.14*D*D*P)/(4*l1*15.7);
di=(0.6*df);
if((L/D)<1.5)
{
C=(0.7*D);
cout<<"nCurvature Is="<<C;
}
else
cout<<"nNo Curvature Required";
cout<<"nThickness Of Cylinder Head"<<th<<"nThickness Of Rib="<<tr
<<"nRadial Thickness Of Ring="<<t1<<"nAxial Thickness Of Ring="<<t2
<<"nThickness Of Piston Barrel="<<t3
<<"nThickness Of Piston Barrel At The End="<<t4
<<"nThickness Of Top Land="<<b1<<"nDistance Between Two Rings="<<b2
<<"nLength Of Piston Cylinder At The Small End="<<l1
<<"nOuter Diameter="<<df<<"nInner Diameter="<<di;
S=;
Fb=(3.14*D*D*P)/4;
Z=(2*3.14*((pow(df,4))-(pow(di,4))))/(df*64);
Sb=(Fb*D)/(8*Z);
if(Sb<S)
cout<<"nDesign Is Safe";
else
cout<<"nDesign Is Not Safe";
getch();
}

More Related Content

PPTX
Wankel engine
PDF
Centrifugal Pump Bearings
DOCX
Report of design and development of multi purpose mechanical machine
PDF
211053940 mechanisms-for-projects-drawings-pr-pdf
PPTX
Introduction to NC, CNC & DNC.pptx
PPTX
Vegetable cutting machine ppt
PPT
Graphic standards
PDF
CAD/CAM 1 Module-2 18ME72 Part-A
Wankel engine
Centrifugal Pump Bearings
Report of design and development of multi purpose mechanical machine
211053940 mechanisms-for-projects-drawings-pr-pdf
Introduction to NC, CNC & DNC.pptx
Vegetable cutting machine ppt
Graphic standards
CAD/CAM 1 Module-2 18ME72 Part-A

What's hot (20)

DOCX
Limpeza carburador vea2 a honda twister 250
PDF
Engine maintenance guide
PPT
Calculation on fans.ppt
PPTX
Regenerative braking sytem
PPT
RAPID TOOLING - presentationupdate
PDF
CAD/CAM/CIM (18ME72) Module-5 Part-A
PPTX
Tool presetting
PDF
Theory of machines by rs. khurmi_ solution manual _ chapter 7
DOCX
Vacuum braking system
PDF
Automatic machines
PPTX
CLASSIFICATION OF COMPRESSORS
PPTX
Development of vapour absorption refrigeration system in vehicles
PPTX
Reverse engineering
PPTX
Sliding mesh gear box
PDF
Panasonic pick and place machine Npm tt2
PPTX
Variable Valve Timing
PPTX
ME8694 PPT.pptx
PPTX
3D PRINTING- POWDER BASED ADDITIVE MANUFACTURING
Limpeza carburador vea2 a honda twister 250
Engine maintenance guide
Calculation on fans.ppt
Regenerative braking sytem
RAPID TOOLING - presentationupdate
CAD/CAM/CIM (18ME72) Module-5 Part-A
Tool presetting
Theory of machines by rs. khurmi_ solution manual _ chapter 7
Vacuum braking system
Automatic machines
CLASSIFICATION OF COMPRESSORS
Development of vapour absorption refrigeration system in vehicles
Reverse engineering
Sliding mesh gear box
Panasonic pick and place machine Npm tt2
Variable Valve Timing
ME8694 PPT.pptx
3D PRINTING- POWDER BASED ADDITIVE MANUFACTURING
Ad

Similar to Ic engine(piston design) in C++ and C language (7)

PDF
Mc conkey 13-pb
PDF
4PS21CS057.pdf
PDF
IRJET- Design, Analysis and Performance Testing of a Diesel Engine as a Porta...
PDF
Internal combustion engine components design
PPTX
BEMEM_Module 3 ic engines and few numericals
PPTX
Module-6 Thermal Engineering Notes.1.pptx
Mc conkey 13-pb
4PS21CS057.pdf
IRJET- Design, Analysis and Performance Testing of a Diesel Engine as a Porta...
Internal combustion engine components design
BEMEM_Module 3 ic engines and few numericals
Module-6 Thermal Engineering Notes.1.pptx
Ad

Recently uploaded (20)

PDF
composite construction of structures.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Artificial Intelligence
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
737-MAX_SRG.pdf student reference guides
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
additive manufacturing of ss316l using mig welding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
DOCX
573137875-Attendance-Management-System-original
composite construction of structures.pdf
Mechanical Engineering MATERIALS Selection
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Foundation to blockchain - A guide to Blockchain Tech
Model Code of Practice - Construction Work - 21102022 .pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Artificial Intelligence
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
III.4.1.2_The_Space_Environment.p pdffdf
737-MAX_SRG.pdf student reference guides
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
additive manufacturing of ss316l using mig welding
Embodied AI: Ushering in the Next Era of Intelligent Systems
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Automation-in-Manufacturing-Chapter-Introduction.pdf
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
573137875-Attendance-Management-System-original

Ic engine(piston design) in C++ and C language