|July 9, 2010, 10:47||
Paraview: Cell data and Point Data?
Join Date: Oct 2009
Posts: 28Rep Power: 7
I'm trying to calculate the average velocity in the outlet of a pipe.
I use the filter Integrate Variables, but I dont know how to interpret the data, I mean, what is the difference between the values of velocity in the Cell Data and Point Data? They are quite different.
If I wish to calculate the average velocity in the outlet, which should I choose?
Just to make sure, Paraview integrates in the area, so all I have to do is divide this value by the area of the pipe, and this will give me the average velocity, right?
|July 9, 2010, 13:46||
Join Date: Sep 2009
Location: Tehran, Iran
Blog Entries: 1Rep Power: 14
as i guess cell data is the value of cell center but point data are the value of cell points for example in hex mesh we have 8 data for points of a cell but just one data for cell center
|July 10, 2010, 06:30||
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,888Rep Power: 25
GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
GeekoCFD 32bit - The 32bit edition of GeekoCFD.
GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats.
|December 23, 2010, 01:09||
Join Date: Mar 2009
Posts: 42Rep Power: 7
Take a look at the following utilities:
patchAverage Calculates the average of the specified field over the specified patch
patchIntegrate Calculates the integral of the specified field over the specified patch
If all you want to do is calculate average velocity magnitude over the outlet patch. You don't need to open up ParaView to do that. Note that velocity is a volVectorField and only volScalarFields can be averaged, so use
foamCalc mag U
to find and write magU if you want to work with velocity. Then
patchAverage magU outlet
The builtin cell-to-point filter works like a Cell Data to Point Data filter in ParaView in that it just takes the average of cell values connected to a point. The difference is that the builtin filter takes boundary patch values into account. The filter is faster but less accurate than the volPoint interpolator in paraFoam, which further does inverse distance weighting of cell values. The cell-to-point filter is still computationally demanding thus can be turned off by unchecking "Create cell-to-point filtered data" on the reader panel.
= ( ∫∫ ψ dA ) / A
= average of ψ over A
( Sorry to bump an old thread but hope this is helpful )
Last edited by sushant; December 23, 2010 at 02:24. Reason: didn't notice OP specifically asked about ParaView
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to get the data of second cell or point near the wall?||jelon||STAR-CCM+||0||April 24, 2010 03:04|
|Velocity vector data in OpenFOAM and ParaView mismatch||tekky||OpenFOAM||9||December 21, 2009 12:26|
|Cell Data to Point Data Issues||mcintoshjamie||OpenFOAM Paraview & paraFoam||2||November 19, 2009 04:55|
|IFStream read float point data problem||liu||OpenFOAM Running, Solving & CFD||0||October 24, 2008 13:14|
|How to update polyPatchbs localPoints||liu||OpenFOAM Running, Solving & CFD||6||December 30, 2005 18:27|