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

FOAM FATAL ERROR: No surfaces specified/found for entry: cylinder.stl

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 3 Post By sreimer18

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2021, 12:17
Question FOAM FATAL ERROR: No surfaces specified/found for entry: cylinder.stl
  #1
New Member
 
unseen
Join Date: Apr 2021
Posts: 1
Rep Power: 0
unseen123 is on a distinguished road
I'm getting this error on running the surfaceFeatureExtract command.

--> FOAM FATAL ERROR: (openfoam-2012) No surfaces specified/found for entry: cylinder.stl From int main(int, char**) in file surfaceFeatureExtract.C at line 305. FOAM exiting
unseen123 is offline   Reply With Quote

Old   April 24, 2021, 05:19
Default
  #2
New Member
 
erickmartinez's Avatar
 
Erick D. Martinez
Join Date: Oct 2020
Location: Texas
Posts: 29
Rep Power: 6
erickmartinez is on a distinguished road
Make sure you have your cylinder.stl file in your constant/triSurface directory. Also what is your surfaceFeaturesExtractDict?
erickmartinez is offline   Reply With Quote

Old   July 20, 2021, 19:33
Default
  #3
New Member
 
Samuel Reimer
Join Date: Jul 2021
Posts: 2
Rep Power: 0
sreimer18 is on a distinguished road
Hi, were you able to figure out the issue? I'm getting the same error following a tutorial and can't figure it out. As per the first comment, the cylinder.stl is in the TriSurface Folder, etc.

Here's the tutorial if you're wondering, seems like a great tutorial for importing CAD models but I just got stuck at this part: https://youtu.be/oc4V79F78AQ

Thanks
sreimer18 is offline   Reply With Quote

Old   July 21, 2021, 05:18
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,224
Rep Power: 28
Yann will become famous soon enough
Hi Samuel,

You need to give more information about what you are doing: which OpenFOAM version do you use, what is inside you surfaceFeatureExtractDict, where is located your stl file, etc...

As for now, the only thing we can say is: the file in missing in the constant/triSurface directory, as stated in the error message. You will probably not get more help without giving more inputs about what you are doing.

Since linux is case-sensitive, be careful about the names of you files and directories (for instance: "triSurface" and not "TriSurface")

Cheers,
Yann
Yann is offline   Reply With Quote

Old   July 21, 2021, 14:31
Default
  #5
New Member
 
Samuel Reimer
Join Date: Jul 2021
Posts: 2
Rep Power: 0
sreimer18 is on a distinguished road
Hi Yann,

Apologies, I typed triSurface in wrong here (cases were right in the terminal). Figured out the issue though, if anyone else has this issue make sure the stl file being referenced is renamed "file.stl" rather than how it saves as "file.STL".
Yann, willmccullough and Cleo09 like this.
sreimer18 is offline   Reply With Quote

Old   September 4, 2023, 12:19
Default
  #6
New Member
 
remi deprez
Join Date: Sep 2023
Posts: 1
Rep Power: 0
remideprez is on a distinguished road
Hello!

Thanks erickmartinez! Put the (object).obj file in the constant/triSurface directory worked for me! Note that the triSurface directory didn't exist in the motorBike tuto (openFOAM 2306), and the youtube tuto I watched put the (object).obj in a "geometry" folder...
remideprez is offline   Reply With Quote

Old   November 10, 2023, 10:59
Default
  #7
New Member
 
Siddhartha Mukharjee
Join Date: Jul 2022
Posts: 2
Rep Power: 0
Siddhartha01 is on a distinguished road
Hello,
I am currently using OpenFOAM-v2112. I have been trying to run motorBike tutorial. But as I run surfaceFeatureExtract. An error pops up

--> FOAM FATAL ERROR: (openfoam-2112 patch=220610)
No surfaces specified/found for entry: motorBike.obj

From int main(int, char**)
in file surfaceFeatureExtract.C at line 308.
Have anyone faced this problem
Siddhartha01 is offline   Reply With Quote

Old   July 31, 2024, 11:35
Default
  #8
New Member
 
BabuG
Join Date: May 2024
Posts: 15
Rep Power: 2
papaji is on a distinguished road
I faced this problem few times. First time I was trying to launch the tutorial case. this was resoled by launching the bash file: bash ./Allrun.PRE.
Further check the file extension in terminal. The file should be "file.stl"
papaji is offline   Reply With Quote

Reply

Tags
error, surfacefeatureextract

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 15:07
Derivative of velocity and mean velocity hiuluom OpenFOAM Post-Processing 1 May 30, 2015 00:42
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 06:42
[Gmsh] GmshToFoam FOAM FATAL ERROR faces deallocated Tobias Prousa (Prousa) OpenFOAM Meshing & Mesh Conversion 14 January 31, 2012 11:45
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 00:04.