CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   Animations for C++ in CFD (

Emre Turkoz February 13, 2011 06:08

Animations for C++ in CFD
Hi everybody,

I'm developing my own codes and I have a little problem regarding animations. When I work with 2D problems, I was writing the result matrix from my C code to a file and then using MATLAB, I was making a contour plot of my data.

But now, I'm working on a project that I need to visualize my results in 3D instantly. I want to watch the animation as the problem is being solved. I'm considering recording results in each time step and again using MATLAB making some animations if possible. But do you know a better way for animations? I want to prepare a user interface using C++ (I'm also not so familiar with this language) and I want to use an animation tool, maybe a library with C++. I will solve a transient problem and want to watch my 3D domain at every time step.

Thank you for any help.

Best Regards,

trieuminh07 February 13, 2011 22:28

You can create pbrt file to render animation. I'm working on it too ;)

trieuminh07 February 13, 2011 22:30

This is pbrt homepage. You can download source code or library to add to your c++ project.

Emre Turkoz February 14, 2011 07:29

thank you, it looks really good. Have you managed to perform any animations with that tool?

trieuminh07 February 14, 2011 19:15

Yes, it's very useful, i used it in many projects. Sure u can use it too.:)

RameshK February 15, 2011 04:45

Check out Mayavi, This is software for 3D scientific data vizualization, you can also make some animations with this and is an opensource

All times are GMT -4. The time now is 15:01.