Skip to content

Commit 67d0f94

Browse files
bigfootedclaude
andcommitted
docs: fix tutorial links and unknown option flagged by site check
Use ../../ for the Inc_Laminar_Diffusion_Flame images, drop the stray path prefix from the Inc_Lid_Driven_Cavity resource link, and remove the nonexistent RELAXATION_FACTOR_MOMENTUM option from its config snippet. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 9b53520 commit 67d0f94

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

‎_tutorials/incompressible_flow/Inc_Laminar_Diffusion_Flame/Inc_Laminar_Diffusion_Flame.md‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ follows:
1515

1616
## Goals
1717

18-
![Counterflow burner](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_diffusion_flame_temperature_streamlines.png)
18+
![Counterflow burner](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_diffusion_flame_temperature_streamlines.png)
1919
*Figure (1): 2D axisymmetric configuration of the laminar counterflow diffusion flame. The axisymmetry is shown here vertically to align the simulation results with the usual lab orientation, but in the simulations, the axisymmetry axis is always horizontally at y=0.*
2020

2121
In this tutorial we show how to setup a laminar diffusion flame computation for a counterflow flame. We will use a flamelet method to model combustion, which is a tabulated chemistry approach. The table was precomputed from 1D Cantera solutions using the SU2_DataMiner code. We then reproduce the experiments of C.K. Law, mentioned in his book *Combustion Physics* (2006).
22-
![Counterflow burner](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/opflow01-1024x766_thomsonlab.jpg)
22+
![Counterflow burner](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/opflow01-1024x766_thomsonlab.jpg)
2323
*Figure (2): Counterflow Diffusion burner from the Thomson Lab in Toronto: https://thomsonlab.mie.utoronto.ca/counterflow-diffusion-burner/.*
2424
## Resources
2525

