|
|
|
azizChen.HGo to the documentation of this file.00001 /*---------------------------------------------------------------------------*\ 00002 ========= | 00003 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox 00004 \\ / O peration | 00005 \\ / A nd | Copyright (C) 2008-2009 OpenCFD Ltd. 00006 \\/ M anipulation | 00007 ------------------------------------------------------------------------------- 00008 License 00009 This file is part of OpenFOAM. 00010 00011 OpenFOAM is free software; you can redistribute it and/or modify it 00012 under the terms of the GNU General Public License as published by the 00013 Free Software Foundation; either version 2 of the License, or (at your 00014 option) any later version. 00015 00016 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT 00017 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00018 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00019 for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with OpenFOAM; if not, write to the Free Software Foundation, 00023 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00024 00025 Class 00026 Foam::pairPotentials::azizChen 00027 00028 Description 00029 Foam::pairPotentials::azizChen 00030 00031 From: 00032 @verbatim 00033 @article{MA_Aziz_Chen, 00034 author = {R. A. Aziz and H. H. Chen}, 00035 collaboration = {}, 00036 title = {An accurate intermolecular potential for argon}, 00037 publisher = {AIP}, 00038 year = {1977}, 00039 journal = {The Journal of Chemical Physics}, 00040 volume = {67}, 00041 number = {12}, 00042 pages = {5719-5726}, 00043 url = {http://link.aip.org/link/?JCP/67/5719/1}, 00044 doi = {10.1063/1.434827} 00045 } 00046 @endverbatim 00047 00048 SourceFiles 00049 azizChen.C 00050 00051 \*---------------------------------------------------------------------------*/ 00052 00053 #ifndef azizChen_H 00054 #define azizChen_H 00055 00056 #include "pairPotential.H" 00057 00058 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00059 00060 namespace Foam 00061 { 00062 00063 namespace pairPotentials 00064 { 00065 00066 /*---------------------------------------------------------------------------*\ 00067 Class azizChen Declaration 00068 \*---------------------------------------------------------------------------*/ 00069 00070 class azizChen 00071 : 00072 public pairPotential 00073 { 00074 // Private data 00075 00076 dictionary azizChenCoeffs_; 00077 00078 scalar epsilon_; 00079 scalar rm_; 00080 scalar A_; 00081 scalar alpha_; 00082 scalar C6_; 00083 scalar C8_; 00084 scalar C10_; 00085 scalar D_; 00086 scalar gamma_; 00087 00088 00089 public: 00090 00091 //- Runtime type information 00092 TypeName("azizChen"); 00093 00094 00095 // Constructors 00096 00097 //- Construct from components 00098 azizChen 00099 ( 00100 const word& name, 00101 const dictionary& pairPotentialProperties 00102 ); 00103 00104 00105 // Destructor 00106 00107 ~azizChen() 00108 {} 00109 00110 00111 // Member Functions 00112 00113 scalar unscaledEnergy(const scalar r) const; 00114 00115 //- Read dictionary 00116 bool read(const dictionary& pairPotentialProperties); 00117 }; 00118 00119 00120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00121 00122 } // End namespace pairPotentials 00123 } // End namespace Foam 00124 00125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00126 00127 #endif 00128 00129 // ************************************************************************* // |