Extract data from different material domains

Hi everyone,

I have a problem with how to extract data from fluid and solid domains. My geometry is a little complex and can not extract data with “Select cells through” simply. Now I select different domains with “Interactive Select cells on” one by one. But it takes time for a lot of cells.
I thank I can extract cells according to my mesh file, in other words, I create a mesh file and convert it to a vtk file, mesh.vtk for example, or other format that can be imported to paraview, and mark the different domains in the mesh file. And extract result data according to the mesh file while my program can’t mark different domian when the program output the results, solution-00*.vtk for example. I want import mesh.vtk and solution-00*.vtk to paraview and extract data of solution-00*.vtk from different domains according to mesh.vtk. Is it possible?

Best,
Chen

Hi @hkchm ,

This sound like ResampleWithDataSet filter.

Best,

Thank you, Mathieu Westphal!

I think this is what I want!

Best
Chen