Skip to content

OpenFOAM functionObject for postProcessing, getting the conditional averaged fields with a given scalarField

License

Notifications You must be signed in to change notification settings

xflyhigh/conditionalAverage

 
 

Repository files navigation

conditionalAverage

OpenFOAM functionObject for postProcessing, getting the conditional averaged fields with a given scalarField

It has been tested in OF4, OF6, OF7, OFv1712 and OFv1806

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 );
	}
}

About

OpenFOAM functionObject for postProcessing, getting the conditional averaged fields with a given scalarField

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 68.2%
  • C++ 31.8%