film.H
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) 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 Class
25  Foam::solvers::film
26 
27 Description
28  Solver module for flow of compressible liquid films
29 
30  Uses the flexible PIMPLE (PISO-SIMPLE) solution for time-resolved and
31  pseudo-transient and steady simulations.
32 
33  Optional fvModels and fvConstraints are provided to enhance the simulation
34  in many ways including adding various sources, Lagrangian particles,
35  radiation, surface film etc. and constraining or limiting the solution.
36 
37 SourceFiles
38  film.C
39 
40 See also
41  Foam::solvers::isothermalFilm
42 
43 \*---------------------------------------------------------------------------*/
44 
45 #ifndef film_H
46 #define film_H
47 
48 #include "isothermalFilm.H"
50 
51 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52 
53 namespace Foam
54 {
55 namespace solvers
56 {
57 
58 /*---------------------------------------------------------------------------*\
59  Class film Declaration
60 \*---------------------------------------------------------------------------*/
61 
62 class film
63 :
64  public isothermalFilm
65 {
66 
67 protected:
68 
69  // Thermophysical transport
70 
72 
73 
74 public:
75 
76  //- Runtime type information
77  TypeName("film");
78 
79 
80  // Constructors
81 
82  //- Construct from region mesh
83  film(fvMesh& mesh);
84 
85  //- Disallow default bitwise copy construction
86  film(const film&) = delete;
87 
88 
89  //- Destructor
90  virtual ~film();
91 
92 
93  // Member Functions
94 
95  //- Construct and solve the energy equation,
96  // convert to temperature
97  // and update thermophysical and transport properties
98  virtual void thermophysicalPredictor();
99 
100  //- Correct the momentum and thermophysical transport modelling
101  virtual void postCorrector();
102 
103 
104  // Member Operators
105 
106  //- Disallow default bitwise assignment
107  void operator=(const film&) = delete;
108 };
109 
110 
111 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112 
113 } // End namespace solvers
114 } // End namespace Foam
115 
116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 
118 #endif
119 
120 // ************************************************************************* //
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: autoPtr.H:51
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:101
const fvMesh & mesh
Region mesh.
Definition: solver.H:94
Solver module for flow of compressible liquid films.
Definition: film.H:64
virtual void thermophysicalPredictor()
Construct and solve the energy equation,.
film(fvMesh &mesh)
Construct from region mesh.
Definition: film.C:43
void operator=(const film &)=delete
Disallow default bitwise assignment.
virtual ~film()
Destructor.
Definition: film.C:62
TypeName("film")
Runtime type information.
virtual void postCorrector()
Correct the momentum and thermophysical transport modelling.
Definition: film.C:68
autoPtr< filmThermophysicalTransportModel > thermophysicalTransport
Definition: film.H:70
Solver module for flow of compressible isothermal liquid films.
Namespace for OpenFOAM.