Skip to content

Commit 0a9414f

Browse files
committed
Minor typos
1 parent f40df7e commit 0a9414f

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

_tutorials/design_features/Inviscid_2D_Unconstrained_NACA0012.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Unconstrained shape design of an transonic inviscid airfoil at a cte. AoA
2+
title: Unconstrained shape design of a transonic inviscid airfoil at a cte. AoA
33
permalink: /tutorials/Inviscid_2D_Unconstrained_NACA0012/
44
---
55

@@ -39,7 +39,7 @@ The flow conditions of this numerical experiment are such that transonic shocks
3939
- Temperature = 273.15 K
4040
- Mach number = 0.8
4141

42-
While more advanced design problems can be selected, such as those containing flow and/or geoemtric constraints, we will consider a simple unconstrained drag minimization problem here to get started. Please note that, becuase this is a 2D Euler problem without constratins, the expected minimmum drag is going to be zero (or a small value due to numerical error in the spatial integration of the equation). To achive that theoretical minimum will depend on the selected design variables and the hability of the optimizer to identify a global minimum.
42+
While more advanced design problems can be selected, such as those containing flow and/or geoemtric constraints, we will consider a simple unconstrained drag minimization problem here to get started. Please note that, because this is a 2D Euler problem without constraints, the expected minimum drag is going to be zero (or a small value due to numerical error in the spatial integration of the equation). To achieve that theoretical minimum will depend on the selected design variables and the ability of the optimizer to identify a global minimum.
4343

4444
### Mesh Description
4545

@@ -160,20 +160,9 @@ Note that there are many other types of design variables available in SU2, and e
160160
![NACA 0012 Pressure](../../Inviscid_2D_Unconstrained_NACA0012/images/naca0012_pressure_opt.png)
161161
Figure (3): Pressure contours for the baseline NACA 0012 airfoil.
162162

163-
### Running SU2_GEO
164-
165-
To prepare the ground for a future optimization with geometrical constratints it is interesting to execute the SU2_GEO software by typing
166-
```
167-
$ SU2_GEO inv_NACA0012
168-
```
169-
The screen output of this software provides useful geometrical information (airfoil thickness, choord, etc) that the designer can use in the future, for example, by adding a basic geometrical constraint in the config file
170-
```
171-
OPT_CONSTRAINT= (AIRFOIL_THICKNESS > 0.12)
172-
```
173-
174163
### Running SU2
175164

176-
The continuous adjoint methodology for obtaining surface sensitivities is implemented for several equation sets within SU2. After solving the direct flow problem, the adjoint problem is also solved which offers an efficient approach for calculating the gradient of an objective function with respect to a large set of design variables. This leads directly to a gradient-based optimization framework. With each design iteration, the direct and adjoint solutions are used to compute the objective function and gradient, and the optimizer drives the shape changes with this information in order to minimize the objective. Two other SU2 tools are used to compute the gradient from the adjoint solution (SU2_DOT) and deform the computational mesh (SU2_DEF) during the process. Note that if a geometrical constratint is added, its value and gradient will be coumpued by SU2_GEO
165+
The continuous adjoint methodology for obtaining surface sensitivities is implemented for several equation sets within SU2. After solving the direct flow problem, the adjoint problem is also solved which offers an efficient approach for calculating the gradient of an objective function with respect to a large set of design variables. This leads directly to a gradient-based optimization framework. With each design iteration, the direct and adjoint solutions are used to compute the objective function and gradient, and the optimizer drives the shape changes with this information in order to minimize the objective. Two other SU2 tools are used to compute the gradient from the adjoint solution (SU2_DOT) and deform the computational mesh (SU2_DEF) during the process. Note that if a geometrical constrains is added, its value and gradient will be computed by SU2_GEO
177166

178167
![NACA 0012 Adjoint](../../Inviscid_2D_Unconstrained_NACA0012/images/naca0012_psi_density.png)
179168
Figure (4): Adjoint density contours on the baseline NACA 0012 airfoil.

_tutorials/design_features/Inviscid_3D_Constrained_ONERAM6.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ The following tutorial will walk you through the steps required when performing
2727

2828
### Problem Setup
2929

