Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
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
Container Registry
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
dumux-repositories
dumux
Commits
cb533f7c
Commit
cb533f7c
authored
1 year ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[handbook][cleanup] Remove supperfluous sections
parent
ef663b43
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3580
[doc] Feature/doc dissolve handbook (partial)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/handbook/0_dumux-handbook.tex
+0
-6
0 additions, 6 deletions
doc/handbook/0_dumux-handbook.tex
doc/handbook/6_stepsofasimulation.tex
+0
-67
0 additions, 67 deletions
doc/handbook/6_stepsofasimulation.tex
with
0 additions
and
73 deletions
doc/handbook/0_dumux-handbook.tex
+
0
−
6
View file @
cb533f7c
...
...
@@ -115,11 +115,6 @@ Universit\"at Stuttgart, Paffenwaldring 61, D-70569 Stuttgart, Germany}\\
\newpage
\chapter
{
Overview and Infrastructure
}
This chapter provides an overview of the general structure in
\Dumux
(
\ref
{
sc
_
structure
}
)
and gives help for basic work with
\Dumux
(
\ref
{
sc
_
newfoldersetup
}
-
\ref
{
sc
_
developingdumux
}
).
Further, it presents useful external tools (
\ref
{
sc
_
externaltools
}
) and basic
concepts (
\ref
{
sc
_
linearsystem
}
).
\input
{
5
_
structure
}
\input
{
5
_
newfoldersetup
}
\input
{
5
_
restartsimulations
}
...
...
@@ -131,7 +126,6 @@ concepts (\ref{sc_linearsystem}).
This chapter contains detailed information for those who are interested
in deeper modifications of underlying
\Dumux
models, classes, functions, etc.
\input
{
6
_
temporaldiscretizations
}
\input
{
6
_
stepsofasimulation
}
\bibliographystyle
{
plainnat
}
\bibliography
{
dumux-handbook
}
...
...
This diff is collapsed.
Click to expand it.
doc/handbook/6_stepsofasimulation.tex
deleted
100644 → 0
+
0
−
67
View file @
ef663b43
% SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
% SPDX-License-Identifier: CC-BY-4.0
\section
{
Steps of a
\Dumux
Simulation
}
\label
{
flow
}
This chapter is supposed to give a short overview over how things are ``handed around'' in
\Dumux
. It
is not a comprehenisve guide through the modeling framework of
\Dumux
, but
hopefully it will help getting to grips with it.
In Section
\ref
{
content
}
the structure of
\Dumux
is shown from a
\emph
{
content
}
point of view.
\subsection
{
Structure -- by Content
}
\label
{
content
}
In Figure
\ref
{
fig:algorithm
}
, the algorithmic representations of a monolithical
solution scheme is illustrated down to the element level.
\begin{figure}
[hbt]
\setcounter
{
thingCounter
}{
0
}
\scriptsize
\sffamily
\begin{center}
\parbox
{
0cm
}{
\begin{tabbing}
\textbf
{{
\begin{turn}
{
45
}
\color
{
black
}
\numberThis
{
main
}{
init
}
\end{turn}
}}
\=
\textbf
{{
\begin{turn}
{
45
}
\color
{
dumuxBlue
}
\numberThis
{
time step
}{
prep
}
\end{turn}
}}
\=
\textbf
{{
\begin{turn}
{
45
}
\color
{
Mulberry
}
\numberThis
{
\textsc
{
Newton
}}{
elem
}
\end{turn}
}}
\=
\textbf
{{
\begin{turn}
{
45
}
\color
{
dumuxYellow
}
\numberThis
{
element
}{
calc
}
\end{turn}
}}
\=
\\
\\
\color
{
black
}
initialize
\\
\color
{
black
}
\textbf
{
foreach
}
time step
\\
\>
\color
{
dumuxBlue
}
\textbf
{
foreach
}
\textsc
{
Newton
}
iteration
\\
\>
\>
\color
{
Mulberry
}
\textbf
{
foreach
}
element
\\
\>
\>
\>
\color
{
dumuxYellow
}
- calculate element
\\
\>
\>
\>
\color
{
dumuxYellow
}
\;
residual vector and
\\
\>
\>
\>
\color
{
dumuxYellow
}
\;
Jacobian matrix
\\
\>
\>
\>
\color
{
dumuxYellow
}
- assemble into global
\\
\>
\>
\>
\color
{
dumuxYellow
}
\;
residual vector and
\\
\>
\>
\>
\color
{
dumuxYellow
}
\;
{
Jacobian
}
matrix
\\
\>
\>
\color
{
Mulberry
}
\textbf
{
endfor
}
\\
\>
\>
\color
{
Mulberry
}
solve linear system
\\
\>
\>
\color
{
Mulberry
}
update solution
\\
\>
\>
\color
{
Mulberry
}
check for
\textsc
{
Newton
}
convergence
\\
\>
\color
{
dumuxBlue
}
\textbf
{
endfor
}
\\
\>
\color
{
dumuxBlue
}
- adapt time step size,
\\
\>
\color
{
dumuxBlue
}
\;
possibly redo with smaller step size
\\
\>
\color
{
dumuxBlue
}
- write result
\\
\color
{
black
}
\textbf
{
endfor
}
\\
\color
{
black
}
finalize
\end{tabbing}
}
\end{center}
\caption
{
Structure of a monolithical solution scheme in
\Dumux
.
}
\label
{
fig:algorithm
}
\end{figure}
\subsection
{
Structure -- by Implementation
}
A possible starting point to understand how the above mentioned algorithm is implemented within
\Dumux
,
is the example main file
\url
{
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/-/blob/releases/
\DumuxVersion
/exercises/exercise-mainfile/exercise1pamain.cc
}
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