populationBalanceModelI.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
26 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
27 
28 inline const Foam::phaseSystem&
30 {
31  return fluid_;
32 }
33 
34 
35 inline const Foam::fvMesh&
37 {
38  return mesh_;
39 }
40 
41 
42 inline const Foam::dictionary&
44 {
45  return dict_;
46 }
47 
48 
49 inline const Foam::phaseModel&
51 {
52  return continuousPhase_;
53 }
54 
55 
58 {
59  return velocityGroups_;
60 }
61 
62 
65 {
66  return sizeGroups_;
67 }
68 
69 
72 {
73  return phasePairs_;
74 }
75 
76 
79 {
80  return v_;
81 }
82 
83 
84 inline const Foam::volScalarField&
86 {
87  return alphas_;
88 }
89 
90 
91 inline const Foam::volVectorField&
93 {
94  return U_;
95 }
96 
97 
98 // ************************************************************************* //
const volVectorField & U() const
Return average velocity.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
const PtrList< dimensionedScalar > & v() const
Return the sizeGroup boundaries.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Definition: HashTable.H:60
const phasePairTable & phasePairs() const
Return list of unordered phasePairs in this populationBalance.
const dictionary & dict() const
Return populationBalanceCoeffs dictionary.
const List< velocityGroup * > & velocityGroups() const
Return the velocityGroups belonging to this populationBalance.
const phaseModel & continuousPhase() const
Return continuous phase.
Class to represent a system of phases and model interfacial transfers between them.
Definition: phaseSystem.H:67
const phaseSystem & fluid() const
Return reference to the phaseSystem.
const List< sizeGroup * > & sizeGroups() const
Return the sizeGroups belonging to this populationBalance.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Definition: List.H:63
const volScalarField & alphas() const
Return total void of phases belonging to this populationBalance.
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:78
const fvMesh & mesh() const
Return reference to the mesh.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:53