|
[Sponsors] |
[General] Calculate the volume of each cell in ParaView |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 12, 2022, 14:22 |
Calculate the volume of each cell in ParaView
|
#1 |
New Member
|
Here is the issue:
I do not know how to calculate the cell volumes as a field in ParaView. What do I need it for: A RANS simulation is necessary prior to an LES simulation. One can calculate the integral length scale from a RANS simulation and use it to see if the mesh is fine enough. In my case, I did a k- simulation. Then, calculated the integral length scale L as a field in ParaView: L = ,where is equal to 0.09 One can define a new field f: f = ,where L is the integral length scale and is Let us say the goal is to resolve 80% of eddies, then f < 5 shows where the mesh is coarse and needs refinement. But, I do not know how to get the volume for each cell. Any help is appreciated, Reza |
|
October 12, 2022, 18:23 |
|
#2 |
New Member
|
For anyone having the same issue.
Here is how to calculate the cell volumes in ParaView. You can use the "Mesh Quality" filter. You can press Ctrl+Space and then type in "Mesh Quality", then press Enter. Depending on your mesh (Tet, Hex, or ...), select the quality measure. My mesh has only the "Hex" type. See attachments. Cheers! Reza |
|
November 16, 2023, 11:18 |
|
#3 |
Member
Marķa Rosales
Join Date: Mar 2023
Location: Spain
Posts: 48
Rep Power: 3 |
Hi Reza, I found this also could work:
1) using topoSet and foamToVTK extract as vtm series the region of interest 2) import it into paraview and apply filter cell size 3) open spreadsheet and check both Cell Data and Field Data info. The first one shows volume per cell, the last one shows the total volume of the vtm series. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Specific cell volume in paraview | Katt | OpenFOAM | 6 | November 16, 2023 11:16 |
multiphaseEulerFoam FOAM FATAL IO ERROR | qutadah.r | OpenFOAM Running, Solving & CFD | 11 | December 10, 2021 21:18 |
[General] plot out the volume of each cell in a mesh using paraview | hz283 | ParaView | 3 | January 17, 2017 09:58 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |