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

 March 12, 2014, 17:20 Sampling along a radius #1 New Member   David H. Join Date: Oct 2013 Posts: 24 Rep Power: 5 Hello, I'm in the process of working through some data from an LES case that I'm studying. The experimental results are given as time-averaged data, given at a specified radius. I'm looking to sample my time-averaged field data at this radius, but I'm not sure what the best method for averaging those values around the radius. My plan was to use the sample utility to obtain N points along a curve (a circle of radius r, defined by their (x y z) coordinates. Then I can manually average this in post-post-processing pretty easily. I have about 8 radii distances to sample at about 5 z locations. I know that I can obtain a circle in ParaView by intersecting a sphere with a slice, I read that on these forums. Since there are many points and averages to obtain, and since I'd like to modify the simulation and test for improvement, you can understand this is not the preferred method. I know there are a lot of functions and features to OpenFOAM (I've been struggling to put together a custom boundary condition for a few days now). I have done some work with the code, so I'm not afraid to put together a utility if needed. If someone could point me in the right direction on this, it would be much appreciated.

 March 19, 2014, 20:15 sampling #2 New Member   Jim Conger Join Date: Jan 2014 Location: California, USA Posts: 21 Rep Power: 5 I use the sample utility and then post process the output using Python to compute the averages. Simple and easy to automate.

 March 25, 2014, 11:26 #3 New Member   David H. Join Date: Oct 2013 Posts: 24 Rep Power: 5 I am considering several methods of averaging about a radius to transform results from (x,y,z) to (r,z) coordinates. I have been able to average the sample output, which will work for a discrete radius of sampled points; however I am trying to consider a more robust solution that is more of a core utility than a basic text file post processor. Does anyone have some ideas on how this could be done? I like that the "sample" utility will interpolate points. My advisor suggested averaging points that fall within a tolerance, such as r = 5 +/ 0.001. I'm trying to consider a variety of options, but I think the "best" implementation would be extending the sample utility.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post beauty FLUENT 7 October 22, 2016 06:01 Zymon OpenFOAM 1 May 2, 2012 04:51 Moose1231 STAR-CD 3 December 6, 2011 16:32 JimKnopf OpenFOAM Post-Processing 0 May 27, 2011 04:10 Chris CD-adapco 7 June 22, 2004 12:43

All times are GMT -4. The time now is 04:37.