Loading...
Searching...
No Matches
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
48
49
55
56
62
63
69
70
76
77
83
84
90
91
97
98
104
105
110}
111
114{
115 return phi_;
116}
117
122}
123
126{
127 return dpdt_;
128}
129
134}
135
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,...
Mesh data needed to do the Finite Volume discretisation.
Definition fvMesh.H:85
Finite-volume options, which is an IOdictionary of values and a fv::optionList.
Definition fvOptions.H:69
static options & New(const fvMesh &mesh)
Construct fvOptions and register to database if not present otherwise lookup and return.
Definition fvOptions.C:116
phaseModelPartialList stationaryPhaseModels_
Stationary phase models.
const phasePairTable & phasePairs() const
Return the phase pairs.
const IOMRFZoneList & MRF() const
Return MRF zones.
const fvMesh & mesh_
Reference to the mesh.
phaseModelList phaseModels_
Phase models.
phaseModelPartialList movingPhaseModels_
Moving phase models.
const surfaceScalarField & phi() const
Return the mixture flux.
const volScalarField & dpdt() const
Return the rate of change of the pressure.
phaseModelPartialList multiComponentPhaseModels_
Multi-component phase models.
phaseModelPartialList anisothermalPhaseModels_
Anisothermal phase models.
const phaseModelPartialList & movingPhases() const
Return the models for phases that are moving.
const phaseModelList & phases() const
Return the phase models.
PtrListDictionary< phaseModel > phaseModelList
Definition phaseSystem.H:83
const phaseModelPartialList & anisothermalPhases() const
Return the models for phases that have variable temperature.
HashTable< autoPtr< phasePair >, phasePairKey, phasePairKey::hash > phasePairTable
Definition phaseSystem.H:89
const phaseModelPartialList & multiComponentPhases() const
Return the models for phases that have multiple species.
const phaseModelPartialList & stationaryPhases() const
Return the models for phases that are stationary.
phasePairTable phasePairs_
Phase pairs.
surfaceScalarField phi_
Total volumetric flux.
const fvMesh & mesh() const
Return the mesh.
UPtrList< phaseModel > phaseModelPartialList
Definition phaseSystem.H:85
IOMRFZoneList MRF_
Optional MRF zones.
fv::options & fvOptions() const
Access the fvOptions.
volScalarField dpdt_
Rate of change of pressure.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField