Think about:
To run this experiment, we first need to
ID
to zero).
PERIODIC
and NOGRAVITY
in the Config.sh
.
LONG_X=1
, LONG_Y=1
, LONG_Z=0.1
and SPH_BND_PARTICLES
and SPH_BND_PARTICLES_ALLOW_DRIFT
in the Config.sh
for the box geometry.
NAVIERSTOKES
and NAVIERSTOKES_CONSTANT
in the Config.sh
to switch on viscosity.
ShearViscosityTemperature 5.0e7
and FractionSpitzerViscosity 1.0
to the parameter file.
UnitLength_in_cm 3.085678e21
, UnitMass_in_g 1.989e43
and UnitVelocity_in_cm_per_s 1e5
in the parameter file to get the right unit system.
Improve your ability to set up special geometries in the initial conditions.
setup_slab.pro
in IDL
show_slab.pro
in IDL
ifx -g -traceback -check all -fpe0 -o shearsetup shearsetup.f90
glass.txt
from T04)
./shearsetup
gnuplot grid.plt
(to check that the particle positions are set up correctly)
PERIODIC
, NOGRAVITY
and SPH_BND_PARTICLES
and SPH_BND_PARTICLES_ALLOW_DRIFT
and with LONG_X=10
, LONG_Y=10
, and LONG_Z=1
.
shear.ic
as the initial conditions file
and BoxSize
= 1TimeMax
= 200, TimeBetSnapshot
= 1.0)
ifx -g -traceback -check all -fpe0 -o readsnap readsnap.f90
for file in snap_???; do ./readsnap $file | sort -g -k8,8 >$file.txt; done
gnuplot shear.plt
xine -l shear.mp4