Partition mesh for VTKOutput

More
4 years 9 months ago #2382 by BenWilson94
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
More
4 years 9 months ago #2383 by schruste
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
The following user(s) said Thank You: BenWilson94
More
4 years 9 months ago #2384 by BenWilson94
Dear Christoph,

That's excellent. Thank you very much.

Kind regards,

Ben
Time to create page: 0.110 seconds