CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

sample utility stops sampling once the line leaves the domain

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

LinkBack Thread Tools Display Modes
Old   June 17, 2010, 04:35
Default sample utility stops sampling once the line leaves the domain
Join Date: May 2010
Posts: 42
Rep Power: 7
Zymon is on a distinguished road

I want to sample my results along a couple of lines after the simulation. The sample utility should be perfect for this, but I have a Problem. I want uniformly distributed points along the line, so I chose uniform as the sampling type. When the line leaves my domain the sampling stops and the last result in the new written file is the last point in my domain. But the line reenters the domain at another location and the sampling does not start at this position again. I hope you understand what I mean. Once the line leaves the domain the sampling stops and does not go on again when the line reenters the domain.

Maybe someone else had the sample problem. I tried to change the sampledSets.C, but I can't find the right lines in the code. Of course, it works when I define a point cloud of the points along the line. But this is a bit inconvenient.

Edit: Ah, and I would like to write e.g. zeros for the velocity components of the points on the line that are not inside the domain. When I construct a point cloud these points are ignored at all in the file.


Last edited by Zymon; June 17, 2010 at 05:10.
Zymon is offline   Reply With Quote

Old   May 2, 2012, 04:51
New Member
Pavel Tomin
Join Date: Mar 2012
Posts: 2
Rep Power: 0
pyt is on a distinguished road
Hi Zymon,

Did you solve the problem?
pyt 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
Sample utility Gearb0x OpenFOAM Post-Processing 12 March 27, 2011 14:13
BlockMeshmergePatchPairs polyTopoChanger benru OpenFOAM Native Meshers: blockMesh 3 June 29, 2008 21:24
errors Fahad Main CFD Forum 0 March 23, 2004 14:20
Problems of Duns Codes! Martin J Main CFD Forum 8 August 14, 2003 23:19
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16

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