|
[Sponsors] |
[surface handling] surfaceFeatureExtract surface.stl |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 22, 2013, 12:09 |
surfaceFeatureExtract surface.stl
|
#1 |
Member
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14 |
Hi friends
I'm trying to make .emesh file from my .stl file for snappyHesh. but when I apply the command: srfaceFeatureExtract,this happens: FOAM FATAL ERROR: Cannnot read "surface.stl" From function triSurface::read(const fileName&, const word&, const bool) in file triSurface/triSurface.C at line 369. can you give a comment about it? Many thanks |
|
August 22, 2013, 17:43 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Dear Reza
you might saved your STL file in binary format , so i guess if you save it in ASCII format, then error would be solved
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
August 22, 2013, 18:43 |
many thanks
|
#3 |
Member
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14 |
would you help me how to change .stl to binary one?
I tried autocad, but it didnt work |
|
August 23, 2013, 12:13 |
|
#4 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Open your STL file in paraview and save in in STL format ASCII one
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
August 26, 2013, 05:02 |
same error
|
#5 |
Member
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14 |
Hi Sam,
Thank you for your help, I saved the file in Ascii format and run it again, but the same error appeared: Rezas-MacBook-Pro:chalk reza$ surfaceFeatureExtract -includedAngle 150 pores.stl features /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.1-221db2718bbb Exec : surfaceFeatureExtract -includedAngle 150 pores.stl features Date : Aug 26 2013 Time : 09:57:48 Host : "Rezas-MacBook-Pro.local" PID : 483 Case : /Volumes/OpenFOAM-v2.1.1/OpenFOAM-2.1.1/tutorials/mesh/snappyHexMesh/chalk nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Feature line extraction is only valid on closed manifold surfaces. Surface : "pores.stl" Output feature set : "features" --> FOAM FATAL ERROR: Cannnot read "pores.stl" From function triSurface::read(const fileName&, const word&, const bool) in file triSurface/triSurface.C at line 369. FOAM exiting What do you think???? thanks |
|
August 26, 2013, 11:01 |
|
#6 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
i have no idea, you may want to post your test case here, then OpenFOAM users can help you
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
August 31, 2013, 18:13 |
same thing
|
#7 |
Member
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14 |
Hi friends,
As I told my problem, I could not use surfacefeature extract and above message come to my terminal after run. I tried with many cases and I got the same result!!! I uploaded one of the stl files. If you can see that what's the problem, it would be a great help for me. Thank you in advance |
|
September 1, 2013, 03:17 |
|
#8 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
did you edit your surfaceFeatureExtractDict at all?
However, it works for me , i used OF-2.2.0, and i add working test case with your stl file to use following test case: 1- open zip file 2- run script Code:
./preAllrun
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
September 24, 2013, 06:28 |
Thanks
|
#9 |
Member
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14 |
Many thanks for your help. As you helped me I could solve the problem. In my case, OF could not find the directory but it showed an error about not being able to read the file. I change the path and it work.
Now I generate the mesh, but since the surface structure is complicated, I do not know how to define the boundary (Wall type) on the surface. Is there any feature which help me to define the boundary on the surface? Regards |
|
February 15, 2016, 11:54 |
surfaceFeatureExtract not working in OpenFOAM-v3.0+
|
#10 |
Member
R. P.
Join Date: Jul 2010
Posts: 73
Rep Power: 16 |
Hi all,
I am trying to use the surfaceFeatureExtract in the motorBike (OpenFOAM-v3.0+) tutorial case; however it is not working. It always says "command not found". Do you know if the surfaceFeatureExtract still in use in OpenFOAM-v3.0+ ? How to solve this problem ? Thanks. |
|
April 6, 2016, 13:15 |
surfaceFeatureExtract with OpenFOAM-v3.0+
|
#11 |
New Member
Join Date: Feb 2015
Posts: 5
Rep Power: 11 |
Hi Rophys,
I can assure you that surfaceFeatureExtract still works in OpenFOAM-v3.0+. But I don't know what is wrong with it in your case. Can you post more details ? Are you sure of your installation ? Mary |
|
April 6, 2016, 13:39 |
|
#12 |
Member
R. P.
Join Date: Jul 2010
Posts: 73
Rep Power: 16 |
Hi Mary,
Thanks for that. I already solved the problem =) Cheers, Rodrigo |
|
April 24, 2016, 16:14 |
|
#13 |
New Member
Ruzic
Join Date: Jun 2011
Location: Novi Sad
Posts: 4
Rep Power: 15 |
Hi,
I have also the same problem with command surfaceFeatureExtract, and got message command not found, on OpenFOAM-v3.0+. What to do? Thanks |
|
June 3, 2016, 06:11 |
|
#14 |
New Member
Julien Schaguene
Join Date: Sep 2014
Posts: 5
Rep Power: 12 |
Hi all,
I also have the problem with "command not find". My installation looks correct, solvers work fine apart of that. Rophys, how did you solve the problem? Best regards Julien |
|
June 7, 2016, 12:01 |
|
#15 |
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15 |
I am having this same issue with 3.0+. Considering rolling back to a previous version, but if it is assured to work then I am not sure how to fix the problem.
|
|
October 6, 2016, 23:23 |
|
#16 |
New Member
TeiGyou
Join Date: Oct 2016
Location: Tokyo,Japan
Posts: 20
Rep Power: 10 |
I have also the same problem with command surfaceFeatureExtract, and got message command not found, on OpenFOAM4.0.
Please tell me how to solve it. Thanks ZX |
|
October 9, 2016, 03:47 |
|
#17 |
New Member
Ruzic
Join Date: Jun 2011
Location: Novi Sad
Posts: 4
Rep Power: 15 |
I solved the issue by removing the installation and installed it again. Now works.
|
|
October 10, 2016, 00:22 |
|
#18 |
New Member
TeiGyou
Join Date: Oct 2016
Location: Tokyo,Japan
Posts: 20
Rep Power: 10 |
Thanks, I did it too. Now it works
|
|
Tags |
snappyhexmesh |
|
|