Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

VFEA Part 1 — Vibration (Python edition)

ISAE-SUPAERO

Made with Jupyter License: MIT

A Python / Jupyter-notebook edition of VFEA Part 1: Vibration, the lecture notes written by Professor Joseph Morlier (ISAE-SUPAERO) to accompany the live vibration lessons of the VFEA course (Vibration and Finite Element Analysis). The original “student version” is a tufte-handout LaTeX book with in-class MATLAB exercises; this edition ports everything to Python (numpy, scipy, sympy, matplotlib, python-control), corrects a couple of transcription slips found along the way, adds numerical cross-checks throughout, and renders the whole thing as a browsable Jupyter Book / GitHub Pages website — inspired by the structure of Prof. Marcelo Maiarocha’s PEC00025 (Introduction to Vibration Theory, PPGEC/UFRGS).

📖 Open the rendered website (replace jomorlier above with your GitHub username/organization once this repo is pushed — see “Publishing to GitHub Pages” below.)

Structure

Table of contents

Basics

#ChapterCovers
0IntroductionHow to use this book, acknowledgements
1SDOF — Free vibration (exercises)EoM, damping ratio, over/critically/under-damped motion, logarithmic decrement
2SDOF — Forced vibration & FRF (exercises)Transfer function, Bode plot, sinusoidal forcing, resonance, Laplace transform
3Duhamel, impulse response, base excitation (exercises)Convolution / Duhamel’s integral, impulse response, base excitation, vibration absorbers
4State space & numerical integration (exercises)State-space form, free/forced response, solve_ivp (the ode45 equivalent)
5MDOF — eigenproblem & modal analysis (exercises)Generalized eigenvalue problem, orthogonality, modal coordinates, proportional damping
6Continuous systems — rods & beams (exercises)Wave equation, Euler-Bernoulli beam, characteristic equation, mode shapes
7Engineer’s toolbox (exercises)Symmetric eigenvalue reformulation, Gershgorin’s theorem, Rayleigh-Ritz quotient

Advanced

#ChapterCovers
8Fourier transform & frequency domainDFT/FFT, spectral leakage, windowing, power spectral density, experimental FRF estimation
9Lagrange prerequisites — matrix calculus∂(xTMx)/∂x=2Mx\partial(x^\mathsf{T}Mx)/\partial x=2Mx, Hessian-based M,C,KM,C,K extraction, matrix form Mq¨+Cq˙+Kq=FM\ddot q+C\dot q+Kq=F, and a 9-notebook Lagrange gallery translated to Python/sympy from Kelly’s MATLAB repo
10Lagrange’s equations & fundamental principlesEnergy methods, virtual work, double-pendulum worked example
11Vibration of platesThin-plate equation, simply-supported rectangular plate modes

Corrections made to the original notes

While porting the material, a couple of small transcription slips in the original handwritten derivations were found and fixed (see the ⚠️ Correcting the original notes callouts in the notebooks themselves for the full explanation):

Every notebook in this repository has been numerically executed end-to-end, and most solved notebooks include an explicit cross-check (e.g. an independent numerical integration, or a closed-form limit) confirming the derived formulas actually match code.

Running locally

git clone <this-repo-url>
cd VFEA-vibration
pip install -r requirements.txt        # or: conda env create -f environment.yml
jupyter lab                            # open and run any notebook directly

Building / publishing the website

This site is built with Jupyter Book (the MyST-based v2 engine).

pip install jupyter-book
jupyter-book build --html              # builds into _build/html

A pre-rendered, dependency-free fallback is also included at site_preview/ (plain nbconvert --to html exports plus a hand-written index.html) — open site_preview/index.html directly in a browser with no build step at all. Regenerate it any time with:

python build_site_preview.py

Every notebook has a matching jupytext .py (percent format) companion file next to it. These stay in sync with the .ipynb and produce much cleaner git diffs when you edit a notebook’s code — pair them with jupytext --sync notebook.ipynb after editing either file.

Publishing to GitHub Pages

A ready-to-use GitHub Actions workflow is included at .github/workflows/deploy.yml: push this repository to GitHub, enable Pages under Settings → Pages → Source: GitHub Actions, and every push to main will rebuild and publish the site automatically at https://<your-username>.github.io/<repo-name>/.

Acknowledgements

License

MIT — see LICENSE. Figures reused from the original lecture notes remain the property of their original author/sources.