CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] plot out the volume of each cell in a mesh using paraview (https://www.cfd-online.com/Forums/paraview/116512-plot-out-volume-each-cell-mesh-using-paraview.html)

hz283 April 21, 2013 08:38

plot out the volume of each cell in a mesh using paraview
 
Dear All,

Is it possible to plot out the volume of each cell in the whole computational domain using paraview 3.98.1? Because when I present my results from Openfoam, I need to also show the gird resolutions for my mesh. Please give me some suggestions about how to do this. I check the filters but did not find a good way to do that. Thank you in advance!

best
H

berk April 21, 2013 20:56

Yes. You can use the Python Calculator for this. Set the "Array Association" to "Cell Data" and the expression to "volume(inputs[0])". Right now, this works only with hexs and tets. I will fix it soon.

hz283 April 22, 2013 05:00

Hi Berk, Thank you very much!

Quote:

Originally Posted by berk (Post 422191)
Yes. You can use the Python Calculator for this. Set the "Array Association" to "Cell Data" and the expression to "volume(inputs[0])". Right now, this works only with hexs and tets. I will fix it soon.


Traction January 17, 2017 08:58

Quote:

Originally Posted by berk (Post 422191)
Yes. You can use the Python Calculator for this. Set the "Array Association" to "Cell Data" and the expression to "volume(inputs[0])". Right now, this works only with hexs and tets. I will fix it soon.

Hey,
is there a known fix for calculating the volume of prisms / wedge elements in the meantime ?


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