SlideShare a Scribd company logo
1 of 8
Download to read offline
End of career project summary 
Politecnica de Madrid university 
1D Simulation of intake manifolds in single-cylinder 
reciprocating engine 
Juan Manzanero*, Juan Ramo´n Arias1, A´ ngel Vela´zquez1 
Abstract 
In the scenario of the Motostudent championship, there was the need of the 1D gas dynamics code development, in order to 
achieve enough detailed understanding of the complex processes taking part in a complete thermodynamic cycle inside a 
reciprocating engine. 
1D gas-dynamics simulations in intake ducts and manifolds interior was required to feed more complex 3D simulations 
employing professional software such as ANSYS FLUENT. Due to equations simplicity and low computational requirements, a 
parametric design was possible allowing the engine performance optimization. 
For that purpose, MATLAB language was used in combination with Godunov-Roe based finite volume theory, and thus 
introducing the unidimensional flow in ducts. This combined with a Wiebe law-governed cylinder, completes the whole engine 
model. 
Results were compared with professional 1D gas-dynamics software to check the model’s performance, concluding with an 
excellent wave phenomena approach despite the theory engaged simplicity. 
Keywords 
Fluid dynamics — Reciprocating engines — 1D simulation — Matlab 
1Applied thermo-fluid dynamics and propulsion department, Madrid. 
*Corresponding author: j.manzanero@alumnos.upm.es – j.manzanero1992@gmail.com 
Contents 
Introduction 1 
1 Methods 1 
1.1 Intake runner model . . . . . . . . . . . . . . . . . . . . . . 1 
1.2 Cylinder model . . . . . . . . . . . . . . . . . . . . . . . . . . 3 
1.3 Valve model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 
2 Results and Discussion 4 
2.1 Analysis of a complete cycle . . . . . . . . . . . . . . . . . 4 
2.2 Comparison with GT-Power . . . . . . . . . . . . . . . . . . 4 
2.3 Performance with crankshaft speed . . . . . . . . . . . . 4 
2.4 Performance with runner length . . . . . . . . . . . . . . . 4 
Introduction 
The target of this project is the enforcement of the engine 
model illustrated in figure 1. As can be seen in the mentioned 
figure, the model comprises the intake runner duct, the com-bustion 
chamber, a quasi-stationary valve model, and finally a 
0D exhaust model. 
The intake runner will be simulated using an unidimensional, 
adiabatic, and frictionless model, and this yields to Euler equa-tions 
of fluid dynamics. 
The combustion chamber as well, will be simulated as a tank 
which is feeded with air flowing through intake runner. Its 
volume changes according to the piston kinematic law, and 
once the valves are closed, a Wiebe heat model will be em-ployed 
to include a combustion phase. 
The valve model will act as a boundary condition for the in-take 
runner, and thus connecing it with the cylinder. 
Once the whole model is assembled, several cycles simula-tions 
are performed until solution converges and does not 
change from one cycle to another (with some error tolerance). 
When this cyclic convergence is reached, it will be possible 
to obtain all engine performance parameters such as power, 
volumetric efficiency, work or fuel consumption. 
1. Methods 
1.1 Intake runner model 
As worked out in the introduction, the intake manifold 
model will be governed with the Euler equations of fluid 
dynamics, which are formulated as follow:
1D Simulation of intake manifolds in single-cylinder reciprocating engine — 2/8 
ri(tn);ui(tn); pi(tn) ro(tn);uo(tn); po(tn) 
x1 x2    xM 
valve combustion chamber 
r(tn;xk);u(tn;xk); p(tn;xk) 
rg(tn);ug(tn); pg(tn) 
rc; pc;Tc;mc;Vc(q) 
pamb 
ramb 
pamb 
ramb 
Figure 1. Variables and components scheme. 
¶r 
¶t 
+ 
¶ (ru) 
¶ x 
= 0 (1) 
¶ (ru) 
¶t 
+ 
¶ (ru2+ p) 
¶ x 
= 0 (2) 
¶E 
¶t 
+ 
¶ (u[E + p]) 
¶ x 
= 0 (3) 
due to their characteristics, they are written in conservative 
form in variables ~U = fr;ru;Eg, allowing a finite volume 
scheme implementation aiding to include discontinuous solu-tions 
such as shock waves. 
This yields to a scheme known as the Godunov scheme and 
can be summarized with the following relation 
~Un+1 
i = ~Un 
i + 
Dtn 
Dxi 
 
~Fi1=2~Fi+1=2 
 
(4) 
where the intercell fluxes are computed using the approximated-state 
Roe flux, obtaining the Riemann problem solution with 
enough accuracy. 
This method is implemented in MATLAB language, obtaining 
the following function that obtains the flow solution in the 
next timestep. 
1 function [rhotubosig,utubosig,ptubosig]= 
2 GodunovRoe(rhotuboprev,utuboprev,ptuboprev, 
3 gamma,WM0,WM05,dt,dx) 
4 M=length(rhotuboprev); 
5 %Variable allocation 
6 Flux=zeros(3,M+1); 
7 tildeu=zeros(1,M-1); 
8 tildeH=zeros(1,M-1); 
9 tildea=zeros(1,M-1); 
10 tildelambda1=zeros(1,M-1); 
11 tildelambda2=zeros(1,M-1); 
12 tildelambda3=zeros(1,M-1); 
13 tildeK1=zeros(3,M-1); 
14 tildeK2=zeros(3,M-1); 
15 tildeK3=zeros(3,M-1); 
16 tildealpha1=zeros(1,M-1); 
17 tildealpha2=zeros(1,M-1); 
18 tildealpha3=zeros(1,M-1); 
19 
20 %Step 1: Boundary conditions 
21 Flux(:,1)=fixF(swapWU(WM0,gamma,+1)',gamma); 
22 Flux(:,M+1)=fixF(swapWU(WM05,gamma,+1)',gamma); 
23 
24 % Roe method starts ------- 
25 auxFlux(:,1)=fixF(swapWU([rhotuboprev(1), 
26 utuboprev(1),ptuboprev(1)],gamma,+1),gamma); 
27 %Step 2: Roe intercell coefficients 
28 %calculations 
29 H=gamma*ptuboprev(1)/((gamma-1)*rhotuboprev(1)) 
30 +0.5*utuboprev(1)ˆ2; 
31 
32 for i=1:M-1 
33 tildeu(i)=(sqrt(rhotuboprev(i))*utuboprev(i) 
34 +sqrt(rhotuboprev(i+1))*utuboprev(i+1))/ 
35 (sqrt(rhotuboprev(i))+ 
36 sqrt(rhotuboprev(i+1))); 
37 
38 tildeH(i)=sqrt(rhotuboprev(i))*H; 
39 H=gamma*ptuboprev(i+1)/((gamma-1)* 
40 rhotuboprev(i+1))+0.5*utuboprev(i+1)ˆ2; 
41 tildeH(i)=(tildeH(i)+sqrt(rhotuboprev(i+1)) 
42 *H)/ (sqrt(rhotuboprev(i))+ 
43 sqrt(rhotuboprev(i+1))); 
44 tildea(i)=sqrt((gamma-1)* 
45 (tildeH(i)-0.5*tildeu(i)ˆ2)); 
46 
47 %Eigenvalues calculation 
48 tildelambda1(i)=tildeu(i)-tildea(i); 
49 tildelambda2(i)=tildeu(i); 
50 tildelambda3(i)=tildeu(i)+tildea(i); 
51 
52 %Eigenvectors calculation 
53 tildeK1(:,i)=[1;tildelambda1(i); 
54 tildeH(i)-tildeu(i)*tildea(i)]; 
55 tildeK2(:,i)=[1;tildeu(i); 
56 0.5*tildeu(i)ˆ2]; 
57 tildeK3(:,i)=[1;tildelambda3(i); 
58 tildeH(i)+tildeu(i)*tildea(i)]; 
59 
60 %Alpha coefficient calculation 
61 Du1=rhotuboprev(i+1)-rhotuboprev(i); 
62 Du2=rhotuboprev(i+1)*utuboprev(i+1) 
63 -rhotuboprev(i)*utuboprev(i); 
64 Du3=(0.5*utuboprev(i+1)ˆ2* 
65 rhotuboprev(i+1)+ptuboprev(i+1)/
1D Simulation of intake manifolds in single-cylinder reciprocating engine — 3/8 
66 (gamma-1))-(0.5*utuboprev(i)ˆ2* 
67 rhotuboprev(i)+ptuboprev(i)/ 
68 (gamma-1)); 
69 
70 tildealpha2(i)=(gamma-1)/(tildea(i)ˆ2)*(Du1 
71 *(tildeH(i)-tildeu(i)ˆ2)+ 
72 tildeu(i)*Du2-Du3); 
73 tildealpha1(i)=1/(2*tildea(i))*(Du1* 
74 (tildeu(i)+tildea(i))- 
75 Du2-tildea(i)*tildealpha2(i)); 
76 tildealpha3(i)=Du1-(tildealpha1(i)+ 
77 tildealpha2(i)); 
78 
79 %Step 3: Roe flux assembly 
80 Flux(:,i+1)=0.5*auxFlux-0.5*(tildealpha1(i) 
81 *abs(tildelambda1(i))*tildeK1(:,i)+ 
82 tildealpha2(i)*abs(tildelambda2(i))* 
83 tildeK2(:,i)+ 
84 tildealpha3(i)*abs(tildelambda3(i))* 
85 tildeK3(:,i)); 
86 auxFlux(:,1)=fixF(swapWU([rhotuboprev(i+1), 
87 utuboprev(i+1),ptuboprev(i+1)],gamma,+1), 
88 gamma); 
89 Flux(:,i+1)=Flux(:,i+1)+auxFlux*0.5; 
90 end 
91 
92 %Step 4: Performing a step in Godunov scheme 
93 Wsig=Godunovcommander([rhotuboprev(1,:); 
94 utuboprev(1,:);ptuboprev(1,:)], 
95 Flux,dt,dx,gamma); 
96 rhotubosig(1,:)=Wsig(1,:); 
97 utubosig(1,:)=Wsig(2,:); 
98 ptubosig(1,:)=Wsig(3,:); 
99 
100 end 
Listing 1. Next solution calculation code according to 
Godunov-Roe algorithm 
1.2 Cylinder model 
In order to simulate the processes taking part inside the 
cylinder, a tank model will be employed, and thus, the conser-vation 
equations of fluid dynamics will be applied to calculate 
the changes in its variables. 
rc; pc;Tc;mc;Vc(q) 
Figure 2. 0D cylinder model scheme 
dmc 
dt 
= å 
i2enters 
m˙ i å 
i2exits 
m˙ i (5) 
dEc 
dt 
= å 
i2enters 
m˙ iHi å 
i2exits 
m˙ iHi pc 
dVc 
dt 
+ 
dQ 
dt 
(6) 
pc = rcRTc (7) 
Where the heat deposition law is given by the Wiebe expres-sion: 
Q(q) = QTOTAL 
Z q 
qs 
 
1ea 
 
qqs 
qd 
n 
dq (8) 
This yields to an algebraic equation using Euler method for 
differential equations. 
1.3 Valve model 
Implementing a boundary condition for the Euler equa-tions 
needs the discussion of the flow characteristics patterns, 
to choose the appropriate equations in every conditions. 
Depending if flow enters/exits the pipe, or if exceeds or not 
the sound speed delimitates the four different cases imple-mented 
in the code. This flow patterns are shown in figure 3, 
in which can be seen how the duct either uses the information 
contained in some characteristics or not. 
l1 
l3 
l2 
x 
t 
(a) Subsonic outlet 
l1 
l3 
l2 
t 
x 
(b) Supersonic outlet 
l2 
l3 
l1 
x 
t 
(c) Subsonic inlet 
l2 
l1 l3 
x 
t 
(d) Supersonic inlet 
Figure 3. Characteristics waves patterns. l1 = ua, 
l2 = u, l3 = u+a
1D Simulation of intake manifolds in single-cylinder reciprocating engine — 4/8 
2. Results and Discussion 
2.1 Analysis of a complete cycle 
The complete simulation of a 250cc single-cylinder en-gine 
yields to the following results during a complete cycle 
are shown in figure 4. 
In figure 4(a), the wave phenomena can be appreciated. When 
the valve opens, flow enters the cylinder, and thus pressure 
diminishes. Also in the first opening phases, as pressure in the 
pipe exceeds pressure in cylinder, flow enters into the chamber 
even if the piston goes upwards. 
The pressure minimuns bounces in the pipe’s open end chang-ing 
into a overpressure. That overpressure helps as well avoid-ing 
the flow exiting the cylinder when the piston starts going 
upwards again before the intake valve closes. 
After that, when the intake valve is closed, the pipe becomes 
a closed tube with the other end opened to ambient, and thus 
pressure oscillates in its interior with its natural frequency 
( f = a=4L). 
2.2 Comparison with GT-Power 
The mass flow profile obtained with this MATLAB simu-lation 
was compared with the one obtained with professional 
software for 1D engine calculation such as GT-Power. 
As this software contemplates heat transfer inside the runners 
and also friction, the mass flow curves obtained with MATLAB 
exceed in values the ones obtained with GT. 
2.3 Performance with crankshaft speed 
The engine studied consists in a MOTO3 class one, so that 
is called for high performance at high revs, maintaining a 
good behavior at lows an thus, allowing a high corner exit 
speed. 
That requirement forces the use of a short length runner pipe 
in order to take advantage of wave phenomena in a high speed 
range. That assures that the wave travelled as cylinder goes 
downwards has time enough to bounce in the open end and 
thus returning to the valve transformed into a high pressure 
pulse. 
In figure 7 results are shown and from then, the engine perfor-mance 
characteristics are worked out, summarised in 
table 1 
(a) Intake Mass flow curves 
(b) Pressure curves 
Figure 5. Results obtained with GT-Power 
Parameter Value 
Maximun volumetric efficiency 1.195 at 7600 rpm 
Maximun Torque 39.6 Nm at 7600 rpm 
Maximun Power 59.8 CV at 13400 rpm 
Table 1. Engine performance characteristics using a 300mm 
length runner. 
2.4 Performance with runner length 
As runner length is changed, the behavior of the engine is 
switched. Longer runners lowers maximum power and its cor-responding 
speed, while shorter ones allow obtaining higher 
values sacrificing power at low speeds. The best solution is 
for sure an intermediate state that maintains high level both at 
high and low speeds. 
Results are shown in figure 8 , confirming previous statements.
1D Simulation of intake manifolds in single-cylinder reciprocating engine — 5/8 
0.12 
0.1 
0.08 
0.06 
0.04 
0.02 
0 
−0.02 
0 90 180 270 360 450 540 630 720 
3 deg 
m˙ kg/s 
Gasto masico de entrada al cilindro 
(a) Intake Mass flow curves 
0.6 
0.4 
0.2 
0 
−0.2 
−0.4 
−0.6 
0 90 180 270 360 450 540 630 720 
3 deg 
p(3) bar 
Presiones en el tubo 
valvula punto medio exremo abierto 
(b) Pressure curves 
Figure 6. Results obtained with MATLAB
1D Simulation of intake manifolds in single-cylinder reciprocating engine — 6/8 
0.6 
0.4 
0.2 
0 
−0.2 
−0.4 
−0.6 
0 90 180 270 360 450 540 630 720 
3 deg 
p(3) bar 
Presiones en el tubo 
valvula punto medio exremo abierto 
(a) Intake runner pressure distribution (referred to an atmospheric 
gauge pressure) 
150 
100 
50 
0 
−50 
−100 
−150 
0 90 180 270 360 450 540 630 720 
3 deg 
u(3) m/s 
Velocidades en el tubo 
valvula punto medio exremo abierto 
(b) Intake runner velocity distribution 
9x 106 
8 
7 
6 
5 
4 
3 
2 
1 
0 
0 90 180 270 360 450 540 630 720 
3 deg 
pc(3) Pa 
Presion en el cilindro 
pc 
mass in 
mass out 
(c) Cylinder pressure and intake/exhaust mass flow 
0.18 
0.16 
0.14 
0.12 
0.1 
0.08 
0.06 
0.04 
0.02 
0 
0 90 180 270 360 450 540 630 720 
3 deg 
m˙ kg/s 
Gasto masico de entrada al cilindro 
(d) Intake mass flow 
0.7 
0.6 
0.5 
0.4 
0.3 
0.2 
0.1 
0 
0 90 180 270 360 450 540 630 720 
3 deg 
Mg 
Numero de Mach en la garganta 
(e) Mach number in the valve throat 
Figure 4. Simulation results accross a complete thermodynamic cycle. M=50 (Number of volumes), Dq = 0:05deg, L = 0:3m 
(Pipe length), n = 10:000rpm
1D Simulation of intake manifolds in single-cylinder reciprocating engine — 7/8 
1.3 
1.2 
1.1 
1 
0.9 
0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 
x 104 
0.8 
n, rpm 
2v 
(a) Volumetric efficiency 
40 
38 
36 
34 
32 
30 
0.6 0.8 1 1.2 1.4 
x 104 
28 
n, rpm 
T (Nm) 
(b) Torque 
60 
55 
50 
45 
40 
0.6 0.8 1 1.2 1.4 
x 104 
35 
n, rpm 
, CV 
˙W 
(c) Power 
185 
184 
ce, g/kWh (d) Fuel consumption 
183 
182 
181 
180 
0.6 0.8 1 1.2 1.4 
x 104 
179 
n, rpm 
20 
19 
18 
17 
16 
15 
0.6 0.8 1 1.2 1.4 
x 104 
14 
n, rpm 
pme, bar 
(e) Mean effective pressure 
0.6 
0.58 
0.56 
0.54 
0.52 
0.5 
0.48 
0.6 0.8 1 1.2 1.4 
x 104 
0.46 
n, rpm 
2i 
(f) Thermodynamic efficiency (dashed line refers to Otto cycle) 
Figure 7. Simulation results changing crankshaft speed. M = 20, Dq = 0:05deg, L = 300mm
1D Simulation of intake manifolds in single-cylinder reciprocating engine — 8/8 
1.4 
1.3 
1.2 
1.1 
1 
0.9 
0.8 
0.6 0.8 1 1.2 1.4 
x 104 
0.7 
n, rpm 
2v 
L=0.2 
L=0.25 
L=0.3 
L=0.35 
L=0.4 
(a) Volumetric efficiency 
40 
35 
30 
25 
0.6 0.8 1 1.2 1.4 
x 104 
20 
n, rpm 
T , Nm 
L=0.2 
L=0.25 
L=0.3 
L=0.35 
L=0.4 
(b) Torque 
65 
60 
55 
50 
45 
40 
35 
0.6 0.8 1 1.2 1.4 
x 104 
30 
n, rpm 
, CV 
˙W 
L=0.2 
L=0.25 
L=0.3 
L=0.35 
L=0.4 
(c) Power 
186 
185 
184 
183 
182 
181 
180 
0.6 0.8 1 1.2 1.4 
x 104 
179 
n, rpm 
ce (g/kWh) 
L=0.2 
L=0.25 
L=0.3 
L=0.35 
L=0.4 
(d) Fuel consumption 
20 
18 
16 
14 
0.6 0.8 1 1.2 1.4 
x 104 
12 
n, rpm 
pme, bar 
L=0.2 
L=0.25 
L=0.3 
L=0.35 
L=0.4 
(e) Mean effective pressure 
0.55 
0.5 
0.6 0.8 1 1.2 1.4 
x 104 
0.45 
n, rpm 
2i 
L=0.2 
L=0.25 
L=0.3 
L=0.35 
L=0.4 
(f) Thermodynamic efficiency (dashed line refers to Otto cycle) 
Figure 8. Simulation results changing crankshaft speed and intake horn length. M = 20, Dq = 0:05deg, L = 300mm

More Related Content

What's hot

L 32(nkd)(et) ((ee)nptel)
L 32(nkd)(et) ((ee)nptel)L 32(nkd)(et) ((ee)nptel)
L 32(nkd)(et) ((ee)nptel)
sairoopareddy
 
final poster
final posterfinal poster
final poster
Neal Woo
 
Dynamical systems
Dynamical systemsDynamical systems
Dynamical systems
Springer
 

What's hot (20)

L 32(nkd)(et) ((ee)nptel)
L 32(nkd)(et) ((ee)nptel)L 32(nkd)(et) ((ee)nptel)
L 32(nkd)(et) ((ee)nptel)
 
wave_equation
wave_equationwave_equation
wave_equation
 
Control digital: Tema 3. Análisis de sistemas discretos
Control digital: Tema 3. Análisis de sistemas discretos Control digital: Tema 3. Análisis de sistemas discretos
Control digital: Tema 3. Análisis de sistemas discretos
 
Example triple integral
Example triple integralExample triple integral
Example triple integral
 
Laplace equation
Laplace equationLaplace equation
Laplace equation
 
residue
residueresidue
residue
 
3 recursive bayesian estimation
3  recursive bayesian estimation3  recursive bayesian estimation
3 recursive bayesian estimation
 
Analytic dynamics
Analytic dynamicsAnalytic dynamics
Analytic dynamics
 
final poster
final posterfinal poster
final poster
 
Reduced order observers
Reduced order observersReduced order observers
Reduced order observers
 
Chap 2 discrete_time_signal_and_systems
Chap 2 discrete_time_signal_and_systemsChap 2 discrete_time_signal_and_systems
Chap 2 discrete_time_signal_and_systems
 
Unit 5: All
Unit 5: AllUnit 5: All
Unit 5: All
 
2 classical field theories
2 classical field theories2 classical field theories
2 classical field theories
 
Ultrasound lecture 1 post
Ultrasound lecture 1 postUltrasound lecture 1 post
Ultrasound lecture 1 post
 
Resolucao de-exercicios-cap 2 - franco-brunetti
Resolucao de-exercicios-cap 2 - franco-brunettiResolucao de-exercicios-cap 2 - franco-brunetti
Resolucao de-exercicios-cap 2 - franco-brunetti
 
METHOD OF JACOBI
METHOD OF JACOBIMETHOD OF JACOBI
METHOD OF JACOBI
 
Dynamical systems
Dynamical systemsDynamical systems
Dynamical systems
 
Sliding Mode Observers
Sliding Mode ObserversSliding Mode Observers
Sliding Mode Observers
 
Inner outer and spectral factorizations
Inner outer and spectral factorizationsInner outer and spectral factorizations
Inner outer and spectral factorizations
 
Sistemas de Control-Pedro Anato
Sistemas de Control-Pedro AnatoSistemas de Control-Pedro Anato
Sistemas de Control-Pedro Anato
 

Viewers also liked

Seminario Docking Molecular
Seminario Docking MolecularSeminario Docking Molecular
Seminario Docking Molecular
Juan José Casal
 
Molecular dynamics and Simulations
Molecular dynamics and SimulationsMolecular dynamics and Simulations
Molecular dynamics and Simulations
Abhilash Kannan
 
Fundamentos de Biología Celular y Molecular De Robertis
Fundamentos de Biología Celular y Molecular De RobertisFundamentos de Biología Celular y Molecular De Robertis
Fundamentos de Biología Celular y Molecular De Robertis
Jhon Bryant Toro Ponce
 

Viewers also liked (12)

Curriculum Juan Manzanero
Curriculum Juan ManzaneroCurriculum Juan Manzanero
Curriculum Juan Manzanero
 
Continuation methods
Continuation methodsContinuation methods
Continuation methods
 
Master in advanced catalysis and molecula modelling ud g - copia
Master in advanced catalysis and molecula  modelling ud g - copiaMaster in advanced catalysis and molecula  modelling ud g - copia
Master in advanced catalysis and molecula modelling ud g - copia
 
Introducción a la dinámica molecular de biomoléculas / Introduction to molecu...
Introducción a la dinámica molecular de biomoléculas / Introduction to molecu...Introducción a la dinámica molecular de biomoléculas / Introduction to molecu...
Introducción a la dinámica molecular de biomoléculas / Introduction to molecu...
 
Seminario Docking Molecular
Seminario Docking MolecularSeminario Docking Molecular
Seminario Docking Molecular
 
Modelling Spanish Intonation for Text-to-speech Applications. Tesis Doctoral,...
Modelling Spanish Intonation for Text-to-speech Applications. Tesis Doctoral,...Modelling Spanish Intonation for Text-to-speech Applications. Tesis Doctoral,...
Modelling Spanish Intonation for Text-to-speech Applications. Tesis Doctoral,...
 
Ferrari presentation company page
Ferrari presentation company pageFerrari presentation company page
Ferrari presentation company page
 
MOLECULAR MODELLING
MOLECULAR MODELLINGMOLECULAR MODELLING
MOLECULAR MODELLING
 
Molecular dynamics and Simulations
Molecular dynamics and SimulationsMolecular dynamics and Simulations
Molecular dynamics and Simulations
 
Molecular modelling
Molecular modelling Molecular modelling
Molecular modelling
 
Fundamentos de Biología Celular y Molecular De Robertis
Fundamentos de Biología Celular y Molecular De RobertisFundamentos de Biología Celular y Molecular De Robertis
Fundamentos de Biología Celular y Molecular De Robertis
 
Libro de biología celular
Libro de biología celularLibro de biología celular
Libro de biología celular
 

Similar to 1D Simulation of intake manifolds in single-cylinder reciprocating engine

Chp%3 a10.1007%2f978 3-642-55753-8-3
Chp%3 a10.1007%2f978 3-642-55753-8-3Chp%3 a10.1007%2f978 3-642-55753-8-3
Chp%3 a10.1007%2f978 3-642-55753-8-3
Sabina Czyż
 
Boiler doc 04 flowmetering
Boiler doc 04   flowmeteringBoiler doc 04   flowmetering
Boiler doc 04 flowmetering
Mars Tsani
 
AntennaProject_NathanJaniczek
AntennaProject_NathanJaniczekAntennaProject_NathanJaniczek
AntennaProject_NathanJaniczek
Nathan Janiczek
 
SvSDP 4113a_emsd3_20122016_article
SvSDP 4113a_emsd3_20122016_articleSvSDP 4113a_emsd3_20122016_article
SvSDP 4113a_emsd3_20122016_article
Rasmus Aagaard Hertz
 

Similar to 1D Simulation of intake manifolds in single-cylinder reciprocating engine (20)

Power2010_27048_Final
Power2010_27048_FinalPower2010_27048_Final
Power2010_27048_Final
 
Chp%3 a10.1007%2f978 3-642-55753-8-3
Chp%3 a10.1007%2f978 3-642-55753-8-3Chp%3 a10.1007%2f978 3-642-55753-8-3
Chp%3 a10.1007%2f978 3-642-55753-8-3
 
Nasa tech briefs ksk 11495, simplified model of duct flow
Nasa tech briefs ksk 11495, simplified model of duct flowNasa tech briefs ksk 11495, simplified model of duct flow
Nasa tech briefs ksk 11495, simplified model of duct flow
 
The Krylov-TPWL Method of Accelerating Reservoir Numerical Simulation
The Krylov-TPWL Method of Accelerating Reservoir Numerical SimulationThe Krylov-TPWL Method of Accelerating Reservoir Numerical Simulation
The Krylov-TPWL Method of Accelerating Reservoir Numerical Simulation
 
Pad semesteraufgabe finalreport
Pad semesteraufgabe finalreportPad semesteraufgabe finalreport
Pad semesteraufgabe finalreport
 
Boiler doc 04 flowmetering
Boiler doc 04   flowmeteringBoiler doc 04   flowmetering
Boiler doc 04 flowmetering
 
Rudder Control Analysis / Hydraulic Pump Analysis
Rudder Control Analysis / Hydraulic Pump AnalysisRudder Control Analysis / Hydraulic Pump Analysis
Rudder Control Analysis / Hydraulic Pump Analysis
 
Final Report 4_22_15
Final Report 4_22_15Final Report 4_22_15
Final Report 4_22_15
 
Micro blower design
Micro blower designMicro blower design
Micro blower design
 
Design and Control of a Hydraulic Servo System and Simulation Analysis
Design and Control of a Hydraulic Servo System and Simulation AnalysisDesign and Control of a Hydraulic Servo System and Simulation Analysis
Design and Control of a Hydraulic Servo System and Simulation Analysis
 
Use of Hydrogen in Fiat Lancia Petrol engine, Combustion Process and Determin...
Use of Hydrogen in Fiat Lancia Petrol engine, Combustion Process and Determin...Use of Hydrogen in Fiat Lancia Petrol engine, Combustion Process and Determin...
Use of Hydrogen in Fiat Lancia Petrol engine, Combustion Process and Determin...
 
K0737781
K0737781K0737781
K0737781
 
ACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docxACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docx
 
Lecture notes chem2002-lecture-5-2013-2014
Lecture notes chem2002-lecture-5-2013-2014Lecture notes chem2002-lecture-5-2013-2014
Lecture notes chem2002-lecture-5-2013-2014
 
AntennaProject_NathanJaniczek
AntennaProject_NathanJaniczekAntennaProject_NathanJaniczek
AntennaProject_NathanJaniczek
 
SvSDP 4113a_emsd3_20122016_article
SvSDP 4113a_emsd3_20122016_articleSvSDP 4113a_emsd3_20122016_article
SvSDP 4113a_emsd3_20122016_article
 
Axial fan design
Axial fan designAxial fan design
Axial fan design
 
Performance prediction of a turboshaft engine by using of one dimensional ana...
Performance prediction of a turboshaft engine by using of one dimensional ana...Performance prediction of a turboshaft engine by using of one dimensional ana...
Performance prediction of a turboshaft engine by using of one dimensional ana...
 
Design Considerations for Antisurge Valve Sizing
Design Considerations for Antisurge Valve SizingDesign Considerations for Antisurge Valve Sizing
Design Considerations for Antisurge Valve Sizing
 
IJRTER_KSK
IJRTER_KSKIJRTER_KSK
IJRTER_KSK
 

Recently uploaded

Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
gajnagarg
 
➥🔝 7737669865 🔝▻ narsinghpur Call-girls in Women Seeking Men 🔝narsinghpur🔝 ...
➥🔝 7737669865 🔝▻ narsinghpur Call-girls in Women Seeking Men  🔝narsinghpur🔝  ...➥🔝 7737669865 🔝▻ narsinghpur Call-girls in Women Seeking Men  🔝narsinghpur🔝  ...
➥🔝 7737669865 🔝▻ narsinghpur Call-girls in Women Seeking Men 🔝narsinghpur🔝 ...
nirzagarg
 
Call Girls Kadugodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Kadugodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Kadugodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Kadugodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
amitlee9823
 
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
amitlee9823
 
Just Call Vip call girls Amroha Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Amroha Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Amroha Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Amroha Escorts ☎️9352988975 Two shot with one girl (...
gajnagarg
 
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men 🔝Asansol🔝 Escorts...
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men  🔝Asansol🔝   Escorts...➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men  🔝Asansol🔝   Escorts...
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men 🔝Asansol🔝 Escorts...
amitlee9823
 
Top Rated Call Girls Mira Road : 9920725232 We offer Beautiful and sexy Call ...
Top Rated Call Girls Mira Road : 9920725232 We offer Beautiful and sexy Call ...Top Rated Call Girls Mira Road : 9920725232 We offer Beautiful and sexy Call ...
Top Rated Call Girls Mira Road : 9920725232 We offer Beautiful and sexy Call ...
amitlee9823
 
Somya Surve Escorts Service Bilaspur ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Somya Surve Escorts Service Bilaspur ❣️ 7014168258 ❣️ High Cost Unlimited Har...Somya Surve Escorts Service Bilaspur ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Somya Surve Escorts Service Bilaspur ❣️ 7014168258 ❣️ High Cost Unlimited Har...
nirzagarg
 
Vip Mumbai Call Girls Mira Road Call On 9920725232 With Body to body massage ...
Vip Mumbai Call Girls Mira Road Call On 9920725232 With Body to body massage ...Vip Mumbai Call Girls Mira Road Call On 9920725232 With Body to body massage ...
Vip Mumbai Call Girls Mira Road Call On 9920725232 With Body to body massage ...
amitlee9823
 
Top Rated Call Girls Vashi : 9920725232 We offer Beautiful and sexy Call Girl...
Top Rated Call Girls Vashi : 9920725232 We offer Beautiful and sexy Call Girl...Top Rated Call Girls Vashi : 9920725232 We offer Beautiful and sexy Call Girl...
Top Rated Call Girls Vashi : 9920725232 We offer Beautiful and sexy Call Girl...
amitlee9823
 
ELECTRICITÉ TMT 55.pdf electrick diagram manitout
ELECTRICITÉ TMT 55.pdf electrick diagram manitoutELECTRICITÉ TMT 55.pdf electrick diagram manitout
ELECTRICITÉ TMT 55.pdf electrick diagram manitout
ssjews46
 
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
nirzagarg
 
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
amitlee9823
 

Recently uploaded (20)

Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
Just Call Vip call girls Ankleshwar Escorts ☎️9352988975 Two shot with one gi...
 
➥🔝 7737669865 🔝▻ narsinghpur Call-girls in Women Seeking Men 🔝narsinghpur🔝 ...
➥🔝 7737669865 🔝▻ narsinghpur Call-girls in Women Seeking Men  🔝narsinghpur🔝  ...➥🔝 7737669865 🔝▻ narsinghpur Call-girls in Women Seeking Men  🔝narsinghpur🔝  ...
➥🔝 7737669865 🔝▻ narsinghpur Call-girls in Women Seeking Men 🔝narsinghpur🔝 ...
 
Muslim Call Girls Churchgate WhatsApp +91-9930687706, Best Service
Muslim Call Girls Churchgate WhatsApp +91-9930687706, Best ServiceMuslim Call Girls Churchgate WhatsApp +91-9930687706, Best Service
Muslim Call Girls Churchgate WhatsApp +91-9930687706, Best Service
 
Call Girls Kadugodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Kadugodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Kadugodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Kadugodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
Top Rated Call Girls South Mumbai : 9920725232 We offer Beautiful and sexy Ca...
 
(ISHITA) Call Girls Service Jammu Call Now 8617697112 Jammu Escorts 24x7
(ISHITA) Call Girls Service Jammu Call Now 8617697112 Jammu Escorts 24x7(ISHITA) Call Girls Service Jammu Call Now 8617697112 Jammu Escorts 24x7
(ISHITA) Call Girls Service Jammu Call Now 8617697112 Jammu Escorts 24x7
 
What Does The Engine Malfunction Reduced Power Message Mean For Your BMW X5
What Does The Engine Malfunction Reduced Power Message Mean For Your BMW X5What Does The Engine Malfunction Reduced Power Message Mean For Your BMW X5
What Does The Engine Malfunction Reduced Power Message Mean For Your BMW X5
 
Just Call Vip call girls Amroha Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Amroha Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Amroha Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Amroha Escorts ☎️9352988975 Two shot with one girl (...
 
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men 🔝Asansol🔝 Escorts...
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men  🔝Asansol🔝   Escorts...➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men  🔝Asansol🔝   Escorts...
➥🔝 7737669865 🔝▻ Asansol Call-girls in Women Seeking Men 🔝Asansol🔝 Escorts...
 
Top Rated Call Girls Mira Road : 9920725232 We offer Beautiful and sexy Call ...
Top Rated Call Girls Mira Road : 9920725232 We offer Beautiful and sexy Call ...Top Rated Call Girls Mira Road : 9920725232 We offer Beautiful and sexy Call ...
Top Rated Call Girls Mira Road : 9920725232 We offer Beautiful and sexy Call ...
 
(INDIRA) Call Girl Nashik Call Now 8617697112 Nashik Escorts 24x7
(INDIRA) Call Girl Nashik Call Now 8617697112 Nashik Escorts 24x7(INDIRA) Call Girl Nashik Call Now 8617697112 Nashik Escorts 24x7
(INDIRA) Call Girl Nashik Call Now 8617697112 Nashik Escorts 24x7
 
BOOK FARIDABAD CALL GIRL(VIP Sunny Leone) @8168257667 BOOK 24/7
BOOK FARIDABAD CALL GIRL(VIP Sunny Leone) @8168257667 BOOK  24/7BOOK FARIDABAD CALL GIRL(VIP Sunny Leone) @8168257667 BOOK  24/7
BOOK FARIDABAD CALL GIRL(VIP Sunny Leone) @8168257667 BOOK 24/7
 
Somya Surve Escorts Service Bilaspur ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Somya Surve Escorts Service Bilaspur ❣️ 7014168258 ❣️ High Cost Unlimited Har...Somya Surve Escorts Service Bilaspur ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Somya Surve Escorts Service Bilaspur ❣️ 7014168258 ❣️ High Cost Unlimited Har...
 
Vip Mumbai Call Girls Mira Road Call On 9920725232 With Body to body massage ...
Vip Mumbai Call Girls Mira Road Call On 9920725232 With Body to body massage ...Vip Mumbai Call Girls Mira Road Call On 9920725232 With Body to body massage ...
Vip Mumbai Call Girls Mira Road Call On 9920725232 With Body to body massage ...
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
 
Is Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's Why
Is Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's WhyIs Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's Why
Is Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's Why
 
Top Rated Call Girls Vashi : 9920725232 We offer Beautiful and sexy Call Girl...
Top Rated Call Girls Vashi : 9920725232 We offer Beautiful and sexy Call Girl...Top Rated Call Girls Vashi : 9920725232 We offer Beautiful and sexy Call Girl...
Top Rated Call Girls Vashi : 9920725232 We offer Beautiful and sexy Call Girl...
 
ELECTRICITÉ TMT 55.pdf electrick diagram manitout
ELECTRICITÉ TMT 55.pdf electrick diagram manitoutELECTRICITÉ TMT 55.pdf electrick diagram manitout
ELECTRICITÉ TMT 55.pdf electrick diagram manitout
 
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
Rekha Agarkar Escorts Service Kollam ❣️ 7014168258 ❣️ High Cost Unlimited Har...
 
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Madiwala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
 

1D Simulation of intake manifolds in single-cylinder reciprocating engine

  • 1. End of career project summary Politecnica de Madrid university 1D Simulation of intake manifolds in single-cylinder reciprocating engine Juan Manzanero*, Juan Ramo´n Arias1, A´ ngel Vela´zquez1 Abstract In the scenario of the Motostudent championship, there was the need of the 1D gas dynamics code development, in order to achieve enough detailed understanding of the complex processes taking part in a complete thermodynamic cycle inside a reciprocating engine. 1D gas-dynamics simulations in intake ducts and manifolds interior was required to feed more complex 3D simulations employing professional software such as ANSYS FLUENT. Due to equations simplicity and low computational requirements, a parametric design was possible allowing the engine performance optimization. For that purpose, MATLAB language was used in combination with Godunov-Roe based finite volume theory, and thus introducing the unidimensional flow in ducts. This combined with a Wiebe law-governed cylinder, completes the whole engine model. Results were compared with professional 1D gas-dynamics software to check the model’s performance, concluding with an excellent wave phenomena approach despite the theory engaged simplicity. Keywords Fluid dynamics — Reciprocating engines — 1D simulation — Matlab 1Applied thermo-fluid dynamics and propulsion department, Madrid. *Corresponding author: j.manzanero@alumnos.upm.es – j.manzanero1992@gmail.com Contents Introduction 1 1 Methods 1 1.1 Intake runner model . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Cylinder model . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Valve model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 Results and Discussion 4 2.1 Analysis of a complete cycle . . . . . . . . . . . . . . . . . 4 2.2 Comparison with GT-Power . . . . . . . . . . . . . . . . . . 4 2.3 Performance with crankshaft speed . . . . . . . . . . . . 4 2.4 Performance with runner length . . . . . . . . . . . . . . . 4 Introduction The target of this project is the enforcement of the engine model illustrated in figure 1. As can be seen in the mentioned figure, the model comprises the intake runner duct, the com-bustion chamber, a quasi-stationary valve model, and finally a 0D exhaust model. The intake runner will be simulated using an unidimensional, adiabatic, and frictionless model, and this yields to Euler equa-tions of fluid dynamics. The combustion chamber as well, will be simulated as a tank which is feeded with air flowing through intake runner. Its volume changes according to the piston kinematic law, and once the valves are closed, a Wiebe heat model will be em-ployed to include a combustion phase. The valve model will act as a boundary condition for the in-take runner, and thus connecing it with the cylinder. Once the whole model is assembled, several cycles simula-tions are performed until solution converges and does not change from one cycle to another (with some error tolerance). When this cyclic convergence is reached, it will be possible to obtain all engine performance parameters such as power, volumetric efficiency, work or fuel consumption. 1. Methods 1.1 Intake runner model As worked out in the introduction, the intake manifold model will be governed with the Euler equations of fluid dynamics, which are formulated as follow:
  • 2. 1D Simulation of intake manifolds in single-cylinder reciprocating engine — 2/8 ri(tn);ui(tn); pi(tn) ro(tn);uo(tn); po(tn) x1 x2 xM valve combustion chamber r(tn;xk);u(tn;xk); p(tn;xk) rg(tn);ug(tn); pg(tn) rc; pc;Tc;mc;Vc(q) pamb ramb pamb ramb Figure 1. Variables and components scheme. ¶r ¶t + ¶ (ru) ¶ x = 0 (1) ¶ (ru) ¶t + ¶ (ru2+ p) ¶ x = 0 (2) ¶E ¶t + ¶ (u[E + p]) ¶ x = 0 (3) due to their characteristics, they are written in conservative form in variables ~U = fr;ru;Eg, allowing a finite volume scheme implementation aiding to include discontinuous solu-tions such as shock waves. This yields to a scheme known as the Godunov scheme and can be summarized with the following relation ~Un+1 i = ~Un i + Dtn Dxi ~Fi1=2~Fi+1=2 (4) where the intercell fluxes are computed using the approximated-state Roe flux, obtaining the Riemann problem solution with enough accuracy. This method is implemented in MATLAB language, obtaining the following function that obtains the flow solution in the next timestep. 1 function [rhotubosig,utubosig,ptubosig]= 2 GodunovRoe(rhotuboprev,utuboprev,ptuboprev, 3 gamma,WM0,WM05,dt,dx) 4 M=length(rhotuboprev); 5 %Variable allocation 6 Flux=zeros(3,M+1); 7 tildeu=zeros(1,M-1); 8 tildeH=zeros(1,M-1); 9 tildea=zeros(1,M-1); 10 tildelambda1=zeros(1,M-1); 11 tildelambda2=zeros(1,M-1); 12 tildelambda3=zeros(1,M-1); 13 tildeK1=zeros(3,M-1); 14 tildeK2=zeros(3,M-1); 15 tildeK3=zeros(3,M-1); 16 tildealpha1=zeros(1,M-1); 17 tildealpha2=zeros(1,M-1); 18 tildealpha3=zeros(1,M-1); 19 20 %Step 1: Boundary conditions 21 Flux(:,1)=fixF(swapWU(WM0,gamma,+1)',gamma); 22 Flux(:,M+1)=fixF(swapWU(WM05,gamma,+1)',gamma); 23 24 % Roe method starts ------- 25 auxFlux(:,1)=fixF(swapWU([rhotuboprev(1), 26 utuboprev(1),ptuboprev(1)],gamma,+1),gamma); 27 %Step 2: Roe intercell coefficients 28 %calculations 29 H=gamma*ptuboprev(1)/((gamma-1)*rhotuboprev(1)) 30 +0.5*utuboprev(1)ˆ2; 31 32 for i=1:M-1 33 tildeu(i)=(sqrt(rhotuboprev(i))*utuboprev(i) 34 +sqrt(rhotuboprev(i+1))*utuboprev(i+1))/ 35 (sqrt(rhotuboprev(i))+ 36 sqrt(rhotuboprev(i+1))); 37 38 tildeH(i)=sqrt(rhotuboprev(i))*H; 39 H=gamma*ptuboprev(i+1)/((gamma-1)* 40 rhotuboprev(i+1))+0.5*utuboprev(i+1)ˆ2; 41 tildeH(i)=(tildeH(i)+sqrt(rhotuboprev(i+1)) 42 *H)/ (sqrt(rhotuboprev(i))+ 43 sqrt(rhotuboprev(i+1))); 44 tildea(i)=sqrt((gamma-1)* 45 (tildeH(i)-0.5*tildeu(i)ˆ2)); 46 47 %Eigenvalues calculation 48 tildelambda1(i)=tildeu(i)-tildea(i); 49 tildelambda2(i)=tildeu(i); 50 tildelambda3(i)=tildeu(i)+tildea(i); 51 52 %Eigenvectors calculation 53 tildeK1(:,i)=[1;tildelambda1(i); 54 tildeH(i)-tildeu(i)*tildea(i)]; 55 tildeK2(:,i)=[1;tildeu(i); 56 0.5*tildeu(i)ˆ2]; 57 tildeK3(:,i)=[1;tildelambda3(i); 58 tildeH(i)+tildeu(i)*tildea(i)]; 59 60 %Alpha coefficient calculation 61 Du1=rhotuboprev(i+1)-rhotuboprev(i); 62 Du2=rhotuboprev(i+1)*utuboprev(i+1) 63 -rhotuboprev(i)*utuboprev(i); 64 Du3=(0.5*utuboprev(i+1)ˆ2* 65 rhotuboprev(i+1)+ptuboprev(i+1)/
  • 3. 1D Simulation of intake manifolds in single-cylinder reciprocating engine — 3/8 66 (gamma-1))-(0.5*utuboprev(i)ˆ2* 67 rhotuboprev(i)+ptuboprev(i)/ 68 (gamma-1)); 69 70 tildealpha2(i)=(gamma-1)/(tildea(i)ˆ2)*(Du1 71 *(tildeH(i)-tildeu(i)ˆ2)+ 72 tildeu(i)*Du2-Du3); 73 tildealpha1(i)=1/(2*tildea(i))*(Du1* 74 (tildeu(i)+tildea(i))- 75 Du2-tildea(i)*tildealpha2(i)); 76 tildealpha3(i)=Du1-(tildealpha1(i)+ 77 tildealpha2(i)); 78 79 %Step 3: Roe flux assembly 80 Flux(:,i+1)=0.5*auxFlux-0.5*(tildealpha1(i) 81 *abs(tildelambda1(i))*tildeK1(:,i)+ 82 tildealpha2(i)*abs(tildelambda2(i))* 83 tildeK2(:,i)+ 84 tildealpha3(i)*abs(tildelambda3(i))* 85 tildeK3(:,i)); 86 auxFlux(:,1)=fixF(swapWU([rhotuboprev(i+1), 87 utuboprev(i+1),ptuboprev(i+1)],gamma,+1), 88 gamma); 89 Flux(:,i+1)=Flux(:,i+1)+auxFlux*0.5; 90 end 91 92 %Step 4: Performing a step in Godunov scheme 93 Wsig=Godunovcommander([rhotuboprev(1,:); 94 utuboprev(1,:);ptuboprev(1,:)], 95 Flux,dt,dx,gamma); 96 rhotubosig(1,:)=Wsig(1,:); 97 utubosig(1,:)=Wsig(2,:); 98 ptubosig(1,:)=Wsig(3,:); 99 100 end Listing 1. Next solution calculation code according to Godunov-Roe algorithm 1.2 Cylinder model In order to simulate the processes taking part inside the cylinder, a tank model will be employed, and thus, the conser-vation equations of fluid dynamics will be applied to calculate the changes in its variables. rc; pc;Tc;mc;Vc(q) Figure 2. 0D cylinder model scheme dmc dt = å i2enters m˙ i å i2exits m˙ i (5) dEc dt = å i2enters m˙ iHi å i2exits m˙ iHi pc dVc dt + dQ dt (6) pc = rcRTc (7) Where the heat deposition law is given by the Wiebe expres-sion: Q(q) = QTOTAL Z q qs 1ea qqs qd n dq (8) This yields to an algebraic equation using Euler method for differential equations. 1.3 Valve model Implementing a boundary condition for the Euler equa-tions needs the discussion of the flow characteristics patterns, to choose the appropriate equations in every conditions. Depending if flow enters/exits the pipe, or if exceeds or not the sound speed delimitates the four different cases imple-mented in the code. This flow patterns are shown in figure 3, in which can be seen how the duct either uses the information contained in some characteristics or not. l1 l3 l2 x t (a) Subsonic outlet l1 l3 l2 t x (b) Supersonic outlet l2 l3 l1 x t (c) Subsonic inlet l2 l1 l3 x t (d) Supersonic inlet Figure 3. Characteristics waves patterns. l1 = ua, l2 = u, l3 = u+a
  • 4. 1D Simulation of intake manifolds in single-cylinder reciprocating engine — 4/8 2. Results and Discussion 2.1 Analysis of a complete cycle The complete simulation of a 250cc single-cylinder en-gine yields to the following results during a complete cycle are shown in figure 4. In figure 4(a), the wave phenomena can be appreciated. When the valve opens, flow enters the cylinder, and thus pressure diminishes. Also in the first opening phases, as pressure in the pipe exceeds pressure in cylinder, flow enters into the chamber even if the piston goes upwards. The pressure minimuns bounces in the pipe’s open end chang-ing into a overpressure. That overpressure helps as well avoid-ing the flow exiting the cylinder when the piston starts going upwards again before the intake valve closes. After that, when the intake valve is closed, the pipe becomes a closed tube with the other end opened to ambient, and thus pressure oscillates in its interior with its natural frequency ( f = a=4L). 2.2 Comparison with GT-Power The mass flow profile obtained with this MATLAB simu-lation was compared with the one obtained with professional software for 1D engine calculation such as GT-Power. As this software contemplates heat transfer inside the runners and also friction, the mass flow curves obtained with MATLAB exceed in values the ones obtained with GT. 2.3 Performance with crankshaft speed The engine studied consists in a MOTO3 class one, so that is called for high performance at high revs, maintaining a good behavior at lows an thus, allowing a high corner exit speed. That requirement forces the use of a short length runner pipe in order to take advantage of wave phenomena in a high speed range. That assures that the wave travelled as cylinder goes downwards has time enough to bounce in the open end and thus returning to the valve transformed into a high pressure pulse. In figure 7 results are shown and from then, the engine perfor-mance characteristics are worked out, summarised in table 1 (a) Intake Mass flow curves (b) Pressure curves Figure 5. Results obtained with GT-Power Parameter Value Maximun volumetric efficiency 1.195 at 7600 rpm Maximun Torque 39.6 Nm at 7600 rpm Maximun Power 59.8 CV at 13400 rpm Table 1. Engine performance characteristics using a 300mm length runner. 2.4 Performance with runner length As runner length is changed, the behavior of the engine is switched. Longer runners lowers maximum power and its cor-responding speed, while shorter ones allow obtaining higher values sacrificing power at low speeds. The best solution is for sure an intermediate state that maintains high level both at high and low speeds. Results are shown in figure 8 , confirming previous statements.
  • 5. 1D Simulation of intake manifolds in single-cylinder reciprocating engine — 5/8 0.12 0.1 0.08 0.06 0.04 0.02 0 −0.02 0 90 180 270 360 450 540 630 720 3 deg m˙ kg/s Gasto masico de entrada al cilindro (a) Intake Mass flow curves 0.6 0.4 0.2 0 −0.2 −0.4 −0.6 0 90 180 270 360 450 540 630 720 3 deg p(3) bar Presiones en el tubo valvula punto medio exremo abierto (b) Pressure curves Figure 6. Results obtained with MATLAB
  • 6. 1D Simulation of intake manifolds in single-cylinder reciprocating engine — 6/8 0.6 0.4 0.2 0 −0.2 −0.4 −0.6 0 90 180 270 360 450 540 630 720 3 deg p(3) bar Presiones en el tubo valvula punto medio exremo abierto (a) Intake runner pressure distribution (referred to an atmospheric gauge pressure) 150 100 50 0 −50 −100 −150 0 90 180 270 360 450 540 630 720 3 deg u(3) m/s Velocidades en el tubo valvula punto medio exremo abierto (b) Intake runner velocity distribution 9x 106 8 7 6 5 4 3 2 1 0 0 90 180 270 360 450 540 630 720 3 deg pc(3) Pa Presion en el cilindro pc mass in mass out (c) Cylinder pressure and intake/exhaust mass flow 0.18 0.16 0.14 0.12 0.1 0.08 0.06 0.04 0.02 0 0 90 180 270 360 450 540 630 720 3 deg m˙ kg/s Gasto masico de entrada al cilindro (d) Intake mass flow 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 90 180 270 360 450 540 630 720 3 deg Mg Numero de Mach en la garganta (e) Mach number in the valve throat Figure 4. Simulation results accross a complete thermodynamic cycle. M=50 (Number of volumes), Dq = 0:05deg, L = 0:3m (Pipe length), n = 10:000rpm
  • 7. 1D Simulation of intake manifolds in single-cylinder reciprocating engine — 7/8 1.3 1.2 1.1 1 0.9 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 x 104 0.8 n, rpm 2v (a) Volumetric efficiency 40 38 36 34 32 30 0.6 0.8 1 1.2 1.4 x 104 28 n, rpm T (Nm) (b) Torque 60 55 50 45 40 0.6 0.8 1 1.2 1.4 x 104 35 n, rpm , CV ˙W (c) Power 185 184 ce, g/kWh (d) Fuel consumption 183 182 181 180 0.6 0.8 1 1.2 1.4 x 104 179 n, rpm 20 19 18 17 16 15 0.6 0.8 1 1.2 1.4 x 104 14 n, rpm pme, bar (e) Mean effective pressure 0.6 0.58 0.56 0.54 0.52 0.5 0.48 0.6 0.8 1 1.2 1.4 x 104 0.46 n, rpm 2i (f) Thermodynamic efficiency (dashed line refers to Otto cycle) Figure 7. Simulation results changing crankshaft speed. M = 20, Dq = 0:05deg, L = 300mm
  • 8. 1D Simulation of intake manifolds in single-cylinder reciprocating engine — 8/8 1.4 1.3 1.2 1.1 1 0.9 0.8 0.6 0.8 1 1.2 1.4 x 104 0.7 n, rpm 2v L=0.2 L=0.25 L=0.3 L=0.35 L=0.4 (a) Volumetric efficiency 40 35 30 25 0.6 0.8 1 1.2 1.4 x 104 20 n, rpm T , Nm L=0.2 L=0.25 L=0.3 L=0.35 L=0.4 (b) Torque 65 60 55 50 45 40 35 0.6 0.8 1 1.2 1.4 x 104 30 n, rpm , CV ˙W L=0.2 L=0.25 L=0.3 L=0.35 L=0.4 (c) Power 186 185 184 183 182 181 180 0.6 0.8 1 1.2 1.4 x 104 179 n, rpm ce (g/kWh) L=0.2 L=0.25 L=0.3 L=0.35 L=0.4 (d) Fuel consumption 20 18 16 14 0.6 0.8 1 1.2 1.4 x 104 12 n, rpm pme, bar L=0.2 L=0.25 L=0.3 L=0.35 L=0.4 (e) Mean effective pressure 0.55 0.5 0.6 0.8 1 1.2 1.4 x 104 0.45 n, rpm 2i L=0.2 L=0.25 L=0.3 L=0.35 L=0.4 (f) Thermodynamic efficiency (dashed line refers to Otto cycle) Figure 8. Simulation results changing crankshaft speed and intake horn length. M = 20, Dq = 0:05deg, L = 300mm