-
Notifications
You must be signed in to change notification settings - Fork 122
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
Writing to VTK file #3
Comments
More than willing to help. I actually have modified it on my end for a different project.
Send me what you have and I'll see what I can do.
On Tue 16. May 2017 at 16:32, PJBunting ***@***.***> wrote:
I am in the process of adding the functionality to write results to a VTK
unstructured grid (.vtu) format using vtk.vtkXMLPUnstructuredGridWriter().
So that I may view results in Paraview and do further post processing.
So far I have made small changes to the reader file to return the uGrid
object and then write this to a file. However in paraview the only
available data set are the node number. Indicating that I am unsuccessfully
associating the data set with the uGrid object when writing to file.
Is this a functionality you are considering? Or something you be able to
assist with?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALbTP757JzYzSa54Pd56TyQqxHI5_xqsks5r6bNigaJpZM4NclxN>
.
--
- Alex
|
First I have added a return command to Reader.LoadCBD (return self.uGrid) from pyansys import Tests def DisplayResult(): if name == 'main': |
Just updated the code. See the example from the link below to save an archive file as a *.vtu file. |
I am in the process of adding the functionality to write results to a VTK unstructured grid (.vtu) format using vtk.vtkXMLPUnstructuredGridWriter(). So that I may view results in Paraview and do further post processing.
So far I have made small changes to the reader file to return the uGrid object and then write this to a file. However in paraview the only available data set are the node number. Indicating that I am unsuccessfully associating the data set with the uGrid object when writing to file.
Is this a functionality you are considering? Or something you be able to assist with?
The text was updated successfully, but these errors were encountered: