In [2]:
%matplotlib
In [3]:
import scipy as np
from matplotlib import pyplot as plt
In [4]:
data = np.loadtxt('cylinder2/postProcessing/forceCoeffs1/0/forceCoeffs.dat')
t = data[:,0]
Cm = data[:,1] # total moment coefficient: Cm
Cd = data[:,2] # total drag coefficient: Cd
Cl = data[:,3] # total lift coefficient: Cl
Cfl = data[:,4] # total front lift coefficient: Cl(f)
Crl = data[:,5] # total rear lift coefficient: Cl(r)
In [6]:
plt.plot( t , Cl )
Out[6]: