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-------------------------------------------------------------------------------
10License
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
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// ************************************************************************* //
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
Definition: IOMRFZoneList.H:75
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Definition: Time.C:717
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:91
Finite-volume options.
Definition: fvOptions.H:59
const phasePairTable & phasePairs() const
Return the phase pairs.
Definition: phaseSystemI.H:107
const IOMRFZoneList & MRF() const
Return MRF zones.
Definition: phaseSystemI.H:137
const fvMesh & mesh_
Reference to the mesh.
Definition: phaseSystem.H:129
const surfaceScalarField & phi() const
Return the mixture flux.
Definition: phaseSystemI.H:113
const volScalarField & dpdt() const
Return the rate of change of the pressure.
Definition: phaseSystemI.H:125
const phaseModelPartialList & movingPhases() const
Return the models for phases that are moving.
Definition: phaseSystemI.H:51
const phaseModelList & phases() const
Return the phase models.
Definition: phaseSystemI.H:37
const phaseModelPartialList & anisothermalPhases() const
Return the models for phases that have variable temperature.
Definition: phaseSystemI.H:79
const phaseModelPartialList & multiComponentPhases() const
Return the models for phases that have multiple species.
Definition: phaseSystemI.H:93
const phaseModelPartialList & stationaryPhases() const
Return the models for phases that are stationary.
Definition: phaseSystemI.H:65
const fvMesh & mesh() const
Return the mesh.
Definition: phaseSystemI.H:30
fv::options & fvOptions() const
Access the fvOptions.
Definition: phaseSystemI.H:143