|
[Sponsors] |
January 20, 2016, 11:44 |
|
#7 | |
Senior Member
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12 |
Quote:
Code:
functions { flux { type faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl outputTime; surfaceFormat off; // Output to log&file (true) or to file only log true; // Output field values as well valueOutput true; // Type of source: patch/faceZone/sampledSurface source sampledSurface; //// if sampledSurface: dictionary with a sampledSurface //// Note: will not sample surface fields. sampledSurfaceDict { type plane; basePoint (8.1e-4 0 0); normalVector (1 0 0); interpolate false; } operation areaNormalIntegrate; fields ( U ); } } Use it executing: Code:
execFlowFunctionObjects -dict system/integrateOnSurfaceDict -noFlow I tried also using cuttingPlane instead of plane, and interpolate true, and got slightly different results. If I put the plane over a patch, the usage of plane and interpolate false gave the same result as running Code:
patchIntegrate U <patchName> Thomas |
||
Tags |
flux calculation, integrate |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to specify surface flux of a species? | ked | FLUENT | 18 | February 15, 2022 15:03 |
Total heat transf. rate vs Total surface heat flux | Renato Sousa | FLUENT | 1 | April 14, 2020 03:27 |
Symmetry and total surface heat flux | CCHunter | FLUENT | 2 | November 8, 2017 04:47 |
how to Calculate heat flux??? | sandip | Main CFD Forum | 0 | December 4, 2009 04:58 |
Total Heat Transfer Rate & Total Surface Heat Flux Mismatch | icaro | FLUENT | 0 | November 24, 2009 07:01 |