|
[Sponsors] |
March 15, 2022, 23:23 |
vtk cell volumes from mesh
|
#1 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
Hey everyone,
I need to find cell volumes in my mesh, however need to import vtk unstructured according to this script... and I am not sure how to do that, can someone please help? " from vtk.numpy_interface import algorithms as algs volume = algs.volume(inputs[0]) output.CellData.append(volume, 'volume') " Thanks! |
|
Tags |
openfoam, paraview, volumes, vtk |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ = 1 boundary layer mesh with snappyHexMesh | Arzed23 | OpenFOAM Running, Solving & CFD | 6 | November 23, 2022 16:15 |
[blockMesh] Floating Point Exception while generating wedge based mesh | jns-v | OpenFOAM Meshing & Mesh Conversion | 9 | July 8, 2021 06:36 |
[snappyHexMesh] Multi Region Mesh of a car filter | Zephiro88 | OpenFOAM Meshing & Mesh Conversion | 3 | September 11, 2019 20:34 |
[ANSYS Meshing] Is it possible to generate mesh in different cell zones in Ansys meshing? | aja1345 | ANSYS Meshing & Geometry | 0 | October 3, 2018 15:22 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |