The Simulation Pipeline
Building a model is the start of the work, not the end. Once a model exists, the path from there to a usable simulation runs through several more stages — each one taking the output of the previous and turning it into something the next stage can use.
The simulation pipeline is the chain of stages that turns a real-world problem into a working simulation: modeling, numerics, implementation, visualization, validation, and embedding.
A reader new to the field tends to picture simulation as the part where the computer crunches numbers — but that single act sits in the middle of a much longer process, and most of the difficulty lives in the stages around it. Walking through them in order makes the structure visible.
Modeling
The first stage decides what the simulation is even about. We take the real system, scope down to the slice that matters, and rephrase that slice in formal language. The output is a simplified formal description of a suitable extract from the item we are studying — exactly the model and mathematical modeling introduced in the previous section.
What we leave outside the frame is as much a modeling choice as what we put inside it. Two modelers given the same system will keep different parameters, drop different assumptions, and end up with models that predict different outcomes — even when both are internally consistent.
Numerics
Once a model exists, we still have to solve it — and most interesting models cannot be solved by hand. The numerics stage develops the computational algorithms that turn the mathematical statements of the model into something a computer can execute. Differential equations get discretized, integrals get replaced by quadrature rules, optimization problems get reformulated as iterative procedures.
This stage is sometimes labeled computation, or simply simulation in its own right, since it is the mathematical heart of the simulation step. The output is not yet running code — it is a collection of algorithms, with stated convergence properties and error bounds, ready to be implemented.
Implementation
The numerical algorithms must now run on a real machine. In the implementation stage the algorithms become source code: data structures get chosen, memory layouts get fixed, parallelism gets exploited, performance gets tuned. A naive implementation of a perfectly correct algorithm can be unusable for problems of any realistic size — so an efficient implementation of the computational algorithms is the goal, not just a working one.
Visualization
The numbers a simulation produces are rarely interesting on their own. A run of a fluid simulation might output billions of values; staring at the raw array tells us nothing. The visualization stage — also called data exploration — turns that raw output into something a human eye can read: streamlines, isosurfaces, time-lapse movies, statistical summaries. Its job is to interpret the data resulting from a simulation run, surfacing the patterns that justified the simulation in the first place.
Validation
A simulation that produces beautiful pictures may still be wrong. The validation stage compares the simulation results against external reality — measurements, experiments, known closed-form cases, or independent simulations of the same system — and asks whether the model and its implementation actually reproduce what is observed.
Validation is the stage where the pipeline is allowed to fail. If the comparison turns up disagreement, the verdict can land anywhere upstream: the model was too simplified, the numerics introduced error, the implementation has a bug, or the experiment itself was misread. Tracing the disagreement back to its origin is part of what makes validation hard.
Embedding
The final stage takes the validated simulation and integrates it back into the context it came from. A working simulation tool only matters if the people who needed it can actually use it — built into a design loop, hooked up to a decision pipeline, or surfaced through an interface that the eventual users (engineers, climate scientists, policy makers, doctors) can drive without re-deriving the underlying mathematics.
Embedding is what turns a simulation from a one-off scientific artifact into a working part of an application — the bridge from we have built a simulation to the simulation is being used.
Disciplines along the pipeline
The pipeline is not the work of a single field. The early stages — modeling and numerics — sit squarely in mathematics: choosing the right formal description, writing down the right equations, designing the right algorithms with provable error behavior. The later stages — implementation, visualization, validation, embedding — lean heavily on informatics: software engineering, computer graphics, data analysis, systems integration.
Running alongside both is the field of application itself — physics, biology, economics, climate science, whatever the original problem belongs to. The application field contributes domain expertise wherever the simulation meets reality: deciding which simplifications in the modeling stage are acceptable, judging whether the validation comparison is meaningful, and shaping how the finished simulation gets embedded back into practice. Building a usable simulation, then, is a three-way collaboration: the mathematics, the informatics, and the application field, each owning some stages and overlapping on others.