Merge branch 'upstream/OpenFOAM' into master
[freefoam.git] / src / lagrangian / molecularDynamics / potential / pairPotential / derived / azizChen / azizChen.H
blob2b384a42263d85a78105ec7bc1f047c9008d71ea
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2008-2009 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
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 the
13     Free Software Foundation; either version 2 of the License, or (at your
14     option) any later version.
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.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM; if not, write to the Free Software Foundation,
23     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 Class
26     Foam::pairPotentials::azizChen
28 Description
29     Foam::pairPotentials::azizChen
31     From:
32     @verbatim
33         @article{MA_Aziz_Chen,
34         author = {R. A. Aziz and H. H. Chen},
35         collaboration = {},
36         title = {An accurate intermolecular potential for argon},
37         publisher = {AIP},
38         year = {1977},
39         journal = {The Journal of Chemical Physics},
40         volume = {67},
41         number = {12},
42         pages = {5719-5726},
43         url = {http://link.aip.org/link/?JCP/67/5719/1},
44         doi = {10.1063/1.434827}
45         }
46     @endverbatim
48 SourceFiles
49     azizChen.C
51 \*---------------------------------------------------------------------------*/
53 #ifndef azizChen_H
54 #define azizChen_H
56 #include <potential/pairPotential.H>
58 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
60 namespace Foam
63 namespace pairPotentials
66 /*---------------------------------------------------------------------------*\
67                            Class azizChen Declaration
68 \*---------------------------------------------------------------------------*/
70 class azizChen
72     public pairPotential
74     // Private data
76         dictionary azizChenCoeffs_;
78         scalar epsilon_;
79         scalar rm_;
80         scalar A_;
81         scalar alpha_;
82         scalar C6_;
83         scalar C8_;
84         scalar C10_;
85         scalar D_;
86         scalar gamma_;
89 public:
91     //- Runtime type information
92     TypeName("azizChen");
95     // Constructors
97         //- Construct from components
98         azizChen
99         (
100             const word& name,
101             const dictionary& pairPotentialProperties
102         );
105     // Destructor
107         ~azizChen()
108         {}
111     // Member Functions
113         scalar unscaledEnergy(const scalar r) const;
115         //- Read dictionary
116         bool read(const dictionary& pairPotentialProperties);
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 } // End namespace pairPotentials
123 } // End namespace Foam
125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127 #endif
129 // ************************ vim: set sw=4 sts=4 et: ************************ //