|
[Sponsors] |
May 28, 2024, 09:27 |
[sampleDict] Volume of cells through line
|
#1 |
New Member
Dasha
Join Date: Sep 2023
Posts: 16
Rep Power: 3 |
Hello everyone!
I am working on post-processing in OpenFOAM2312. I have a specified line with the sampleDict dictionary, which allows me to extract temperature and density data of the cells intersected by this line. Code:
fields ( T rho V ); sets ( line1 { type midPoint; axis distance; start (0.2 3.25 0); end (0.23 13.55 0); } ) However, I would also like to have the volume data of these cells. Can anyone suggest how to do this? The sampleDict does not recognize such a field. When I write the volume of all cells using the writeCellsVolumes function, it still does not recognize this field as existing. Code:
Cannot find registered field matching 1(V) End Finalising parallel run Last edited by DashaSh; May 31, 2024 at 04:41. |
|
Tags |
cells volumes, sampledict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam & Theater | jipai | OpenFOAM Running, Solving & CFD | 3 | June 18, 2019 11:11 |
[Gmsh] 3D Mesh conversion from gmsh-2.5.0 to OpenFOAM | Ancioi | OpenFOAM Meshing & Mesh Conversion | 17 | January 9, 2019 00:50 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |