temperatureDependentContactAngleForce.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) 2017-2019 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::regionModels::surfaceFilmModels::temperatureDependentContactAngleForce
26 
27 Description
28  Temperature dependent contact angle force
29 
30  The contact angle in degrees is specified as a Foam::Function1 type, to
31  enable the use of, e.g. constant, polynomial, table values.
32 
33 See also
34  Foam::regionModels::surfaceFilmModels::contactAngleForce
35  Foam::Function1s
36 
37 SourceFiles
38  temperatureDependentContactAngleForce.C
39 
40 \*---------------------------------------------------------------------------*/
41 
42 #ifndef temperatureDependentContactAngleForce_H
43 #define temperatureDependentContactAngleForce_H
44 
45 #include "contactAngleForce.H"
46 #include "Function1.H"
47 
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 
50 namespace Foam
51 {
52 namespace regionModels
53 {
54 namespace surfaceFilmModels
55 {
56 
57 /*---------------------------------------------------------------------------*\
58  Class temperatureDependentContactAngleForce Declaration
59 \*---------------------------------------------------------------------------*/
60 
62 :
63  public contactAngleForce
64 {
65  // Private Data
66 
67  //- Contact angle function
68  autoPtr<Function1<scalar>> thetaPtr_;
69 
70 
71 protected:
72 
73  //- Return the contact angle field
74  virtual tmp<volScalarField> theta() const;
75 
76 
77 public:
78 
79  //- Runtime type information
80  TypeName("temperatureDependentContactAngle");
81 
82 
83  // Constructors
84 
85  //- Construct from surface film model
87  (
89  const dictionary& dict
90  );
91 
92  //- Disallow default bitwise copy construction
94  (
96  );
97 
98 
99  //- Destructor
101 
102 
103  // Member Operators
104 
105  //- Disallow default bitwise assignment
106  void operator=(const temperatureDependentContactAngleForce&) = delete;
107 };
108 
109 
110 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111 
112 } // End namespace surfaceFilmModels
113 } // End namespace regionModels
114 } // End namespace Foam
115 
116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 
118 #endif
119 
120 // ************************************************************************* //
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:158
virtual tmp< volScalarField > theta() const
Return the contact angle field.
const dictionary & dict() const
Return const access to the cloud dictionary.
Definition: subModelBase.C:110
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
TypeName("temperatureDependentContactAngle")
Runtime type information.
temperatureDependentContactAngleForce(surfaceFilmRegionModel &film, const dictionary &dict)
Construct from surface film model.
Base-class for film contact angle force models.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:52
A class for managing temporary objects.
Definition: PtrList.H:53
Namespace for OpenFOAM.
void operator=(const temperatureDependentContactAngleForce &)=delete
Disallow default bitwise assignment.