Think about:
To run the experiment, we first need to
Now we can perform the simulation and analyze it.
PERIODIC
and
NOGRAVITY
again. Also you have to indicate the non-cubic form
of the simulation domain by setting LONG_X=20
,
LONG_Y=1
and LONG_Z=1
in the Config.sh
file before compiling.
box.param
, do not
forget to also set PeriodicBoundariesOn 1
again, before running the simulation.
Also remember the tutorials where we used different Kernels. To resolve the sound wave properly, we need to go to very good recovery of the desity, as the amplitude of the wave is realy tiny. Therefore, you might see significant noise in your standard settings. So try to use a more elaborated kernel by setting WENDLAND_C6_KERNEL
within your Config.sh
file and increase the number of neighbours used by setting DesNumNgb 295
within your box.param
file.
Again, we are producing different initial conditions and run simulations on non-cubic domains, especially we will
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=4
#SBATCH --ntasks=4
#SBATCH --cpus-per-task=1
If you notice some damping of the wave, this might be caused by the so called artifical viscosity which the underlying SPH code needs to work properly in presence of stromng shocks. So to play arround with this, you can reduce the amount of artificial viscosity used by reducing the value of ArtBulkViscConst
within your box.param
file significantly (e.g. try a value ten times smaller).
setup_slab.pro
in IDL
show_wave.pro
in IDL
ifx -g -traceback -check all -fpe0 -o slabsetup slabsetup.f90
glass.txt
from T04)
./slabsetup
slab.ic
as the initial conditions file
ifx -g -traceback -check all -fpe0 -o readsnap readsnap.f90
for file in snap_???; do ./readsnap $file >$file.txt; done
gnuplot plot.plt
gv plot.ps