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

Implement a Parview .vtk export function from the ResultsReader #1

Open
drlukeparry opened this issue Apr 10, 2020 · 2 comments
Open
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@drlukeparry
Copy link
Owner

drlukeparry commented Apr 10, 2020

A paraview .vtk export option to view the results from Calculix would be useful to post-process the results and provide a better presentation of the results.

It is possible to visualise the results using Matplotlib, however, the performance is inadaquate for large mesh sizes

Update: The exported .frd files will be transformed within the ResultsProcessor and a separator exporter translator method will become available for conversion to Paraview .vtu format

Update 2: An additional function has been created to export the .pvd XML file that are used for exporting the complete timestep / increment history generated from Calculix.

@drlukeparry drlukeparry added the enhancement New feature or request label Apr 10, 2020
@drlukeparry drlukeparry self-assigned this Apr 10, 2020
@drlukeparry drlukeparry added this to the v0.2 milestone Sep 3, 2023
@FranseFrikandel
Copy link

Appears a Python implementation for this already exists:
https://github.com/calculix/ccx2paraview

Should be fairly easy to implement this into the ResultsReader from here.

@drlukeparry
Copy link
Owner Author

Yes, an initial function has been created in the dev branch and writes the XML output internally - to avoid the dependency of vtk (this does not install on Mac easily). This reuses the .frd option internally in the ResultsReader for parsing the results.

I have not yet separated functionality to export the full load-step increments, but that should be straightforward to include.

Unfortunately, there isn't a straightforward way to map integration/quadrature points into the .vtu format. Average quantities at the centroid can be specified per element cell, otherwise this will need further work to incorporate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants