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

[CAD formats] OpenFOAM Fatal Error - Unknown file extension STL?!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2021, 12:02
Default OpenFOAM Fatal Error - Unknown file extension STL?!
  #1
New Member
 
William Peace
Join Date: Jan 2021
Location: United Kingdom
Posts: 9
Rep Power: 5
WJPeace1 is on a distinguished road
Hi all,
I am currently in the process of learning OpenFOAM (also using the HELYX-OS GUI), and doing a simple internal pipe flow problem to familiarize myself with the code. Upon trying to generate the mesh using the simple blockMesh command, I get the following error:


--> FOAM FATAL ERROR:
unknown file extension STL. Supported extensions are '.ftr', '.stl', '.stlb', '.gts', '.obj', '.ac', '.off', '.nas', '.tri' and '.vtk'

The pipe which I generated in SolidWorks has been exported as a STL file, and therefore I am unsure why this error is occurring.


Any help would be greatly appreciated!
WJPeace1 is offline   Reply With Quote

Old   November 23, 2021, 12:11
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
try renaming it with lower-case "stl" - should work
olesen is offline   Reply With Quote

Old   November 23, 2021, 13:06
Default
  #3
New Member
 
William Peace
Join Date: Jan 2021
Location: United Kingdom
Posts: 9
Rep Power: 5
WJPeace1 is on a distinguished road
Quote:
Originally Posted by olesen View Post
try renaming it with lower-case "stl" - should work

This worked! Thanks for your help!
WJPeace1 is offline   Reply With Quote

Reply

Tags
openfoam-5.0, stl


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
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 09:06
[waves2Foam] Tripping over several build issues with OpenFOAM 2.1.1 Yage OpenFOAM Community Contributions 18 February 15, 2016 03:02
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 16:46


All times are GMT -4. The time now is 01:25.