-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
etc/caseDicts/postProcessing/fields/fieldAverage: New functionObject …
…configuration file for field averaging 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.
- Loading branch information
Henry Weller
committed
Mar 12, 2020
1 parent
57f924f
commit c60cef9
Showing
3 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/*--------------------------------*- 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>); | ||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters