CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

"iterative" sampling with the "sample" comand

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

LinkBack Thread Tools Display Modes
Old   January 30, 2013, 13:07
Default "iterative" sampling with the "sample" comand
Join Date: Jan 2012
Location: France
Posts: 43
Rep Power: 8
sawyer86 is on a distinguished road
Hi There,

I was wondering if it exists a way to sample in OF telling to it only the length step of samplig...I am interest to get the velocity components in the y-z plane normal to the direction x...

I mean if I have a domain length Lx, how can I tell to OF to sample each Deltax (read as in all the center cell in that direction)?

Where DeltaX=Lx/N, with N total number of point in x-direction...
sawyer86 is offline   Reply With Quote

Old   February 7, 2013, 15:10
Duong A. Hoang
Join Date: Apr 2009
Location: Delft, Netherlands
Posts: 93
Rep Power: 10
duongquaphim is on a distinguished road
Send a message via Yahoo to duongquaphim
Hi Tom,

An easy way to do that is to use probe if you do not have to sample lots of points and if you want to sample your data during your simulations. Take a look at src/sampling/probes to know how to include that function into your system/controlDict.

If you just want to do that as a post-process, it is even easier and you can probes as many points as you want. Try to look at applications/utilities/postProcessing/sampling/probeLocations or this post

duongquaphim is offline   Reply With Quote


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
sampling interval and sampling frequency beauty FLUENT 7 October 22, 2016 06:01
How to access/manipulate sampling points? blaise OpenFOAM Programming & Development 1 November 29, 2012 08:54
sample utility stops sampling once the line leaves the domain Zymon OpenFOAM 1 May 2, 2012 04:51
sampling Data during calculation JimKnopf OpenFOAM Post-Processing 0 May 27, 2011 04:10
Help! Sampling! HP FLUENT 0 May 15, 2008 10:29

All times are GMT -4. The time now is 20:29.