|
[Sponsors] |
October 8, 2011, 17:29 |
sample: free surface & more
|
#1 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Dear all
I'm currently working with interFoam and so far have been rendering results with paraview. So far, so good but I lack very advanced features of 3D rendering software as Kerkythea, which are able to produce "photorealistic" rendering. Of course I still (and always will) obtain scientific data with paraview, but it is good to have nice videos, because most of the times you sell your work to profane people, which are eager to have eye-appealing results. Sample utility (or the equivalent function object in controlDict), are able to obtain free surface as a surface (0.5 isosurface of field alpha1), but they lead to "open" solutions since you do not obtain the surfaces below it which are close to the patches/walls. Obviously this is fine and expected, but leads to cases in which data is not ready for a video. For example in a 2D wave flume, the resultant surface is seen as a line when looked from the side. For such cases paraview has a filter which does what I would like: "clip". It displays alpha1 from 0.5 to 1, which is in fact one or several closed surfaces, surrounding a volume. Is there a way to use sample to obtain such thing? Or, is there a way to export it in obj from paraview? Thanks a lot Pablo H. |
|
October 11, 2011, 03:59 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
If you can manage to import VTK data in your renderer, you should have everything in place to make photorealistic animations. I'm not sure of Kerkythea (had never heard of it previously), but there is a VTK import filter for blender:
http://www.ualberta.ca/CNS/RESEARCH/Vis/VTKBlender/ How well it works, I don't know. But please do post here if you manage to produce a nice rendering. Good luck! |
|
October 11, 2011, 11:19 |
|
#3 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Yes sir, Blender is one of the best pieces of software for this purpose, since it is fully scriptable through Python. It has a very steep learning curve, though, and since I have little spare time I've never been able to use it thoroughly, but these days I see clearer that it will be the solution. Now I only have to learn to script a Python filter to match the clip functionality of paraview...
Kerkythea is actually more user friendly, and since I've been using it for a while now I felt comfortable with it. Moreover available materials are awesome. Drawback: it does not support scripts for the things I need, making impossible to make a full video without rendering manually each snapshot. So thanks, and sure I will post any further progress. |
|
Tags |
free surface, sample |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to monitor free surface elevation vs time in OF? | ozgur | OpenFOAM Post-Processing | 56 | September 14, 2015 09:11 |
Multiphase flow. Dispersed and free surface model | Luis | CFX | 8 | May 29, 2007 19:13 |
Free Surface Modelling (sloshing) | fakir | CFX | 0 | November 23, 2006 03:23 |
Equilibrium of a free surface under surface tensio | Ryan | Main CFD Forum | 1 | August 7, 2001 17:14 |
Modeling Free Surface Flows | Elliot Schwartz | Main CFD Forum | 5 | August 25, 1998 22:03 |