NoSurfaceFilm.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2020 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 #include "NoSurfaceFilm.H"
28 
29 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
30 
31 template<class CloudType>
33 (
34  const dictionary&,
35  CloudType& owner
36 )
37 :
39 {}
40 
41 
42 template<class CloudType>
44 (
45  const NoSurfaceFilm<CloudType>& sfm
46 )
47 :
49 {}
50 
51 
52 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
53 
54 template<class CloudType>
56 {}
57 
58 
59 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
60 
61 template<class CloudType>
63 (
64  parcelType&,
65  const polyPatch&,
66  bool&
67 )
68 {
69  return false;
70 }
71 
72 
73 template<class CloudType>
75 (
76  parcelType&,
77  const label
78 ) const
79 {}
80 
81 
82 template<class CloudType>
84 {}
85 
86 
87 // ************************************************************************* //
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:156
virtual bool transferParcel(parcelType &p, const polyPatch &pp, bool &keepParticle)
Transfer parcel from cloud to surface film.
Definition: NoSurfaceFilm.C:63
Place holder for &#39;none&#39; option.
Definition: NoSurfaceFilm.H:49
Macros for easy insertion into run-time selection tables.
virtual void info(Ostream &os)
Write surface film info to stream.
Definition: NoSurfaceFilm.C:83
CloudType & owner_
Reference to the cloud.
virtual ~NoSurfaceFilm()
Destructor.
Definition: NoSurfaceFilm.C:55
virtual void setParcelProperties(parcelType &p, const label filmCelli) const
Set parcel properties.
Definition: NoSurfaceFilm.C:75
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:54
A patch is a list of labels that address the faces in the global face list.
Definition: polyPatch.H:66
CloudType::parcelType parcelType
Convenience typedef for parcel type.
Definition: NoSurfaceFilm.H:58
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:75
NoSurfaceFilm(const dictionary &, CloudType &)
Construct from dictionary.
Definition: NoSurfaceFilm.C:33