This notebook gives examples on how to use the data processing and plotting functions.
from __future__ import division, print_function
import os
if os.path.split(os.getcwd())[-1] == "Documents":
print("Setting working directory to experiment root directory")
os.chdir("../")
%matplotlib inline
from Modules.plotting import *
# Set matplotlib parameters
setpltparams(latex=False)
# Plot contours of mean streamwise velocity
plotwake("meanucont")
Name | Description |
---|---|
meanucont |
Contours of mean velocity $U$ |
v-wquiver |
Vectors of mean cross-stream and vertical velocities $V$ and $W$ |
Lists of plots can be generated by giving a list of names to the plotwake
function:
plotlist = ["meanu_2tsrs", "stdu_2tsrs", "stdv_2tsrs"]
plotwake(plotlist)
plotperf()
At tsr = 1.9, C_P = 0.257553502869 ; C_D = 0.964349975716