to support the more convenient #includeFunc specification in both
#includeFunc fieldAverage(U.air, U.water, alpha.air, p)
and
#includeFunc fieldAverage(fields = (U.air, U.water, alpha.air, p))
forms.
18 lines
734 B
C++
18 lines
734 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Calculates and writes the time averages of given list of fields.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
#includeEtc "caseDicts/postProcessing/fields/fieldAverage.cfg"
|
|
|
|
fields (<field_names>);
|
|
|
|
// ************************************************************************* //
|