← Learn
Unit 2

Data from simulations

Before any model comes the data. This unit covers what a surrogate predicts and how simulation runs become a checked dataset of arrays, on the aircraft runs used through the rest of the course. It assumes Unit 1; its listings use Python with NumPy and SciPy.

Outcome: Turn simulation runs into a clean dataset, with held-out designs set aside.

Start the unit
  1. 2.1Physical fieldsThe quantities a model must reproduce are fixed before the model is chosen.
  2. 2.2From runs to arraysEach simulation becomes rows of numbers: inputs X, outputs Y, and a run id on every row.
  3. 2.3Sampling the design spaceA limited simulation budget spread evenly over the designs of interest.
  4. 2.4Is the training data right?A surrogate learns the solver’s errors too: mesh convergence, failed runs and outliers are checked before training.

Build: Load aircraft-runs.npz with load_runs, build the point-wise table with a run id on every row, compute the lift of run 0 from its surface pressure, and check that the 44 Latin-hypercube designs fill every slice of α and sweep.

Read: AirfRANS, DrivAerML