Skip to content

Commit

Permalink
Deploying to gh-pages from @ 4cad39b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkuhn committed Oct 23, 2024
0 parents commit 629978f
Show file tree
Hide file tree
Showing 97 changed files with 10,244 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: b9f2d9b340cc2e81bd4364b58fc2cdb9
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added .nojekyll
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/PhaseVi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions _sources/amr-wind/abl.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

.. include:: ../../amr-wind/atmospheric_boundary_layer/README.md
:parser: myst

`Go to cases in repository
<https://github.com/Exawind/exawind-benchmarks/tree/main/amr-wind/atmospheric_boundary_layer>`__
7 changes: 7 additions & 0 deletions _sources/amr-wind/benchmarks.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Benchmark problems using AMR-Wind
=================================

.. toctree::
:maxdepth: 2

abl
14 changes: 14 additions & 0 deletions _sources/amr-wind/published.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Additional published cases using AMR-Wind
=========================================

These simulations have been performed for verification and validation of this CFD tool.
Following publication of the methods paper on AMR-Wind, this page will provide those cases
to the public, though these are not intended as benchmark cases in the same manner as the
rest of this repository. For now, while the paper is under review, we provide the input
files only.

`Go to verification cases in repository
<https://github.com/Exawind/exawind-benchmarks/tree/main/amr-wind/verification>`__

`Go to validation cases in repository
<https://github.com/Exawind/exawind-benchmarks/tree/main/amr-wind/validation>`__
8 changes: 8 additions & 0 deletions _sources/exawind/benchmarks.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Benchmark problems using hybrid overset solver (ExaWind)
========================================================

.. toctree::
:maxdepth: 2

nrel_phase_vi
nrel_5mw
7 changes: 7 additions & 0 deletions _sources/exawind/nrel_5mw.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@


.. include:: ../../exawind/NREL_5MW_Turbine/README.md
:parser: myst

`Go to cases in repository
<https://github.com/Exawind/exawind-benchmarks/tree/main/exawind/NREL_5MW_Turbine>`__
7 changes: 7 additions & 0 deletions _sources/exawind/nrel_phase_vi.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@


.. include:: ../../exawind/NREL_Phase_VI_Turbine/README.md
:parser: myst

`Go to cases in repository
<https://github.com/Exawind/exawind-benchmarks/tree/main/exawind/NREL_Phase_VI_Turbine>`__
36 changes: 36 additions & 0 deletions _sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.. include:: ../README.md
:parser: myst

.. toctree::
:maxdepth: 2

info


ExaWind
-------

.. toctree::
:maxdepth: 2

exawind/benchmarks


AMR-Wind
--------

.. toctree::
:maxdepth: 2

amr-wind/benchmarks
amr-wind/published


Nalu-Wind
---------

.. toctree::
:maxdepth: 2

nalu-wind/benchmarks

7 changes: 7 additions & 0 deletions _sources/info.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Contributing to exawind-benchmarks
==================================

.. note::

For now, contributing to this repository is strictly an internal exercise for the DOE HFM project.
Public contributions from the research community will be sought and incorporated starting in 2025.
12 changes: 12 additions & 0 deletions _sources/nalu-wind/2d_airfoil_trans.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

.. include:: ../../nalu-wind/2D_airfoil_Transition/README.md
:parser: myst

`Go to cases in repository
<https://github.com/Exawind/exawind-benchmarks/tree/main/nalu-wind/2D_airfoil_Transition>`__

.. toctree::
:maxdepth: 1

clcd_cfd_total

8 changes: 8 additions & 0 deletions _sources/nalu-wind/3d_airfoil_iddes.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@


.. include:: ../../nalu-wind/3D_airfoil_IDDES/README.md
:parser: myst


`Go to cases in repository
<https://github.com/Exawind/exawind-benchmarks/tree/main/nalu-wind/3D_airfoil_IDDES>`__
8 changes: 8 additions & 0 deletions _sources/nalu-wind/benchmarks.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Benchmark problems using Nalu-Wind
==================================

.. toctree::
:maxdepth: 1

