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

[snappyHexMesh] surface feature extract

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 23, 2021, 09:01
Default surface feature extract
  #1
New Member
 
Join Date: Apr 2020
Posts: 3
Rep Power: 6
rishyankchevuri is on a distinguished road
I am trying to run the example of motor bike , when I ran surfaceFeatureExtract command i am getting below error

--> FOAM FATAL ERROR: (openfoam-2012)
No surfaces specified/found for entry: motorBike.obj

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

FOAM exiting

kindly let me know where is the issue
rishyankchevuri is offline   Reply With Quote

Old   April 26, 2021, 02:00
Default
  #2
New Member
 
Anna
Join Date: Apr 2021
Posts: 5
Rep Power: 5
FDStoFOAM is on a distinguished road
Quote:
Originally Posted by rishyankchevuri View Post
I am trying to run the example of motor bike , when I ran surfaceFeatureExtract command i am getting below error

--> FOAM FATAL ERROR: (openfoam-2012)
No surfaces specified/found for entry: motorBike.obj

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

FOAM exiting

kindly let me know where is the issue

Hi,



i just checked the tutorial and you might have forgotten to run "Allrun".

The error occurs because there is no file "motorBike.obj".

It should be in the folder constant/trisurface.
You can copy it manually from $FOAM_TUTORIALS/resources/geometry or via the "Allrun" Script. You will find this information in the constant/trisurface folder in the README.
FDStoFOAM is offline   Reply With Quote

Old   April 26, 2021, 03:47
Default
  #3
New Member
 
Join Date: Apr 2020
Posts: 3
Rep Power: 6
rishyankchevuri is on a distinguished road
Thanks for the suggestion i am able run it ,but i modified the tri surface folder file with cylinder part which is saved in Ascii

I tried both .stl and STL still same error


Note: Feature line extraction only valid on closed manifold surfaces

Reading surfaceFeatureExtractDict



--> 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
rishyankchevuri is offline   Reply With Quote

Old   April 26, 2021, 03:59
Default
  #4
New Member
 
Anna
Join Date: Apr 2021
Posts: 5
Rep Power: 5
FDStoFOAM is on a distinguished road
Quote:
Originally Posted by rishyankchevuri View Post
Thanks for the suggestion i am able run it ,but i modified the tri surface folder file with cylinder part which is saved in Ascii

I tried both .stl and STL still same error


Note: Feature line extraction only valid on closed manifold surfaces

Reading surfaceFeatureExtractDict



--> 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

It's hard to find the error without seeing your files.

It might be a problem with the edited geometry or you just forgot to change the surfacefeatureextract file?


how did you edit the geometry? Did you check the geometry? You can open the stl in Paraview.


Did your blockmesh run properly?
FDStoFOAM is offline   Reply With Quote

Old   April 26, 2021, 04:46
Default
  #5
Senior Member
 
M
Join Date: Dec 2017
Posts: 645
Rep Power: 12
AtoHM is on a distinguished road
As FDStoFOAM said, please check that the files are correctly positioned within the case. Its probably just at the wrong location.
AtoHM is offline   Reply With Quote

Old   April 26, 2021, 07:09
Default
  #6
New Member
 
Anna
Join Date: Apr 2021
Posts: 5
Rep Power: 5
FDStoFOAM is on a distinguished road
Quote:
Originally Posted by rishyankchevuri View Post
Thanks for the suggestion i am able run it ,but i modified the tri surface folder file with cylinder part which is saved in Ascii

I tried both .stl and STL still same error


Note: Feature line extraction only valid on closed manifold surfaces

Reading surfaceFeatureExtractDict



--> 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

I don't exactly understand how you edited the geometry.
It might be a problem with your STL or you just didn't change a file that you should have changed.
Is your blockmesh right?

Did you edit the surfacefeatureextractdict as well after changing the geometry?

Is your geometry in the right folder?

There are many possibilities.
FDStoFOAM is offline   Reply With Quote

Reply

Tags
mesh


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] snappyHexMesh generates not planar surface krzychu111 OpenFOAM Meshing & Mesh Conversion 2 April 23, 2020 16:38
Extract U speed between 50m to 300m distance from a complex surface GuillaumeD OpenFOAM 1 July 12, 2018 11:11
Can we extract data along a line from the sampled surface shang OpenFOAM Post-Processing 8 March 17, 2018 14:32
[Gmsh] boundaries with gmshToFoam‏ ouafa OpenFOAM Meshing & Mesh Conversion 7 May 21, 2010 12:43
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 17:03.