CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] splitting boundary patch into several patches (https://www.cfd-online.com/Forums/openfoam-meshing/115261-splitting-boundary-patch-into-several-patches.html)

A.Wendy March 27, 2013 04:33

splitting boundary patch into several patches
 
Hi everybody,

is there a posibility after running snappyhexmesh etc. a boundary patch in for example 6 pieces along one direction?

the problem is the following:
i splitted a blade in 6 different stl files. the geometry is allways the same but at the region where 2 parts are connected the layer mesh looks very bad. so i want to mesh it as a single patch and splitt it afterwarts into several patches. so that i can extract forces along the blade.

is there a possibility?

best wishes

Andy

A.Wendy April 2, 2013 08:06

nobody an idea?

haakon April 2, 2013 08:41

Have you seen the new feature in version 2.2 that allows you to do approximately what you want, i.e. write forces in "bins" along a specific direction?

See the release notes: http://www.openfoam.org/version2.2.0...processing.php

A.Wendy April 3, 2013 01:46

Quote:

Originally Posted by haakon (Post 417834)
Have you seen the new feature in version 2.2 that allows you to do approximately what you want, i.e. write forces in "bins" along a specific direction?

See the release notes: http://www.openfoam.org/version2.2.0...processing.php

hi,

i have to work with OpenFOAM 1.6 extend. Do you know if i can calculate the Forces after finisching the computation?

haakon April 3, 2013 02:23

In the case of using 1.6-ext I have no ideas (other than splitting the boundary patch as you suggested). Sorry.

(Perhaps you can take this piece of code back into 1.6-ext? I guess this part is pretty similar).

Akshay April 15, 2013 01:50

Hi AW!

Since you have those individual STL's, you could use them to create a faceSet( use topoSet). This faceSet can then be used to create patches using createPatch and you could call your force functions to calculate on these patches. This might work.

Cheers!
Akshay

Akshay April 15, 2013 01:59

Or...
You could use 'sample' utility. This works on STLs. But i doubt if the extend version has the 'SampledtriSurfaceMesh' type. But I believe you could setup the 2.1 'sample' code in your environment.

Cheers
Akshay


All times are GMT -4. The time now is 15:57.