CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Problem in sampling data (https://www.cfd-online.com/Forums/openfoam-post-processing/101303-problem-sampling-data.html)

MOHAMMAD67 April 30, 2012 13:04

Problem in sampling data
 
1 Attachment(s)
Dear Foamers
HI
I simulated a multiphase flow. After simulation completed I sampled data for drawing velocity profile. Unfortunately the sampled data are very different from what I saw in paraview.
Is there anyone know what happened to sampling?

Here you can see their comparison:

alberto April 30, 2012 13:50

How do you define the paraview line and the sampling line for the sample utility?

Best,

MOHAMMAD67 April 30, 2012 14:03

Line Defining
 
1 Attachment(s)
Dear ALberto

I defined a line in paraview (start and end point) and then copy them to sample dict.

alberto April 30, 2012 14:18

You will obtain the same result with sample, if you set

interpolationScheme pointMVC;

Best,

MOHAMMAD67 May 1, 2012 02:16

Problem solved!
 
1 Attachment(s)
Dear Alberto
thanks for your help. My problem was solved by your point.

the correct answer is attached here.


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