db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
95 lines
3.1 KiB
C++
95 lines
3.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.5 |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object potentials;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// Subdictionaries specifying types of intermolecular potential.
|
|
// Sub-sub dictionaries specify the potentials themselves.
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
// Removal order
|
|
|
|
// This is the order in which to remove overlapping pairs if more than one
|
|
// type of molecule is present. The most valuable molecule type is at the
|
|
// right hand end, the molecule that will be removed 1st is 1st on the list.
|
|
// Not all types need to be present, a molecule that is not present is
|
|
// automatically less valuable than any on the list. For molecules of the
|
|
// same type there is no control over which is removed.
|
|
|
|
removalOrder 1 (Ar);
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
// Pair potentials
|
|
|
|
// If there are r different type of molecules, and a pair force is required
|
|
// between all combinations, then there are C = r(r+1)/2 combinations,
|
|
// i.e. for r = {1,2,3,4}, C = {1,3,6,10} (sum of triangular numbers).
|
|
|
|
// Pair potentials are specified by the combinaition of their ids,
|
|
// for MOLA and MOLB, "MOLA-MOLB" OR "MOLB-MOLA" is acceptable
|
|
// (strictly OR, both or neither will thrown an error)
|
|
|
|
pair
|
|
{
|
|
Ar-Ar
|
|
{
|
|
pairPotential azizChen;
|
|
rCut 1.2e-9;
|
|
rMin 0.15e-9;
|
|
dr 2e-14;
|
|
azizChenCoeffs
|
|
{
|
|
epsilon 1.97742255e-21;
|
|
rm 3.759e-10;
|
|
A 0.9502720e7;
|
|
alpha 16.345655;
|
|
C6 1.0914254;
|
|
C8 0.6002595;
|
|
C10 0.3700113;
|
|
D 1.4;
|
|
gamma 2.0;
|
|
}
|
|
energyScalingFunction noScaling;
|
|
writeTables yes;
|
|
}
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
// Tethering Potentials
|
|
|
|
tether
|
|
{
|
|
Ar
|
|
{
|
|
tetherPotential restrainedHarmonicSpring;
|
|
restrainedHarmonicSpringCoeffs
|
|
{
|
|
springConstant 0.0277;
|
|
rR 1.2e-9;
|
|
}
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
// External Forces
|
|
|
|
// Bulk external forces (namely gravity) will be specified as forces rather
|
|
// than potentials to allow their direction to be controlled.
|
|
|
|
external
|
|
{
|
|
gravity (0 0 0);
|
|
}
|