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

Very stuck on an embarrassingly basic issue related to opening STL files

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AtoHM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2023, 06:11
Unhappy Very stuck on an embarrassingly basic issue related to opening STL files
  #1
New Member
 
Niall O'Neill
Join Date: Feb 2023
Posts: 21
Rep Power: 3
nialloneill is on a distinguished road
Hello everyone,

I am having an extremely basic issue that I cannot figure out for the life of me. I've followed the motorbike SHM tutorial and am simply trying to replace the motorbike object with a cylinder. However, When I get to run the surface features dict I get the following:

'--> FOAM FATAL ERROR:
Cannot read "/home/niall/OpenFOAM/niall-10/run/CylinderFlowSHM/constant/geometry/Cylinder.stl"

Furthermore, when I drag the STL file into paraView it won't even open in there, which makes no sense to me.'

Does anyone have an idea what might be the cause of this? I exported the cylinder as an ascii stl file from solidworks. I suspect its something to do with the file itself, so what are some important considerations regarding STL files? I've attached the text file
Attached Files
File Type: txt Cylinder.txt (57.2 KB, 1 views)
nialloneill is offline   Reply With Quote

Old   July 8, 2023, 06:30
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12
AtoHM is on a distinguished road
I can display this file without any problem after changing the extension from .txt to .stl
If I remember correctly, solidworks exports the files per default as ".STL" and OpenFOAM wants them to be named ".stl". Maybe that is the issue?
Yann likes this.
AtoHM is offline   Reply With Quote

Old   July 8, 2023, 06:45
Default
  #3
New Member
 
Niall O'Neill
Join Date: Feb 2023
Posts: 21
Rep Power: 3
nialloneill is on a distinguished road
That was indeed the issue! thank you very much
nialloneill is offline   Reply With Quote

Reply


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
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 13:39
Problem opening backed up .hm files in HyperMesh SivaMG FLUENT 0 December 23, 2011 02:29
Meshing related issue in Flow EFD appu FloEFD, FloWorks & FloTHERM 1 May 22, 2011 08:27
Opening Vs outlet BCs and temporary wall issue Sam CFX 0 January 16, 2008 18:59
Issue with STL file in Flow3D Rajiv Kothari Main CFD Forum 1 July 24, 2006 12:53


All times are GMT -4. The time now is 20:29.