Partition mesh for VTKOutput

7 months 1 week 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

Please Log in or Create an account to join the conversation.

7 months 1 week 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

Please Log in or Create an account to join the conversation.

7 months 1 week ago #2384 by BenWilson94
Dear Christoph,

That's excellent. Thank you very much.

Kind regards,

Ben

Please Log in or Create an account to join the conversation.

© 2019 Netgen/NGSolve