|
[Sponsors] |
November 12, 2011, 04:22 |
Openfoam to paraview
|
#1 |
New Member
Join Date: Nov 2011
Posts: 22
Rep Power: 14 |
Hi there,
I am fairly new to openfoam but am using it to simulate the fluid dynamics of a surfboard fin for my dissertation. I have been going through the tutorials provided and everything on the openfoam side is going ok. However, I am using the software at uni on a cluster system and for some reason paraview can not be installed. So I have installed paraview on my laptop and was going to visualise my results from there by transfering the data files accross with a usb stick. My problm is, I think I need to save my data in a vtk format. Reading through the tutorials, it says openfoam has a foamtovtk utility, but it doesn't tell you where to find it or how to use it. Would anyone be able to help? Kind Regards, Kit |
|
November 12, 2011, 05:55 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
You don't need that. Since 3.8 PV can read OF data natively. Just create an empty file something.foam (the extension is the only thing important) in the case-directory and open that. Bernhard |
||
November 14, 2011, 08:02 |
|
#3 |
New Member
Join Date: Nov 2011
Posts: 22
Rep Power: 14 |
Hi Bernhard,
Thanks for your reply. After following your steps of making a file in the case directory (cavity.foam) and then copying all the files into this (0 0.1, 0.2, 0.3, 0.4, 0.5, constant, system). I then saved the cavity.foam onto my usb stick and transferred the data to my laptop. When I try to open the cavity.foam in paraview, all the files seem to be empty (all the data files doesn't apprear - P U). This is why I thought I might have to use the foamtovtk utility as paraview isn't recognising the data files in their raw form, or am I doing something wrong? Kind regards, Kit |
|
November 14, 2011, 10:03 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Your notebook is Windoze? Havn't got that one, so I can't say whether the native reader works on it (maybe for instance zipped datafiles don't work on Win) |
||
November 14, 2011, 10:09 |
|
#5 |
New Member
Join Date: Nov 2011
Posts: 22
Rep Power: 14 |
Thanks for your help Bernhard.
I have just had a breakthrough for anyone with similar problems. If you type in foamToVTK in the case directory, openfoam will make a new folder in the case directory and convert all the data to VTK form, you can then open this in paraview. Kit Last edited by kd55; November 14, 2011 at 10:15. Reason: typo |
|
November 14, 2011, 23:08 |
|
#6 | |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Quote:
I am not doing much testing on Windows recently but compressed files should work thanks to PV's internal zlib API. Takuya |
||
November 15, 2011, 03:05 |
Error in ParaView
|
#7 |
New Member
Jindo
Join Date: Mar 2011
Location: Germany
Posts: 25
Rep Power: 15 |
Hi all !
I have a question about paraview. After I ran solver by respective command (interFoam, icoFoam,.....) . When I ran paraFoam, Error appeared on window paraView. " Warning: Range [0,1] invalid for log scaling. Changing to [0.1,1]. Warning: Range [0,1.00004] invalid for log scaling. Changing to [1,1.00004]. " thanks ! Cheers Phuc |
|
June 20, 2013, 12:32 |
|
#8 | |
New Member
Peter Doings
Join Date: Sep 2012
Location: Portugal
Posts: 4
Rep Power: 13 |
Quote:
|
||
January 5, 2014, 17:58 |
Surfboard Fin an CFD
|
#9 |
New Member
Join Date: Jan 2014
Posts: 5
Rep Power: 12 |
Hi Kit,
I am a surfer, part time wooden surfboard/fin builder from Brisbane Australia who is very interested from a personal research perspective in CFD modelling and surfboard fins. Your research sounds very interesting. How did you go with your dissertation? I would be very interested in understanding your testing methodology using OpenFOAM and also how the results of your testing eventuated. Looking forward to your reply. Thanks. TK |
|
February 13, 2019, 19:54 |
|
#10 |
New Member
Panos Koniavitis
Join Date: Oct 2017
Posts: 6
Rep Power: 8 |
Hi kd55, is there any chance to have a look at your dissertation? I am now trying to look as some fins designs and was thinking to head to openfoam as well. I would be happy to check your work out
Best P |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 25 | August 14, 2022 13:55 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 08:51 |
[Other] Which versions of OpenFoam and Paraview are suitable for Ubuntu 14.04 LTS Trusty Tahr | Asghari_M | OpenFOAM Installation | 4 | February 4, 2015 15:47 |
Velocity vector data in OpenFOAM and ParaView mismatch | tekky | OpenFOAM | 9 | December 21, 2009 11:26 |