Skip to content

Commit 878d064

Browse files
committed
Merge branch 'feature_tutorials_fea' of github.com:su2code/su2code.github.io into feature_tutorials_fea
2 parents 239d685 + feef603 commit 878d064

27 files changed

+322
-48
lines changed

_data/tutorials.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@
4040
- Inviscid_3D_Constrained_ONERAM6
4141
- Multi_Objective_Shape_Design
4242

43+
- title: Structural Mechanics
44+
tutorials:
45+
- Linear_Elasticity
46+
- Linear_Dynamics
47+
- Dynamics
48+
- Nonlinear_Elasticity
49+
4350
- title: Event Content
4451
tutorials:
4552
- event_content

_layouts/tutorials.html

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,94 @@
1010

1111
<div class="col-md-8">
1212
<h1>{{ page.title }}</h1>
13+
14+
<div id="markdown-content-container"><table>
15+
<thead>
16+
<tr>
17+
<th>Written by</th>
18+
<th>for Version</th>
19+
<th>Revised by</th>
20+
<th>Revision date</th>
21+
<th>Revised version</th>
22+
</tr>
23+
</thead>
24+
<tbody>
25+
<tr>
26+
<td><a href="https://github.com/{{ page.written_by }}">@{{ page.written_by }}</a></td>
27+
<td>{{ page.for_version }}</td>
28+
<td><a href="https://github.com/{{ page.revised_by }}">@{{ page.revised_by }}</a></td>
29+
<td>{{ page.revision_date }}</td>
30+
<td>{{ page.revised_version }}</td>
31+
</tr>
32+
</tbody>
33+
</table>
34+
</div>
35+
<div id="markdown-content-container">
36+
<!--
37+
<h6 id="at-one-glance"><strong>At one glance</strong></h6>
38+
<h6 id="solver-elasticity">Solver: <code style="text-transform: uppercase;" class="language-plaintext highlighter-rouge">{{ page.solver }}</code></h6>
39+
<h6 id="requires-su2_cfd">Uses: <code style="text-transform: uppercase;" class="language-plaintext highlighter-rouge">{{ page.requires }}</code></h6>
40+
<h6 id="follows-linear-elasticity">Prerequisites:
41+
{% if page.follows %}
42+
{% for section in site.data.tutorials %}
43+
{% for item in section.tutorials %}
44+
{% if item == page.follows %}
45+
{% assign item_url = item | prepend:"/tutorials/" | append:"/" %}
46+
{% assign p = site.tutorials | where:"url", item_url | first %}
47+
<a href="{{p.permalink}}"><strong>{{p.title}}</strong></a>
48+
{% endif %}
49+
{% endfor %}
50+
{% endfor %}
51+
{% else %}
52+
<strong>None</strong>
53+
{% endif %}
54+
</h6>
55+
<h6 id="complexity-basic">
56+
Complexity:
57+
{% if page.complexity == "basic" %}
58+
<span style="color: green;"><strong>Basic</strong></span>
59+
{% elsif page.complexity == "advanced" %}
60+
<span style="color: orange;"><strong>Advanced</strong></span>
61+
{% endif %}
62+
</h6> -->
63+
<table style="width:50%">
64+
<tbody>
65+
<tr>
66+
<td> <h6 id="solver-elasticity">Solver:</h6></td>
67+
<td> <h6><code style="text-transform: uppercase;" class="language-plaintext highlighter-rouge">{{ page.solver }}</code></h6></td>
68+
</tr>
69+
<tr>
70+
<td> <h6 id="solver-elasticity">Uses:</h6></td>
71+
<td> <h6><code style="text-transform: uppercase;" class="language-plaintext highlighter-rouge">{{ page.requires }}</code></h6></td>
72+
</tr>
73+
<tr>
74+
<td> <h6 id="solver-elasticity">Prerequisites:</h6></td>
75+
<td> <h6> {% if page.follows %}
76+
{% for section in site.data.tutorials %}
77+
{% for item in section.tutorials %}
78+
{% if item == page.follows %}
79+
{% assign item_url = item | prepend:"/tutorials/" | append:"/" %}
80+
{% assign p = site.tutorials | where:"url", item_url | first %}
81+
<a href="{{p.permalink}}"><strong>{{p.title}}</strong></a>
82+
{% endif %}
83+
{% endfor %}
84+
{% endfor %}
85+
{% else %}
86+
<strong>None</strong>
87+
{% endif %} </h6> </td>
88+
</tr>
89+
<tr>
90+
<td> <h6 id="solver-elasticity">Complexity:</h6></td>
91+
<td> <h6>{% if page.complexity == "basic" %}
92+
<span style="color: green;"><strong>Basic</strong></span>
93+
{% elsif page.complexity == "advanced" %}
94+
<span style="color: orange;"><strong>Advanced</strong></span>
95+
{% endif %}</h6></td>
96+
</tr>
97+
</tbody>
98+
</table>
99+
</div>
100+
13101
<div id="markdown-content-container">{{ content }}</div>
14102
<hr>
15103
{% unless page.disable_comments %}
@@ -23,7 +111,7 @@ <h1>{{ page.title }}</h1>
23111
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
24112
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
25113
};
26-
*/
114+
*/
27115
(function() { // DON'T EDIT BELOW THIS LINE
28116
var d = document, s = d.createElement('script');
29117
s.src = 'https://su2code-github-io.disqus.com/embed.js';

_tutorials/compressible_flow/Inviscid_Bump.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
---
22
title: Inviscid Bump in a Channel
33
permalink: /tutorials/Inviscid_Bump/
4+
written_by: economon
5+
for_version: 7.0.0
6+
revised_by: economon
7+
revision_date: Nov 23, 2019
8+
revised_version: 7.0.0
9+
solver: Euler
10+
requires: SU2_CFD
11+
complexity: basic
12+
follows:
413
---
514

615
![Channel Mach](../../Inviscid_Bump/images/channel_mach.png)

_tutorials/compressible_flow/Inviscid_ONERAM6.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
---
22
title: Inviscid ONERA M6
33
permalink: /tutorials/Inviscid_ONERAM6/
4+
written_by: economon
5+
for_version: 7.0.0
6+
revised_by: economon
7+
revision_date: Nov 23, 2019
8+
revised_version: 7.0.0
9+
solver: Euler
10+
requires: SU2_CFD
11+
complexity: basic
12+
follows:
413
---
514

615
![ONERA M6 Cp](../../Inviscid_ONERAM6/images/oneram6_cp.png)

_tutorials/compressible_flow/Inviscid_Wedge.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
---
22
title: Inviscid Supersonic Wedge
33
permalink: /tutorials/Inviscid_Wedge/
4+
written_by: economon
5+
for_version: 7.0.0
6+
revised_by: economon
7+
revision_date: Nov 23, 2019
8+
revised_version: 7.0.0
9+
solver: Euler
10+
requires: SU2_CFD
11+
complexity: basic
12+
follows:
413
---
514

615
![Wedge Mach](../../Inviscid_Wedge/images/wedge_mach.png)

_tutorials/compressible_flow/Laminar_Cylinder.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
---
22
title: Laminar Cylinder
33
permalink: /tutorials/Laminar_Cylinder/
4+
written_by: economon
5+
for_version: 7.0.0
6+
revised_by: economon
7+
revision_date: Nov 23, 2019
8+
revised_version: 7.0.0
9+
solver: Navier_Stokes
10+
requires: SU2_CFD
11+
complexity: basic
12+
follows:
413
---
514

615
![Cylinder Mach](../../Laminar_Cylinder/images/cylinder_mach.png)

_tutorials/compressible_flow/Laminar_Flat_Plate.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
---
22
title: Laminar Flat Plate
33
permalink: /tutorials/Laminar_Flat_Plate/
4+
written_by: economon
5+
for_version: 7.0.0
6+
revised_by: economon
7+
revision_date: Nov 23, 2019
8+
revised_version: 7.0.0
9+
solver: Euler
10+
requires: SU2_CFD
11+
complexity: basic
12+
follows:
413
---
514

615
![Lam Plate Profile](../../Laminar_Flat_Plate/images/lam_plate_velocity_profile.png)

_tutorials/compressible_flow/NICFD_nozzle.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
---
22
title: Non-ideal compressible flow in a supersonic nozzle
33
permalink: /tutorials/NICFD_nozzle/
4+
written_by: AlbertoGuardone
5+
for_version: 7.0.0
6+
revised_by: economon
7+
revision_date: Nov 25, 2019
8+
revised_version: 7.0.0
9+
solver: RANS
10+
requires: SU2_CFD
11+
complexity: advanced
12+
follows:
413
---
514

615
![NICFD nozzle Mach](../../NICFD_nozzle/images/mach_isolines.png)

_tutorials/compressible_flow/Transitional_Flat_Plate.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
---
22
title: Transitional Flat Plate
33
permalink: /tutorials/Transitional_Flat_Plate/
4+
written_by: sametcaka
5+
for_version: 7.0.0
6+
revised_by: economon
7+
revision_date: Nov 25, 2019
8+
revised_version: 7.0.0
9+
solver: RANS
10+
requires: SU2_CFD
11+
complexity: basic
12+
follows:
413
---
514

615
![lam_to_turb](../../Transitional_Flat_Plate/images/lam_to_turb.png)

_tutorials/compressible_flow/Turbulent_Flat_Plate.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
---
22
title: Turbulent Flat Plate
33
permalink: /tutorials/Turbulent_Flat_Plate/
4+
written_by: economon
5+
for_version: 7.0.0
6+
revised_by: economon
7+
revision_date: Nov 23, 2019
8+
revised_version: 7.0.0
9+
solver: RANS
10+
requires: SU2_CFD
11+
complexity: basic
12+
follows:
413
---
514

615
![Turb Plate Uplus v Yplus](../../Turbulent_Flat_Plate/images/turb_plate_uplus_vs_yplus.png)

0 commit comments

Comments
 (0)