|June 17, 2010, 04:35||
sample utility stops sampling once the line leaves the domain
Join Date: May 2010
Posts: 42Rep Power: 7
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.
|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|