conditionalAverage Function Object
Hi,
I am wondering if “conditionalAverage” function object does the weighted average along a line for a specified region of the computational domain? The link of the function object is found here: https://github.com/ZmengXu/conditionalAverage |
Hi Bodo,
you can specify the conditionalFields as 'x','y','z' or 'direction' to get a weighted average along a axis or a line. functions { conditionalAverageTest { type conditionalAverage; libs ("libconditionalAverage.so"); writeFormat raw;//ensight,gnuplot,jplot,raw,vtk,xmgr conditionalFields (Z);// Must be volScalarField, can also be 'x','y','z','direction'. weightedAveragedField rhoMeshV;//rhoMeshV;none;meshV //directionVector (1 1 1);//If conditionalFields contains 'direction', a directionVector will be needed nBins 20;//The number of sampled data, the conditionalFields are averaged devided into nBins, [min:(max-min)/nBins:max]. maxF 1; minF 0; averagedFields ( U C7H16 OH meanChemistryHRR ); } } Quote:
|
All times are GMT -4. The time now is 16:31. |