Openfoam to paraview
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 |
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 |
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 |
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) |
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 |
Quote:
I am not doing much testing on Windows recently but compressed files should work thanks to PV's internal zlib API. Takuya |
Error in ParaView
1 Attachment(s)
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 |
Quote:
|
Surfboard Fin an CFD
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 |
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 |
All times are GMT -4. The time now is 19:43. |