VTK files to ExodusII

Hi,

I have a vtk file containing an unstructured grid, in addition to a set of other vtk files containing the grid’s boundary information as polydata (each boundary has a file on its own). I simply need to convert this grid into an exodus file, having those boundaries as side sets in the exodus file. May you please guide me into an example on how to do the conversion? The unstructured grid is straight forward to do, but exporting the sidesets was really challenging. I appreciate your help!

I don’t use ExodusII much anymore, but here are some examples: