pair_style dpd/ext command
Accelerator Variants: dpd/ext/kk dpd/ext/omp
pair_style dpd/ext/tstat command
Accelerator Variants: dpd/ext/tstat/kk dpd/ext/tstat/omp
Syntax
pair_style dpd/ext T cutoff seed
pair_style dpd/ext/tstat Tstart Tstop cutoff seed
T = temperature (temperature units)
Tstart,Tstop = desired temperature at start/end of run (temperature units)
cutoff = global cutoff for DPD interactions (distance units)
seed = random # seed (positive integer)
Examples
pair_style dpd/ext 1.0 2.5 34387
pair_coeff 1 1 25.0 4.5 4.5 0.5 0.5 1.2
pair_coeff 1 2 40.0 4.5 4.5 0.5 0.5 1.2
pair_style hybrid/overlay lj/cut 2.5 dpd/ext/tstat 1.0 1.0 2.5 34387
pair_coeff * * lj/cut 1.0 1.0
pair_coeff * * 4.5 4.5 0.5 0.5 1.2
Description
The style dpd/ext computes an extended force field for dissipative particle dynamics (DPD) following the exposition in (Groot), (Junghans).
Style dpd/ext/tstat invokes an extended DPD thermostat on pairwise interactions, equivalent to the non-conservative portion of the extended DPD force field. To use dpd/ext/tstat as a thermostat for another pair style, use the pair_style hybrid/overlay command to compute both the desired pair interaction and the thermostat for each pair of particles.
For the style dpd/ext, the force on atom I due to atom J is given as a sum of 3 terms
where
For the style dpd/ext/tstat, the force on atom I due to atom J is
the same as the above equation, except that the conservative
For the style dpd/ext, the pairwise energy associated with style
dpd/ext is only due to the conservative force term
For the style dpd/ext/tstat, the force on atom I due to atom J is the
same as the above equation, except that the conservative
For the style dpd/ext, the pairwise energy associated with style
dpd/ext is only due to the conservative force term
For the style dpd/ext, the following coefficients must be defined for each pair of atoms types via the pair_coeff command as in the examples above:
A (force units)
(force/velocity units) (force/velocity units) (unitless) (unitless) (distance units)
The last coefficient is optional. If not specified, the global DPD
cutoff is used. Note that
For the style dpd/ext/tstat, the coefficients defined for each pair of atoms types via the pair_coeff command are:
(force/velocity units) (force/velocity units) (unitless) (unitless) (distance units)
The last coefficient is optional.
Note
If you are modeling DPD polymer chains, you may want to use the pair_style srp command in conjunction with these pair styles. It is a soft segmental repulsive potential (SRP) that can prevent DPD polymer chains from crossing each other.
Note
The virial calculation for pressure when using these pair styles includes all the components of force listed above, including the random force. Since the random force depends on random numbers, everything that changes the order of atoms in the neighbor list (e.g. different number of MPI ranks or a different neighbor list skin distance) will also change the sequence in which the random numbers are applied and thus the individual forces and therefore also the virial/pressure.
Note
For more consistent time integration and force computation you may consider using fix mvv/dpd instead of fix nve.
Styles with a gpu, intel, kk, omp, or opt suffix are functionally the same as the corresponding style without the suffix. They have been optimized to run faster, depending on your available hardware, as discussed on the Accelerator packages page. The accelerated styles take the same arguments and should produce the same results, except for round-off and precision issues.
These accelerated styles are part of the GPU, INTEL, KOKKOS, OPENMP, and OPT packages, respectively. They are only enabled if LAMMPS was built with those packages. See the Build package page for more info.
You can specify the accelerated styles explicitly in your input script by including their suffix, or you can use the -suffix command-line switch when you invoke LAMMPS, or you can use the suffix command in your input script.
See the Accelerator packages page for more instructions on how to use the accelerated styles effectively.
Mixing, shift, table, tail correction, restart, rRESPA info:
The style dpd/ext does not support mixing. Thus, coefficients for all I,J pairs must be specified explicitly.
The pair styles do not support the pair_modify
shift option for the energy of the pair interaction. Note that as
discussed above, the energy due to the conservative
The pair_modify table option is not relevant for the style dpd/ext.
The style dpd/ext does not support the pair_modify tail option for adding long-range tail corrections to energy and pressure.
The pair styles can only be used via the pair keyword of the run_style respa command. They do not support the inner, middle, and outerkeywords.
The style dpd/ext/tstat can ramp its target temperature over multiple runs, using the start and stop keywords of the run command. See the run command for details of how to do this.
Restrictions
These styles are part of the DPD-BASIC package. They are only enabled if LAMMPS was built with that package. See the Build package page for more info.
The default frequency for rebuilding neighbor lists is every 10 steps (see the neigh_modify command). This may be too infrequent for style dpd/ext simulations since particles move rapidly and can overlap by large amounts. If this setting yields a non-zero number of say{dangerous} reneighborings (printed at the end of a simulation), you should experiment with forcing reneighboring more often and see if system energies/trajectories change.
The pair styles require to use the comm_modify vel yes command so that velocities are stored by ghost atoms.
The pair styles will not restart exactly when using the read_restart command, though they should provide statistically similar results. This is because the forces they compute depend on atom velocities. See the read_restart command for more details.