Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,874 changes: 1,874 additions & 0 deletions clementi/.ipynb_checkpoints/Linear_vortex_Panel_Method-checkpoint.ipynb

Large diffs are not rendered by default.

1,874 changes: 1,874 additions & 0 deletions clementi/Linear_vortex_Panel_Method.ipynb

Large diffs are not rendered by default.

Binary file added clementi/resources/A_matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions clementi/resources/CP_Gregory_expdata_alpha_10.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Data from Gregory & O'Reilly, NASA R&M 3726, Jan 1970
# Re=2.88 million
# Data was digitized from a photocopy - hence is only approximate
# Data for upper airfoil surface only
# variables="x/c","cp"
#alpha=10


0 -3.66423
0.00218341 -5.04375
0.00873362 -5.24068
0.0131004 -4.67125
0.0174672 -4.32079
0.0480349 -2.74347
0.0742358 -2.26115
0.0982533 -1.95405
0.124454 -1.7345
0.146288 -1.55884
0.176856 -1.36109
0.28821 -1.00829
0.320961 -0.941877
0.384279 -0.787206
0.447598 -0.654432
0.515284 -0.543461
0.576419 -0.432633
0.637555 -0.343703
0.700873 -0.254725
0.766376 -0.1657
0.831878 -0.098572
0.893013 -0.00964205
0.958515 0.0793835
1 0.124088
1,083 changes: 1,083 additions & 0 deletions clementi/resources/linear_el.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
130 changes: 130 additions & 0 deletions clementi/resources/naca0012.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
1.0 0.0
0.9994161 0.0013419
0.9976658 0.001587
0.9947532 0.0019938
0.990685 0.0025595
0.9854709 0.0032804
0.9791229 0.0041519
0.9716559 0.0051685
0.9630873 0.0063238
0.9534372 0.0076108
0.942728 0.0090217
0.9309849 0.0105485
0.9182351 0.0121823
0.9045085 0.0139143
0.8898372 0.0157351
0.8742554 0.0176353
0.8577995 0.0196051
0.8405079 0.0216347
0.8224211 0.0237142
0.8035813 0.0258337
0.7840324 0.0279828
0.7638202 0.0301515
0.7429917 0.0323294
0.7215958 0.0345058
0.6996823 0.03667
0.6773025 0.0388109
0.6545085 0.0409174
0.6313537 0.0429778
0.6078921 0.0449802
0.5841786 0.0469124
0.5602683 0.0487619
0.5362174 0.0505161
0.5120819 0.052162
0.4879181 0.0536866
0.4637826 0.0550769
0.4397317 0.05632
0.4158215 0.0574033
0.3921079 0.0583145
0.3686463 0.0590419
0.3454915 0.0595747
0.3226976 0.0599028
0.3003177 0.0600172
0.2784042 0.0599102
0.2570083 0.0595755
0.2361799 0.0590081
0.2159676 0.0582048
0.1964187 0.057164
0.1775789 0.0558856
0.1594921 0.0543715
0.1422005 0.0526251
0.1257446 0.0506513
0.1101628 0.0484567
0.0954915 0.0460489
0.0817649 0.0434371
0.0690152 0.040631
0.057272 0.0376414
0.0465628 0.0344792
0.0369127 0.0311559
0.0283441 0.0276827
0.0208771 0.0240706
0.0145291 0.02033
0.0093149 0.0164706
0.0052468 0.0125011
0.0023342 0.0084289
0.0005839 0.0042603
0.0 0.0
0.0005839 -0.0042603
0.0023342 -0.0084289
0.0052468 -0.0125011
0.0093149 -0.0164706
0.0145291 -0.02033
0.0208771 -0.0240706
0.0283441 -0.0276827
0.0369127 -0.0311559
0.0465628 -0.0344792
0.057272 -0.0376414
0.0690152 -0.040631
0.0817649 -0.0434371
0.0954915 -0.0460489
0.1101628 -0.0484567
0.1257446 -0.0506513
0.1422005 -0.0526251
0.1594921 -0.0543715
0.1775789 -0.0558856
0.1964187 -0.057164
0.2159676 -0.0582048
0.2361799 -0.0590081
0.2570083 -0.0595755
0.2784042 -0.0599102
0.3003177 -0.0600172
0.3226976 -0.0599028
0.3454915 -0.0595747
0.3686463 -0.0590419
0.3921079 -0.0583145
0.4158215 -0.0574033
0.4397317 -0.05632
0.4637826 -0.0550769
0.4879181 -0.0536866
0.5120819 -0.052162
0.5362174 -0.0505161
0.5602683 -0.0487619
0.5841786 -0.0469124
0.6078921 -0.0449802
0.6313537 -0.0429778
0.6545085 -0.0409174
0.6773025 -0.0388109
0.6996823 -0.03667
0.7215958 -0.0345058
0.7429917 -0.0323294
0.7638202 -0.0301515
0.7840324 -0.0279828
0.8035813 -0.0258337
0.8224211 -0.0237142
0.8405079 -0.0216347
0.8577995 -0.0196051
0.8742554 -0.0176353
0.8898372 -0.0157351
0.9045085 -0.0139143
0.9182351 -0.0121823
0.9309849 -0.0105485
0.942728 -0.0090217
0.9534372 -0.0076108
0.9630873 -0.0063238
0.9716559 -0.0051685
0.9791229 -0.0041519
0.9854709 -0.0032804
0.990685 -0.0025595
0.9947532 -0.0019938
0.9976658 -0.001587
0.9994161 -0.0013419
143 changes: 143 additions & 0 deletions clementi/styles/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
<link href='http://fonts.googleapis.com/css?family=Fenix' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Alegreya+Sans:100,300,400,500,700,800,900,100italic,300italic,400italic,500italic,700italic,800italic,900italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Source+Code+Pro:300,400' rel='stylesheet' type='text/css'>
<style>

@font-face {
font-family: "Computer Modern";
src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');
}


#notebook_panel { /* main background */
background: rgb(245,245,245);
}

div.cell { /* set cell width */
width: 750px;
}

div #notebook { /* centre the content */
background: #fff; /* white background for content */
width: 1000px;
margin: auto;
padding-left: 0em;
}

#notebook li { /* More space between bullet points */
margin-top:0.8em;
}

/* draw border around running cells */
div.cell.border-box-sizing.code_cell.running {
border: 1px solid #111;
}

/* Put a solid color box around each cell and its output, visually linking them*/
div.cell.code_cell {
background-color: rgb(256,256,256);
border-radius: 0px;
padding: 0.5em;
margin-left:1em;
margin-top: 1em;
}


div.text_cell_render{
font-family: 'Alegreya Sans' sans-serif;
line-height: 140%;
font-size: 125%;
font-weight: 400;
width:600px;
margin-left:auto;
margin-right:auto;
}

/* Formatting for header cells */
.text_cell_render h1 {
font-family: 'Alegreya Sans', sans-serif;
font-style:regular;
font-weight: 200;
font-size: 50pt;
line-height: 100%;
color:#CD2305;
margin-bottom: 0.5em;
margin-top: 0.5em;
display: block;
}
.text_cell_render h2 {
font-family: 'Fenix', serif;
font-size: 22pt;
line-height: 100%;
margin-bottom: 0.1em;
margin-top: 0.3em;
display: block;
}

.text_cell_render h3 {
font-family: 'Fenix', serif;
margin-top:12px;
font-size: 16pt;
margin-bottom: 3px;
font-style: regular;
}

.text_cell_render h4 { /*Use this for captions*/
font-family: 'Fenix', serif;
font-size: 2pt;
text-align: center;
margin-top: 0em;
margin-bottom: 2em;
font-style: regular;
}

.text_cell_render h5 { /*Use this for small titles*/
font-family: 'Alegreya Sans', sans-serif;
font-weight: 300;
font-size: 16pt;
color: #CD2305;
font-style: italic;
margin-bottom: .5em;
margin-top: 0.5em;
display: block;
}

.text_cell_render h6 { /*use this for copyright note*/
font-family: 'Source Code Pro', sans-serif;
font-weight: 300;
font-size: 9pt;
line-height: 100%;
color: grey;
margin-bottom: 1px;
margin-top: 1px;
}

.CodeMirror{
font-family: "Source Code Pro";
font-size: 90%;
}
/* .prompt{
display: None;
}*/


.warning{
color: rgb( 240, 20, 20 )
}
</style>
<script>
MathJax.Hub.Config({
TeX: {
extensions: ["AMSmath.js"],
equationNumbers: { autoNumber: "AMS", useLabelIds: true}
},
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
},
displayAlign: 'center', // Change this to 'center' to center equations.
"HTML-CSS": {
styles: {'.MathJax_Display': {"margin": 4}}
}
});
</script>