CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Export data from paraview

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 12
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, 193 views)
Michel_HB is offline   Reply With Quote

Old   October 26, 2010, 05:54
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,264
Blog Entries: 1
Rep Power: 21
nimasam is on a distinguished road
???????
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: 12
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: 14
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: 9
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,264
Blog Entries: 1
Rep Power: 21
nimasam is on a distinguished road
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
__________________
Telegram channel (https://telegram.me/openfoam4Iranian)
My Weblog in Persian(http://openfoam.blogfa.com/)
My Personal Website (http://nimasamkhaniani.ir/)
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: 9
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,264
Blog Entries: 1
Rep Power: 21
nimasam is on a distinguished road
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
__________________
Telegram channel (https://telegram.me/openfoam4Iranian)
My Weblog in Persian(http://openfoam.blogfa.com/)
My Personal Website (http://nimasamkhaniani.ir/)
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: 9
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] “Upload” vtk data from client to server in paraview script Jack001 ParaView 0 March 8, 2018 07:27
Export Surface LIC data from Paraview to Tecplot? hxaxtma Tecplot 1 July 2, 2014 04:55
[General] paraview ignores SPACING in STRUCTURED_POINTS vtk data? jaffar ParaView 0 November 27, 2012 09:36
[OpenFOAM] extracting data from paraview tharem ParaView 1 January 17, 2011 23:45
Data export with paraview? zhang OpenFOAM 4 July 25, 2010 07:34


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