Skip to content

Commit c243659

Browse files
committed
Deploying to gh-pages from @ 04338f8 🚀
0 parents  commit c243659

File tree

98 files changed

+10256
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+10256
-0
lines changed

.buildinfo

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: b9f2d9b340cc2e81bd4364b58fc2cdb9
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7

.nojekyll

Whitespace-only changes.
Binary file not shown.
Loading

_images/PhaseVi.png

139 KB
Loading

_sources/amr-wind/abl.rst.txt

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
.. include:: ../../amr-wind/atmospheric_boundary_layer/README.md
3+
:parser: myst
4+
5+
`Go to cases in repository
6+
<https://github.com/Exawind/exawind-benchmarks/tree/main/amr-wind/atmospheric_boundary_layer>`__
7+
8+
The neutral ABL case was run until statistical convergence, whereas the other cases
9+
where run for only 100 steps to record computational performance. The plots from the neutral ABL case are
10+
provided :download:`here <abl_neutral.pdf>`.

_sources/amr-wind/benchmarks.rst.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Benchmark problems using AMR-Wind
2+
=================================
3+
4+
.. toctree::
5+
:maxdepth: 2
6+
7+
abl

_sources/amr-wind/published.rst.txt

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Additional published cases using AMR-Wind
2+
=========================================
3+
4+
These simulations have been performed for verification and validation of this CFD tool.
5+
Following publication of the methods paper on AMR-Wind, this page will provide those cases
6+
to the public, though these are not intended as benchmark cases in the same manner as the
7+
rest of this repository. For now, while the paper is under review, we provide the input
8+
files only.
9+
10+
`Go to verification cases in repository
11+
<https://github.com/Exawind/exawind-benchmarks/tree/main/amr-wind/verification>`__
12+
13+
`Go to validation cases in repository
14+
<https://github.com/Exawind/exawind-benchmarks/tree/main/amr-wind/validation>`__

_sources/exawind/benchmarks.rst.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Benchmark problems using hybrid overset solver (ExaWind)
2+
========================================================
3+
4+
.. toctree::
5+
:maxdepth: 2
6+
7+
nrel_phase_vi
8+
nrel_5mw

_sources/exawind/nrel_5mw.rst.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
3+
.. include:: ../../exawind/NREL_5MW_Turbine/README.md
4+
:parser: myst
5+
6+
`Go to cases in repository
7+
<https://github.com/Exawind/exawind-benchmarks/tree/main/exawind/NREL_5MW_Turbine>`__
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
3+
.. include:: ../../exawind/NREL_Phase_VI_Turbine/README.md
4+
:parser: myst
5+
6+
`Go to cases in repository
7+
<https://github.com/Exawind/exawind-benchmarks/tree/main/exawind/NREL_Phase_VI_Turbine>`__

_sources/index.rst.txt

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.. include:: ../README.md
2+
:parser: myst
3+
4+
.. toctree::
5+
:maxdepth: 2
6+
7+
info
8+
9+
10+
ExaWind
11+
-------
12+
13+
.. toctree::
14+
:maxdepth: 2
15+
16+
exawind/benchmarks
17+
18+
19+
AMR-Wind
20+
--------
21+
22+
.. toctree::
23+
:maxdepth: 2
24+
25+
amr-wind/benchmarks
26+
amr-wind/published
27+
28+
29+
Nalu-Wind
30+
---------
31+
32+
.. toctree::
33+
:maxdepth: 2
34+
35+
nalu-wind/benchmarks
36+

_sources/info.rst.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Contributing to exawind-benchmarks
2+
==================================
3+
4+
.. note::
5+
6+
For now, contributing to this repository is strictly an internal exercise for the DOE HFM project.
7+
Public contributions from the research community will be sought and incorporated starting in 2025.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
.. include:: ../../nalu-wind/2D_airfoil_Transition/README.md
3+
:parser: myst
4+
5+
`Go to cases in repository
6+
<https://github.com/Exawind/exawind-benchmarks/tree/main/nalu-wind/2D_airfoil_Transition>`__
7+
8+
.. toctree::
9+
:maxdepth: 1
10+
11+
clcd_cfd_total
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
3+
.. include:: ../../nalu-wind/3D_airfoil_IDDES/README.md
4+
:parser: myst
5+
6+
7+
`Go to cases in repository
8+
<https://github.com/Exawind/exawind-benchmarks/tree/main/nalu-wind/3D_airfoil_IDDES>`__

