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-2023 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 // * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
30 
31 template<class CloudType>
33 {
34  static labelList null;
35  return null;
36 }
37 
38 
39 template<class CloudType>
41 {}
42 
43 
44 template<class CloudType>
46 (
47  parcelType& p,
48  const label filmFacei
49 ) const
50 {}
51 
52 
53 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
54 
55 template<class CloudType>
57 (
58  const dictionary&,
59  CloudType& owner
60 )
61 :
63 {}
64 
65 
66 template<class CloudType>
68 (
69  const NoSurfaceFilm<CloudType>& sfm
70 )
71 :
72  SurfaceFilmModel<CloudType>(sfm.owner_)
73 {}
74 
75 
76 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
77 
78 template<class CloudType>
80 {}
81 
82 
83 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
84 
85 template<class CloudType>
87 (
88  parcelType&,
89  const polyPatch&,
90  bool&
91 )
92 {
93  return false;
94 }
95 
96 
97 template<class CloudType>
99 {}
100 
101 
102 // ************************************************************************* //
Macros for easy insertion into run-time selection tables.
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:79
Place holder for 'none' option.
Definition: NoSurfaceFilm.H:52
virtual void setParcelProperties(parcelType &p, const label filmFacei) const
Set the individual parcel properties.
Definition: NoSurfaceFilm.C:46
virtual void cacheFilmFields(const label filmi)
Cache the film fields in preparation for injection.
Definition: NoSurfaceFilm.C:40
virtual ~NoSurfaceFilm()
Destructor.
Definition: NoSurfaceFilm.C:79
virtual const labelList & filmPatches() const
Return pointers to the films.
Definition: NoSurfaceFilm.C:32
virtual void info(Ostream &os)
Write surface film info to stream.
Definition: NoSurfaceFilm.C:98
NoSurfaceFilm(const dictionary &, CloudType &)
Construct from dictionary.
Definition: NoSurfaceFilm.C:57
CloudType::parcelType parcelType
Convenience typedef for parcel type.
Definition: NoSurfaceFilm.H:58
virtual bool transferParcel(parcelType &p, const polyPatch &pp, bool &keepParticle)
Transfer parcel from cloud to surface film.
Definition: NoSurfaceFilm.C:87
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:57
Templated wall surface film model class.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:160
A patch is a list of labels that address the faces in the global face list.
Definition: polyPatch.H:70
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
volScalarField & p