azizChen.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 | Copyright (C) 2011-2016 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::pairPotentials::azizChen
26 
27 Description
28 
29  Reference:
30  \verbatim
31  Aziz, R. A. & Chen, H.H. (1977).
32  An Accurate Intermolecular Potential for Argon.
33  Journal of Chemical Physics, Vol. 67, No. 12, p. 5179.
34  \endverbatim
35 
36 SourceFiles
37  azizChen.C
38 
39 \*---------------------------------------------------------------------------*/
40 
41 #ifndef azizChen_H
42 #define azizChen_H
43 
44 #include "pairPotential.H"
45 
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 
48 namespace Foam
49 {
50 
51 namespace pairPotentials
52 {
53 
54 /*---------------------------------------------------------------------------*\
55  Class azizChen Declaration
56 \*---------------------------------------------------------------------------*/
57 
58 class azizChen
59 :
60  public pairPotential
61 {
62  // Private data
63 
64  dictionary azizChenCoeffs_;
65 
66  scalar epsilon_;
67  scalar rm_;
68  scalar A_;
69  scalar alpha_;
70  scalar C6_;
71  scalar C8_;
72  scalar C10_;
73  scalar D_;
74  scalar gamma_;
75 
76 
77 public:
78 
79  //- Runtime type information
80  TypeName("azizChen");
81 
82 
83  // Constructors
84 
85  //- Construct from components
86  azizChen
87  (
88  const word& name,
90  );
91 
92 
93  //- Destructor
94  ~azizChen()
95  {}
96 
97 
98  // Member Functions
99 
100  scalar unscaledEnergy(const scalar r) const;
101 
102  //- Read dictionary
103  bool read(const dictionary& pairPotentialProperties);
104 };
105 
106 
107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 
109 } // End namespace pairPotentials
110 } // End namespace Foam
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 #endif
115 
116 // ************************************************************************* //
azizChen(const word &name, const dictionary &pairPotentialProperties)
Construct from components.
Definition: azizChen.C:51
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
scalar unscaledEnergy(const scalar r) const
Definition: azizChen.C:74
A class for handling words, derived from string.
Definition: word.H:59
bool read(const dictionary &pairPotentialProperties)
Read dictionary.
Definition: azizChen.C:99
TypeName("azizChen")
Runtime type information.
const dictionary & pairPotentialProperties() const
word name(const complex &)
Return a string representation of a complex.
Definition: complex.C:47
Namespace for OpenFOAM.