Skip to main content Skip to navigation
Throughout the 2021-22 academic year, we will be prioritising face to face teaching as part of a blended learning approach that builds on the lessons learned over the course of the Coronavirus pandemic. Teaching will vary between online and on-campus delivery through the year, and you should read guidance from the academic department for details of how this will work for a particular module. You can find out more about the University’s overall response to Coronavirus at:

PX285-15 Hamiltonian and Fluid Mechanics

Undergraduate Level 2
Module leader
Tony Arber
Credit value
Module duration
20 weeks
100% exam
Study location
University of Warwick main campus, Coventry
Introductory description

This module looks at the Hamiltonian and Lagrangian formulation of classical mechanics and introduces the mechanics of fluids. Lagrangian and Hamiltonian mechanics have provided the natural framework for several important developments in theoretical physics including quantum mechanics.

The field of fluids is one of the richest and most easily appreciated in physics. Tidal waves, cloud formation and the weather generally are some of the more spectacular phenomena encountered in fluids. The module establishes the basic equations of motion for a fluid - the Navier-Stokes equations - and shows that in many cases they can yield simple and intuitively appealing explanations of fluid flows.

Module web page

Module aims

To revise the key elements of Newtonian mechanics and use this to develop Lagrangian and Hamiltonian mechanics. The module should also explain why PDEs (with associated boundary conditions) are an appropriate model for fluids. The module should prepares students for future applied mathematics modules.

Outline syllabus

This is an indicative module outline only to give an indication of the sort of topics that may be covered. Actual sessions held may differ.

Hamiltonian and Lagrangian Mechanics: Analogy with optics and constructive interference; principle of least action; examples of Euler Lagrange Equations. 1-D trajectory, T-V case, worked examples; T+V as a constant of the motion; multiple coordinates with examples. Generalised coordinates and canonical momenta. Polar coordinates; angular momentum; moment of inertia of rigid bodies; treatment of constraints. Symmetry and Conservation Laws. Hamiltonian formulation. Hamilton's equations, phase space, examples. Normal Modes and Small Oscillations. Inertial and stiffness matrices, diatomic and triatomic molecules.

Fluids: Materials which do not support shear. Idea of a Newtonian fluid. Plausibility of τ = μ ∂u/∂y from assumption of a relaxation time for stress. Hydrostatics, forces due to pressure and gravity. Hydrodynamics: acceleration, continuity and incompressibility. Euler equation. Streamlines: Integrating Euler for steady flow along a streamline to give Bernoulli. Energy considerations. Applications of Bernoulli: flux through a hole, Pitot-static tube, aerofoil, waves on shallow water. Hydrodynamics of Viscous Flow: Forces due to viscosity, Navier-Stokes equation. Poiseuille formula for laminar flow between plates. Turbulence, role of Reynolds number. Physical interpretation of Re as Inertial forces/Viscous forces. Irrotational Flow: Definition of vorticity and circulation, Kelvin's circulation theorem. Uniform flow, flow past a cylinder. Lift on thin aerofoil, as example for Magnus Effect. Circulation around a cylinder. Vortices. Advection of unlike vortices. The vortex ring. Circling of like vortices. Vortices at edges of wings. Real Flows: Idea of boundary layer; Boundary layer separation and drag crisis.

Learning outcomes

By the end of the module, students should be able to:

  • Derive and solve the Euler-Lagrange equations for simple models
  • Construct the Hamiltonian function, and derive and solve Hamilton's equations for simple systems
  • Explain the role of (and relations between) constraints, conserved quantities and generalised coordinates
  • Use dimensional analysis to analyse fluid flows. In particular, students should appreciate the relevance of the Reynolds number and the boundary layer concept.
  • Be familiar with the equations of motion for incompressible fluids (the Navier- Stokes equations) and associated boundary conditions
  • Simplify the equations of motion in the case of incompressible irrotational flow and solve them for simple cases including vortices
Indicative reading list

H Goldstein, Classical Mechanics; A helpful reference for the beginning of the module is: Feynmann, Leighton & Sands, The Feynmann Lectures on Physics, Vol 2, Chapter 19
LD Landau and EM Lifshitz, Fluid Mechanics, Pergamon; DJ Tritton, Physical Fluid Dynamics, OUP; TE Faber Fluid Dynamics for Physicists, CUP

View reading list on Talis Aspire


The Hamiltonian and Lagrangian formulations of mechanics use ideas from mathematics - variational methods and symplectic structures, while the study of fluids has always crossed the boundaries between mathematics, physics and engineering. This module, taken by large numbers of physics, maths and maths/physics students, introduces the discipline from a physicist's perspective. It leads on to modules taught in later years by Maths.

Subject specific skills

Knowledge of mathematics and physics. Skills in modelling, reasoning, thinking.

Transferable skills

Analytical, communication, problem-solving, self-study

Study time

Type Required
Lectures 40 sessions of 1 hour (27%)
Private study 110 hours (73%)
Total 150 hours
Private study description

Working through lecture notes, solving problems, wider reading, discussing with others taking the module, revising for the exam, practising on past exam papers


No further costs have been identified for this module.

You must pass all assessment components to pass the module.

Assessment group B
Weighting Study time
2 hour online examination (Summer) 100%

Answer 4 questions

  • Answerbook Pink (12 page)
Feedback on assessment

Personal tutor, group feedback

Past exam papers for PX285


This module is Core for:

  • Year 2 of UPXA-GF13 Undergraduate Mathematics and Physics (BSc)
  • Year 2 of UPXA-FG31 Undergraduate Mathematics and Physics (MMathPhys)

This module is Optional for:

  • Year 2 of UMAA-G100 Undergraduate Mathematics (BSc)
  • Year 2 of UMAA-G103 Undergraduate Mathematics (MMath)
  • Year 2 of UMAA-G106 Undergraduate Mathematics (MMath) with Study in Europe
  • Year 2 of UMAA-G1NC Undergraduate Mathematics and Business Studies
  • Year 2 of UPXA-F300 Undergraduate Physics (BSc)
  • Year 2 of UPXA-F303 Undergraduate Physics (MPhys)
  • Year 2 of UPXA-F3F5 Undergraduate Physics with Astrophysics (BSc)
  • Year 2 of UPXA-F3FA Undergraduate Physics with Astrophysics (MPhys)
  • Year 2 of UPXA-F3N2 Undergraduate Physics with Business Studies