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-2018 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. contant, polynomial, table values.
32 
33 See also
34  Foam::regionModels::surfaceFilmModels::contactAngleForce
35  Foam::Function1Types
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  // Private member functions
72 
73  //- Disallow default bitwise copy construct
75  (
77  );
78 
79  //- Disallow default bitwise assignment
80  void operator=(const temperatureDependentContactAngleForce&);
81 
82 
83 protected:
84 
85  //- Return the contact angle field
86  virtual tmp<volScalarField> theta() const;
87 
88 
89 public:
90 
91  //- Runtime type information
92  TypeName("temperatureDependentContactAngle");
93 
94 
95  // Constructors
96 
97  //- Construct from surface film model
99  (
101  const dictionary& dict
102  );
103 
104 
105  //- Destructor
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:137
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.
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.