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-2025 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  //- Predict thermophysical transport
96  virtual void thermophysicalTransportPredictor();
97 
98  //- Construct and solve the energy equation,
99  // convert to temperature
100  // and update thermophysical and transport properties
101  virtual void thermophysicalPredictor();
102 
103  //- Correct the thermophysical transport
104  virtual void thermophysicalTransportCorrector();
105 
106 
107  // Member Operators
108 
109  //- Disallow default bitwise assignment
110  void operator=(const film&) = delete;
111 };
112 
113 
114 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115 
116 } // End namespace solvers
117 } // End namespace Foam
118 
119 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120 
121 #endif
122 
123 // ************************************************************************* //
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:96
const fvMesh & mesh
Region mesh.
Definition: solver.H:101
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 thermophysicalTransportCorrector()
Correct the thermophysical transport.
Definition: film.C:74
autoPtr< filmThermophysicalTransportModel > thermophysicalTransport
Definition: film.H:70
virtual void thermophysicalTransportPredictor()
Predict thermophysical transport.
Definition: film.C:68
Solver module for flow of compressible isothermal liquid films.
Namespace for OpenFOAM.