Boiling and evaporation with multiphase SPH (color gradient, surface tension) for current LAMMPS.
cp MULTIPHASE/*.cpp MULTIPHASE/*.h lammps/src/
cd lammps/src
make yes-SPH
make -j mpi
cp MULTIPHASE/*.cpp MULTIPHASE/*.h lammps/src/
mkdir lammps/build && cd lammps/build
cmake ../cmake -D PKG_SPH=on
cmake --build . -j
atom_style sph
create_box 2 box
mass * 1.0
fix mp all property/atom rmass d2_cg 3 ghost yes
- pair:
sph/rhosum/multiphase,sph/colorgradient,sph/taitwater/multiphase,sph/surfacetension,sph/heatconduction/multiphase,sph/heatconduction/phasechange - fix:
phase_change(optionalconvert CV: a drained liquid particle becomes vapour) - compute:
sph/de/atom
two_atoms: two-particle casessquare_to_sphere: square droplet relaxing under surface tensiondroplet_grid,contact_angle: droplet oscillation and wettingbubble_growth,bubble_random,bubble_on_wall: boiling with phase changedroplet_evaporation: droplet evaporating in hot vapourpoiseuille,flow_around_cylinder,slub: validationbubble_rise: vapour bubble growing and rising under gravity
Run with LMP=lmp_mpi bash run.sh in the example directory.
Reverse Poiseuille flow [1]
Flow around a cylinder, Re=0.03, compared with FEM [1]
Heat conduction in an infinite slab [2]
Droplet oscillation under surface tension [3]
- Morris, Fox, Zhu, J. Comput. Phys. 136, 214 (1997)
- Cleary, Monaghan, J. Comput. Phys. 148, 227 (1999)
- Hu, Adams, J. Comput. Phys. 213, 844 (2006)


