CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Export data from paraview (https://www.cfd-online.com/Forums/paraview/81379-export-data-paraview.html)

Michel_HB October 25, 2010 14:55

Export data from paraview
 
1 Attachment(s)
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

nimasam October 26, 2010 05:54

???????
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 ?

Michel_HB October 26, 2010 06:04

my question is if anyone made the same experience...

and I am sure that this is the same set of values..

gwierink October 26, 2010 06:34

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 ...

Dadou May 15, 2013 03:21

Python for save data
 
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

nimasam May 15, 2013 03:59

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 ;)

Dadou May 16, 2013 08:21

Quote:

Originally Posted by nimasam (Post 427640)
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

nimasam May 16, 2013 12:28

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


Dadou May 17, 2013 03:53

Quote:

Originally Posted by nimasam (Post 428077)
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 :)


All times are GMT -4. The time now is 07:34.