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.
TimeMax?
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 density, as the amplitude of the wave is really 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.
The code sets DesNumNgb by default, but from the experience of the previous tutorials, you can set your own vale in the box.param file.
Again, we are producing different initial conditions and run simulations on non-cubic domains, especially we will
export OMP_NUM_THREADS=2 before unning the simulations
mpiexec -np 2 OpenGadget3/OpenGadget3 box.param
If you notice some damping of the wave, this might be caused by the so called artificial viscosity which the underlying SPH code needs to work properly in presence of strong shocks. So to play around 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).
wget https://www.usm.uni-muenchen.de/~dolag/Lille2026/T04/box.ic
wget https://www.usm.uni-muenchen.de/~dolag/Hydro/Hydro/glass_10x10x10
wget https://www.usm.uni-muenchen.de/~dolag/Hydro/Hydro/Python/ic_header wget https://www.usm.uni-muenchen.de/~dolag/Lille2026/T04/setup_slab.py
python3 setup_slab.py
wget https://www.usm.uni-muenchen.de/~dolag/Lille2026/T04/show_wave.py
python3 show_wave.py
docker run -it -v :/mnt --name opengadget3_container opengadget3:XXX
docker exec -it opengadget3_container bash
cp -r ~/OpenGadget3 .
wget https://www.usm.uni-muenchen.de/~dolag/Hydro/Hydro/Config.sh
wget https://www.usm.uni-muenchen.de/~dolag/Hydro/Hydro/box.param
source Build/Container_build.sh
make -j
mpiexec -np 2 OpenGadget3/OpenGadget3 box.param