|
[Sponsors] |
Number of points in writeCellCentres output is not the same as in the field data |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 24, 2023, 12:19 |
Number of points in writeCellCentres output is not the same as in the field data
|
#1 |
New Member
Lorenzo Curcio
Join Date: Oct 2023
Posts: 1
Rep Power: 0 |
Hi everyone,
I'm trying to extract data of the field in MATLAB and I need to know the coordinates for each of the data entries of p and U. I used writeCellCentres to output the cell centers, and at the beginning of the file it says 699582, which is the correct number, however there are 728858 points following. I should probably mention I've used snappyHexMesh to refine the domain. Also, maybe there's some other way of obtaining coordinates for the data, since I'm not even sure there is a correspondance between writeCellCentres and the fields p and U in the files. Maybe I'm missing something... thank you in advance! Lorenzo |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh stuck when snap is turned on | yukuns | OpenFOAM Meshing & Mesh Conversion | 3 | February 2, 2021 13:05 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 05:38 |
[Other] Equal decomposition of cylindrical fluid domain | Sean95 | OpenFOAM Meshing & Mesh Conversion | 3 | February 12, 2019 03:34 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 13:38 |
Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 15:03 |