-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtoon_frederic_epic_file.py
39 lines (29 loc) · 1.07 KB
/
toon_frederic_epic_file.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
"""this is task number 2."""
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import axes3d
import numpy as np
print("here is where the magic will happen")
def Make_TestList():
"""This function makes a testlist.
The testlist consists of 5 lists, each with 5 tuples
to represent the data received by 1.
takes in nothing, starts at the origin with steps of 0.2 till 1
"""
def tuple_returner(i, j):
return (i * 0.2, j * 0.2, 0, i+j, 0, 0)
ans = []
for j in range(6):
semi_ans = []
for i in range(6):
semi_ans.append(tuple_returner(i, j))
ans.append(semi_ans)
return ans
print("Here we gooo!!!")
# we should know what data structure we receive
# with that we can work to get the components of the velocity at different
# points
# the main task is to get the freestream component of the flow and divide it by
# the freestream velocity
# then we can make a clear conclusion between 4 and 16 m/s about the viscosity
# This can be done using a planar graph of the velocity and let them intersect
# eachother