Re: Problem with view output results and opening mayavi on windows

70 views
Skip to first unread message

Prabhu Ramachandran

unread,
Apr 18, 2021, 11:01:23 AM4/18/21
to Julio César Ocaña Lagos, pysph-users
On 3/26/21 06:43, Julio César Ocaña Lagos wrote:
Hi, i'm new to python and pysph and was running the sphere_in_vessel example and works. But i have a problem when trying to visualize results in mayavi. Mayavi just doesn't work even when i try to run the mayavi2.exe file in its respective folder. Has anyone solved this problem yet? Plus the pysph view command does not work either. Could someone help me please?

If Mayavi is posing too many headaches you can try to visualize it using the dump_vtk option to dump out VTK files and then use paraview.  Try pysph dump_vtk -h

Alternatively use the jupyter notebook viewer feature.  With the version on github you can run `pysph binder -h` to generate the necessary notebook files.  This is discussed in our recent paper: https://arxiv.org/abs/1909.04504

cheers,
Prabhu

Julio César Ocaña Lagos

unread,
Apr 22, 2021, 8:09:41 PM4/22/21
to pysph-users
Hi, i wanted to thank you and everyone around for your help. I used paraview to visualize the vtk files for one of the examples and it worked. I'll keep using paraview for post processing.
best regards
Reply all
Reply to author
Forward
0 new messages