CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] plot out the volume of each cell in a mesh using paraview

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 3 Post By berk
  • 1 Post By Traction

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2013, 08:38
Question plot out the volume of each cell in a mesh using paraview
  #1
Senior Member
 
Join Date: Nov 2012
Posts: 171
Rep Power: 13
hz283 is on a distinguished road
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
hz283 is offline   Reply With Quote

Old   April 21, 2013, 20:56
Default
  #2
New Member
 
Berk Geveci
Join Date: Apr 2013
Posts: 6
Rep Power: 13
berk is on a distinguished road
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.
Nucleophobe, Traction and sourav90 like this.
berk is offline   Reply With Quote

Old   April 22, 2013, 05:00
Default
  #3
Senior Member
 
Join Date: Nov 2012
Posts: 171
Rep Power: 13
hz283 is on a distinguished road
Hi Berk, Thank you very much!

Quote:
Originally Posted by berk View Post
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 is offline   Reply With Quote

Old   January 17, 2017, 08:58
Default
  #4
Member
 
Join Date: Mar 2014
Posts: 39
Rep Power: 12
Traction is on a distinguished road
Quote:
Originally Posted by berk View Post
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 ?
lourencosm likes this.
Traction is offline   Reply With Quote

Reply


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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 11:04
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38


All times are GMT -4. The time now is 23:54.