Partition mesh for VTKOutput

Hello,

I am currently simulating an Eddy current problem consisting of a small conducting object in a large domain and I wish to export the solution using the VTKOutput function. Is there a way in which to ‘partition’ the mesh to use the Multi-block Inspector feature in ParaView, so that only the object and surrounding field lines can be seen?

Kind regards,

Ben

Dear Ben,

I have no experience with the multi-block inspector feature and wouldn’t know where this feature needs to be put for the VTK-format.

But what you can do is, export a field that assumes different values on different objects, e.g. with DomainConstantCoefficientFunction, i.e. CoefficientFunction([1,2,3,4,5]) . Afterwards you can use ParaViews filters to select only certain objects…

Best,
Christoph

Dear Christoph,

That’s excellent. Thank you very much.

Kind regards,

Ben