CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

sample: free surface & more

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2011, 16:29
Default sample: free surface & more
  #1
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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.
Phicau is offline   Reply With Quote

Old   October 11, 2011, 02:59
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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!
akidess is offline   Reply With Quote

Old   October 11, 2011, 10:19
Default
  #3
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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.
Phicau is offline   Reply With Quote

Reply

Tags
free surface, sample


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
how to monitor free surface elevation vs time in OF? ozgur OpenFOAM Post-Processing 56 September 14, 2015 08:11
Multiphase flow. Dispersed and free surface model Luis CFX 8 May 29, 2007 18:13
Free Surface Modelling (sloshing) fakir CFX 0 November 23, 2006 02:23
Equilibrium of a free surface under surface tensio Ryan Main CFD Forum 1 August 7, 2001 16:14
Modeling Free Surface Flows Elliot Schwartz Main CFD Forum 5 August 25, 1998 21:03


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