Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SWIFTweb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTweb
Commits
b4e9bd3e
Commit
b4e9bd3e
authored
2 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
De-gadgetify the astro part of the documentation
parent
db512ba2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/astro.md
+32
-18
32 additions, 18 deletions
data/astro.md
with
32 additions
and
18 deletions
data/astro.md
+
32
−
18
View file @
b4e9bd3e
# Astronomer
# Astronomer
Want to get started using SWIFT? Check out the on-boarding guide
available
Want to get started using SWIFT? Check out the on-boarding guide
[
here
](
onboarding.pdf
)
. SWIFT can be used as a
drop-in
replacement
for
available
[
here
](
onboarding.pdf
)
. SWIFT can be used as a replacement
Gadget-2
and initial conditions in hdf5 format f
or Gadget can
for different codes
and initial conditions in hdf5 format f
rom
directly be read by SWIFT. The only difference is the parameter file
commonly used generators can directly be read by SWIFT. All you then
that will need to b
e adapted for SWIFT
.
need is a parameter fil
e adapted for SWIFT
!
SWIFT combines multiple numerical methods that are briefly outlined
SWIFT combines multiple numerical methods that are briefly outlined
here. The whole art is to efficiently couple them to
here. The whole art is to efficiently couple them to
...
@@ -13,20 +13,19 @@ exploit modern computer architectures.
...
@@ -13,20 +13,19 @@ exploit modern computer architectures.
## Gravity
## Gravity
SWIFT uses the Fast Multipole Method (FMM) to calculate gravitational
SWIFT uses the Fast Multipole Method (FMM) to calculate gravitational
forces between nearby particles. These forces are combined with
forces between nearby particles. These forces can be combined with
long-range forces provided by a mesh that captures both the periodic
long-range forces provided by a mesh that captures the periodic nature
nature of the calculation and the expansion of the simulated universe.
of the calculation. SWIFT currently uses a single fixed but
SWIFT currently uses a single fixed but time-variable softening length
time-variable softening length for all the particles.
for all the particles.
As well as this self-gravity mode, we also make many useful external
As well as this self-gravity mode, we also make many useful external
potentials available, such as galaxy haloes or stratified boxes that
potentials available, such as galaxy haloes or stratified boxes that
are used in idealised problems.
are used in idealised problems.
G
ravitational accuracy can be tuned through use of
the opening angle
Besides softening, g
ravitational accuracy can be tuned through use of
and the choice of a multipole order for the
short-range gravity
the adaptive opening angle
and the choice of a multipole order for the
calculation. The mesh forces are controlled by the
cell size and
short-range gravity
calculation. The mesh forces are controlled by the
frequency of the update.
cell size and
frequency of the update.
## Cosmology
## Cosmology
...
@@ -47,7 +46,7 @@ mode of operation of SWIFT!) when taking them from a different code.
...
@@ -47,7 +46,7 @@ mode of operation of SWIFT!) when taking them from a different code.
There are many hydrodynamics schemes implemented in SWIFT, and SWIFT
There are many hydrodynamics schemes implemented in SWIFT, and SWIFT
is designed such that it should be simple for users to add their
is designed such that it should be simple for users to add their
own.
own
variations
.
All the schemes can be combined with a time-step limiter inspired by
All the schemes can be combined with a time-step limiter inspired by
the method of
[
Durier & Dalla Vecchia
the method of
[
Durier & Dalla Vecchia
...
@@ -57,6 +56,17 @@ sudden injection of energy such as in feedback events.
...
@@ -57,6 +56,17 @@ sudden injection of energy such as in feedback events.
The four main modes are as follows:
The four main modes are as follows:
### SPHENIX SPH
This is our default Smoothed Particle Hydrodynamics scheme. It is
fully described by
[
Borrow
2022
](
http://adsabs.harvard.edu/abs/2022MNRAS.511.2367B
)
. The core
equations use a density-energy formulation of the equations of motion.
This is combined with a variable artificial viscosity and
conduction. These are accompanied by limiters to only apply these
extra terms where they are necessary. This scheme was designed with
galaxy formation applications in mind.
### Minimal SPH
### Minimal SPH
In this mode SWIFT uses the simplest energy-conserving SPH scheme that
In this mode SWIFT uses the simplest energy-conserving SPH scheme that
...
@@ -77,7 +87,10 @@ viscosity scheme with a
...
@@ -77,7 +87,10 @@ viscosity scheme with a
[
Balsara
](
https://www.ideals.illinois.edu/handle/2142/23836
)
[
Balsara
](
https://www.ideals.illinois.edu/handle/2142/23836
)
switch. Note that the GADGET-2 SPH scheme is implemented to be the
switch. Note that the GADGET-2 SPH scheme is implemented to be the
same as in the public release of GADGET-2. This is to enable users to
same as in the public release of GADGET-2. This is to enable users to
use SWIFT as a drop-in replacement for GADGET-2.
use SWIFT as a drop-in replacement for GADGET-2 and of course for
comparison exercises!
<!--
### Pressure-Entropy SPH
### Pressure-Entropy SPH
...
@@ -109,6 +122,8 @@ diffusion but also comes at a higher computational cost.
...
@@ -109,6 +122,8 @@ diffusion but also comes at a higher computational cost.
<div
class=
"videowrapper"
><iframe
width=
"100%"
height=
"100%"
src=
"https://www.youtube.com/embed/sce-AWTbXFI"
frameborder=
"0"
allowfullscreen
></iframe>
<div
class=
"videowrapper"
><iframe
width=
"100%"
height=
"100%"
src=
"https://www.youtube.com/embed/sce-AWTbXFI"
frameborder=
"0"
allowfullscreen
></iframe>
</div>
</div>
-->
## Subgrid models for galaxy formation
## Subgrid models for galaxy formation
SWIFT implements two main models to study galaxy formation. These are
SWIFT implements two main models to study galaxy formation. These are
...
@@ -160,8 +175,7 @@ the classic method of post-processing simulations after they are run.
...
@@ -160,8 +175,7 @@ the classic method of post-processing simulations after they are run.
## Documentation and tests
## Documentation and tests
There is a large amount of background reading material available in the
There is a large amount of background reading material available in the
theory directory provided with SWIFT. You will need pdflatex to build
theory directory provided with SWIFT.
this documentation.
SWIFT also provides a large library of hydrodynamical test cases for you to
SWIFT also provides a large library of hydrodynamical test cases for you to
use, the results of which are available on our developer Wiki
use, the results of which are available on our developer Wiki
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment