1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
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.
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
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/>.
28 Dummy surface film model for 'none'
33 \*---------------------------------------------------------------------------*/
38 #include "surfaceFilmModel.H"
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 namespace regionModels
46 namespace surfaceFilmModels
49 /*---------------------------------------------------------------------------*\
50 Class noFilm Declaration
51 \*---------------------------------------------------------------------------*/
55 public surfaceFilmModel
59 // Private member functions
61 //- Disallow default bitwise copy construct
62 noFilm(const noFilm&);
64 //- Disallow default bitwise assignment
65 void operator=(const noFilm&);
70 // Protected member functions
72 //- Read control parameters from dictionary
78 //- Runtime type information
84 //- Construct from components
87 const word& modelType,
89 const dimensionedVector& g
101 //- External hook to add sources to the film
102 virtual void addSources
106 const scalar massSource,
107 const vector& momentumSource,
108 const scalar pressureSource,
109 const scalar energySource
115 //- Return the film thickness [m]
116 virtual const volScalarField& delta() const;
118 //- Return const access to the surface tension / [m/s2]
119 inline const volScalarField& sigma() const;
121 //- Return the film velocity [m/s]
122 virtual const volVectorField& U() const;
124 //- Return the film density [kg/m3]
125 virtual const volScalarField& rho() const;
127 //- Return the film surface velocity [m/s]
128 virtual const volVectorField& Us() const;
130 //- Return the film wall velocity [m/s]
131 virtual const volVectorField& Uw() const;
133 //- Return the film mean temperature [K]
134 virtual const volScalarField& T() const;
136 //- Return the film surface temperature [K]
137 virtual const volScalarField& Ts() const;
139 //- Return the film wall temperature [K]
140 virtual const volScalarField& Tw() const;
142 //- Return the film specific heat capacity [J/kg/K]
143 virtual const volScalarField& Cp() const;
145 //- Return the film thermal conductivity [W/m/K]
146 virtual const volScalarField& kappa() const;
149 // Transfer fields - to the primary region
151 //- Return mass transfer source - Eulerian phase only
152 virtual tmp<volScalarField> primaryMassTrans() const;
154 //- Return the film mass available for transfer
155 virtual const volScalarField& cloudMassTrans() const;
157 //- Return the parcel diameters originating from film
158 virtual const volScalarField& cloudDiameterTrans() const;
163 // Mapped into primary region
165 //- Return total mass source - Eulerian phase only
166 virtual tmp<DimensionedField<scalar, volMesh> > Srho() const;
168 //- Return mass source for specie i - Eulerian phase only
169 virtual tmp<DimensionedField<scalar, volMesh> > Srho
174 //- Return enthalpy source - Eulerian phase only
175 virtual tmp<DimensionedField<scalar, volMesh> > Sh() const;
179 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
181 } // End namespace surfaceFilmModels
183 } // End namespace Foam
185 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
189 // ************************************************************************* //