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-2018 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  return false;
65 }
66 
67 
68 template<class CloudType>
70 (
71  parcelType&,
72  const polyPatch&,
73  bool&
74 )
75 {
76  return false;
77 }
78 
79 
80 template<class CloudType>
82 (
83  parcelType&,
84  const label
85 ) const
86 {}
87 
88 
89 template<class CloudType>
91 {}
92 
93 
94 // ************************************************************************* //
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:158
virtual bool transferParcel(parcelType &p, const polyPatch &pp, bool &keepParticle)
Transfer parcel from cloud to surface film.
Definition: NoSurfaceFilm.C:70
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:90
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:82
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:53
virtual bool active() const
Flag to indicate whether model activates the surface film model.
Definition: NoSurfaceFilm.C:62
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:69
NoSurfaceFilm(const dictionary &, CloudType &)
Construct from dictionary.
Definition: NoSurfaceFilm.C:33