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

How to find the coordinate value for OF output results? (for matlab post-processing)

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2013, 14:39
Default How to find the coordinate value for OF output results? (for matlab post-processing)
  #1
Member
 
Jack
Join Date: Dec 2011
Posts: 94
Rep Power: 14
ripperjack is on a distinguished road
Hi all,

I want to do postprocessing using Matlab. I found that the OF output results for every steps is just the cell value, no cell location or any other information, so it is very hard to read the OF output into matlab (I have several blocks). I check the constat/polyMesh/points and I can only found the points x,y,z value, not the cell x,y,z. So my question is: how can I find the corresponding x,y,z for each cell value in the OF output results?

Thanks in advance!

Regards,
ripperjack is offline   Reply With Quote

Old   September 3, 2013, 00:20
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
well, it save cell center data, if you want to know cell center position for post processing then use
Quote:
writeCellCentres
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   September 3, 2013, 12:31
Default
  #3
Member
 
Jack
Join Date: Dec 2011
Posts: 94
Rep Power: 14
ripperjack is on a distinguished road
Quote:
Originally Posted by nimasam View Post
well, it save cell center data, if you want to know cell center position for post processing then use
Thanks a lot! It works for me!
ripperjack 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
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
Problems with repeating results Lee Siemens 4 May 26, 2006 03:39
Gambit journal : how to find a vertex coordinate ? Cyril FLUENT 0 April 21, 2006 04:38
Gambit TUI : how to find a vertex coordinate ? Cyril FLUENT 0 April 20, 2006 04:29
Gambit: Text command to find a vertex' coordinate? Cyril FLUENT 0 April 19, 2006 11:17


All times are GMT -4. The time now is 10:18.