lammps/doc/txt/pair_sdpd_taitwater_isother...

109 lines
3.5 KiB
Plaintext

"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Commands_all.html)
:line
pair_style sdpd/taitwater/isothermal command :h3
[Syntax:]
pair_style sdpd/taitwater/isothermal temperature viscosity seed
:pre
temperature = temperature of the fluid (temperature units)
viscosity = dynamic viscosity of the fluid (mass*distance/time units)
seed = random number generator seed (positive integer, optional) :ul
[Examples:]
pair_style sdpd/taitwater/isothermal 300. 1. 28681
pair_coeff * * 1000.0 1430.0 2.4 :pre
[Description:]
The sdpd/taitwater/isothermal style computes forces between mesoscopic
particles according to the Smoothed Dissipative Particle Dynamics model
described in this paper by "(Espanol and Revenga)"_#Espanol_Revenga under
the following assumptions:
:olb
The temperature is constant and uniform. :l
The shear viscosity is constant and uniform. :l
The volume viscosity is negligible before the shear viscosity. :l
The Boltzmann constant is negligible before the heat capacity of a
single mesoscopic particle of fluid. :ole,l
The third assumption is true for water in nearly incompressible flows.
The fourth holds true for water for any reasonable size one can
imagine for a mesoscopic particle.
The pressure forces between particles will be computed according to
Tait's equation of state:
:c,image(Eqs/pair_sph_tait.jpg)
where gamma = 7 and B = c_0^2 rho_0 / gamma, with rho_0 being the
reference density and c_0 the reference speed of sound.
The laminar viscosity and the random forces will be computed according
to formulas described in "(Espanol and Revenga)"_#Espanol_Revenga.
IMPORTANT NOTE: Similar to "brownian"_pair_brownian.html and
"dpd"_pair_dpd.html styles, the "newton"_newton.html setting for
pairwise interactions needs to be on when running LAMMPS in parallel
if you want to ensure linear momentum conservation. Otherwise random
forces generated for pairs straddling processor boundary will not be
equal and opposite.
NOTE: The actual random seed used will be a mix of what you specify
and other parameters like the MPI ranks. This is to ensure that
different MPI tasks have distinct seeds.
The following coefficients must be defined for each pair of atoms
types via the "pair_coeff"_pair_coeff.html command as in the examples
above.
rho0 reference density (mass/volume units)
c0 reference soundspeed (distance/time units)
h kernel function cutoff (distance units) :ul
:line
[Mixing, shift, table, tail correction, restart, rRESPA info]:
This style does not support mixing. Thus, coefficients for all
I,J pairs must be specified explicitly.
This style does not support the "pair_modify"_pair_modify.html
shift, table, and tail options.
This style does not write information to "binary restart
files"_restart.html. Thus, you need to re-specify the pair_style and
pair_coeff commands in an input script that reads a restart file.
This style can only be used via the {pair} keyword of the "run_style
respa"_run_style.html command. It does not support the {inner},
{middle}, {outer} keywords.
[Restrictions:]
This pair style is part of the USER-SDPD package. It is only enabled
if LAMMPS was built with that package. See the "Build
package"_Build_package.html doc page for more info.
[Related commands:]
"pair coeff"_pair_coeff.html, "pair sph/rhosum"_pair_sph_rhosum.html
[Default:]
The default seed is 0 (before mixing).
:line
:link(Espanol_Revenga)
[(Espanol and Revenga)] Espanol, Revenga, Physical Review E, 67, 026705 (2003).