CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Loading an STL file to paraview

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By larry k

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2018, 05:49
Default Loading an STL file to paraview
  #1
New Member
 
Hillary Kiptoo
Join Date: Jul 2018
Location: Nairobi
Posts: 9
Rep Power: 8
larry k is on a distinguished road
Hello Foamers.
I have a problem though, I am getting an error while trying to load an stl file into paraview. Here is the error.
ERROR: In /home/openfoam/OpenFOAM/ParaView-5.0.1/VTK/IO/Geometry/vtkSTLReader.cxx, line 461
vtkSTLReader (0x62f35a0): STLReader: error while reading file /home/larry/Desktop/owc.stl at line 3: unable to read point.


ERROR: In /home/openfoam/OpenFOAM/ParaView-5.0.1/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784
vtkPVCompositeDataPipeline (0x63e52c0): Algorithm vtkFileSeriesReader(0x63e3b50) returned failure for request: vtkInformation (0x58a3e60)
Debug: Off
Modified Time: 331199
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
Your help in how to go about this problem will greatly be appreciated.
larry k is offline   Reply With Quote

Old   August 22, 2018, 10:37
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings larry k,

I only now managed to take a look into your question. I hope you've solved the problem by now, but if not, it would be necessary to open the STL file with a text editor and take a look inside it to understand why it's not working.

The page for it at Wikipedia: https://en.wikipedia.org/wiki/STL_(file_format) - has a fairly detailed explanation on what to expect inside the file.

If you haven't solved this issue since then and if you still need help, then please share the first 5-10 lines of the STL ascii file, unless it's in binary format.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 22, 2018, 19:09
Default Loading STL file in Paraview
  #3
New Member
 
Hillary Kiptoo
Join Date: Jul 2018
Location: Nairobi
Posts: 9
Rep Power: 8
larry k is on a distinguished road
Hello Bruno,
Thanks for your response. I got a solution to it, apparently my geometry was not a closed surface but I sorted it out.
Kind regards.
wyldckat likes this.
larry k is offline   Reply With Quote

Reply

Tags
paraview 4.1


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] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
[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.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 06:18
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 00:21.