Closed guotao1415 closed 5 months ago
It should be vtu. It’s like saying Nastran file in the docs, but it expects op2.
On Mon, Apr 1, 2024 at 7:31 PM guotao1415 @.***> wrote:
Excuse me, I found this:
vtk_filename : str the output filename; expected to be a *.vtu file
When I changed the file name suffix to vtk, I found that the converted vtk file was the same as the vtu file. Is this because it can only be converted to vtu format? Can we directly convert the op2 file to a vtk file?
Looking forward to your reply, thank you.
— Reply to this email directly, view it on GitHub https://github.com/SteveDoyle2/pyNastran/issues/776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICUWOMA4SQ3ONB3PWW75LY3IJ7DAVCNFSM6AAAAABFSRDA4CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTSNBTHEZDKMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
In other words, I’m saying using it as Vtk being the software that you’re exporting to. You can name it whatever you want, but I don’t know how paraview will interpret that
On Tue, Apr 2, 2024 at 2:58 AM Steven Doyle @.***> wrote:
It should be vtu. It’s like saying Nastran file in the docs, but it expects op2.
On Mon, Apr 1, 2024 at 7:31 PM guotao1415 @.***> wrote:
Excuse me, I found this:
vtk_filename : str the output filename; expected to be a *.vtu file
When I changed the file name suffix to vtk, I found that the converted vtk file was the same as the vtu file. Is this because it can only be converted to vtu format? Can we directly convert the op2 file to a vtk file?
Looking forward to your reply, thank you.
— Reply to this email directly, view it on GitHub https://github.com/SteveDoyle2/pyNastran/issues/776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICUWOMA4SQ3ONB3PWW75LY3IJ7DAVCNFSM6AAAAABFSRDA4CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTSNBTHEZDKMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
In other words, I’m saying using it as Vtk being the software that you’re exporting to. You can name it whatever you want, but I don’t know how paraview will interpret that … On Tue, Apr 2, 2024 at 2:58 AM Steven Doyle @.> wrote: It should be vtu. It’s like saying Nastran file in the docs, but it expects op2. On Mon, Apr 1, 2024 at 7:31 PM guotao1415 @.> wrote: > Excuse me, I found this: > > vtk_filename : str > the output filename; expected to be a *.vtu file > > When I changed the file name suffix to vtk, I found that the converted > vtk file was the same as the vtu file. Is this because it can only be > converted to vtu format? Can we directly convert the op2 file to a vtk file? > > Looking forward to your reply, thank you. > > — > Reply to this email directly, view it on GitHub > <#776>, or unsubscribe > https://github.com/notifications/unsubscribe-auth/AAICUWOMA4SQ3ONB3PWW75LY3IJ7DAVCNFSM6AAAAABFSRDA4CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTSNBTHEZDKMI > . > You are receiving this because you are subscribed to this thread.Message > ID: @.***> >
Thank you for your reply.
Your code can convert a. op2 file into a. vtu file, but I actually want to convert a. op2 file into a. vtk file.
If you don't have the function to convert. vtk files here, then I can only convert. op2 to. vtu first, and then find other ways to convert. vtu files to. vtk files.
Do you have any other good suggestions? Looking forward to your reply.
Nope. That's it.
Excuse me, I found this:
vtk_filename : str the output filename; expected to be a *.vtu file
When I changed the file name suffix to vtk, I found that the converted vtk file was the same as the vtu file. Is this because it can only be converted to vtu format? Can we directly convert the op2 file to a vtk file?
Looking forward to your reply, thank you.