Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
51cc6ebd
Commit
51cc6ebd
authored
Feb 5, 2018
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Added caveat about Gadget's time-integration operators for entropy
parent
bf72fd1d
No related branches found
No related tags found
1 merge request
!509
Cosmological time integration
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
theory/Cosmology/operators.tex
+10
-4
10 additions, 4 deletions
theory/Cosmology/operators.tex
with
10 additions
and
4 deletions
theory/Cosmology/operators.tex
+
10
−
4
View file @
51cc6ebd
...
...
@@ -30,12 +30,18 @@ eq.~\ref{eq:cosmo_eom_v}) are integrated forward in time using $\Delta
t
_{
\rm
kick,h
}$
, whilst the accelerations given by the gravity forces
(
\nth
{
3
}
term in eq.~
\ref
{
eq:cosmo
_
eom
_
v
}
) use
$
\Delta
t
_{
\rm
kick,g
}$
. The entropy or internal energy is integrated forward in
time using
$
\Delta
t
_{
\rm
kick,A
}
=
\Delta
t
_{
\rm
drift
}$
, whilst the
change in energy due to the expansion of the Universe (first term in
.q.~
\ref
{
eq:cosmo
_
eom
_
u
}
) can be computed using
time using
$
\Delta
t
_{
\rm
kick,A
}
=
\Delta
t
_{
\rm
drift
}$
\footnote
{
Note that
{
\sc
gadget-2
}
uses a slightly different
operator here. They first multiply
$
\dot
{
A
}_
i'
$
by
$
1
/
H
$
and do not
not consider the
$
1
/
a
^
2
$
term as part of the time-integration
operator. The
$
1
/
H
$
term then integrates out trivially. This slight
inconsistency with the rest of the time-integration operators is
unlikely to lead to any practical difference.
}
, whilst the change in
energy due to the expansion of the Universe (first term in
eq.~
\ref
{
eq:cosmo
_
eom
_
u
}
) can be computed using
\begin{equation}
\int
_{
a
_
n
}^{
a
_{
n+1
}}
H dt =
\int
_{
a
_
n
}^{
a
_{
n+1
}}
\frac
{
da
}{
a
}
=
\log
{
a
_{
n+1
}}
-
\log
{
a
_
n
}
\log
{
a
_{
n+1
}}
-
\log
{
a
_
n
}
.
\end{equation}
Following the same method as for the age of the Universe
(sec.
\ref
{
ssec:flrw
}
), the three non-trivial integrals are evaluated
...
...
...
...
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
sign in
to comment