|
[Sponsors] |
[snappyHexMesh] problem with file stl in snappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 21, 2009, 13:44 |
problem with file stl in snappyHexMesh
|
#1 |
New Member
PEPIN Nicolas
Join Date: Sep 2009
Posts: 5
Rep Power: 17 |
Hello everybody!
I'm a new user of openFOAM and I try to modelise the free surface flow over a dam. I have the geometry of the dam under a .stl file and I want to use snappyHexMesh. When I'm running it, I get this message: "Cannot find triSurfaceMesh starting from "/home/isl/OpenFOAM/isl-1.6.x/run/CasTests/Thesauque/constant/triSurface/coursierThesauque2.stl From function triSurfaceMesh::checkFile(const fileName&, const fileName&) in file searchableSurface/triSurfaceMesh.C at line116." Does it exist an other type of geometry? (instead of "triSurfaceMesh") Thanks for your help!!! |
|
September 21, 2009, 16:28 |
|
#2 |
New Member
James
Join Date: Mar 2009
Location: Sheffield, UK
Posts: 9
Rep Power: 17 |
the stl geometry have to be placed on the triSurface folder
(see below ) Code:
yourCaseFolder |-0 |-constant |-triSurface |-system Last edited by derjames; September 21, 2009 at 16:53. |
|
September 21, 2009, 16:42 |
|
#3 |
New Member
PEPIN Nicolas
Join Date: Sep 2009
Posts: 5
Rep Power: 17 |
Thank you but I already put the geometry file .stl in a triSurface subdirectory. That's why I don't understand the message... I know that my .stl is a binary file. Should it be a ASCII file? (but I don't know how to convert a binary file in a ASCII file...)
|
|
September 21, 2009, 17:04 |
|
#4 |
New Member
James
Join Date: Mar 2009
Location: Sheffield, UK
Posts: 9
Rep Power: 17 |
It shoudn´t be a problem snappyHexMesh can read binary or ASCII files. Perhaps your CAD package has a STL translator but I do not think that is the problem. (CATIA the one I am using has one.)
Please just double check your directory structure |
|
September 22, 2009, 04:39 |
|
#5 |
New Member
PEPIN Nicolas
Join Date: Sep 2009
Posts: 5
Rep Power: 17 |
Ok, sorry! Thank you very much derjames, you were right... I put the triSurface directory in the case folder not in the constant directory...
Now, I have an other problem with features. In fact I didn't really understand what this option was so I let it as it was in the motorbike case. Now I get this message: "Refinement phase ---------------- Found point (50 0 10) in cell 68299 on processor 0 Reading external feature lines. keyword file is undefined in dictionary "/home/isl/OpenFOAM/isl-1.6.x/run/CasTests/Thesauque/system/snappyHexMeshDict::features" file: /home/isl/OpenFOAM/isl-1.6.x/run/CasTests/Thesauque/system/snappyHexMeshDict::features From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 388." Can somebody explain me what is feature? And do you have an idea about this error? Thanks a lot! |
|
November 2, 2020, 07:37 |
|
#6 | |
Member
Bineet Mehra
Join Date: Aug 2013
Posts: 61
Rep Power: 13 |
Quote:
I do not why i am getting this error while trying to use snappy "Cannot find surface starting from... .stl". I have verified that the stl file is located in the trisurface folder in the constant directory. "ls" command in trisurface folder shows filename.STL, do you think it is because of difference in the filename with respect to lowercase and uppercase. In the snappyHexMeshDict; it is filename.stl while in the trisurface folder it is filename.STL ? Thanks for any help Regards |
||
November 2, 2020, 09:28 |
|
#7 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,222
Rep Power: 28 |
Hello,
Yes, linux systems are case sensitive. Any lower/uppercase mismatch in your files will lead to an error. Cheers, Yann |
|
November 2, 2020, 09:32 |
|
#8 |
Member
Bineet Mehra
Join Date: Aug 2013
Posts: 61
Rep Power: 13 |
||
March 17, 2022, 13:28 |
|
#9 |
New Member
Join Date: Dec 2019
Posts: 1
Rep Power: 0 |
Hi, I'm struggling with this issue as well - how did you rename your file from filename.STL to filename.stl?
|
|
Tags |
snappyhexmesh, stl, stl format |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 07:47 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |