CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

sample utility stops sampling once the line leaves the domain

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2010, 05:35
Default sample utility stops sampling once the line leaves the domain
  #1
Member
 
Join Date: May 2010
Posts: 42
Rep Power: 15
Zymon is on a distinguished road
Hi,

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.

Thanks

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

Old   May 2, 2012, 05:51
Default
  #2
pyt
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

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sample utility Gearb0x OpenFOAM Post-Processing 13 April 30, 2019 13:16
[blockMesh] BlockMeshmergePatchPairs polyTopoChanger benru OpenFOAM Meshing & Mesh Conversion 3 June 29, 2008 22:24
errors Fahad Main CFD Forum 0 March 23, 2004 14:20
Problems of Duns Codes! Martin J Main CFD Forum 8 August 15, 2003 00: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 18:48.