Skip to content

Commit a1d1e6b

Browse files
committed
Small changes
1 parent 9a897e6 commit a1d1e6b

File tree

11 files changed

+18
-14
lines changed

11 files changed

+18
-14
lines changed

_data/docs_v7.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- title: Installation
1515
docs_v7:
1616
- Download
17+
- Software-Components
1718
- Installation
1819
- SU2-Linux-MacOS
1920
- SU2-Windows

_docs_v7/Build-SU2-Linux-MacOS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ permalink: /docs_v7/Build-SU2-Linux-MacOS/
44
redirect_from: /docs/Build-SU2-From-Source/
55
---
66

7-
***This guide is for version 7 only.***
87
For information on how to build older versions of SU2, have a look [here](/docs_v7/Build-from-Source/).
98

109
Note that the following guide works only on Linux/MacOS and on Windows using Cygwin or the [Linux Subsystem](https://docs.microsoft.com/en-us/windows/wsl/install-win10).

_docs_v7/Build-SU2-Windows.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Build SU2 on Windows
33
permalink: /docs_v7/Build-SU2-Windows/
44
---
55

6-
***This guide is for version 7 only.***
76
This document will guide you through the steps to compile SU2 on Windows using the [Minimalist GNU for Windows
87
](http://www.mingw.org/) development environment (MinGW) and [Microsoft MPI](https://docs.microsoft.com/en-us/message-passing-interface/microsoft-mpi).
98

_docs_v7/Execution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ where `SU2_MODULE` can be any of the C++ modules on the [Software Components](/d
3030
```
3131
$ ./SU2_CFD default.cfg
3232
```
33-
where the executable, SU2_CFD, and the [Configuration File](/docs_v7/Configuration-File/), default.cfg, are located in the current working directory. Please see the [Build from Source](/docs_v7/Build-SU2-from-Source/) page for how you can set up environment variables to run the modules from any directory. Additionally, SU2 is a fully-parallel suite, and assuming that you have compiled with MPI support, each of the modules can be executed in parallel. For example, to run the CFD solver on 8 cores, you might enter:
33+
where the executable, SU2_CFD, and the [Configuration File](/docs_v7/Configuration-File/), default.cfg, are located in the current working directory. Please see the [Build from Source](/docs_v7/Build-SU2-Linux-MacOS/) page for how you can set up environment variables to run the modules from any directory. Additionally, SU2 is a fully-parallel suite, and assuming that you have compiled with MPI support, each of the modules can be executed in parallel. For example, to run the CFD solver on 8 cores, you might enter:
3434
```
3535
$ mpirun -n 8 SU2_CFD default.cfg
3636
```

_docs_v7/Mesh-File.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ MESH_FORMAT= CGNS
142142

143143
It is important to note that SU2 will not use any specific boundary conditions that are embedded within the CGNS mesh. However, it *will* use the names given to each boundary as the marker tags. These marker tags are used to set the boundary conditions in the configuration file. Therefore, it is recommended that the user give names to each boundary in their mesh generation package before exporting to CGNS. If you do not know the number of markers or their tags within a CGNS file, you can simply attempt a simulation in SU2_CFD (leaving out the boundary information in the configuration file at first), and during the preprocessing stage, SU2 will read and print the names of all boundary markers to the console along with other grid information before throwing an error due to incomplete boundary definitions. The user can then incorporate these marker tags into the configuration file with the appropriate boundary conditions.
144144

145-
If needed, a converter from CGNS to the SU2 format has been built into SU2 (See the [inviscid wedge tutorial](../tutorials/Inviscid_Wedge)).
145+
If needed, a converter from CGNS to the SU2 format has been built into SU2 (See the [inviscid wedge tutorial](/tutorials/Inviscid_Wedge)).
146146

147147
## Third-Party Mesh Software
148148

_docs_v7/Physical-Definition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SU2 offers different ways of setting and computing this definition. This documen
1313
- [Free-Stream Definition (Compressible)](#free-stream-definition-compressible)
1414
- [Thermodynamic State](#thermodynamic-state)
1515
- [Mach Number and Velocity](#mach-number-and-velocity)
16-
- [Reynolds Number and Viscosity ###](#reynolds-number-and-viscosity)
16+
- [Reynolds Number and Viscosity](#reynolds-number-and-viscosity)
1717
- [Non-Dimensionalization](#non-dimensionalization)
1818
- [Flow Condition (Incompressible)](#flow-condition-incompressible)
1919
- [Thermodynamic and Gauge Pressure](#thermodynamic-and-gauge-pressure)
@@ -64,7 +64,7 @@ The thermodynamic state of the free-stream is defined by the pressure $$p_{\inft
6464

6565
The free-stream velocity $$v_{\infty}$$ is always computed from the specified Mach number $$Ma_{\infty}$$ (`MACH_NUMBER`) and the computed thermodynamic state. The flow direction is based on the angle of attack (`AOA`) and the side-slip angle (`SIDESLIP_ANGLE`, for 3D).
6666

67-
### Reynolds Number and Viscosity ###
67+
### Reynolds Number and Viscosity ###
6868

6969
If it is a viscous computation, by default the pressure $$p_{\infty}$$ will be recomputed from a density $$\rho_{\infty}$$ that is found from the specified Reynolds number $$Re$$ (`REYNOLDS_NUMBER`). Note that for an ideal gas this does not change the Mach number $$Ma_{\infty}$$ as it is only a function of the temperature $$T_{\infty}$$. If you still want to use the thermodynamic state for the free-stream definition, set the option `INIT_OPTION` to `TD_CONDITIONS` (default: `REYNOLDS`). In both cases, the viscosity is computed from the dimensional version of Sutherland's law or the constant viscosity (`FREESTREAM_VISCOSITY`), depending on the `VISCOSITY_MODEL` option.
7070

@@ -83,7 +83,7 @@ For all schemes, as reference values for the density and temperature the free-st
8383
| --- | --- |
8484
| `INC_EULER`, `INC_NAVIER_STOKES`, `INC_RANS` | 7.0.0 |
8585

86-
The physical definition of the incompressible solvers is accomplished by setting an appropriate flow condition for initialization and non-dimensionalization. SU2 solves the [incompressible Navier-Stokes equations](/docs_v7/Theory/#incompressible-rans) in a general form allowing for variable density due to heat transfer through the low-Mach approximation (or incompressible ideal gas formulation).
86+
The physical definition of the incompressible solvers is accomplished by setting an appropriate flow condition for initialization and non-dimensionalization. SU2 solves the [incompressible Navier-Stokes equations](/docs_v7/Theory/#incompressible-navier-stokes) in a general form allowing for variable density due to heat transfer through the low-Mach approximation (or incompressible ideal gas formulation).
8787

8888
### Thermodynamic and Gauge Pressure ###
8989

_docs_v7/Quick-Start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Next, we want to run the adjoint solution to get the sensitivity of the objectiv
107107
- **restart_adj_cd.dat** - restart file in an internal format for restarting this simulation in SU2. Note that the name of the objective appears in the file name.
108108
- **history.dat** or **history.csv** - file containing the convergence history information.
109109

110-
Note that as of SU2 v4.1, you can also compute a discrete adjoint for the Euler equations. Assuming that you have built the code with [algorithmic differentiation support](/docs_v7/Build-SU2-From-Source/#basic-configuration), you can run the discrete adjoint with the following steps instead:
110+
Note that as of SU2 v4.1, you can also compute a discrete adjoint for the Euler equations. Assuming that you have built the code with [algorithmic differentiation support](/docs_v7/Build-SU2-Linux-MacOS/#basic-configuration), you can run the discrete adjoint with the following steps instead:
111111
1. Open the config file and change the parameter `MATH_PROBLEM` from `DIRECT` to `DISCRETE_ADJOINT`, and save this file.
112112
2. Rename the restart file (restart_flow.dat) to "solution_flow.dat" so that the adjoint code has access to the direct flow solution.
113113
3. Run the executable again by entering `SU2_CFD_AD inv_NACA0012.cfg` at the command line. Note that the `SU2_CFD_AD` executable will only be available when the source has been compiled with AD support.

_docs_v7/Software-Components.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ title: Software Components
33
permalink: /docs_v7/Software-Components/
44
---
55

6+
7+
---
8+
9+
- [C++ Software Modules](#c-software-modules)
10+
- [Algorithmic Differentiation Support and Discrete Adjoint](#algorithmic-differentiation-support-and-discrete-adjoint)
11+
- [Python Scripts](#python-scripts)
12+
13+
---
14+
615
The SU2 software suite is composed of a set of C++ based software modules that perform a wide range of CFD analysis and PDE-constrained optimization tasks. An overall description of each module is included below to give perspective on the suite's capabilities, while more details can be found in the Developer's Guide. Some modules can be executed individually, most notably SU2_CFD to perform high-fidelity analysis, but the real power of the suite lies in the coupling of the modules to perform complex activities, including design optimization and adaptive grid refinement, among others.
716

817
A key feature of the C++ modules is that each has been designed to separate functionality as much as possible and to leverage the advantages of the class-inheritance structure of the programming language. This makes SU2 an ideal platform for prototyping new numerical methods, discretization schemes, governing equation sets, mesh perturbation algorithms, adaptive mesh refinement schemes, parallelization schemes, etc. You simply need to define a new subclass and get down to business. This philosophy makes SU2 quickly extensible to a wide variety of PDE analyses suited to the needs of the user, and work is ongoing to incorporate additional features for future SU2 releases.

_docs_v7/Solver-Setup.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Solver Setup
33
permalink: /docs_v7/Solver-Setup/
44
---
55

6-
**This guide is for version 7 only**
7-
86
This is a basic introduction on how to set up a simulation using SU2. We distinguish between single-zone computations and multi-zone computations. The following considers a single zone only. For an explanation on multi-zone problems, continue with [Basics of Multi-Zone Computations](/docs_v7/Multizone).
97

108
---

_docs_v7/Theory.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Governing Equations in SU2
33
permalink: /docs_v7/Theory/
44
---
55

6-
**This guide is for version 7 only**
7-
86
This page contains a very brief summary of the different governing equation sets that are treated in each of the solvers within SU2. The reader will be referred to other references for the full detail of the numerical implementations, but we will also describe the approaches at a high level here.
97

108
---

0 commit comments

Comments
 (0)