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 | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2014-2018 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 \*---------------------------------------------------------------------------*/
27 
28 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
29 
30 inline const Foam::fvMesh& Foam::phaseSystem::mesh() const
31 {
32  return mesh_;
33 }
34 
35 
38 {
39  return phaseModels_;
40 }
41 
42 
45 {
46  return phaseModels_;
47 }
48 
49 
52 {
53  return movingPhaseModels_;
54 }
55 
56 
59 {
60  return movingPhaseModels_;
61 }
62 
63 
66 {
67  return stationaryPhaseModels_;
68 }
69 
70 
73 {
74  return stationaryPhaseModels_;
75 }
76 
77 
80 {
81  return anisothermalPhaseModels_;
82 }
83 
84 
87 {
88  return anisothermalPhaseModels_;
89 }
90 
91 
94 {
95  return multiComponentPhaseModels_;
96 }
97 
98 
101 {
102  return multiComponentPhaseModels_;
103 }
104 
105 
108 {
109  return phasePairs_;
110 }
111 
112 
114 {
115  return phi_;
116 }
117 
118 
120 {
121  return phi_;
122 }
123 
124 
126 {
127  return dpdt_;
128 }
129 
130 
132 {
133  return dpdt_;
134 }
135 
136 
138 {
139  return MRF_;
140 }
141 
142 
144 {
145  return fv::options::New(mesh_);
146 }
147 
148 
149 // ************************************************************************* //
Foam::phaseSystem::anisothermalPhases
const phaseModelPartialList & anisothermalPhases() const
Return the models for phases that have variable temperature.
Definition: phaseSystemI.H:79
Foam::fv::options::New
static options & New(const fvMesh &mesh)
Construct fvOptions and register to database if not present.
Definition: fvOptions.C:103
Foam::phaseSystem::dpdt
const volScalarField & dpdt() const
Return the rate of change of the pressure.
Definition: phaseSystemI.H:125
Foam::phaseSystem::phi
const surfaceScalarField & phi() const
Constant access to the total flux.
Definition: phaseSystem.C:887
Foam::phaseSystem::multiComponentPhases
const phaseModelPartialList & multiComponentPhases() const
Return the models for phases that have multiple species.
Definition: phaseSystemI.H:93
Foam::PtrListDictionary< phaseModel >
Foam::UPtrList< phaseModel >
Foam::phaseSystem::mesh_
const fvMesh & mesh_
Reference to the mesh.
Definition: phaseSystem.H:121
Foam::phaseSystem::fvOptions
fv::options & fvOptions() const
Access the fvOptions.
Definition: phaseSystemI.H:143
Foam::fv::options
Finite-volume options.
Definition: fvOptions.H:55
Foam::phaseSystem::movingPhases
const phaseModelPartialList & movingPhases() const
Return the models for phases that are moving.
Definition: phaseSystemI.H:51
Foam::fvMesh
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:85
Foam::phaseSystem::mesh
const fvMesh & mesh() const
Return mesh.
Definition: phaseSystem.C:990
Foam::HashTable< autoPtr< phasePair >, phasePairKey, phasePairKey::hash >
Foam::phaseSystem::phasePairs
const phasePairTable & phasePairs() const
Return the phase pairs.
Definition: phaseSystemI.H:107
Foam::IOMRFZoneList
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
Definition: IOMRFZoneList.H:71
Foam::phaseSystem::phases
const phaseModelTable & phases() const
Constant access the phases.
Definition: phaseSystem.C:931
Foam::GeometricField< scalar, fvsPatchField, surfaceMesh >
Foam::phaseSystem::stationaryPhases
const phaseModelPartialList & stationaryPhases() const
Return the models for phases that are stationary.
Definition: phaseSystemI.H:65
Foam::phaseSystem::MRF
const IOMRFZoneList & MRF() const
Return MRF zones.
Definition: phaseSystemI.H:137