CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Slice / Clip with Geometry (https://www.cfd-online.com/Forums/paraview/180050-slice-clip-geometry.html)

MaxMarschall November 15, 2016 10:13

Slice / Clip with Geometry
 
2 Attachment(s)
Hello,

Is there a way to slice or clip a data set using another 3D geometry (e.g. .stl)?

The reason I need this: I have a landscape design with varying heights i.e. different levels/ramps/stairs and would like to visualize the wind speed AT EYE LEVEL over the whole topography.

To do this, I have modeled a surface (in Rhino) that is an offset from the landscape by the distance needed. I can load this surface as .stl into ParaView and see it nicely intersecting with my data set that is displaying the wind speed.

Basically, instead of a clipping PLANE (pic1) I want a clipping SURFACE (pic2).

I found this similar question: http://www.cfd-online.com/Forums/ope...ylinder-2.html

This was simpler since it was about cutting out a cylinder, and still the solution seemed to be pretty complicated involving scripting. The post is pretty old though and I am hoping there might have been some developments since to facilitate this.

I would be grateful for any info pointing me in the right direction!

Cheers,
Max

MaxMarschall November 21, 2016 04:27

...Anyone??

It would help to know if this is even in principle possible.

Cheers,
Max

tomf November 22, 2016 04:03

Hi,

Use the Resample With Dataset filter, selecting your STL as the source. I do not think it allows you to clip without programming, but a slice would be possible.

Regards,
Tom

MaxMarschall November 22, 2016 08:16

@tomf: Amazing, just what I needed! Thanks

JFM October 26, 2017 08:07

Resample with Dataset
 
1 Attachment(s)
Good day All

I have tried the method outlined above and extracted a slice of the velocity field from model results. However, I note that the slice only maps results from the velocity field to the vertices of the imported STL file which in my case has a limited number of vertices (created the STL using Blender) - which is not terribly useful (or pretty).

I am wondering if there is an alternative method to do this that will capture the detail of the actual model results which are at a much finer resolution than the triangulated vertices of the STL file.

Regards
JFM

sundaero March 23, 2018 05:00

As an option, you can always use Remesh modifier in Blender (or any other similar tool) to get more appropriate STL mesh.


All times are GMT -4. The time now is 18:56.