phaseSystemI.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 2014-2015 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 
29 {
30  return mesh_;
31 }
32 
33 
36 {
37  return phaseModels_;
38 }
39 
40 
43 {
44  return phaseModels_;
45 }
46 
47 
50 {
51  return phasePairs_;
52 }
53 
54 
56 {
57  return phi_;
58 }
59 
60 
62 {
63  return phi_;
64 }
65 
66 
68 {
69  return dpdt_;
70 }
71 
72 
74 {
75  return dpdt_;
76 }
77 
78 
80 {
81  return MRF_;
82 }
83 
84 
86 {
87  return fv::options::New(mesh_);
88 }
89 
90 
91 // ************************************************************************* //
const phaseModelList & phases() const
Constant access the phase models.
Definition: phaseSystemI.H:35
fv::options & fvOptions() const
Optional FV-options.
Definition: phaseSystemI.H:85
phasePairTable phasePairs_
Phase pairs.
Definition: phaseSystem.H:167
volScalarField dpdt_
Rate of change of pressure.
Definition: phaseSystem.H:173
Finite-volume options.
Definition: fvOptions.H:52
phaseModelList phaseModels_
Phase models.
Definition: phaseSystem.H:164
const surfaceScalarField & phi() const
Constant access the mixture flux.
Definition: phaseSystemI.H:55
const fvMesh & mesh() const
Constant access the mesh.
Definition: phaseSystemI.H:28
const IOMRFZoneList & MRF() const
Return MRF zones.
Definition: phaseSystemI.H:79
const fvMesh & mesh_
Reference to the mesh.
Definition: phaseSystem.H:161
const phasePairTable & phasePairs() const
Constant access the phase pairs.
Definition: phaseSystemI.H:49
IOMRFZoneList MRF_
Optional MRF zones.
Definition: phaseSystem.H:176
const volScalarField & dpdt() const
Constant access the rate of change of the pressure.
Definition: phaseSystemI.H:67
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:78
surfaceScalarField phi_
Total volumetric flux.
Definition: phaseSystem.H:170
static options & New(const fvMesh &mesh)
Construct fvOptions and register to datbase if not present.
Definition: fvOptions.C:103
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries...
Definition: IOMRFZoneList.H:66