CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] each cell should be a pixel (https://www.cfd-online.com/Forums/paraview/126037-each-cell-should-pixel.html)

idefix November 6, 2013 15:55

each cell should be a pixel
 
Hello together,

I donīt know if itīs possible what I am trying to do.
But it would be helpful to hear your ideas to my problem:

I just want to get jpg-pictures from paraview with a special property:
Every cell of my simulation-grid should be a pixel in the jpg-picture.

Is this possible?
If yes: how can I do it?

Thanks a lot

Gaetano November 7, 2013 08:35

Maybe a python script like this one. It's the second result by searching in google "write image pixel by pixel python".

idefix January 3, 2014 05:35

ok, after some thinking and help I get a solution:
HTML Code:

http://www.cfd-online.com/Forums/openfoam-post-processing/126102-get-values-scalar-matrix.html#post468470


All times are GMT -4. The time now is 08:45.