Commit 1e4098ec authored by Michel Henry's avatar Michel Henry
Browse files

fix export_vtk since olf version of MigFlow

parent d2a0ed54
......@@ -150,7 +150,7 @@ fs_node_np = np.array(fs_nodes)
ending_nodes = fs_node_np[np.argsort(coordinates[fs_node_np, 0])][-16:]
toggle_stab = False
fluid.write_vtk(outputdir,0,0)
fluid.export_vtk(outputdir,0,0)
p.write_vtk(outputdir, 0, 0)
random_angles = (np.random.rand(n_chain, 2)*2-.5)*2*r_max # Perturbation
......@@ -230,7 +230,7 @@ while t < tEnd :
# Output files writting
if ii %outf == 0 :
ioutput = int(ii/outf) + 1
fluid.write_vtk(outputdir, ioutput,t)
fluid.export_vtk(outputdir, t, ioutput)
p.write_vtk(outputdir, ioutput, t)
ii += 1
print("%i : %.2g/%.2g (cpu %.6g)" % (ii, t, tEnd, time.time() - tic))
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment