1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | foam-extend: Open Source CFD |
4 | \\ / O peration | Version: 3.0 |
5 | \\ / A nd | Web: http://www.extend-project.de |
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 ( water );
32 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
33 // Potential Energy Limit
35 // Maximum permissible pair energy allowed at startup. Used to remove
36 // overlapping molecules created during preprocessing.
38 potentialEnergyLimit 1e-18;
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 // If a pair are not present here it is assumed that they do not interact.
45 // Electrostatic pair interactions are not listed here - they are handled
48 // If there are r different type of molecules, and a pair force is required
49 // between all combinations, then there are C = r(r+1)/2 combinations,
50 // i.e. for r = {1,2,3,4}, C = {1,3,6,10} (sum of triangular numbers).
52 // Pair potentials are specified by the combinaition of their ids,
53 // for MOLA and MOLB, "MOLA-MOLB" OR "MOLB-MOLA" is acceptable
54 // (strictly OR, both or neither will throw an error)
60 pairPotential lennardJones;
67 epsilon 1.07690722e-21;
69 energyScalingFunction noScaling;
75 pairPotential dampedCoulomb;
83 energyScalingFunction shiftedForce;
88 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
89 // Tethering Potentials
95 tetherPotential restrainedHarmonicSpring;
96 restrainedHarmonicSpringCoeffs
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
107 // Bulk external forces (namely gravity) will be specified as forces rather
108 // than potentials to allow their direction to be controlled.
115 // ************************************************************************* //