@@ -31,7 +31,7 @@ The resources for this tutorial can be found in the [incompressible_flow/Inc_Lam
3131

3232
The mesh is created using [gmsh](https://gmsh.info/) and a respective `.geo` script is available to recreate/modify the mesh [counterflow.geo](https://github.com/su2code/Tutorials/tree/master/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow.geo). The mesh has quadrilateral cells, with 8324 elements and 8551 points. This very coarse mesh is sufficient to capture accurately resolve the flame for this testcase.
3333

34-
![Mesh with boundary conditions](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/mesh.png)
34+
![Mesh with boundary conditions](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/mesh.png)
3535
*Figure (3): Computational mesh with color indication of the used boundary conditions.*
3636

3737

@@ -123,12 +123,12 @@ The lookup table was generated using the SU2_DataMiner package, which can be fou
123123
[SU2_DataMiner](https://github.com/su2code/SU2_DataMiner)
124124
We will not go into the table generation now, but merely provide the results. For the constant strain diffusion flamelets, we fix the strain rate and run a series of counterflow flames for different enthalpies (we vary the inlet temperature). The resulting solutions for temperature are shown below:
125125

126-
![LUT Temperature](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/ZH_lines_Temperature.png)
126+
![LUT Temperature](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/ZH_lines_Temperature.png)
127127
*Figure (4): The 1D cantera solutions for the counterflow flames, using a variation in inlet temperature.*
128128

129129
We then store the 1D solutions as a 2D field with mixture fraction and enthalpy as the independent variables. The result for temperature and heat release rate is shown below:
130130

131-
![LUT field](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/ZH_fields.png)
131+
![LUT field](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/ZH_fields.png)
132132
*Figure (5): A 2D surface representation of the FGM, showing the temperature and the heat release rate as function of mixture fraction and enthalpy. Note that our enthalpy range is not very large. We can represent constant strain flames with different inlet temperatures, but for simulations with large heat losses the table has to be extended to lower enthalpies.*
133133

134134
Note that the mixture fraction equation is a diffusion equation and does not contain any source terms, unlike the progress variable equation for premixed flames.
@@ -149,42 +149,42 @@ $ mpirun -n <#cores> SU2_CFD lam_nonprem_ch4.cfg
149149

150150
After 800 iterations, the simulation has converged. The convergence plot normalized with the first value of the residual looks like this:
151151

152-
![convergence_plot](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_diffusion_convergence.png)
152+
![convergence_plot](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_diffusion_convergence.png)
153153
*Figure (6): Residual plot showing convergence of the counterflow diffusion flame.*
154154

155155
The residuals for pressure and velocity have dropped by 6 orders of magnitude, which is sufficient for this testcase.
156156

157157
A contour plot of the temperature field in the domain is shown below. Note that only 1/3 of the right vertical edge is an outlet. The smaller outlet will force the flow to accelerate close to the outlet. This prevents backflow, which deteriorates convergence.
158158

159-
![convergence_plot](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_diffusion_flame_temperature_streamlines.png)
159+
![convergence_plot](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_diffusion_flame_temperature_streamlines.png)
160160
*Figure (7): Result visualized using paraview. Shown is the temperature field and the streamlines colored by mixture fraction.*
161161

162162
In the figure we have also indicated the isocontours of mixture fraction for values Z=0.4 (blue), Z=0.5 (dark purple) and Z=0.6 (red), showing that the maximum temperature occurs at $Z<0.4$. The flame looks very diffusive close to the outlet because of the blockage in the corners. Here, a low velocity recirculation zone in the top and bottom corner is mixing the fuel and air, causing the diffusive behavior.
163163

164164
A figure of the temperature on the symmetry axis is shown below, together with measured results from Sung et al. (1995). These results are also mentioned in the book of C.K. Law, *Combustion Physics*.
165-
![convergence_plot](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_S56_temperature.png)
165+
![convergence_plot](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_S56_temperature.png)
166166
*Figure (8): Temperature as function of distance (from the fuel inlet) on the symmetry axis.*
167167

168168
We see that the temperature profile is predicted quite accurately, for the first order as well as for the second order MUSCL scheme.
169169

170170
The methane mole fraction at the fuel inlet was 23%, which can be clearly seen in the figure for mole fraction of $CH_4$ below.
171-
![convergence_plot](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_S56_CH4.png)
171+
![convergence_plot](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_S56_CH4.png)
172172
*Figure (9): Methane mole fraction as function of distance (from the fuel inlet) on the symmetry axis.*
173173

174174
A first sanity check is always to to check that inlet mass fraction or mole fractions are correct. The consumption of $CH_4$ in the flame is also predicted correctly
175175

176176
The $CO_2$ mole fraction is zero at both inlets and rises in the reaction zone.
177-
![convergence_plot](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_S56_CO2.png)
177+
![convergence_plot](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_S56_CO2.png)
178178
*Figure (10): Mole fraction of CO2 as function of distance (from the fuel inlet) on the symmetry axis.*
179179

180180
As for $CH_4$, the $CO_2$ mole fraction in the flame zone is correctly predicted, the maximum value as well as the slope is matching with the experiment.
181181

182182
The lookup value for CO is much lower than the experimentally measured value. CO as well as NO are very slow reactions, and are not accurately predicted by flamelet approaches. To get more accurate results for CO or NO, a separate transport equation should be solved for them. Instead of the value for CO, we look up the source term for the transport equation for CO.
183-
![convergence_plot](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_S56_CO.png)
183+
![convergence_plot](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_S56_CO.png)
184184
*Figure (11): Mole fraction of CO as function of distance (from the fuel inlet) on the symmetry axis.*
185185

186186
The temperature can also be plotted as function of the mixture fraction, leading to the 1D flamelet result shown below.
187-
![convergence_plot](../../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_S56_Z_T.png)
187+
![convergence_plot](../../tutorials_files/incompressible_flow/Inc_Laminar_Diffusion_Flame/counterflow_S56_Z_T.png)
188188
*Figure (12): Temperature as function of mixture fraction, using the values taken at the symmetry axis.*
189189

190190
This shows the typical Burke-Schumann- like behavior where the diffusion flame can be described by a pre-flame and a post-flame zone with almost linear slope for temperature.

‎_tutorials/incompressible_flow/Inc_Lid_Driven_Cavity/Inc_Lid_Driven_Cavity.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The intent of this tutorial is to demonstrate the pressure-correction solver (PI
2727

2828
## Resources
2929

30-
The resources for this tutorial can be found in the [Inc_Lid_Driven_Cavity](incompressible_flow/https://github.com/su2code/Tutorials/tree/master/incompressible_flow/Inc_Lid_Driven_Cavity) directory in the [tutorial repository](https://github.com/su2code/Tutorials). You will need the configuration file ([incomp_pb_liddrivencavity.cfg](https://github.com/su2code/Tutorials/tree/master/incompressible_flow/Inc_Lid_Driven_Cavity/incomp_pb_liddrivencavity.cfg)) and the mesh file ([mesh_cavity_257x257.su2](https://github.com/su2code/Tutorials/tree/master/incompressible_flow/Inc_Lid_Driven_Cavity/mesh_cavity_257x257.su2)).
30+
The resources for this tutorial can be found in the [Inc_Lid_Driven_Cavity](https://github.com/su2code/Tutorials/tree/master/incompressible_flow/Inc_Lid_Driven_Cavity) directory in the [tutorial repository](https://github.com/su2code/Tutorials). You will need the configuration file ([incomp_pb_liddrivencavity.cfg](https://github.com/su2code/Tutorials/tree/master/incompressible_flow/Inc_Lid_Driven_Cavity/incomp_pb_liddrivencavity.cfg)) and the mesh file ([mesh_cavity_257x257.su2](https://github.com/su2code/Tutorials/tree/master/incompressible_flow/Inc_Lid_Driven_Cavity/mesh_cavity_257x257.su2)).
3131

3232

3333
## Tutorial
@@ -104,7 +104,6 @@ For a regular PISO algorithm, the pressure and momentum underrelaxation is commo
104104
KIND_PB_ITER= SIMPLE
105105
PISO_CORRECTIONS = 2
106106
RELAXATION_FACTOR_PRESSURE= 1.0
107-
RELAXATION_FACTOR_MOMENTUM= 1.0
108107
TRANSIENT_TERM_REMOVAL_FACTOR= 0.0
109108
```
110109

0 commit comments

Comments
 (0)