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

Postprocessing with matlab

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2013, 09:58
Default Postprocessing with matlab
  #1
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
Hi to all,
I want to do my postprocessing with matlab but I have some simple questions.
During mesh generation OpenFOAM create some files with a list of points and faces. The points created are the vertexes of each cell. The output file of the simulation are U and p that are stored in the centre of gravity.
Obviously for the postprocessing with paraview or Tecplot there is a matrix that link the value of U and p with the centre of gravity of each cell. Where is it?
In matlab I'm able to find the cells centre of gravity but I don't know the order
whereby all field variables are stored.
Any suggestions?
Thanks to all
giack is offline   Reply With Quote

Old   July 26, 2013, 02:09
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi giak,

what you need is writeCellCentres utility. It writes cell centres as a field.
giack likes this.
Phicau is offline   Reply With Quote

Old   July 26, 2013, 03:45
Default
  #3
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
thank you very much, I will try it
giack is offline   Reply With Quote

Reply

Tags
matlab, postprocessing


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
How to start Fluent with Matlab?? Jay Hu FLUENT 8 November 9, 2022 06:30
Export/Import data contour plots with Matlab meangreen FLUENT 11 October 28, 2020 10:06
Linking with Matlab?? LostinSpace Phoenics 0 March 25, 2013 05:39
Live connection Matlab VS OF levka OpenFOAM Running, Solving & CFD 0 July 10, 2012 04:15
CFD/FEM and MATLAB clifford bradford Main CFD Forum 6 September 4, 2000 14:53


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