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/)
-   -   [snappyHexMesh] Prolem with surfaceFeatureExtract (https://www.cfd-online.com/Forums/openfoam-meshing/247514-prolem-surfacefeatureextract.html)

zhongsheng February 8, 2023 21:33

Prolem with surfaceFeatureExtract
 
1 Attachment(s)
Hell guys,
I want to use snappyMesh to generate meshs from a .stl file. However, I got an error after I run surfaceFeatureExtract.
I had changed name of stl file and surfaceFeatureExtractDict, but it didn't work.

And my foam version is OF-v2112. The format of .stl file is ASCII.

Error message:
Code:

Create time


Note: Feature line extraction only valid on closed manifold surfaces

Reading surfaceFeatureExtractDict



--> FOAM FATAL ERROR: (openfoam-2112)
No surfaces specified/found for entry: clyn.stl

    From int main(int, char**)
    in file surfaceFeatureExtract.C at line 308.

FOAM exiting

constant directory:
Code:

constant
├── dynamicMeshDict
├── polyMesh
│** ├── boundary
│** ├── faces
│** ├── neighbour
│** ├── owner
│** └── points
├── thermophysicalProperties
├── transportProperties
├── triSurface
│** └── cyln.stl
└── turbulenceProperties

surfaceFeatureExtractDict:
Code:

clyn.stl
{
   
    extractionMethod    extractFromSurface;

    includedAngle      120;

    geometricTestOnly  yes;

    intersectionMethod  region;

    tolerance          1e-5;

    writeObj            yes;
}

I upload my case file in attachments.

Wish for your help,
Zhong.

zhongsheng February 8, 2023 22:45

It seems that I write a 'clyn' but not a 'cyln' in surfaceFeatureExtractDict. I checked many times and didn't find it.

Hr_kules February 9, 2023 07:25

Hi, i looked into your case and the snippet of the stl doesn't start with the usual "solid" entry that an stl file has. Maybe this produces the error?


All times are GMT -4. The time now is 01:27.