CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

fieldaverage an a plane?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 2, 2017, 07:27
Default fieldaverage an a plane?
  #1
New Member
 
A Z
Join Date: Dec 2015
Posts: 16
Rep Power: 10
don6alfonso is on a distinguished road
Hey Foamers,

I want the areaAverage of a variable on a plane. Is there a way to do this?

I get the areaAverage of a patch with this entry:

Quote:
T_ave_7174
{
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
enabled true;
outputControl timeStep;
outputInterval 1;
log true;
valueOutput off;
source patch;
sourceName outlet;
operation areaAverage;
surfaceFormat raw;
fields
(
T
);
}
and I get the values on my plane with this:

Quote:
cuttingPlane
{
type surfaces;
functionObjectLibs ("libsampling.so");
outputControl timeStep;
outputInterval 1;

surfaceFormat raw;
interpolationScheme cellPoint;

fields (T);

surfaces
(
neckCut
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0.723);
normalVector (0 0 1);
}
interpolate true;
}
);
}
the sampling entry output the all cell values. Is there a way to output only the areaAverage??


Thanks
don6alfonso is offline   Reply With Quote

Reply


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
Using a Plane id in Fluent UDF cdf_user Fluent UDF and Scheme Programming 13 October 17, 2023 00:06
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 02:09
Plane stress and plane strain cases for stress analysis Sargam05 OpenFOAM 0 May 3, 2013 18:16
Meshing a Mixing Plane using ICEM Will Anderson FLUENT 0 November 6, 2010 17:08
[Gmsh] boundaries with gmshToFoam‏ ouafa OpenFOAM Meshing & Mesh Conversion 7 May 21, 2010 12:43


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