2d_airfoil_trans
3d_airfoil_iddes
120 changes: 120 additions & 0 deletions _sources/nalu-wind/clcd_cfd_total.ipynb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Postprocessing for DU00-W-212: Coefficients of lift and drag\n",
"## Angle of attack sweep"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import yaml\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"size=14\n",
"params = {'legend.fontsize': 'large',\n",
" 'axes.labelsize': size,\n",
" 'axes.titlesize': size,\n",
" 'xtick.labelsize': size,\n",
" 'ytick.labelsize': size}\n",
"plt.rcParams.update(params)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# For website workflow\n",
"path_prefix = '../../nalu-wind/2D_airfoil_Transition/DU00-W-212/figures_and_scripts/'"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"re_list=[3]\n",
"\n",
"n_re=len(re_list)\n",
"\n",
"for i in range(n_re):\n",
" re = re_list[i]\n",
" file =path_prefix+'../reference_data/exp_du00w212_re{:02d}M.yaml'.format(int(re))\n",
" with open(file, \"r\") as data:\n",
" clcd=yaml.safe_load(data)\n",
"\n",
" with open(path_prefix+'../performance/du00w212_F_rey{:08d}.yaml'.format(int(re*1e6)), \"r\") as data3:\n",
" cfd_trans=yaml.safe_load(data3)\n",
"\n",
" with open(path_prefix+'../performance/du00w212_F_rey{:08d}_turb.yaml'.format(int(re*1e6)), \"r\") as data1:\n",
" cfd_turb=yaml.safe_load(data1)\n",
"\n",
"\n",
" plt.figure(figsize=(11,4))\n",
" plt.subplot(1, 3, 1)\n",
" plt.plot(clcd['DU00W212']['aoa'],clcd['DU00W212']['cl'],'ko')\n",
" plt.plot(cfd_turb['du00w212_F']['aoa'],cfd_turb['du00w212_F']['cl'],'--')\n",
" plt.plot(cfd_trans['du00w212_F']['aoa'],cfd_trans['du00w212_F']['cl'])\n",
" plt.xlabel('Angle of Attack [deg]')\n",
" plt.xlim([-10, 20])\n",
" plt.ylim([-1, 2])\n",
" plt.ylabel('Lift coefficient, $C_{l}$')\n",
" plt.grid()\n",
" plt.tight_layout() \n",
" plt.legend(['Experiment','Turbulent','Transition'])\n",
" \n",
"\n",
" plt.subplot(1, 3, 2)\n",
" plt.plot(clcd['DU00W212']['cd'],clcd['DU00W212']['cl'],'ko')\n",
" plt.plot(cfd_turb['du00w212_F']['cd'],cfd_turb['du00w212_F']['cl'],'--')\n",
" plt.plot(cfd_trans['du00w212_F']['cd'],cfd_trans['du00w212_F']['cl'])\n",
" plt.xlabel('Drag coefficient, $C_{d}$')\n",
" plt.ylabel('Lift coefficient, $C_{l}$')\n",
" plt.xlim([0.0,0.03])\n",
" plt.ylim([-1, 2])\n",
" plt.grid()\n",
" plt.tight_layout() \n",
"\n",
"\n",
" plt.subplot(1, 3, 3)\n",
" plt.plot(clcd['DU00W212']['aoa'],clcd['DU00W212']['cm'],'ko')\n",
" plt.plot(cfd_turb['du00w212_F']['aoa'],np.array(cfd_turb['du00w212_F']['cm'])*-1,'--')\n",
" plt.plot(cfd_trans['du00w212_F']['aoa'],np.array(cfd_trans['du00w212_F']['cm'])*-1)\n",
" plt.xlabel('Angle of Attack [deg]')\n",
" plt.ylabel('Pitching moment coefficient, $C_{m}$')\n",
" plt.xlim([-10, 20])\n",
" plt.ylim([-0.12, -0.02])\n",
" plt.grid()\n",
" plt.tight_layout() \n",
"\n",
" # plt.savefig(\"du_rey_%dM.png\"%re,dpi=300)\n",
"\n",
"plt.show()"
]
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
123 changes: 123 additions & 0 deletions _static/_sphinx_javascript_frameworks_compat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
/* Compatability shim for jQuery and underscores.js.
*
* Copyright Sphinx contributors
* Released under the two clause BSD licence
*/

/**
* small helper function to urldecode strings
*
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL
*/
jQuery.urldecode = function(x) {
if (!x) {
return x
}
return decodeURIComponent(x.replace(/\+/g, ' '));
};

/**
* small helper function to urlencode strings
*/
jQuery.urlencode = encodeURIComponent;

/**
* This function returns the parsed url parameters of the
* current request. Multiple values per key are supported,
* it will always return arrays of strings for the value parts.
*/
jQuery.getQueryParameters = function(s) {
if (typeof s === 'undefined')
s = document.location.search;
var parts = s.substr(s.indexOf('?') + 1).split('&');
var result = {};
for (var i = 0; i < parts.length; i++) {
var tmp = parts[i].split('=', 2);
var key = jQuery.urldecode(tmp[0]);
var value = jQuery.urldecode(tmp[1]);
if (key in result)
result[key].push(value);
else
result[key] = [value];
}
return result;
};

/**
* highlight a given string on a jquery object by wrapping it in
* span elements with the given class name.
*/
jQuery.fn.highlightText = function(text, className) {
function highlight(node, addItems) {
if (node.nodeType === 3) {
var val = node.nodeValue;
var pos = val.toLowerCase().indexOf(text);
if (pos >= 0 &&
!jQuery(node.parentNode).hasClass(className) &&
!jQuery(node.parentNode).hasClass("nohighlight")) {
var span;
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
if (isInSVG) {
span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
} else {
span = document.createElement("span");
span.className = className;
}
span.appendChild(document.createTextNode(val.substr(pos, text.length)));
node.parentNode.insertBefore(span, node.parentNode.insertBefore(
document.createTextNode(val.substr(pos + text.length)),
node.nextSibling));
node.nodeValue = val.substr(0, pos);
if (isInSVG) {
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
var bbox = node.parentElement.getBBox();
rect.x.baseVal.value = bbox.x;
rect.y.baseVal.value = bbox.y;
rect.width.baseVal.value = bbox.width;
rect.height.baseVal.value = bbox.height;
rect.setAttribute('class', className);
addItems.push({
"parent": node.parentNode,
"target": rect});
}
}
}
else if (!jQuery(node).is("button, select, textarea")) {
jQuery.each(node.childNodes, function() {
highlight(this, addItems);
});
}
}
var addItems = [];
var result = this.each(function() {
highlight(this, addItems);
});
for (var i = 0; i < addItems.length; ++i) {
jQuery(addItems[i].parent).before(addItems[i].target);
}
return result;
};

/*
* backward compatibility for jQuery.browser
* This will be supported until firefox bug is fixed.
*/
if (!jQuery.browser) {
jQuery.uaMatch = function(ua) {
ua = ua.toLowerCase();

var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
/(webkit)[ \/]([\w.]+)/.exec(ua) ||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
/(msie) ([\w.]+)/.exec(ua) ||
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
[];

return {
browser: match[ 1 ] || "",
version: match[ 2 ] || "0"
};
};
jQuery.browser = {};
jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
}
Loading

0 comments on commit 629978f

Please sign in to comment.