Skip to content

Commit 1c35cc0

Browse files
committed
Updating docs_v7 sections
1 parent cfab056 commit 1c35cc0

19 files changed

+175
-80
lines changed

_data/docs_v7.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,24 @@
1515
docs_v7:
1616
- Download
1717
- Installation
18-
- Build-SU2-From-Source
18+
- SU2-Linux-MacOS
19+
- SU2-Windows
1920
- Test-Cases
2021

22+
- title: Build From Source
23+
docs_v7:
24+
- Build-SU2-Linux-MacOS
25+
- Build-SU2-Windows
26+
27+
- title: Theory
28+
docs_v7:
29+
- Theory
30+
2131
- title: Users Guide
2232
docs_v7:
2333
- Configuration-File
2434
- Mesh-File
2535
- Restart-File
26-
- Theory
2736
- Solver-Setup
2837
- Physical-Definition
2938
- Markers-and-BC

_docs_v7/Build-SU2-From-Source.md renamed to _docs_v7/Build-SU2-Linux-MacOS.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Build SU2 From Source
3-
permalink: /docs_v7/Build-SU2-From-Source/
2+
title: Build SU2 on Linux/MacOS
3+
permalink: /docs_v7/Build-SU2-Linux-MacOS/
44
redirect_from: /docs/Build-SU2-From-Source/
55
---
66

@@ -11,20 +11,27 @@ Note that the following guide works only on Linux/MacOS and on Windows using Cyg
1111

1212
---
1313

