1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4 | \\ / O peration | Version: 1.5 |
5 | \\ / A nd | Web: http://www.OpenFOAM.org |
6 | \\/ M anipulation | |
7 \*---------------------------------------------------------------------------*/
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17 // Subdictionaries specifying types of intermolecular potential.
18 // Sub-sub dictionaries specify the potentials themselves.
20 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
23 // This is the order in which to remove overlapping pairs if more than one
24 // type of molecule is present. The most valuable molecule type is at the
25 // right hand end, the molecule that will be removed 1st is 1st on the list.
26 // Not all types need to be present, a molecule that is not present is
27 // automatically less valuable than any on the list. For molecules of the
28 // same type there is no control over which is removed.
30 removalOrder 2 (Ne Ar);
32 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
35 // If there are r different type of molecules, and a pair force is required
36 // between all combinations, then there are C = r(r+1)/2 combinations,
37 // i.e. for r = {1,2,3,4}, C = {1,3,6,10} (sum of triangular numbers).
39 // Pair potentials are specified by the combinaition of their ids,
40 // for MOLA and MOLB, "MOLA-MOLB" OR "MOLB-MOLA" is acceptable
41 // (strictly OR, both or neither will thrown an error)
47 pairPotential maitlandSmith;
56 epsilon 1.990108438e-21;
58 energyScalingFunction doubleSigmoid;
71 pairPotential maitlandSmith;
80 epsilon 8.765026657e-22;
82 energyScalingFunction shiftedForce;
88 pairPotential maitlandSmith;
97 epsilon 5.813260729e-22;
99 energyScalingFunction shiftedForce;
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 // Tethering Potentials
111 tetherPotential restrainedHarmonicSpring;
112 restrainedHarmonicSpringCoeffs
120 // ************************************************************************* //
122 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
125 // Bulk external forces (namely gravity) will be specified as forces rather
126 // than potentials to allow their direction to be controlled.