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

Specific cell volume in paraview

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By Katt

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2017, 08:59
Default Specific cell volume in paraview
  #1
Member
 
Katt
Join Date: May 2017
Posts: 30
Rep Power: 9
Katt is on a distinguished road
Hi,

I would like to select a specific cell using "SelectionDisplay Inspector" in paraview and would like to know the volume/ area of the selected cell in 2D/ 3D respectively.

I tried the intergrate Variable but it gives the entire volume of the domian rather than cell volume.

Can anyone help me here.

K
Katt is offline   Reply With Quote

Old   August 23, 2017, 10:12
Default
  #2
Member
 
Katt
Join Date: May 2017
Posts: 30
Rep Power: 9
Katt is on a distinguished road
Apologies;

Found the solution here using "Python Calculator"
https://www.paraview.org/Wiki/Python...ammable_filter
lourencosm, sourav90 and qutadah.r like this.
Katt is offline   Reply With Quote

Old   January 14, 2019, 09:29
Default
  #3
New Member
 
Ruchit Patel
Join Date: May 2018
Location: Chennai
Posts: 24
Rep Power: 8
ruchit@15847 is on a distinguished road
Hi Katt..
I want to calculate the area of all control volume of Inlet patch as shown in attachments. Can you please enlighten me how can i calculate these areas using python calculator and also tell me about python calculator like installation and usage. Is it directly available in paraview ?


Thanks and Regards,
Ruchit Patel
Attached Images
File Type: png area_of_CVs.png (11.2 KB, 69 views)
ruchit@15847 is offline   Reply With Quote

Old   July 3, 2021, 09:02
Talking Volume option in MeshQuality Filter
  #4
Member
 
Sourav Mandal
Join Date: Jul 2019
Posts: 55
Rep Power: 7
sourav90 is on a distinguished road
In addition to the python calculator as mentioned by Katt in this thread,

The Filters > MeshQuality also returns same result. Use the Volume dropdown option in Hex Quality Measure or Tet Quality Measure in the properties window of the filter. CAVEAT: If the mesh is composed of both hex and tetrahedrons, then I am not sure if it works...
sourav90 is offline   Reply With Quote

Old   March 18, 2022, 16:32
Default
  #5
Senior Member
 
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5
qutadah.r is on a distinguished road
this gives me a syntax error..... here is a screenshot...


also I need to extract another ratio from the cell volumes, how can I do that? I used calculator but the array is not there... Only Vc array is there...
Attached Images
File Type: jpg cellVolumes0.jpg (127.8 KB, 57 views)
File Type: jpg cellVolumes.jpg (126.3 KB, 44 views)
qutadah.r is offline   Reply With Quote

Old   March 28, 2022, 07:02
Default
  #6
Senior Member
 
JNSN's Avatar
 
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 143
Rep Power: 20
JNSN is on a distinguished road
Hi,


the Filter "Cell Size" calculates the cell volume. Same filter can be used for getting the area in case of a surface as input.


Best,
Jan
JNSN is offline   Reply With Quote

Old   November 16, 2023, 11:16
Default
  #7
Member
 
Marķa Rosales
Join Date: Mar 2023
Location: Spain
Posts: 48
Rep Power: 3
MMRC is on a distinguished road
Hello community,

this may work for someone:
1) using topoSet and foamToVTK extract as vtm series the region
2) import it into paraview and apply filter cell size
3) open spreadsheet and check both Cell Data and Field Data. The first one shows volume per cell, the last one shows the total volume of the vtm series.
MMRC is offline   Reply With Quote

Reply

Tags
cell volume, paraview


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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 06:42
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Warning 097- AB Siemens 6 November 15, 2004 05:41


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