# SU2 **Repository Path**: mirrors_su2code/SU2 ## Basic Information - **Project Name**: SU2 - **Description**: SU2: An Open-Source Suite for Multiphysics Simulation and Design - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-01-05 - **Last Updated**: 2025-10-13 ## Categories & Tags **Categories**: cae **Tags**: None ## README

# SU2 (ver. 8.3.0 "Harrier"): The Open-Source CFD Code Computational analysis tools have revolutionized the way we design engineering systems, but most established codes are proprietary, unavailable, or prohibitively expensive for many users. The SU2 team is changing this, making multiphysics analysis and design optimization freely available as open-source software and involving everyone in its creation and development. Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms. If you use the latest version of SU2, please cite [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17209057.svg)](https://doi.org/10.5281/zenodo.17209057) to acknowledge the active contributors. Continuous Integration:
[![Regression Testing](https://github.com/su2code/SU2/workflows/Regression%20Testing/badge.svg?branch=develop)](https://github.com/su2code/SU2/actions) [![Release](https://github.com/su2code/SU2/workflows/Release%20Management/badge.svg?branch=develop)](https://github.com/su2code/SU2/actions) Code Quality:
[![CodeFactor](https://www.codefactor.io/repository/github/su2code/su2/badge)](https://www.codefactor.io/repository/github/su2code/su2) # SU2 Introduction SU2 is a suite of open-source software tools written in C++ for the numerical solution of partial differential equations (PDE) and performing PDE constrained optimization. The primary applications are computational fluid dynamics and aerodynamic shape optimization, but has been extended to treat more general equations such as electrodynamics and chemically reacting flows. You will find more information and the latest news in: - SU2 Home Page: - GitHub repository: - CFD Online: - Twitter: - Facebook: # SU2 Installation ## Precompiled binaries for Linux, MacOS, Windows You can find precompiled binaries of the latest version on our [download page](https://su2code.github.io/download.html) or under [releases](https://github.com/su2code/SU2/releases). ## Build SU2 The build system of SU2 is based on a combination of [meson](http://mesonbuild.com/) (as the front-end) and [ninja](https://ninja-build.org/) (as the back-end). Meson is an open source build system meant to be both extremely fast, and, even more importantly, as user friendly as possible. Ninja is a small low-level build system with a focus on speed. Short summary of the minimal requirements: - C/C++ compiler - Python 3 **Note:** all other necessary build tools and dependencies are shipped with the source code or are downloaded automatically. If you have these tools installed, you can create a configuration using the `meson.py` found in the root source code folder: ``` ./meson.py setup build ``` Use `ninja` to compile and install the code ``` ./ninja -C build install ``` For more information on how to install and build SU2 on Linux, MacOS or Windows, have a look at the [documentation](https://su2code.github.io/docs_v7/). ## SU2 Path setup When installation is complete, please be sure to add the `$SU2_HOME` and `$SU2_RUN` environment variables, and update your `$PATH` with `$SU2_RUN`. For example, add these lines to your `.bashrc` file: ``` export SU2_RUN="your_prefix/bin" export SU2_HOME="/path/to/SU2vX.X.X/" export PATH=$PATH:$SU2_RUN export PYTHONPATH=$SU2_RUN:$PYTHONPATH ``` `$SU2_RUN` should point to the folder where all binaries and python scripts were installed. This is the prefix you set with the --prefix option to meson. Note that the bin/ directory is automatically added to your prefix path. `$SU2_HOME` should point to the root directory of the source code distribution, i.e., `/path/to/SU2vX.X.X/`. Thanks for building, and happy optimizing! - The SU2 Development Team # SU2 Developers We follow the popular "GitFlow" branching model for scalable development. In the SU2 repository, the master branch represents the latest stable major or minor release (7.0, 6.2.0, etc.), it should only be modified during version releases. Work that is staged for release is put into the develop branch via Pull Requests on GitHub from various "feature" branches where folks do their day-to-day work on the code. At release time, the work that has been merged into the develop branch is pushed to the master branch and tagged as a release. SU2 is being developed by individuals and organized teams all around the world. A list of current contributors can be found in the AUTHORS.md file. ## Documentation Code documentation can be generated by calling doxygen from the root of the project, then open Docs/html/index.html in a browser to consult the documentation.