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 with sample utility (https://www.cfd-online.com/Forums/openfoam-post-processing/61430-problem-sample-utility.html)

roberthino August 23, 2007 11:53

hi me again. i read about the
 
hi me again. i read about the sample utility and decided that it is a much cleaner way to plot graphs than probe. my problem is that after i finished a calculation with FoamX and i puch the execute button for sample (configuration: uniform, along a line) it is initializing the mesh and writing something for every iterationstep, but than if i take a look in the dictionary on my hd (sample) and if i go to any iterationstep, there is absolutely no data written there? someone can help?

msrinath80 August 23, 2007 13:16

All data extracted using the s
 
All data extracted using the sample utility gets written to a new directory called samples inside your case.

roberthino August 23, 2007 13:21

jup thats what i thought....in
 
jup thats what i thought....in that samples directory there are all the iterations steps in new directories. but these directories are empty there is no data

msrinath80 August 23, 2007 13:25

That's odd. Do one thing. Use
 
That's odd. Do one thing. Use the default caviy case with icoFoam and extract the velocities along a line through the center of the cavity. See if that works first.

jens_klostermann August 23, 2007 14:39

Hallo Robert, 1. Which vers
 
Hallo Robert,

1. Which version of OF do you use? I had also some problems with sampling in OF-1.3? Try to change the interpolation in the sampleDict.

2. Make sure your sample line (coordinates of first and last point) is within your domain!

Jens

roberthino August 23, 2007 15:14

thx a lot, i use version 1.4..
 
thx a lot, i use version 1.4......well my first and last point are exactly on my left and right boundary. is that allowed? anyway i am going to try it tomorrow at the pc at work. what do you mean by changing the interpolation? i used uniform and 100 points in between

msrinath80 August 23, 2007 15:29

I faced the same problem a whi
 
I faced the same problem a while ago[1]. The suggestion was to move to the cloud option as opposed to the line option. Check the thread below for more information.

[1] http://www.cfd-online.com/OpenFOAM_D...es/1/3611.html


All times are GMT -4. The time now is 09:12.