CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Exporting morphed surface (https://www.cfd-online.com/Forums/star-ccm/247575-exporting-morphed-surface.html)

ander February 13, 2023 07:49

Exporting morphed surface
 
Hi,

I'm doing a static FSI problem involving a propeller. I want to export the deformed blade, prefferably as an stl file or another suitable format. Is this possible to accomplish?

Thanks in advance.

cwl February 13, 2023 10:07

1) Right-click on Volume Mesh in the Representation node of the simulation tree, and select Extract boundary surface.
2) Chose Region.
3) A new node named Extracted Surface will appear under Representations. Right-click on it to export.

Another way is to create a Vector Wrap (Derived Part) and to right-click to extract it.

ander February 14, 2023 03:50

Thanks, I actually noticed the first solution a little later. I guess a third option is to use an xyz table and use the mesh morpher to load the displacement.

cwl February 14, 2023 04:56

Quote:

I guess a third option is to use an xyz table and use the mesh morpher to load the displacement.
From what I remember - there is also a Part Operation (at Parts level, amongst Imprint, Subtract, Surface Wrapper etc) that deforms part according to field function, which can be defined as an interpolated (previously extracted) xyz-table.

ander February 15, 2023 07:28

I found that creating a displacement field function with a surface data mapper and then creating a vector warp which is converted to a part worked very well.

cwl February 15, 2023 08:00

Quote:

Originally Posted by ander (Post 844600)
I found that creating a displacement field function with a surface data mapper and then creating a vector warp which is converted to a part worked very well.

Great! :)

Also - thank you for the description of the solution which worked in practice, I'm pretty sure that someone who would read this topic in future would be thankful :)

ander February 15, 2023 08:14

In order for this post to actually be useful for others, I think I need to add some more details.

In order to use the data mapper, a dummy part, dummy volume mesh and dummy region needs to be created for the part that you want to export a deformed version of.
For the volume mesh, don't use surface remesher and use a tetrahedral mesh which will preserve the original surface tessellation. Then create a surface mapper, with the fluid-structure-interaction interface as the source and the surface of the dummy part as the target, and select displacement as the vector field function. Also select "Use original mesh". Then execute the data mapper. The resulting vector field can be used to create a vector warp, which again can be used to create a new deformed part.

cwl February 15, 2023 21:41

Quote:

Originally Posted by ander (Post 844606)
For the volume mesh, don't use surface remesher and use a tetrahedral mesh which will preserve the original surface tessellation.

But .. original tesselation usually is not good for meshing at all :confused:
Or do you re-tesselate it?

ander February 16, 2023 03:36

In this case I want the original tessellation to be preserved, but apparently I need a mesh to do the surface mapping. When using the tetrahedral volume mesh and excluding the surface remesher I get a surface mesh that is identical to the original tessellation.

This procedure results in a deformed version of the original tessellated geometry, which is what I wanted. This surface can then be remeshed and used for further analysis.

I actually got this solution from Siemens support, but as they said, there might be cleaner ways to do the same.


All times are GMT -4. The time now is 12:48.