pvtu (unstructured)
Ciao Stefano,
Do you have an example to write pvtu?
I can only find pvts in the examples and the source file seems to include pvts only.
Thanks!
Ok, sorry I have misunderstood the usage. It works for pvtu. Here what I have done, it can be usefull to other users as well:
ierr = pvtk_field_file%initialize(filename='postProc/VTKfields/Parallel/mesh.pvtu', &
mesh_topology='PUnstructuredGrid', mesh_kind="Float64")
ierr = pvtk_field_file%xml_writer%write_dataarray(location='cell', action='open')
!error = pvtk_field_file%xml_writer%write_parallel_dataarray(data_name='int32_scalar', &
! data_type='Int32', &
! number_of_components=1)
ierr = pvtk_field_file%xml_writer%write_dataarray(location='cell', action='close')
ierr = pvtk_field_file%xml_writer%write_parallel_geo(source="./file1.vtu")
ierr = pvtk_field_file%xml_writer%write_parallel_geo(source="./file2.vtu")
ierr = pvtk_field_file%finalize()
@AliE89
I am sorry for my delay.
Have you solved it? I have to improve examples and docs, my bad.
Hi Stefano,
Yes it was really easy doing that, i found an example in the doc in the end :)
I am still a bit puzzled on polyheadral cells, any suggestion?
On Fri, 12 Mar 2021, 09:07 Stefano Zaghi, @.***> wrote:
@AliE89 https://github.com/AliE89
I am sorry for my delay.
Have you solved it? I have to improve examples and docs, my bad.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/szaghi/VTKFortran/issues/32#issuecomment-797312456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4ZV6QK6MHQ4I37K2NNPVTTDHDU5ANCNFSM4UCLC6HQ .
@AliE89
I am still a bit puzzled on polyheadral cells, any suggestion?
Indeed, nope because I have never used poly output. I'll try to figure out how complicated is to support it (I guess not so complicated), but I cannot plan a timeline right now, I am really too much busy with my official work.