You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pyvista seems to work really nicely and with the correct packages installed the images can be rendered interactively such that the can be rotated and zoomed in the notebook
Example code:
# might need to install also trame and trame-vtk packagesimportpyvistads=pyvista.read('./waveguides_n_guides_1_f10_t0001.pvtu')
ds=ds.threshold(scalars='GeometryIds', value=(1,1))
ds.plot(scalars='electric field re e', cpos='yx', zoom=4.0)
Make an example notebook of simulating something in Elmer and looking at the resulting field with something like https://itkwidgets.readthedocs.io/en/latest/integrations.html#vtk for a fully notebook workflow.
The text was updated successfully, but these errors were encountered: