|
[Sponsors] |
October 21, 2020, 13:21 |
could not run surfaceFeatureExtract command
|
#1 |
New Member
Muhammad Atif
Join Date: Jul 2019
Posts: 4
Rep Power: 7 |
Hi I am a newbie in OpenFOAM. I am trying to run simpleFoam analysis of a tractor-trailer. I have copied the code from the university document which was working perfectly before. I followed all steps but used different software(solidworks) to create geometry. I placed .stl file in constant/trySurface folder. When I am using the command surfaceFeatureExtract it is giving the error below. It seems to me that the solver could not read the .stl file. I have checked the names in surfaceFeatureExtractDict which is same.
I have run the motorBike tutorial which was running fine. I am using openFOAM v7. Please find attached file of geometry and surfaceFeatureExtractDict. Any help will be highly appreciated! /*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 7-3bcbaf946ae9 Exec : surfaceFeatureExtract Date : Oct 21 2020 Time : 17:02:09 Host : "Atif-pc" PID : 594 I/O : uncollated Case : /mnt/c/Users/Admin/Documents/openFoam/practice/truckAnalysis nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Reading surfaceFeatureExtractDict Surface : "Truck-Geometry.stl" Feature line extraction is only valid on closed manifold surfaces. --> FOAM FATAL ERROR: Cannot read "/mnt/c/Users/Admin/Documents/openFoam/practice/truckAnalysis/constant/triSurface/Truck-Geometry.stl" From function bool Foam::triSurface::read(const Foam::fileName&, const Foam::word&, bool) in file triSurface/triSurface.C at line 304. FOAM exiting Last edited by m.atifme20; October 21, 2020 at 13:30. Reason: updating file |
|
October 28, 2020, 04:30 |
|
#2 |
New Member
Kevin
Join Date: Nov 2019
Location: Bremen, Germany
Posts: 10
Rep Power: 7 |
Hi Muhammad!
Don't know if it still helps you, but I would have two possible solutions: 1. As far as I know, in newer versions of OF surfaceFeatureExtract was replaced by surfaceFeatures. For this you would need the surfaceFeaturesDict, which (I think) looks similar to the surfaceFeatureExtractDict. Just look into the tutorials 2. More likely, the problem is a miss spelling of your .stl file or this file being in the wrong folder. From the code triSurface.C at line 304 you can see that this error comes up when the software is unable to find the file. Hope this helps out. Kevin |
|
March 17, 2023, 18:11 |
|
#3 |
Member
West Midlands
Join Date: Aug 2022
Posts: 63
Rep Power: 4 |
Hello,
I am having a similar problem as follows, please can anyone help: Note: Feature line extraction only valid on closed manifold surfaces Reading surfaceFeatureExtractDict Surfaces : body.stl Output : body Load options : offset Write options: writeObj=off writeVTK=off Statistics: Triangles : 13754331 in 1 region(s) Vertices : 6669391 Bounding Box : (0.0980459 0.0999999 -6e-05) (7.1459 7.5 1.45325) Constructing feature set from included angle 150 Selecting edges based purely on geometric tests: no Killed |
|
March 20, 2023, 12:10 |
|
#4 |
New Member
Kevin
Join Date: Nov 2019
Location: Bremen, Germany
Posts: 10
Rep Power: 7 |
Hi there,
two notes that will probably help you:
Kevin |
|
July 31, 2023, 19:55 |
|
#5 |
New Member
Georges Sainte-Rose
Join Date: Jul 2023
Posts: 2
Rep Power: 0 |
Greetings, I have a similar issue to run surfaceFeatureExtract, but I also can't seem to run the new command surfaceFeatures, would anyone please know why ? Last edited by GeorgesSR; July 31, 2023 at 21:45. Reason: smaller images |
|
August 1, 2023, 03:23 |
|
#6 |
Senior Member
M
Join Date: Dec 2017
Posts: 700
Rep Power: 12 |
An top, you run surfaceFeatureExtract which fails, because it is missing surfaceFeatureExtractDict to work with.
At the bottom, you try to run surfaceFeatures which is missing, because you are working with the ESI-branch of OpenFOAM (indicated by the numbering v2212, the foundation branch uses OpenFOAM 9, 10, 11 and so on as versioning). In the ESI branch the utility has not been renamed and is still called surfaceFeatureExtract. I use this syntax in surfaceFeatureExtractDict: surfaceFeatureExtract |
|
August 1, 2023, 05:11 |
|
#7 |
New Member
Kevin
Join Date: Nov 2019
Location: Bremen, Germany
Posts: 10
Rep Power: 7 |
Thanks AtoHM for the detailed reply!
So for Georges to summarize: You just have to rename your surfaceFeaturesDict to surfaceFeatureExtractDict. |
|
August 1, 2023, 17:52 |
|
#8 |
New Member
Georges Sainte-Rose
Join Date: Jul 2023
Posts: 2
Rep Power: 0 |
Thank you for both of your replies.
I fixed the issue but it told me my object was non-manifold, I tried to make a new/simpler one in blender, a very simple box (the basic blender box primitive) with a bit of thickness, 0 problem of manifold inside blender, then snappyHexMesh-GUI, but still... object non-manifold :'( Last edited by GeorgesSR; August 2, 2023 at 17:45. |
|
Tags |
.stl file, openfaom-7, surfacefeatureextract, trysurface |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to import and run command file (*.enc) using FlowSight automatically? | brucecumt | FLOW-3D | 1 | November 21, 2016 07:58 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 22:45 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |
Problems of running the parallel computations | lorraine | FLUENT | 17 | July 6, 2007 09:08 |