Skip to content

Test Problems: Perturbation

hsinhaoHHuang edited this page Jan 28, 2025 · 1 revision

Caution

Please do not edit this file (page) manually since the workflow will overwrite your changes.

This file (page) is automatically generated by the workflow Update test problem wiki page using the script tool/wiki/sync_test_problem_pages.py.

The workflow is triggered by push changes to any of example/test_problem/*/*/README.md and tool/wiki/sync_test_problem_pages.py.

configure.py options

Default setup

  • Study gravitational collapse in one, two and three dimensions (2D by default)
  • Use periodic boundary conditions
  • Demonstrate refinement in hybrid scheme by using Input__Flag_Interference
  • Compared to JeansInstabilityComoving, this test also supports 1D, 2D and 3D collapse

Note

  • Evolve small-amplitude plane waves on homogeneous background density

  • Perturbation_Amplitude is maximum amplitude of individual perturbations, Perturbation_BgAmplitude is amplitude of background density, Perturbation_N is number of Fourier modes in perturbation (maximum is 4)

  • Dimensionality of the problem can be set via Perturbation_NDim (set amplitude of plane waves in other dimensions to zero)

  • For reference simulation using base-level spectral method, use MODEL = WAVE and Input__Parameter_BaseSpectral and generate_make_BaseSpectral.sh

Links

Main page of Test Problems

Clone this wiki locally