File: pair_sph_taitwater_morris.html

package info (click to toggle)
lammps 0~20120615.gite442279-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 128,448 kB
  • sloc: cpp: 321,874; fortran: 15,187; ansic: 11,007; python: 7,889; perl: 2,915; sh: 2,088; makefile: 924; f90: 374; objc: 238; lisp: 169; csh: 16; tcl: 6
file content (83 lines) | stat: -rw-r--r-- 2,546 bytes parent folder | download
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
80
81
82
83
<HTML>
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A> 
</CENTER>






<HR>

<H3>pair_style sph/taitwater/morris command 
</H3>
<P><B>Syntax:</B>
</P>
<PRE>pair_style sph/taitwater/morris 
</PRE>
<P><B>Examples:</B>
</P>
<PRE>pair_style sph/taitwater/morris
pair_coeff * * 1000.0 1430.0 1.0 2.4 
</PRE>
<P><B>Description:</B>
</P>
<P>The sph/taitwater/morris style computes pressure forces between SPH
particles according to Tait's equation of state:
</P>
<CENTER><IMG SRC = "Eqs/pair_sph_tait.jpg">
</CENTER>
<P>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.
</P>
<P>This pair style also computes laminar viscosity <A HREF = "#Morris">(Morris)</A>.
</P>
<P>See <A HREF = "USER/sph/SPH_LAMMPS_userguide.pdf">this PDF guide</A> to using SPH in
LAMMPS.
</P>
<P>The following coefficients must be defined for each pair of atoms
types via the <A HREF = "pair_coeff.html">pair_coeff</A> command as in the examples
above.
</P>
<UL><LI>rho0 reference density (mass/volume units)
<LI>c0 reference soundspeed (distance/time units)
<LI>nu dynamic viscosity (mass*distance/time units)
<LI>h kernel function cutoff (distance units) 
</UL>
<HR>

<P><B>Mixing, shift, table, tail correction, restart, rRESPA info</B>:
</P>
<P>This style does not support mixing.  Thus, coefficients for all
I,J pairs must be specified explicitly.
</P>
<P>This style does not support the <A HREF = "pair_modify.html">pair_modify</A>
shift, table, and tail options.
</P>
<P>This style does not write information to <A HREF = "restart.html">binary restart
files</A>.  Thus, you need to re-specify the pair_style and
pair_coeff commands in an input script that reads a restart file.
</P>
<P>This style can only be used via the <I>pair</I> keyword of the <A HREF = "run_style.html">run_style
respa</A> command.  It does not support the <I>inner</I>,
<I>middle</I>, <I>outer</I> keywords.
</P>
<P><B>Restrictions:</B>
</P>
<P>This pair style is part of the USER-SPH package.  It is only enabled
if LAMMPS was built with that package.  See the <A HREF = "Section_start.html#start_3">Making
LAMMPS</A> section for more info.
</P>
<P><B>Related commands:</B>
</P>
<P><A HREF = "pair_coeff.html">pair_coeff</A>, pair_sph/rhosum
</P>
<P><B>Default:</B> none
</P>
<HR>

<A NAME = "Morris"></A>

<P><B>(Morris)</B> Morris, Fox, Zhu, J Comp Physics, 136, 214–226 (1997).
</P>
</HTML>