|
[Sponsors] |
[snappyHexMesh] features' edges with surfaceFeatureExtract |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 13, 2013, 03:25 |
features' edges with surfaceFeatureExtract
|
#1 |
Member
Luca
Join Date: Mar 2013
Posts: 68
Rep Power: 13 |
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 |
|
May 13, 2013, 04:00 |
|
#2 |
Member
Luca
Join Date: Mar 2013
Posts: 68
Rep Power: 13 |
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 |
|
|
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 |