_sources/nalu-wind/benchmarks.rst.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Benchmark problems using Nalu-Wind
2+
==================================
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
7+
2d_airfoil_trans
8+
3d_airfoil_iddes
+120
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# Postprocessing for DU00-W-212: Coefficients of lift and drag\n",
8+
"## Angle of attack sweep"
9+
]
10+
},
11+
{
12+
"cell_type": "code",
13+
"execution_count": null,
14+
"metadata": {},
15+
"outputs": [],
16+
"source": [
17+
"import yaml\n",
18+
"import matplotlib.pyplot as plt\n",
19+
"import numpy as np"
20+
]
21+
},
22+
{
23+
"cell_type": "code",
24+
"execution_count": null,
25+
"metadata": {},
26+
"outputs": [],
27+
"source": [
28+
"size=14\n",
29+
"params = {'legend.fontsize': 'large',\n",
30+
" 'axes.labelsize': size,\n",
31+
" 'axes.titlesize': size,\n",
32+
" 'xtick.labelsize': size,\n",
33+
" 'ytick.labelsize': size}\n",
34+
"plt.rcParams.update(params)"
35+
]
36+
},
37+
{
38+
"cell_type": "code",
39+
"execution_count": null,
40+
"metadata": {},
41+
"outputs": [],
42+
"source": [
43+
"# For website workflow\n",
44+
"path_prefix = '../../nalu-wind/2D_airfoil_Transition/DU00-W-212/figures_and_scripts/'"
45+
]
46+
},
47+
{
48+
"cell_type": "code",
49+
"execution_count": null,
50+
"metadata": {},
51+
"outputs": [],
52+
"source": [
53+
"re_list=[3]\n",
54+
"\n",
55+
"n_re=len(re_list)\n",
56+
"\n",
57+
"for i in range(n_re):\n",
58+
" re = re_list[i]\n",
59+
" file =path_prefix+'../reference_data/exp_du00w212_re{:02d}M.yaml'.format(int(re))\n",
60+
" with open(file, \"r\") as data:\n",
61+
" clcd=yaml.safe_load(data)\n",
62+
"\n",
63+
" with open(path_prefix+'../performance/du00w212_F_rey{:08d}.yaml'.format(int(re*1e6)), \"r\") as data3:\n",
64+
" cfd_trans=yaml.safe_load(data3)\n",
65+
"\n",
66+
" with open(path_prefix+'../performance/du00w212_F_rey{:08d}_turb.yaml'.format(int(re*1e6)), \"r\") as data1:\n",
67+
" cfd_turb=yaml.safe_load(data1)\n",
68+
"\n",
69+
"\n",
70+
" plt.figure(figsize=(11,4))\n",
71+
" plt.subplot(1, 3, 1)\n",
72+
" plt.plot(clcd['DU00W212']['aoa'],clcd['DU00W212']['cl'],'ko')\n",
73+
" plt.plot(cfd_turb['du00w212_F']['aoa'],cfd_turb['du00w212_F']['cl'],'--')\n",
74+
" plt.plot(cfd_trans['du00w212_F']['aoa'],cfd_trans['du00w212_F']['cl'])\n",
75+
" plt.xlabel('Angle of Attack [deg]')\n",
76+
" plt.xlim([-10, 20])\n",
77+
" plt.ylim([-1, 2])\n",
78+
" plt.ylabel('Lift coefficient, $C_{l}$')\n",
79+
" plt.grid()\n",
80+
" plt.tight_layout() \n",
81+
" plt.legend(['Experiment','Turbulent','Transition'])\n",
82+
" \n",
83+
"\n",
84+
" plt.subplot(1, 3, 2)\n",
85+
" plt.plot(clcd['DU00W212']['cd'],clcd['DU00W212']['cl'],'ko')\n",
86+
" plt.plot(cfd_turb['du00w212_F']['cd'],cfd_turb['du00w212_F']['cl'],'--')\n",
87+
" plt.plot(cfd_trans['du00w212_F']['cd'],cfd_trans['du00w212_F']['cl'])\n",
88+
" plt.xlabel('Drag coefficient, $C_{d}$')\n",
89+
" plt.ylabel('Lift coefficient, $C_{l}$')\n",
90+
" plt.xlim([0.0,0.03])\n",
91+
" plt.ylim([-1, 2])\n",
92+
" plt.grid()\n",
93+
" plt.tight_layout() \n",
94+
"\n",
95+
"\n",
96+
" plt.subplot(1, 3, 3)\n",
97+
" plt.plot(clcd['DU00W212']['aoa'],clcd['DU00W212']['cm'],'ko')\n",
98+
" plt.plot(cfd_turb['du00w212_F']['aoa'],np.array(cfd_turb['du00w212_F']['cm'])*-1,'--')\n",
99+
" plt.plot(cfd_trans['du00w212_F']['aoa'],np.array(cfd_trans['du00w212_F']['cm'])*-1)\n",
100+
" plt.xlabel('Angle of Attack [deg]')\n",
101+
" plt.ylabel('Pitching moment coefficient, $C_{m}$')\n",
102+
" plt.xlim([-10, 20])\n",
103+
" plt.ylim([-0.12, -0.02])\n",
104+
" plt.grid()\n",
105+
" plt.tight_layout() \n",
106+
"\n",
107+
" # plt.savefig(\"du_rey_%dM.png\"%re,dpi=300)\n",
108+
"\n",
109+
"plt.show()"
110+
]
111+
}
112+
],
113+
"metadata": {
114+
"language_info": {
115+
"name": "python"
116+
}
117+
},
118+
"nbformat": 4,
119+
"nbformat_minor": 2
120+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
/* Compatability shim for jQuery and underscores.js.
2+
*
3+
* Copyright Sphinx contributors
4+
* Released under the two clause BSD licence
5+
*/
6+
7+
/**
8+
* small helper function to urldecode strings
9+
*
10+
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL
11+
*/
12+
jQuery.urldecode = function(x) {
13+
if (!x) {
14+
return x
15+
}
16+
return decodeURIComponent(x.replace(/\+/g, ' '));
17+
};
18+
19+
/**
20+
* small helper function to urlencode strings
21+
*/
22+
jQuery.urlencode = encodeURIComponent;
23+
24+
/**
25+
* This function returns the parsed url parameters of the
26+
* current request. Multiple values per key are supported,
27+
* it will always return arrays of strings for the value parts.
28+
*/
29+
jQuery.getQueryParameters = function(s) {
30+
if (typeof s === 'undefined')
31+
s = document.location.search;
32+
var parts = s.substr(s.indexOf('?') + 1).split('&');
33+
var result = {};
34+
for (var i = 0; i < parts.length; i++) {
35+
var tmp = parts[i].split('=', 2);
36+
var key = jQuery.urldecode(tmp[0]);
37+
var value = jQuery.urldecode(tmp[1]);
38+
if (key in result)
39+
result[key].push(value);
40+
else
41+
result[key] = [value];
42+
}
43+
return result;
44+
};
45+
46+
/**
47+
* highlight a given string on a jquery object by wrapping it in
48+
* span elements with the given class name.
49+
*/
50+
jQuery.fn.highlightText = function(text, className) {
51+
function highlight(node, addItems) {
52+
if (node.nodeType === 3) {
53+
var val = node.nodeValue;
54+
var pos = val.toLowerCase().indexOf(text);
55+
if (pos >= 0 &&
56+
!jQuery(node.parentNode).hasClass(className) &&
57+
!jQuery(node.parentNode).hasClass("nohighlight")) {
58+
var span;
59+
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
60+
if (isInSVG) {
61+
span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
62+
} else {
63+
span = document.createElement("span");
64+
span.className = className;
65+
}
66+
span.appendChild(document.createTextNode(val.substr(pos, text.length)));
67+
node.parentNode.insertBefore(span, node.parentNode.insertBefore(
68+
document.createTextNode(val.substr(pos + text.length)),
69+
node.nextSibling));
70+
node.nodeValue = val.substr(0, pos);
71+
if (isInSVG) {
72+
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
73+
var bbox = node.parentElement.getBBox();
74+
rect.x.baseVal.value = bbox.x;
75+
rect.y.baseVal.value = bbox.y;
76+
rect.width.baseVal.value = bbox.width;
77+
rect.height.baseVal.value = bbox.height;
78+
rect.setAttribute('class', className);
79+
addItems.push({
80+
"parent": node.parentNode,
81+
"target": rect});
82+
}
83+
}
84+
}
85+
else if (!jQuery(node).is("button, select, textarea")) {
86+
jQuery.each(node.childNodes, function() {
87+
highlight(this, addItems);
88+
});
89+
}
90+
}
91+
var addItems = [];
92+
var result = this.each(function() {
93+
highlight(this, addItems);
94+
});
95+
for (var i = 0; i < addItems.length; ++i) {
96+
jQuery(addItems[i].parent).before(addItems[i].target);
97+
}
98+
return result;
99+
};
100+
101+
/*
102+
* backward compatibility for jQuery.browser
103+
* This will be supported until firefox bug is fixed.
104+
*/
105+
if (!jQuery.browser) {
106+
jQuery.uaMatch = function(ua) {
107+
ua = ua.toLowerCase();
108+
109+
var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
110+
/(webkit)[ \/]([\w.]+)/.exec(ua) ||
111+
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
112+
/(msie) ([\w.]+)/.exec(ua) ||
113+
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
114+
[];
115+
116+
return {
117+
browser: match[ 1 ] || "",
118+
version: match[ 2 ] || "0"
119+
};
120+
};
121+
jQuery.browser = {};
122+
jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
123+
}

0 commit comments

Comments
 (0)