|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Luca
Join Date: Mar 2013
Posts: 17
Rep Power: 2 ![]() |
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
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' 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. 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 |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Luca
Join Date: Mar 2013
Posts: 17
Rep Power: 2 ![]() |
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! |
|
|
|
|
|
![]() |
| Tags |
| surfacefeatureextract, surfacefeatureextraction |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| No layers in a small gap | bobburnquist | OpenFOAM Native Meshers: snappyHexMesh and Others | 2 | November 25, 2012 08:54 |
| snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Native Meshers: snappyHexMesh and Others | 2 | March 27, 2011 21:11 |
| snappyHexMesh aborting | Tobi | OpenFOAM Native Meshers: snappyHexMesh and Others | 0 | November 10, 2010 03:23 |
| SnappyHexMesh for internal Flow | vishwa | OpenFOAM | 21 | February 27, 2010 03:47 |
| external flow with snappyHexMesh | chelvistero | OpenFOAM | 11 | January 15, 2010 19:43 |