CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Export data from paraview

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 25, 2010, 14:55
Default Export data from paraview
  #1
New Member
 
Michel
Join Date: Jun 2010
Posts: 7
Rep Power: 7
Michel_HB is on a distinguished road
Hello,

today I was wondering about strange results. I exported /saved the Data from "plot over line" and compared the results to a plot in matlab and got the result in the attached picture. Upper Picture is from Matlab, lower one was made with "plot over line"...

Did anyone made the same experience??

Thanks a lot,
Michel
Attached Images
File Type: jpg Bildschirmfoto.jpg (33.1 KB, 123 views)
Michel_HB is offline   Reply With Quote

Old   October 26, 2010, 05:54
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
???????
whats ur question?
as i see values in matlab pic differ from value in paraview pic
are u sure that u use true set of values for both configuration ?
nimasam is offline   Reply With Quote

Old   October 26, 2010, 06:04
Default
  #3
New Member
 
Michel
Join Date: Jun 2010
Posts: 7
Rep Power: 7
Michel_HB is on a distinguished road
my question is if anyone made the same experience...

and I am sure that this is the same set of values..
Michel_HB is offline   Reply With Quote

Old   October 26, 2010, 06:34
Default
  #4
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
gwierink is on a distinguished road
Could it be that the paraview plot has different interpolation? I.e. that one plot is cell face interpolated and the other cell center values? There is a "Cell Centers" filter in ParaView, maybe interesting to have a look at ...
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   May 15, 2013, 03:21
Default Python for save data
  #5
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 4
Dadou is on a distinguished road
Hello,

I'm using paraview for extract some data from Probelocation. I have 88 Probelocation and I only know how to save data manually and it's taking me too much time

Does someone know if there a way to make this automatically using mtalab or python or anything else?

Thank you

Mehdi
Dadou is offline   Reply With Quote

Old   May 15, 2013, 03:59
Default
  #6
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
you can use sampleDict or sample function in your controlDict, then you would have those points data in file, then with python scrtips you can see it
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   May 16, 2013, 08:21
Default
  #7
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 4
Dadou is on a distinguished road
Quote:
Originally Posted by nimasam View Post
you can use sampleDict or sample function in your controlDict, then you would have those points data in file, then with python scrtips you can see it
I've never used it.
I asked around and they told me that I have to put in sampleDict type Cloud and then write the 88 points ?

Do you know what that means and what's the format of the output data ?


Thnak you
Dadou is offline   Reply With Quote

Old   May 16, 2013, 12:28
Default
  #8
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
dear mahdi you can find the usage of sampleDict from OpenFoam tutorials
here is some cases which you can find sampleDict
Code:
./applications/utilities/postProcessing/sampling/sample/sampleDict
./tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleDict
./tutorials/electromagnetics/mhdFoam/hartmann/system/sampleDict
./tutorials/compressible/sonicFoam/laminar/shockTube/system/sampleDict
./tutorials/compressible/rhoCentralFoam/shockTube/system/sampleDict
./tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/sampleDict
./tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/sampleDict
./tutorials/heatTransfer/buoyantSimpleFoam/buoyantCavity/system/sampleDict
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   May 17, 2013, 03:53
Default
  #9
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 4
Dadou is on a distinguished road
Quote:
Originally Posted by nimasam View Post
dear mahdi you can find the usage of sampleDict from OpenFoam tutorials
here is some cases which you can find sampleDict
Code:
./applications/utilities/postProcessing/sampling/sample/sampleDict
./tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleDict
./tutorials/electromagnetics/mhdFoam/hartmann/system/sampleDict
./tutorials/compressible/sonicFoam/laminar/shockTube/system/sampleDict
./tutorials/compressible/rhoCentralFoam/shockTube/system/sampleDict
./tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/sampleDict
./tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/sampleDict
./tutorials/heatTransfer/buoyantSimpleFoam/buoyantCavity/system/sampleDict
Thanks for your help

I'll look it up
Dadou 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
export data at nodes Meenu FLUENT 1 December 30, 2011 02:24
export data from paraview lions85 OpenFOAM 4 June 2, 2011 13:33
Data export with paraview? zhang OpenFOAM 4 July 25, 2010 07:34
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


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