-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
120 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,6 @@ test_reports_nounits/ | |
*.generated.tex | ||
*.tex.md | ||
*.md.py | ||
*.sh | ||
|
||
# xfoil polars | ||
*.pol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
NACA=$1 | ||
POLARFILE=naca$1.cl0.Re$2k.pol | ||
|
||
if [ -f $POLARFILE ] ; then | ||
echo "yes" | ||
rm $POLARFILE | ||
fi | ||
|
||
xfoil << EOF | ||
naca $1 | ||
oper | ||
v $2e3 | ||
pacc | ||
$POLARFILE | ||
iter 200 | ||
cl 0.0 | ||
quit | ||
EOF | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
NACA="0005 0008 0009 0010 0015 0020" | ||
Re="200 250 300 350 400 450 500 550 600 650 700 750 800 850 900" | ||
|
||
for r in $Re | ||
do | ||
for n in $NACA | ||
do | ||
./genpolar.sh $n $r | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
AIRFOIL=$1 | ||
POLARFILE=$1.ncrit09.Re$2k.pol | ||
|
||
if [ -f $POLARFILE ] ; then | ||
echo "yes" | ||
rm $POLARFILE | ||
fi | ||
|
||
xfoil << EOF | ||
load $1.dat | ||
oper | ||
v $2e3 | ||
pacc | ||
$POLARFILE | ||
iter 200 | ||
cseq 0.2 1.2 .05 | ||
quit | ||
EOF | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
AIRFOIL=jho1 | ||
Re="200 250 300 350 400 450 500 550 600 650 700" | ||
for r in $Re | ||
do | ||
./genpolar.sh $AIRFOIL $r | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export PIP=`which pip` | ||
echo $PIP | ||
python -c "from gpkit.tests.test_repo import test_repos; test_repos(xmloutput=True, ingpkitmodels=True)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
python -c "from gpkit.tests.from_paths import run; run()" |