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/)
-   -   [surface handling] SurfaceFeatureExtractConvert (https://www.cfd-online.com/Forums/openfoam-meshing/61496-surfacefeatureextractconvert.html)

braennstroem January 25, 2009 05:28

SurfaceFeatureExtractConvert
 
Hi,

I wonder, if anybody uses surfaceFeatureExtract and -Convert and more interesting for which kind of problems!? For me it looks, that surfaceFeatureExtract could create the needed eMesh file for snappyHex's featureEdge refinement...which does not work somehow!?
So maybe surfaceFeatureConvert is the needed tool to create eMesh, but this needs a nastran formated file...

The format of the surfaceFeatureExtract file looks like for a simple cube with includedAngle 91:

{
externalStart 0;
internalStart 15;
featureEdges 36 ( 2 8 11 24 28 32 40 46 53 56 65 83 85 94 96 139 168 172 197 215 224 227 261 267 268 290 308 314 327 366 369 399 406 411 443 448 );
featurePoints 1 ( 184 );
}
In addition there are some .obj files created!?

Would be nice, if anyone has some suggestions!

Greetings!
Fabian

mattijs February 11, 2009 05:28

The features section in snappy
 
The features section in snappyHexMeshDict is a way to add refinement without using the automatic feature detection ('resolveFeatureAngle').

Currently the only ways to get these eMesh files:
- create them by hand
- convert them from a suitable line format (Nastran is so far the only format)

There is currently no way to extract them from a surface (that would be equivalent to using the resolveFeatureAngle anyway).

Attached a modified tutorial case where it adds refinement on the edges of one of the blocks.

You'll also see the limitation - since the features get refined first there is no cell to pick up all the corners of the block and it misses some of the edges. It should do a better job on larger scale features.



braennstroem February 11, 2009 14:24

Hi Mattijs, thanks for the
 
Hi Mattijs,

thanks for the info! Would you upload the modified again? I will take a look at the nastran eMesh files. Maybe, one can get some feature snapping by using surfaceFind and some points movement...

Fabian

braennstroem February 11, 2009 14:26

Hi Mattijs, thanks for the
 
Hi Mattijs,

thanks for the info! Would you upload the modified again? I will take a look at the nastran eMesh files. Maybe, one can get some feature snapping by using surfaceFind and some points movement...

Fabian

bastil March 15, 2010 04:01

Quote:

Originally Posted by braennstroem (Post 195399)
Maybe, one can get some feature snapping by using surfaceFind and some points movement...

Fabian,

did you succed to get some feature snapping with this? Thanks.

Regards Bastian


All times are GMT -4. The time now is 09:20.