|
[Sponsors] |
January 17, 2014, 17:31 |
Line Average during runtime or after
|
#1 |
New Member
Ram
Join Date: Jan 2014
Posts: 1
Rep Power: 0 |
Hi all,
I am trying to get the average value of different parameters along a line in an internal flow. The line does not lie on a patch or anything. I am able to read all the values using the sampleDict as below but I would like to get the average value of it. I am pretty confident that this should be straight forward and that I should be able to achieve it through controlDict or sampleDict, but I am just not able to. My sampleDict file: Code:
setFormat raw; interpolationScheme cellPoint; fields ( p Ux Uy Uz T ); sets ( lineAB { type uniform; axis distance; start (4.16 6.16 0.0875); end (4.16 8.9 3.43); nPoints 50; } lineCD { type uniform; axis distance; start (4.16 8.9 0.07); end (4.16 6.16 3.41); nPoints 50; } ); I did look in the fieldAverage function and some of the operations that can be used to get the averages during runtime but, I am not able to figure out how they can be used with "sets" type of data. Thank you very much. Ram |
|
Tags |
sampledict, sampling options |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ and u+ values with low-Re RANS turbulence models: utility + testcase | florian_krause | OpenFOAM | 114 | August 23, 2023 06:37 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
8x icoFoam speed up with Cufflink CUDA solver library | kmooney | OpenFOAM Running, Solving & CFD | 42 | November 6, 2012 12:37 |
[Gmsh] GMSH and OpenFOAM | derath | OpenFOAM Meshing & Mesh Conversion | 44 | September 4, 2008 06:09 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |