File: pair_sph_taitwater_morris.txt

package info (click to toggle)
lammps 0~20140523.gite5e877d-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 193,012 kB
  • ctags: 48,147
  • sloc: cpp: 458,874; python: 21,769; fortran: 16,023; ansic: 12,503; perl: 3,687; sh: 3,221; makefile: 1,366; f90: 1,177; xml: 788; objc: 238; lisp: 169; tcl: 61; csh: 16; awk: 14
file content (79 lines) | stat: -rw-r--r-- 2,133 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c

:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Section_commands.html#comm)

:line

pair_style sph/taitwater/morris command :h3

[Syntax:]

pair_style sph/taitwater/morris :pre

[Examples:]

pair_style sph/taitwater/morris
pair_coeff * * 1000.0 1430.0 1.0 2.4 :pre

[Description:]

The sph/taitwater/morris style computes pressure forces between SPH
particles 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.

This pair style also computes laminar viscosity "(Morris)"_#Morris.

See "this PDF guide"_USER/sph/SPH_LAMMPS_userguide.pdf to using SPH in
LAMMPS.

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)
nu dynamic viscosity (mass*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-SPH package.  It is only enabled
if LAMMPS was built with that package.  See the "Making
LAMMPS"_Section_start.html#start_3 section for more info.

[Related commands:]

"pair_coeff"_pair_coeff.html, pair_sph/rhosum

[Default:] none

:line

:link(Morris)
[(Morris)] Morris, Fox, Zhu, J Comp Physics, 136, 214-226 (1997).