Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
50306c0b
Commit
50306c0b
authored
May 05, 2017
by
Henry Weller
Committed by
Andrew Heather
May 05, 2017
Browse files
flowRateFaceZone: faceZone configuration for the surfaceFieldValue functionObject
parent
4059dbd6
Changes
3
Hide whitespace changes
Inline
Side-by-side
etc/caseDicts/postProcessing/flowRate/flowRateFaceZone
0 → 100644
View file @
50306c0b
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Web: www.OpenFOAM.org
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Calculates the flow rate through a specified patch by summing the flux on
patch faces. For solvers where the flux is volumetric, the flow rate is
volumetric; where flux is mass flux, the flow rate is mass flow rate.
\*---------------------------------------------------------------------------*/
name <faceZoneName>;
#includeEtc "caseDicts/postProcessing/flowRate/flowRateFaceZone.cfg"
// ************************************************************************* //
etc/caseDicts/postProcessing/flowRate/flowRateFaceZone.cfg
0 → 100644
View file @
50306c0b
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/faceZone.cfg"
fields ();
orientedFields (phi);
operation sum;
// ************************************************************************* //
src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.H
View file @
50306c0b
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016
-2017
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -55,6 +55,16 @@ Description
#includeFunc mag(p)
\endverbatim
Other dictionary entries may also be specified using named arguments, for
example the \c name of the \c faceZone in the \c flowRateFaceZone \c
functionObject configuration set and the \c orientedFields entry which
defaults to \c phi may also be overridden as required, e.g.
\verbatim
#includeFunc flowRateFaceZone(name=fZone1)
#includeFunc flowRateFaceZone(orientedFields=(phiAlpha),name=fZone1)
\endverbatim
See also
Foam::functionObjectList
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment