Written and maintained by CASRAI Editorial Board
Published · Last updated
On this page
OpenMDAO is an open-source optimization framework, written in Python, for multidisciplinary design, analysis and optimization (MDAO) and for building new analysis tools that supply analytic derivatives. Its own project site describes it as “an open-source optimization framework and a platform for building new analysis tools with analytic derivatives”, and its repository README calls it an “open-source high-performance computing platform for systems analysis and multidisciplinary optimization”.
What OpenMDAO is for
Engineering systems such as aircraft, engines and turbines are designed by several disciplines at once, and the disciplines influence each other. A research group usually has one computational model per discipline. OpenMDAO is the layer that connects those models so that a single analysis, or a single optimization, can run across all of them. The project site lists two headline benefits: faster, more stable design optimization, and rapid development of new analysis tools. It also states that OpenMDAO supports tight integration of high-fidelity analyses into system-level models.
The project is used from Python. The README gives the install command pip install openmdao, with pip install openmdao[all] for all optional dependencies, and says OpenMDAO 3.x requires Python 3.10 or later. The source code is hosted in the OpenMDAO/OpenMDAO repository on GitHub, and documentation is published at openmdao.org.
Core building blocks
The OpenMDAO documentation organises its feature reference around building blocks. The table below lists the ones named in the documentation, with the role each plays in a model. The role descriptions are a summary of how the documentation’s example and reference pages use these terms, not a substitute for them.
| Building block | Role in a model |
|---|---|
| Component | A unit of computation, for example one discipline’s analysis. The documentation’s introductory example adds an ExecComp component to a model with add_subsystem. |
| Group | A container that organises components and other groups into a model hierarchy. The Dymos project notes that its phases and trajectories are “ultimately just OpenMDAO Groups”, which shows groups acting as the composable unit. |
| Driver | The object that runs an optimization or other iterative study on a model. The introductory example uses ScipyOptimizeDriver with the SLSQP optimizer. |
| Solver | Numerical solvers for coupled systems, including setting a model up for efficient linear solves. The documentation has dedicated pages on OpenMDAO solvers. |
Analytic derivatives
Analytic derivatives are central to the framework. When a model supplies derivatives, gradient-based optimizers can use them directly, rather than approximating them numerically. The documentation includes pages on how total derivatives are computed and on computing total derivatives of coupled models, and it has a section on defining partial derivatives on explicit components. The underlying method for coupling heterogeneous numerical models and computing their coupled derivatives is described by Hwang and Martins (2018) in ACM Transactions on Mathematical Software, which the OpenMDAO citation page lists.
Related software
Other tools are built on top of OpenMDAO rather than replacing it. Dymos is the clearest documented example: its repository describes it as a framework for simulating and optimizing dynamical systems that operates within the OpenMDAO multidisciplinary analysis and optimization environment. Its models can sit in an OpenMDAO problem alongside other OpenMDAO models, and the repository lists the Apache-2.0 license.
Citing OpenMDAO in research
The OpenMDAO citation page says: “If you do make use of OpenMDAO, please cite this paper.” The primary reference is Gray, Hwang, Martins, Moore and Naylor (2019), “OpenMDAO: An Open-Source Framework for Multidisciplinary Design, Analysis, and Optimization”, Structural and Multidisciplinary Optimization, volume 59, issue 4, pages 1075 to 1104. The same page states that OpenMDAO can report which citations are appropriate for the classes a model actually uses, through the openmdao cite command. For example, that command cites the Hwang and Martins 2018 paper when ScipyOptimizeDriver is used.
Recording the software and its version in a methods section supports reproducibility. For wider context on software as a research output, see the CASRAI pages on FAIR4RS, the FORCE11 Software Citation Principles, computational reproducibility and reproducibility infrastructure. Similar open-source scientific solver frameworks are covered in the guides to acados and Cantera.
Installing OpenMDAO
The Getting Started page installs OpenMDAO with pip install 'openmdao[all]' from a Python environment. The [all] suffix ensures that all optional dependencies, such as those for testing and visualization, are installed; a minimal install omits it. The quotation marks stop shells such as zsh from interpreting the square brackets. For most users the page recommends a Pixi environment as the simplest way to set up an environment that has been proven to work with OpenMDAO. In Jupyter on Google Colab, the install command is run as a shell command by prefixing it with an exclamation mark.
Parallel processing and MPI
The Getting Started page states that OpenMDAO enables parallel processing via MPI and PETSc. MPI support requires the mpi4py and petsc4py packages, and the page points Windows users to WSL2 as the quickest route.
A first model, step by step
The Getting Started page walks through a script, paraboloid_min.py, that minimizes a two-variable function. The steps below follow that walkthrough.
- Create the top-level container with
om.Problem(). The Problem holds the model and the driver. - Add a component to
prob.model. The example usesom.ExecCompwith the expressionf = (x-3)**2 + x*y + (y+4)**2 - 3, namedparaboloid. - Set the driver to
om.ScipyOptimizeDriver()and set itsoptimizeroption to'SLSQP'. - Declare the design variables
paraboloid.xandparaboloid.y, each bounded from -50 to 50, and declareparaboloid.fas the objective. - Call
prob.setup()once the model is built and before values are set, then set the initial values withprob.set_val(): x = 3.0 and y = -4.0. - Call
prob.run_driver()to run the optimization, then run the script withpython paraboloid_min.py.
The page reports a successful run that ends with a function value of about -27.33, after 5 iterations, 6 function evaluations and 5 gradient evaluations. This is a teaching example of the Problem, model, driver and setup pattern, not a multidisciplinary case; real analyses replace the single expression with components or groups that wrap discipline models.
Solvers named in the documentation
The solver index in the OpenMDAO documentation groups solvers into nonlinear solvers, linear solvers and line-search subsolvers. The index lists names and links to individual solver pages; check those pages for what each solver does and when to use it.
| Category | Solvers listed |
|---|---|
| Nonlinear solvers | NonlinearBlockGS, NonlinearBlockJac, NonlinearRunOnce, NewtonSolver, BroydenSolver |
| Linear solvers | LinearBlockGS, LinearBlockJac, LinearRunOnce, DirectSolver, PETScKrylov, ScipyKrylov, LinearUserDefined, PETScDirectSolver |
| Line-search subsolvers | ArmijoGoldsteinLS and BoundsEnforceLS, which the index says can be specified in the linesearch attribute of a NewtonSolver and which are used to step back when a Newton step overshoots |
The documentation also links a page on modifying solver options, and a Theory Manual page on setting up a model for efficient linear solves.
Component types in the documentation
The Components section of the feature reference links one page per component type. It lists ExecComp, BalanceComp, KSComp, SplineComp and SubmodelComp, plus three metamodel variants: MetaModelStructuredComp, MetaModelSemiStructuredComp and MetaModelUnStructuredComp. Separate Advanced User Guide pages cover defining partial derivatives on explicit components and on implicit components, and an experimental-features page covers computing partial derivatives of components using JAX.
What to report when you publish results from an OpenMDAO model
The following checklist is editorial guidance for research reporting, not an OpenMDAO requirement. It follows the general principle that a reader should be able to rerun an analysis.
- Software and version. Name OpenMDAO and the version you ran, and the Python version. The README states a minimum of Python 3.10 for the 3.x series.
- Citations. Cite the 2019 primary paper, and run
openmdao citeon your model to see which additional papers apply to the classes it uses. - Optimizer and driver settings. State the driver and optimizer, for example
ScipyOptimizeDriverwith SLSQP, along with the design variables, their bounds, the objective and any constraints. - Starting point. Give the initial values used for the design variables, since gradient-based optimizers can depend on where they start.
- Discipline models. Say which external analysis codes were wrapped as components, and where their code or inputs can be obtained.
- Environment. Record the dependency versions, and whether MPI and PETSc were used for parallel runs.
Common misunderstandings
- It is not a single solver. It is a framework for connecting models, with drivers and solvers as parts of a model, rather than one fixed algorithm.
- Derivatives are not automatic. The framework is built around analytic derivatives, but a component must supply partial derivatives, or the user must choose how they are approximated, for the gradients to be available.
- It is not tied to one discipline. The framework page describes general analysis and optimization of engineering systems, not one domain.
Frequently asked questions
What is OpenMDAO used for?
It is used to connect models from different disciplines into one system and to optimize the design of that system, as described on the project site.
What language is OpenMDAO written in?
Python. The repository README states that it is written in Python and installs with pip.
How do I cite OpenMDAO?
Cite the 2019 paper by Gray and colleagues in Structural and Multidisciplinary Optimization, and run openmdao cite to see which further papers apply to your model.
Which Python version does it need?
The README says OpenMDAO 3.x requires Python 3.10 or later.
Does OpenMDAO support parallel computing?
Yes. The Getting Started page states that OpenMDAO enables parallel processing via MPI and PETSc, which requires the mpi4py and petsc4py packages.
Which optimizer does the first tutorial use?
The first tutorial uses ScipyOptimizeDriver with the SLSQP optimizer to minimize a two-variable function with bounded design variables.
Sources
Data: OpenMDAO Core Components
A breakdown of core OpenMDAO components, their functions, and relevant engineering disciplines, compiled from the OpenMDAO documentation and technical papers.
| Component | Discipline | Function |
|---|---|---|
| Group | Multiple | Coupling |
| Solver | Multiple | Analysis |
| Driver | Multiple | Optimization |
Sources
- OpenMDAO Framework Overview (accessed 2026-11-18)
- NASA Glenn Research Center: OpenMDAO (accessed 2026-11-18)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







