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

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By nimasam

Reply
 
LinkBack Thread Tools 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
 
Ping
Join Date: Dec 2011
Posts: 63
Rep Power: 5
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 Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
well, it save cell center data, if you want to know cell center position for post processing then use
Quote:
writeCellCentres
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   September 3, 2013, 12:31
Default
  #3
Member
 
Ping
Join Date: Dec 2011
Posts: 63
Rep Power: 5
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

Thread Tools
Display Modes

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 On
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 21:30
Problems with repeating results Lee CD-adapco 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 03:57.