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

Averaging along a line on a boundary patch

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2012, 15:28
Question Averaging along a line on a boundary patch
  #1
New Member
 
Join Date: Mar 2009
Posts: 15
Rep Power: 17
sfalsharif is on a distinguished road
Hi,

I'm trying to get the average of a scalar field variable along specified lines on a boundary patch. The boundary patch is not completely planar, so the lines along which I want to sample would exit and re-enter the flow domain (boundary). I've tried using the sample utility, but for some reason it only picks up a segment of where the line and patch intersect. I can see from paraview that there is more than what sample returns.

Here's a sample of what I have in sampleDict:

Code:
interpolationScheme pointMVC;//cellPointFace;

setFormat       raw;

sets
(
    line10
    {
        type uniform;
        axis z;
        start (0.00330836878141 1e-9 -1e-9 );
        end (0.00330836878141 1e-9 .01 );
        nPoints  200;
    }

);

If I can at least know how to sample values along a line I can do the averaging externally. Is there a simple way to do that? Is there something I'm doing wrong in sampleDict ?

Any help or suggestions appreciated.
sfalsharif is offline   Reply With Quote

Reply

Tags
averaging, postprocessing, sample, sampledict

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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 11:37
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43
Problem of compilation OF 14Allwmake command not found erik_d OpenFOAM Bugs 13 September 13, 2008 21:45


All times are GMT -4. The time now is 03:08.