30-
The goal of this wing design problem is to minimize the coefficient of drag by changing the shape while imposing lift and wing section thickness constraints. As design variables, we will use a free-form deformation approach. In this approach, a lattice of control points making up a bounding box are placed around the geometry, and the movement of these control points smoothly deforms the surface shape of the geometry inside. We begin with a 3D fixed-wing geometry (initially the ONERA M6) at transonic speed in air (inviscid). The flow conditions are the same as for the previous [Inviscid ONERA M6](https://su2code.github.io/Tutorials/docs/Inviscid_OneraM6/) tutorial.
30+
The goal of this wing design problem is to minimize the coefficient of drag by changing the shape while imposing lift and wing section thickness constraints. As design variables, we will use a free-form deformation approach. In this approach, a lattice of control points making up a bounding box are placed around the geometry, and the movement of these control points smoothly deforms the surface shape of the geometry inside. We begin with a 3D fixed-wing geometry (initially the ONERA M6) at transonic speed in air (inviscid). The flow conditions are the same as for the previous ONERA M6 tutorial.
3131

3232
![Opt. ONERA Grid](../../Inviscid_3D_Constrained_ONERAM6/images/onera_grid.png)
3333
Figure (1): View of the initial surface computational mesh.
3434

3535
### Mesh Description
3636

37-
The mesh consists of a far-field boundary divided in three surfaces (XNORMAL_FACES, ZNORMAL_FACES, YNORMAL_FACES), an Euler wall (flow tangency) divided into three surfaces (UPPER_SIDE, LOWER_SIDE, TIP), and a symmetry plane (SYMMETRY_FACE). The baseline mesh is the same as for the previous [Inviscid ONERA M6](https://su2code.github.io/Tutorials/docs/Inviscid_OneraM6/) tutorial. The surface mesh can be seen in Figure (1).
37+
The mesh consists of a far-field boundary divided in three surfaces (XNORMAL_FACES, ZNORMAL_FACES, YNORMAL_FACES), an Euler wall (flow tangency) divided into three surfaces (UPPER_SIDE, LOWER_SIDE, TIP), and a symmetry plane (SYMMETRY_FACE). The baseline mesh is the same as for the previous ONERA M6 tutorial. The surface mesh can be seen in Figure (1).
3838

3939
![Opt. ONERA FFD](../../Inviscid_3D_Constrained_ONERAM6/images/onera_ffd.png)
4040
Figure (2): View of the initial FFD box around the ONERA M6 wing, including the control points (spheres).

_tutorials/design_features/Turbulent_2D_Constrained_RAE2822.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You can find the resources for this tutorial in the folder [Turbulent_Shape_Desi
2121

2222
## Tutorial
2323

24-
The following tutorial will walk you through the steps required when performing shape design for the transonic turbulent airfoil using SU2 and the automatic differentiation tool. It is assumed that you have already obtained and compiled SU2_CFD, SU2_CFD_AD, SU2_DOT, SU2_DOT_AD, SU2_GEO, and SU2_DEF. The design loop is driven by the shape_optimization.py script, and thus Python along with the NumPy and SciPy Python modules are required for this tutorial. If you have yet to complete these requirements, please see the [Download](https://github.com/su2code/SU2/wiki/Download) and [Installation](https://github.com/su2code/SU2/wiki/Installation) pages. And do not forget to install the AD design capability [AD Build](https://github.com/su2code/SU2/wiki/AD-Build).
24+
The following tutorial will walk you through the steps required when performing shape design for the transonic turbulent airfoil using SU2 and the automatic differentiation tool. It is assumed that you have already obtained and compiled SU2_CFD, SU2_CFD_AD, SU2_DOT, SU2_DOT_AD, SU2_GEO, and SU2_DEF. The design loop is driven by the shape_optimization.py script, and thus Python along with the NumPy and SciPy Python modules are required for this tutorial. If you have yet to complete these requirements, please see the [Download](/docs/Download/) and [Installation](/docs/Installation/) pages. And do not forget to install the AD design capability [AD Build](/docs/AD-Build/).
2525

2626
### Background
2727

0 commit comments

Comments
 (0)