Extract mesh surfaces from .STL files

Hi there!

Very silly problem here. But unfortunately i haven’t founded any solutions yet. I aim to estimate the flow rate at some 2D-surfaces internal to my mesh (i.e no boundaries or inlet-outlet patch), using the filter SurfaceFlow. Could do it by taking different slices, but in this way it’s going to be too laborious.

I have instead the .STL files of these internal surfaces (made it by FreeCAD). Basically internal circular holes of my burner. Can i so extract surfaces from my computed mesh that coincide with my STL geometry? Following what method, in case?

Hope to have been clear enough.

ResampleWithDataSet should be what you are looking for.

Thank you Matt! Unfortunately i’m not still be able to manage my issue. As you can see my internal surface (.STL, blue circle) is entirely contained in my mesh domain (grey region).

Then i apply as you have suggested the ResampleWithDataSet command (hopefully in the right way):

Screenshot from 2024-12-19 13-39-22
Screenshot from 2024-12-19 13-40-27

Eventually it actually extracts my internal surface. But with no fluid data on it (and therefore i cannot estimate anything).

Surely i have made a trivial mistake. But i don’t see where.

Please share your data

About what? Have i to upload my complete simulation?

Yes, you can create an archive and share it on wetransfer.

What e-mail address? Should i pay for this service?

mathieu.westphal@kitware.com (but I dont think its needed). Its free up to 2G I think.

I confirm that we cannot use ResampleWithDataSet with your volume.

However you can use Slice trivially since your stl is an axis-aligned plane. Just press P to position a Y-normaled slice.

Here is the resulting state file:
slice.pvsm (1014.4 KB)

Gusp :cold_sweat:! What i’ve posted before were just an example. I have to compute the flow rate for the holes of my burner crown (the circles in the middle):

Is there a smart way to select one by one each of them?

Sure, modify the threshold filter or add more threshold to select the right regions