Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-pdelab-tutorials
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
Service Desk
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
PDELab
dune-pdelab-tutorials
Commits
110e982f
Commit
110e982f
authored
9 years ago
by
Ole Klein
Browse files
Options
Downloads
Patches
Plain Diff
minor corretions of the text of tutorial 02
parent
2eedf55c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tutorial02/doc/tutorial02.tex
+8
-8
8 additions, 8 deletions
tutorial02/doc/tutorial02.tex
with
8 additions
and
8 deletions
tutorial02/doc/tutorial02.tex
+
8
−
8
View file @
110e982f
...
...
@@ -91,7 +91,7 @@ and Neumann boundary intersections $\mathcal{F}_h^{\Gamma_N}$.
Each boundary intersection is equipped with a unit normal vector
$
\nu
_
F
$
which coincides with the unit outer normal to the domain.
Furthermore,
$
x
_
T
$
,
$
x
_
F
$
denotes the center point of an element or face.
This notation is illustrated graphicall in Figure
\ref
{
fig:MeshNotation
}
.
This notation is illustrated graphicall
y
in Figure
\ref
{
fig:MeshNotation
}
.
\begin{figure}
\begin{center}
...
...
@@ -267,7 +267,7 @@ tutorial 01.
\subsection
{
Ini-File
}
The ini-file uses the same sections as in tutorial 01 with the follwing exceptions:
The ini-file uses the same sections as in tutorial 01 with the foll
o
wing exceptions:
\begin{itemize}
\item
Only the structured grid in its
\lstinline
{
YaspGrid
}
implementation can be used
in dimension 2 and 3.
\lstinline
{
OneDGrid
}
is used in dimension 1.
...
...
@@ -317,7 +317,7 @@ that the same problem can be easily solved using the two different methods.
\subsection
{
Local Operator
\lstinline
{
NonlinearPoissonFV
}}
The class
\lstinline
{
NonlinearPoissonFV
}
implements the
element-wise computations of the cell-centred finite volume
element-wise computations of the cell-cent
e
red finite volume
method. In particular, it provides a full implementation
of all possible methods on a local operator including
analytic Jacobians. The class has the problem class as a template parameter:
...
...
@@ -384,7 +384,7 @@ This means that basis functions will never be evaluated!
\subsubsection*
{
Method
\lstinline
{
lambda
_
boundary
}}
This method was also already present in the finite element method
.
This method was also already present in the finite element method
and corresponds
to sums five
\textit
{
and
}
six on the right hand side of equation
\eqref
{
eq:res
_
form
_
final
}
.
It assembles contributions from Dirchlet and Neumann
...
...
@@ -401,7 +401,7 @@ basicstyle=\ttfamily\small,
frame=single,
backgroundcolor=
\color
{
listingbg
}
]
{
../src/nonlinearpoissonfv.hh
}
Now comes the part for the D
I
richlet boundary conditions where we
Now comes the part for the D
i
richlet boundary conditions where we
need to compute the distance from the face center to the element center,
the value of the Dirichlet boundary condition and the measure of the face:
\lstinputlisting
[linerange=
{
77-100
}
,
...
...
@@ -489,7 +489,7 @@ backgroundcolor=\color{listingbg}]{../src/nonlinearpoissonfv.hh}
The arguments comprise an intersection, local trial function
and local test space for both elements adjacent to the intersection
and containers for the local residual contributions in both elements.
The subsripts
\lstinline
{_
i
}
and
\lstinline
{_
o
}
correspond to
The subs
c
ripts
\lstinline
{_
i
}
and
\lstinline
{_
o
}
correspond to
``inside'' and ``outside''. W.r.t. our notation above in section
\ref
{
sec:fv
_
method
}
``inside'' corresponds to ``-'' and ``outside'' corresponds to ``+''.
...
...
@@ -606,7 +606,7 @@ basicstyle=\ttfamily\small,
frame=single,
backgroundcolor=
\color
{
listingbg
}
]
{
../src/nonlinearpoissonfv.hh
}
\lstinline
{
x
_
i
}
,
\lstinline
{
x
_
o
}
are the linearization point
and
\lstinline
{
z
_
i
}
,
\lstinline
{
z
_
o
}
are the coefficents to multiply with.
and
\lstinline
{
z
_
i
}
,
\lstinline
{
z
_
o
}
are the coeffic
i
ents to multiply with.
As the skeleton terms are linear with respect to degrees of freedom
the Jacobian does not depend on the linearization point and
...
...
@@ -690,7 +690,7 @@ in nonlinearity on the solution. $\eta=0$ (left), $\eta=10$ (middle), $\eta=100$
\end{figure}
Figure
\ref
{
fig:Bunt
}
shows results for three different values of
$
\eta
$
on a relatively
coarse mesh. Clearly, the pe
a
cewise constant approximation can be seen.
coarse mesh. Clearly, the p
i
ecewise constant approximation can be seen.
\begin{figure}
\caption
{
Comparison of conforming finite element and cell-centered finite volume
...
...
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