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

Number of points in writeCellCentres output is not the same as in the field data

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2023, 12:19
Default 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
Grozione is on a distinguished road
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
Grozione is offline   Reply With Quote

Reply


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
[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


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