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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
4a58893a
Commit
4a58893a
authored
12 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Corrected a few typos in the latex document.
Former-commit-id: e9567f4ffdde605b320736473eea9d16d40e93c1
parent
41c8de38
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
theory/latex/sph.tex
+8
-3
8 additions, 3 deletions
theory/latex/sph.tex
with
8 additions
and
3 deletions
theory/latex/sph.tex
+
8
−
3
View file @
4a58893a
...
...
@@ -71,7 +71,7 @@ Coming back to the simplest case, the derivatives of the kernel function are giv
\begin{eqnarray*}
\vec\nabla
W(
\vec
{
x
}
,h)
&
=
&
\frac
{
1
}{
h
^
4
}
f'
\left
(
\frac
{
|
\vec
{
x
}
|
}{
h
}
\right
)
\frac
{
\vec
{
x
}}{
|
\vec
{
x
}
|
}
\\
\frac
{
\partial
W(
\vec
{
x
}
,h)
}{
\partial
h
}
&
=
&
-
\frac
{
1
}{
h
^
4
}
\left
[3
\left
(
\frac
{
|
\vec
{
x
}
|
}{
h
}
\right
) +
\frac
{
\partial
W(
\vec
{
x
}
,h)
}{
\partial
h
}
&
=
&
-
\frac
{
1
}{
h
^
4
}
\left
[3
f
\left
(
\frac
{
|
\vec
{
x
}
|
}{
h
}
\right
) +
\frac
{
|
\vec
{
x
}
|
}{
h
}
f'
\left
(
\frac
{
|
\vec
{
x
}
|
}{
h
}
\right
)
\right
]
\end{eqnarray*}
...
...
@@ -163,11 +163,16 @@ The time step is then given by the Courant relation:
\Delta
t
_
i = C
_{
CFL
}
\frac
{
h
_
i
}{
c
_
i
}
\end{equation}
where the CFL parameter usually takes a value between
$
0
.
1
$
and
$
0
.
3
$
. The integration in time can then take place. The
where the CFL parameter usually takes a value between
$
0
.
2
$
and
$
0
.
3
$
. The integration in time can then take place. The
leapfrog integrator is usually used as it behaves well when coupled to gravity.
\\
In the case where only one global timestep is used for all particles, the minimal timestep of all particles is reduced
and used.
and used.
\\
Notice that
$
h
$
has to be recomputed through the iterative process
presented in the previous section at every timestep. The time
derivative of the smoothing length only give a rough estimate of its
change. It only provides a good guess for the Newton-Raphson (or
bissection) scheme.
\section
{
Conserved quantities
}
...
...
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