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

problem with file stl in snappyHexMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 21, 2009, 12:44
Default problem with file stl in snappyHexMesh
  #1
New Member
 
PEPIN Nicolas
Join Date: Sep 2009
Posts: 5
Rep Power: 7
Nicopep is on a distinguished road
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!!!
Nicopep is offline   Reply With Quote

Old   September 21, 2009, 15:28
Default
  #2
New Member
 
James
Join Date: Mar 2009
Location: Sheffield, UK
Posts: 9
Rep Power: 8
derjames is on a distinguished road
the stl geometry have to be placed on the triSurface folder
(see below )


Code:
 
yourCaseFolder
|-0
|-constant
   |-triSurface
|-system
edit:triSurface inside constant directory

Last edited by derjames; September 21, 2009 at 15:53.
derjames is offline   Reply With Quote

Old   September 21, 2009, 15:42
Default
  #3
New Member
 
PEPIN Nicolas
Join Date: Sep 2009
Posts: 5
Rep Power: 7
Nicopep is on a distinguished road
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...)
Nicopep is offline   Reply With Quote

Old   September 21, 2009, 16:04
Default
  #4
New Member
 
James
Join Date: Mar 2009
Location: Sheffield, UK
Posts: 9
Rep Power: 8
derjames is on a distinguished road
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
derjames is offline   Reply With Quote

Old   September 22, 2009, 03:39
Default
  #5
New Member
 
PEPIN Nicolas
Join Date: Sep 2009
Posts: 5
Rep Power: 7
Nicopep is on a distinguished road
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!
Nicopep is offline   Reply With Quote

Reply

Tags
snappyhexmesh, stl, stl format

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
SnappyHexMesh STL patch naming gregorv OpenFOAM Mesh Utilities 1 July 23, 2008 07:05
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
gcc and executable file from Mac to Linux simone Marras Main CFD Forum 0 April 8, 2007 15:49


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