14-
## Content ##
1514
- [Quick Compilation Guide](#quick-compilation-guide)
1615
- [Requirements](#requirements)
1716
- [Compilers](#compilers)
17+
- [MPI](#mpi)
1818
- [Python](#python)
1919
- [Optional: swig and mpi4py](#optional-swig-and-mpi4py)
20-
- [Automatically Installed Dependencies](#automatically-installed-dependencies)
20+
- [Automatically installed dependencies](#automatically-installed-dependencies)
2121
- [Meson and Ninja](#meson-and-ninja)
2222
- [CoDiPack and MeDiPack](#codipack-and-medipack)
2323
- [Configuration and Compilation](#configuration-and-compilation)
2424
- [Basic Configuration](#basic-configuration)
2525
- [Advanced Configuration](#advanced-configuration)
26+
- [Build Type](#build-type)
27+
- [Compiler optimizations](#compiler-optimizations)
28+
- [Warning level](#warning-level)
29+
- [Linear algebra options](#linear-algebra-options)
2630
- [Compilation](#compilation)
31+
- [Setting environment variables](#setting-environment-variables)
2732
- [Troubleshooting](#troubleshooting)
33+
- [MPI installation is not found](#mpi-installation-is-not-found)
34+
- [mpi4py library is not found](#mpi4py-library-is-not-found)
2835

2936
---
3037

@@ -174,6 +181,10 @@ Finally to compile and install SU2 use
174181
```
175182
where `build` is again a folder with a configuration created using a call to `meson.py` described in the previous section. By default ninja uses all available cores in your system for the compilation. You can set the number of cores manually by using the `-jN` flag, where `N` is the number of cores you want to use.
176183

184+
185+
### Setting environment variables ###
186+
Set the environment variables to use the executables from any directory without explicity specifying the path as described in the [installation section](/docs_v7/SU2-Linux-MacOS).
187+
177188
---
178189

179190
## Troubleshooting ##

_docs_v7/Build-SU2-Windows.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,5 @@ In the file browser go to the mingw installation directory and execute the file
4343
Now you can follow the steps in the [Linux/MacOS Configuration and Compilation section](/docs_v7/Build-SU2-From-Source/#configuration-and-compilation). But make sure to use `python meson.py` and `ninja.exe` instead of `./meson.py` and `./ninja`, respectively.
4444

4545

46-
47-
4846
## Running the executables
49-
Add SU2 to the system path. This will allow you to use the executables from any directory without explicitly specifying the path to the executable. To do that access the system variables by typing “environ” in the search/run box of the start menu, select “edit the system environment variables”, and then select “Environment Variables” from the System Properties menu. Edit the “Path” system variable (or select “New” if no “Path” system variable exists) and add the path to the SU2 executables, i.e. the path that you have set with the `--prefix` option (if option was not given, the default is `C:\bin`). When there is more than one directory listed in “Path” they must be separated by semicolons.
50-
Running SU2 in Windows is identical to running in [Linux or Mac OS environments](/_docs_v7/Execution.md) and is run from the command line (whether cmd.exe or the freely-available Console2 for Windows). However, you may have to use `mpiexec` instead of `mpirun` to execute the code in parallel.
47+
Follow the [installation guide](/docs_v7/SU2-Windows/).

_docs_v7/Convective-Schemes.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@ The options listed here do not apply to the high order DG solver.
88

99
---
1010

11-
## Content ##
12-
1311
- [Introduction](#introduction)
1412
- [Compressible Flow](#compressible-flow)
15-
- [Central schemes](#central-schemes)
16-
- [Upwind schemes](#upwind-schemes)
13+
- [Central Schemes](#central-schemes)
14+
- [Upwind Schemes](#upwind-schemes)
1715
- [Incompressible Flow](#incompressible-flow)
18-
- [Central schemes](#central-schemes)
19-
- [Upwind schemes](#upwind-schemes)
16+
- [Central Schemes](#central-schemes-1)
17+
- [Upwind Schemes](#upwind-schemes-1)
2018
- [Turbulence Equations](#turbulence-equations)
2119

2220
---

_docs_v7/Custom-Output.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ redirect_from: /docs/Custom-Output/
77
With v7.0 we have introduced a new way of customizing the output on screen, in the history file and in the visualization files.
88
It is now possible to individually define what you want to have in your output.
99

10-
## Content ##
10+
---
1111

1212
- [Restart and Visualization Files](#restart-and-visualization-files)
1313
- [Setting Output Fields](#setting-output-fields)
14-
- [Customizing the Screen and History output](#customizing-the-screen-and-history-output)
14+
- [Example](#example)
15+
- [Customizing the Screen and History Output](#customizing-the-screen-and-history-output)
1516
- [Screen Output](#screen-output)
1617
- [History Output](#history-output)
18+
- [Example](#example-1)
1719

1820
---
1921

_docs_v7/Execution.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ Once downloaded and installed, and now that you know the basics for setting up y
77

88
---
99

10-
## Content
1110

1211
- [C++ Modules](#c-modules)
1312
- [Python Scripts](#python-scripts)
14-
- [Parallel Computation Script (parallel-computation.py)](#parallel-computation-script-parallel_computationpy)
15-
- [Continuous Adjoint Gradient Calculation (continuous_adjoint.py)](#continuous-adjoint-gradient-calculation-continuous_adjointpy)
16-
- [Discrete Adjoint Gradient Calculation (discrete_adjoint.py)](#discrete-adjoint-gradient-calculation-discrete_adjointpy)
17-
- [Finite Difference Gradient Calculation (finite_differences.py)](#finite-difference-gradient-calculation-finite_differencespy)
18-
- [Shape Optimization Script (shape_optimization.py)](#shape-optimization-script-shape_optimizationpy)
13+
- [Parallel Computation Script (parallel_computation.py)](#parallel-computation-script-parallelcomputationpy)
14+
- [Continuous Adjoint Gradient Calculation (continuous_adjoint.py)](#continuous-adjoint-gradient-calculation-continuousadjointpy)
15+
- [Discrete Adjoint Gradient Calculation (discrete_adjoint.py)](#discrete-adjoint-gradient-calculation-discreteadjointpy)
16+
- [Finite Difference Gradient Calculation (finite_differences.py)](#finite-difference-gradient-calculation-finitedifferencespy)
17+
- [Shape Optimization Script (shape_optimization.py)](#shape-optimization-script-shapeoptimizationpy)
1918

2019
---
2120

_docs_v7/Guide-to-v7.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ redirect_from: /docs/Guide-to-v7/
66

77
With v7.0 we have introduced a lot of updates and changes that affect how you interact with the code. This document gives an overview on the most important changes, so that you can quickly update your existing config files to be compatible with v7.0.
88

9+
---
10+
11+
- [Definition of the physical problem and solver](#definition-of-the-physical-problem-and-solver)
12+
- [Definition of the incompressible solver](#definition-of-the-incompressible-solver)
13+
- [Controlling the solver](#controlling-the-solver)
14+
- [Output options](#output-options)
15+
- [ASCII Restart format](#ascii-restart-format)
16+
- [Grid/mesh movement](#gridmesh-movement)
17+
- [Setting convergence criteria](#setting-convergence-criteria)
18+
19+
---
20+
21+
922
### Definition of the physical problem and solver ###
1023

1124
The option `PHYSICAL_PROBLEM` has been renamed to `SOLVER`. The rational behind this change is that we are going to have several different solvers in the future which essentially solve the same physical problems. You can find a list of current solvers in the new [Solver Setup](/docs_v7/Solver-Setup) section.

_docs_v7/Installation.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,31 @@ title: Installation
33
permalink: /docs_v7/Installation/
44
---
55

6+
---
7+
8+
- [Installing SU2](#installing-su2)
9+
- [Required Software for Running SU2](#required-software-for-running-su2)
10+
- [Command Line Terminal](#command-line-terminal)
11+
- [Data Visualization](#data-visualization)
12+
- [Optional Third-Party Software](#optional-third-party-software)
13+
- [Grid Generation](#grid-generation)
14+
- [CGNS Library](#cgns-library)
15+
- [Parallel Tools](#parallel-tools)
16+
- [Python & Python Modules](#python--python-modules)
17+
18+
---
19+
620
## Installing SU2
721

822
SU2 has been designed with ease of installation and use in mind. This means that, wherever possible, a conscious effort was made to develop in-house code components rather than relying on third-party packages or libraries to maintain high portability. In simple cases (serial version with no external libraries), the flow solver can be compiled and executed with just a C++ compiler.
923

1024
However, the capabilities of SU2 can be extended using externally-provided software. For example, parallel computations require an installed implementation of MPI (Message Passing Interface) for data communication. Again, to facilitate ease of use and to promote the open source nature, whenever external software is required within the SU2 suite, packages that are free or open source have been favored, and we try to ship, build, and link them automatically for you. These dependencies and third-party packages are discussed below.
1125

12-
**Building from source**: refer to the [Source Installation Guide](/docs_v7/Build-SU2-From-Source/). This is the typical install method for Linux/Mac OS X.
13-
14-
The binary executables available on the download page are intended to get new users up and running as quickly as possible. This option is best for new CFD users or those looking to quickly sample some of the features of SU2. To make these binary distributions available to a wide range of potential users, some advanced features requiring external libraries and dependencies have been disabled (most notably the ability to run simulations in parallel). In other words, the pre-compiled binary executables are simply the serial version of the SU2 C++ modules.
26+
**Building from source**: This is the recommended way to get the best compatibility and performance on your machine. Refer to the guides for building SU2 on [Linux/MacOS](/docs_v7/Build-SU2-Linux-MacOS/) or on [Windows](/docs_v7/Build-SU2-Windows/).
1527

16-
No compilation is required for users who select the binary distribution of SU2. Simply install the binaries, open a terminal, and proceed to the Quick Start Tutorial. Binaries are available for multiple platforms, including installers for Windows.
28+
The binary executables available on the download page are intended to get new users up and running as quickly as possible. This option is best for new CFD users or those looking to quickly sample some of the features of SU2. To make these binary distributions available to a wide range of potential users, some advanced features requiring external libraries and dependencies have been disabled. For example the Discrete Adjoint method is not available.
1729

18-
**Windows users**: please refer to the [Windows Installation Guide](/docs_v7/Windows-Installation/).
30+
No compilation is required for users who select the binary distribution of SU2. Simply extract the binaries, open a terminal, and proceed to the Quick Start Tutorial. Binaries are available for all three platforms. Proceed to the installation guides for [Linux/MacOS](/docs_v7/SU2-Linux-MacOS) or [Windows](/docs_v7/SU2-Windows).
1931

2032
## Required Software for Running SU2
2133

_docs_v7/Linear-Solvers-and-Preconditioners.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ As the numerical properties of the linear systems vary significantly with applic
99

1010
---
1111

12-
## Content ##
13-
1412
- [Option List](#option-list)
1513
- [Linear Solvers](#linear-solvers)
1614
- [Linear Preconditioners](#linear-preconditioners)

_docs_v7/Markers-and-BC.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ The term *Marker* refers to a named entity in your mesh file. Boundary condition
77

88
---
99

10-
## Content ##
11-
1210
- [Euler (Slip) Wall](#euler-slip-wall)
1311
- [Symmetry Wall](#symmetry-wall)
1412
- [Constant Heatflux (no-slip) Wall](#constant-heatflux-no-slip-wall)
@@ -23,7 +21,7 @@ The term *Marker* refers to a named entity in your mesh file. Boundary condition
2321
- [Pressure Outlet (Compressible)](#pressure-outlet-compressible)
2422
- [Pressure Outlet (Incompressible)](#pressure-outlet-incompressible)
2523
- [Mass Flow Outlet](#mass-flow-outlet)
26-
- [Periodic Boundary Condition](#periodic-boundary-condition)
24+
- [Periodic Boundary Condition](#periodic-boundary-condition)
2725
- [Structural Boundary Conditions](#structural-boundary-conditions)
2826
- [Clamped Boundary](#clamped-boundary)
2927
- [Displacement Boundary](#displacement-boundary)

0 commit comments

Comments
 (0)