Skip to content
New issue

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

Revamp ONSAS export to ParaView #516

Merged
merged 9 commits into from
Nov 15, 2024
Merged

Revamp ONSAS export to ParaView #516

merged 9 commits into from
Nov 15, 2024

Conversation

mvanzulli
Copy link
Member

@mvanzulli mvanzulli commented Nov 3, 2024

Closes #455
Closes #517
Closes #518

demo

Summary

This MR adds a VTK export module to output ONSAS simulation data (displacements, strain, stress) for visualization in ParaView. Supports single time-step .vtu exports and .pvd time-series collections.

Key Features

  • VTK Export: write_vtk generates .vtu files with nodal and element data.
  • Time-Series Support: Generates .pvd collections for multi-step visualization.
  • Modular Structure: Helpers for data extraction and formatting (write_node_data, write_cell_data, to_vtk).

Notes

  • DISCLAIMER: Users are responsible for verifying exported tensors per element formulation.

@mvanzulli mvanzulli self-assigned this Nov 3, 2024
@mvanzulli mvanzulli marked this pull request as draft November 3, 2024 20:58
@mvanzulli mvanzulli changed the title Refactor VTK interface Revamp ONSAS export to ParaView Nov 10, 2024
@mvanzulli mvanzulli requested a review from jorgepz November 10, 2024 17:02
@mvanzulli mvanzulli marked this pull request as ready for review November 10, 2024 17:02
@mvanzulli mvanzulli merged commit 416fa1c into main Nov 15, 2024
4 checks passed
@mvanzulli mvanzulli deleted the mvanzulli/455-refactor-vtk branch November 15, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write ParaView collection files Refactor and extend VTK integration Unit tests for VTK exports
3 participants