We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
starting with pyvista >= 0.39 it is possible to read XDMF files.
pyvista >= 0.39
import pyvista as pv file = pv.XdmfReader("result.xdmf") file.set_active_time_value(1.0) mesh = file.read()[0] warped = mesh.warp_by_vector("Displacement") warped.plot(scalars="Principal Values of Logarithmic Strain", component=0, cmap="turbo", show_edges=True)
gives
The text was updated successfully, but these errors were encountered:
Result()
currently implemented as
result = fem.ResultXdmf("result.xdmf", time=10) # result = fem.Result(mesh, field) plotter = result.plot( scalars="Principal Values of Logarithmic Strain", scalar_bar_vertical=True, off_screen=True, ) plotter.show(screenshot="test.png")
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
starting with
pyvista >= 0.39
it is possible to read XDMF files.gives
The text was updated successfully, but these errors were encountered: