MEG 405 · Principles of Automotive Engineering
Our notes
3 min readWhy computers
Engine processes are complex (variable properties, heat transfer, unsteady flow, combustion chemistry). Computers let engineers test ideas cheaply before building hardware, analyse test data quickly, and calibrate ECUs.
Levels of engine modelling
- Cycle calculations: air-standard and fuel-air cycles stepped through by computer (easy in a spreadsheet, Python or MATLAB).
- Zero-dimensional (thermodynamic) models: the cylinder treated as one zone (or two: burnt and unburnt), with a Wiebe function for the burn rate and a heat transfer correlation (for example Woschni's). They predict pressure against crank angle, work and efficiency.
- One-dimensional gas dynamics: waves in intake and exhaust pipes, for tuning manifolds and turbochargers (commercial codes such as GT-Power, Ricardo WAVE, AVL BOOST; open-source tools exist for study).
- Three-dimensional CFD (computational fluid dynamics): in-cylinder air motion, fuel sprays and combustion (for example ANSYS Fluent, CONVERGE, OpenFOAM). Very detailed, very costly in computing time.
Example: a stepwise compression calculation
Divide the compression stroke into small crank-angle steps. Volume from the slider-crank geometry:
V(θ) = V_c + (πD²/4)[l + a − a cos θ − √(l² − a² sin² θ)], where a is the crank radius (half the stroke) and l the connecting rod length.
For each step, isentropic compression gives p₂ = p₁ (V₁/V₂)^γ. Summing −p dV over the steps gives the compression work; adding a heat release curve and repeating for expansion gives the whole cycle.
Check: at θ = 0 (TDC) the square root equals l and V = V_c ✓; at θ = 180° (BDC) it gives V_c + (πD²/4)(2a) = V_c + V_s ✓.
The Wiebe function
Mass fraction burned: x_b = 1 − exp[−a((θ − θ₀)/Δθ)^(m+1)], with typical a = 5, m = 2, θ₀ the start and Δθ the burn duration. With a = 5, at the end of the burn (θ − θ₀ = Δθ) x_b = 1 − e^(−5) ≈ 0.993, so 99.3% has burned ✓.
Analysing test data
- Logging pressure, crank angle, speed, torque, fuel and air flow with data acquisition systems.
- Calculating ip from the pressure trace, heat release rate (from the first law), mass fraction burned and combustion stability (coefficient of variation of imep; above about 5% drivers notice rough running).
- Producing performance curves and fuel maps automatically.
Design and calibration
- CAD (computer-aided design) for engine parts; FEA (finite element analysis) for stresses and temperatures in pistons, heads and crankshafts; CAM for machining (MEG 403).
- Optimisation: searching valve timing, compression ratio or injection settings for best efficiency within emission limits.
- ECU calibration tools adjust maps on a running engine.
- Design of experiments (DoE) cuts the number of tests needed.
Limits
Models are only as good as their inputs and assumptions; they must be validated against measured data. Use them to compare options, then confirm on a test bed.
A student project idea
Build a spreadsheet or Python model of the Otto cycle with variable specific heats, then compare its efficiency with the air-standard value for r = 6 to 12, and with published engine data.
Exams usually ask
- Describe the levels of engine modelling and their uses.
- Outline a computer programme to calculate the p-V diagram of an engine cycle.
- Explain how computers are used in engine testing and calibration.
Common mistake
Trusting simulation results without checking them. Always validate a model with measurements or a simple hand calculation.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Computational fluid dynamics
(opens en.wikipedia.org in a new tab)
Wikipedia, Computational fluid dynamics, CC BY-SA 4.0 · licence
-
Finite element method
(opens en.wikipedia.org in a new tab)
Wikipedia, Finite element method, CC BY-SA 4.0 · licence
-
Engine test stand
(opens en.wikipedia.org in a new tab)
Wikipedia, Engine test stand, CC BY-SA 4.0 · licence
Watch
-
The Easiest Way to Perform Full-Cycle Diesel Engine CFD Simulation with CONVERGE
17 min · ≈ 77 MB · about ₦43
(opens youtube.com in a new tab)
-
AVL FIRE M – Made For Understanding Internal Combustion Engines
16 min · ≈ 72 MB · about ₦40
(opens youtube.com in a new tab)
-
1D Analysis for Marine Application (Modelling of Ship in GT Suite for Evaluation of Performance.....
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Advanced IC Engine Simulations Workshop | Skill-Lync
44 min · ≈ 198 MB · about ₦111
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.