corrected the mesh and made new plots
This commit is contained in:
parent
53d1375ec8
commit
ab2e6655be
@ -5,12 +5,12 @@ import numpy as np
|
||||
|
||||
class rect_grid(basegrid):
|
||||
def __init__(self, xres = 5, yres = 5):
|
||||
xmin = -1.0
|
||||
xmin = 0.0
|
||||
xmax = 1.0
|
||||
xspan = xmax - xmin
|
||||
xdel = xspan / float(xres - 1)
|
||||
|
||||
ymin = -1.0
|
||||
ymin = 0.0
|
||||
ymay = 1.0
|
||||
yspan = ymay - ymin
|
||||
ydel = yspan / float(yres - 1)
|
||||
@ -23,6 +23,7 @@ class rect_grid(basegrid):
|
||||
for y in xrange(yres):
|
||||
cur_y = ymin + (y * ydel)
|
||||
verts.append([cur_x, cur_y])
|
||||
|
||||
basegrid.__init__(self, verts, q)
|
||||
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
0.100000 5.454494e-02 5.385062e-02 5.285891e-02 4.914554e-02 4.488438e-02 4.020851e-02 4.433579e-01 2.521226e-01
|
||||
0.050000 1.395413e-02 9.207197e-03 6.992931e-03 3.470894e-03 2.343029e-03 7.337325e-04 3.926965e-02 3.088069e-02
|
||||
0.033333 5.929130e-03 2.436320e-03 1.556538e-03 6.478921e-04 2.365862e-04 5.163879e-05 3.950535e-03 1.099002e+00
|
||||
0.025000 3.458819e-03 1.145676e-03 5.850644e-04 1.480250e-04 4.109060e-05 9.028686e-06 1.554569e-03 2.617057e-03
|
||||
0.020000 2.165222e-03 5.263389e-04 2.267443e-04 5.100656e-05 1.084291e-05 5.646885e-06 7.666564e-04 2.129549e-03
|
||||
0.016667 1.377098e-03 2.505284e-04 1.035185e-04 1.721742e-05 3.774741e-06 1.655421e-06 6.967292e-04 6.838002e-03
|
||||
0.014286 1.170563e-03 1.687289e-04 6.493112e-05 7.191407e-06 1.531990e-06 1.308904e-06 5.677920e-04 5.421984e-03
|
||||
0.012500 8.080628e-04 9.612236e-05 3.451960e-05 3.464730e-06 5.684743e-07 8.885804e-07 4.182451e-02 6.473690e-04
|
||||
0.011111 6.734982e-04 5.635833e-05 2.376308e-05 1.490200e-06 3.279834e-07 2.602764e-07 3.428042e-04 2.750414e-04
|
||||
0.010000 5.439859e-04 3.895801e-05 1.519603e-05 8.181585e-07 1.671981e-07 1.533771e-07 1.503568e-04 3.344840e-04
|
||||
0.100000 1.637328e-02 1.462713e-02 1.000316e-02 5.221184e-03 3.792113e-03 1.323822e-03 9.277809e-03 3.834921e-02
|
||||
0.050000 3.292171e-03 1.243923e-03 4.940050e-04 2.109698e-04 6.265180e-05 1.081369e-05 7.086743e-03 2.085659e-02
|
||||
0.033333 1.536209e-03 3.166279e-04 1.206234e-04 1.874661e-05 5.303405e-06 2.850155e-06 2.240988e-03 1.234826e-03
|
||||
0.025000 8.350804e-04 1.190533e-04 3.332604e-05 4.969945e-06 9.938975e-07 1.787592e-06 2.819614e-03 6.760725e-03
|
||||
0.020000 5.139549e-04 5.144205e-05 1.342862e-05 1.356542e-06 2.140337e-07 6.319879e-07 4.110682e-04 1.715253e-02
|
||||
0.016667 3.799089e-04 2.943013e-05 7.295969e-06 4.084648e-07 7.293417e-08 7.565645e-08 3.325752e-03 3.506310e-04
|
||||
0.014286 2.566200e-04 1.423665e-05 3.521158e-06 1.523187e-07 2.530578e-08 1.552308e-07 1.126009e-03 8.339098e-04
|
||||
0.012500 2.115614e-04 9.434243e-06 2.241611e-06 9.892594e-08 1.024229e-08 4.294765e-07 2.134890e-04 1.274215e-04
|
||||
0.011111 1.739088e-04 8.274832e-06 1.445481e-06 5.188582e-08 5.034793e-09 2.485874e-07 1.014358e-04 9.579705e-05
|
||||
0.010000 1.339844e-04 5.317339e-06 9.453005e-07 2.251065e-08 2.847412e-09 1.683554e-08 2.901334e-04 1.542943e-04
|
||||
|
@ -14,5 +14,5 @@ plot './resolution.2D.64.out' u 1:2 t "{/Symbol n} = 1" w l,\
|
||||
"" u 1:3 t "{/Symbol n} = 2" w l,\
|
||||
"" u 1:4 t "{/Symbol n} = 3" w l,\
|
||||
"" u 1:5 t "{/Symbol n} = 4" w l,\
|
||||
"" u 1:6 t "{/Symbol n} = 5" w l,\
|
||||
"" u 1:7 t "{/Symbol n} = 6" w l;
|
||||
"" u 1:6 t "{/Symbol n} = 5" w l;
|
||||
# "" u 1:7 t "{/Symbol n} = 6" w l;
|
||||
|
Loading…
Reference in New Issue
Block a user