CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] features' edges with surfaceFeatureExtract

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By Pj.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2013, 03:25
Default features' edges with surfaceFeatureExtract
  #1
Pj.
Member
 
Luca
Join Date: Mar 2013
Posts: 68
Rep Power: 13
Pj. is on a distinguished road
Hi everybody,

I'm trying to enhance my mesh using the surfaceFeatureExtract tool, but I can't find a proper guide/tutorial.
I tried to use $FOAM_TUTORIALS/incompressible/pimpleDyMFoam/propeller/Allrun.pre as a guide, but I'm still having some troubles.


I managed to run surfaceFeatureExtract correctly with this command:
Code:
#!/bin/sh

surfaces="
    B0
    spiresFilippo
    block_roughness
"

for s in $surfaces; do
    surfaceFeatureExtract -includedAngle 100 constant/triSurface/$s.stl $s
done
and it generates the .extendedFeatureEdgeMesh and the .eMesh for each surface.

But then what should i do with these files?

I tried to use the .eMesh files as input for snappyHexMesh in place of the .stl, but i receive the error
Code:
unknown file extension eMesh. Supported extensions are '.ftr', '.stl', '.stlb', '.gts', '.obj', '.ac', '.off', '.nas' and '.tri'
So actually I don't know how to proceed.


Moreover in my simulation i need to have different patches for the faces of the B0 volume (it's a box-shape volume). Before using surfaceFeatureExtract I had 5 different .stl for each face that were given to snappyHex as different surfaces. This way i had five different patches.

Now, if i try to use the same five files with surfaceFeatureExtract I receive the error
Code:
Feature line extraction is only valid on closed manifold surfaces.
So how can i keep separated surfaces while using the surfaceFeatureExtract? Can i use the file with the closed volume as input for surfaceFeatureExtract and the five separate surfaces as input for snappyHexMesh?

Thank you very much for the help.


PS: I use OF v2.1, since i saw that the surfaceFeatureExtract has slightly changed from 2.1 to 2.2
Pj. is offline   Reply With Quote

Old   May 13, 2013, 04:00
Default
  #2
Pj.
Member
 
Luca
Join Date: Mar 2013
Posts: 68
Rep Power: 13
Pj. is on a distinguished road
Ok, I looked for a solution for hours and then i found it few minutes after i decided to post here.

Anyway, i write the solution just for a future reference.

A) You can find a quite detailed description of how to use the .eMesh file here https://www.hpc.ntnu.no/display/hpc/...eometryandmesh

B) Yes, just use the joined geometry as input for surfaceFeatureExtract and then use the separated faces for snappyHexMesh. The .eMesh files don't have to be generated using exactly the same .stl files you will give to snappyHex


Sorry for the post. Bye!
atg, tilasoldo and KaLium like this.
Pj. is offline   Reply With Quote

Reply

Tags
surfacefeatureextract, surfacefeatureextraction


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] snappyHexMesh sticking point natty_king OpenFOAM Meshing & Mesh Conversion 11 February 20, 2024 10:12
[snappyHexMesh] SnappyHexMesh running killed! Mark JIN OpenFOAM Meshing & Mesh Conversion 7 June 14, 2022 02:37
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 18:16
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 04:21
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38


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