kinematicThinFilm.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) 2020 OpenCFD Ltd.
9 -------------------------------------------------------------------------------
10 License
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 Class
27  Foam::regionFaModels::kinematicThinFilm
28 
29 Description
30  Thin film model.
31 
32 Usage
33  Example of the boundary condition specification:
34  \verbatim
35  {
36  // Mandatory entries
37  liquidFilmModel kinematicThinFilm;
38 
39  // Inherited entries
40  ...
41  }
42  \endverbatim
43 
44  where the entries mean:
45  \table
46  Property | Description | Type | Reqd | Deflt
47  liquidFilmModel | Type name: kinematicThinFilm | dict | yes | -
48  \endtable
49 
50  The inherited entries are elaborated in:
51  - \link liquidFilmModel.H \endlink
52 
53 SourceFiles
54  kinematicThinFilm.C
55 
56 \*---------------------------------------------------------------------------*/
57 
58 #ifndef kinematicThinFilm_H
59 #define kinematicThinFilm_H
60 
61 #include "volFieldsFwd.H"
62 #include "liquidFilmModel.H"
63 
64 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
65 
66 namespace Foam
67 {
68 namespace regionModels
69 {
70 namespace areaSurfaceFilmModels
71 {
72 
73 /*---------------------------------------------------------------------------*\
74  Class kinematicThinFilm Declaration
75 \*---------------------------------------------------------------------------*/
76 
77 class kinematicThinFilm
78 :
79  public liquidFilmModel
80 {
81 public:
82 
83  //- Runtime type information
84  TypeName("kinematicThinFilm");
85 
86 
87  // Constructors
88 
89  //- Construct from components and dict
91  (
92  const word& modelType,
93  const fvMesh& mesh,
94  const dictionary& dict
95  );
96 
97  //- No copy construct
98  kinematicThinFilm(const kinematicThinFilm&) = delete;
99 
100  //- No copy assignment
101  void operator=(const kinematicThinFilm&) = delete;
102 
103 
104  //- Destructor
105  virtual ~kinematicThinFilm() = default;
106 
107 
108  // Member Functions
109 
110  // Evolution
111 
112  //- Pre-evolve film
113  virtual void preEvolveRegion();
114 
115  //- Evolve the film
116  virtual void evolveRegion();
117 
118  //- Post-evolve film
119  virtual void postEvolveRegion();
120 };
121 
122 
123 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124 
125 } // End namespace areaSurfaceFilmModels
126 } // End namespace regionModels
127 } // End namespace Foam
128 
129 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
130 
131 
132 #endif
133 
134 // ************************************************************************* //
dictionary dict
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Definition: dictionary.H:129
TypeName("kinematicThinFilm")
Runtime type information.
dynamicFvMesh & mesh
A class for handling words, derived from Foam::string.
Definition: word.H:63
kinematicThinFilm(const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components and dict.
void operator=(const kinematicThinFilm &)=delete
No copy assignment.
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:78
Namespace for OpenFOAM.