Commit Graph

244 Commits

Author SHA1 Message Date
Andreas Lauser
bdb8c8eeff slightly improve the handbook build script
if some command fails, it now stops.
2017-01-16 15:32:16 +01:00
Andreas Lauser
b2a1608e0b handbook: use more sensible options for the hyperref package
this gets rid of the ugly red and green boxes around references. Note
that for some reason, hyperlinks do not seem to work anyway and that
using pdflatex directly does not work either :/
2017-01-16 15:30:01 +01:00
Andreas Lauser
43764cfc40 handbook: replace \textit by \emph
thanks to [at]pgdr for the suggestion.
2017-01-16 12:34:24 +01:00
Andreas Lauser
5d6f6916d7 make the handbook compile on modern LaTeX distributions
TeXLive 2016 complains about \it and \bf.

Also, this patch adds a simple bash script to create the handbook from
its LaTeX sources. Note that this script does *not* attempt to detect
if all prerequisites (in terms of binaries and LaTeX packages) are
properly available.
2017-01-14 15:40:51 +01:00
Andreas Lauser
87f30dad6f refactoring: rename GridCreator to GridManager
because "manager" sounds less religious than "creator" and the
GridCreators did all kinds of other stuff besides creating the grid.

this patch also gets rid of the static function inside these classes,
which should make them easier to understand...
2014-04-27 19:12:32 +02:00
Andreas Lauser
bf32eb0010 Implement the element centered finite volume spatial discretization
This makes eWoms multi-discretization capable. Along the way, this
fixes some bugs and does a medium sized reorganization of the source tree.

This is a squashed patch of the following commits:

--------
1st commit message:

add initial version of the element centered finite volume discretization

currently, it is a misnomer as it is just a copy of the vertex
centered discretization plus some renames...

--------
2nd commit message:

rename [VE]cfvModel -> [VE]cfvDiscretization

--------
3rd commit message:

ecfv: prelimary changes required to make it compile

but not work yet...

--------
4th commit message:

Rename *FvElementGeometry to *Stencil

"Stencil" seems to be the standard expression for this concept...

(also, it is not specific to finite volume methods and is shorter.)

--------
5th commit message:

refactor the stencil class for the element centered finite volume discretization

--------
6th commit message:

ECFV: some work on the stencil class

--------
7th commit message:

ECFV: make the boundary handling code compile

--------
8th commit message:

rename elemContext() to elementContext()

--------
9th commit message:

ECFV: make the VTK output modules compile

--------
10th commit message:

stencil: introduce the concept of primary DOFs

also save an vector of all element pointers in the stencil.

--------
11th commit message:

ECFV: try to fix assembly; add missing timeIdx arguments to the num*() methods

--------
12th commit message:

ECFV: fix stupid mistake in the assembler

--------
13th commit message:

ECFV: remove a few implicit DOF == vertex assumptions

the black-oil example now runs without valgrind complaints until it encounters
a negative oil mole fraction.

--------
14th commit message:

VCFV: make everything compile again

all vertex centered FV examples should now work again...

--------
15th commit message:

rename [ev]cfvmodel.hh to [ev]cfvdiscretization.hh

the classes have already been renamed.

--------
16th commit message:

ECFV: make it work to the point where it can write out the initial solution.

--------
17th commit message:

ECFV: make it work

the local residual/jacobian needed some work in distinguishing primary
and secondary DOFs and there was an minor issue with the serialization
code.

for some reason, it seems still not correct. (-> convergence is too slow.)

--------
18th commit message:

VCFV: make it compile for the black oil model again

--------
19th commit message:

VCFV: make it compile with the remaining models again

--------
20th commit message:

flash model: make it work with ECFV

although this breaks its compatibility with VCFV. (-> next commit)

--------
21st commit message:

adapt the VCFV to make it compatible with the flash model again

--------
22nd commit message:

make all models compile with VCFV again

--------
23rd commit message:

VCFV: more cleanups of the stencil

VcfvStencil now does not have any public attributes anymore. TODO: do
not export attributes in the SubControlVolume and SubControlVolumeFace
classes.

--------
24th commit message:

VCFV: actually update the element pointer

--------
25th commit message:

change the blackoil model back to ECFV

--------
26th commit message:

immiscible model: make it compatible with the ECFV discretization

--------
27th commit message:

PVS model: make it work with ECFV

--------
28th commit message:

NCP model: make it work with ECFV

--------
29th commit message:

rename Vcfv*VelocityModule to *VelocityModule

--------
30th commit message:

richards model: make it work with ECFV

--------
31st commit message:

unify the ECFV and the VCFV VTK output modules

and other cleanups

--------
32nd commit message:

unify the common code of the VCFV and the ECFV disctretizations

--------
33rd commit message:

unify the element contexts between element and vertex centered finite volumes

--------
34th commit message:

unify the local jacobian class of the finite volume discretizations

--------
35th commit message:

replace [VE]vcf(LocalResidual|ElementContext|BoundaryContext|ConstraintsContext) by generic code

--------
36th commit message:

replace the [EV]cfvLocalResidual by generic code

--------
37th commit message:

unify the MultiPhaseProblem and Problem classes, introduce NullBorderListCreator

--------
38th commit message:

remove the discretization specific boundary context

--------
39th commit message:

unify the [EV]cfvDiscretization classes

--------
40th commit message:

Unify [EV]cfvMultiPhaseFluxVariables

--------
41st commit message:

Unify the [EC]cfvNewton* classes

--------
42nd commit message:

Unify [EV]cfvVolumeVariables

--------
43rd commit message:

unify [EV]cfvAssembler

--------
44th commit message:

unified flux variables: fix stupid mistake when calculating pressure gradients

--------
45th commit message:

unify what's to unify for the [EV]CFV properties

--------
46th commit message:

make the method to calculate gradients and values at flux approximation points changeable

Currently, this is used by the vertex centered finite volume method to
be able to use P1-finite element gradients instead of two-point
ones...

--------
47th commit message:

make the restart code work correctly, use the correct DofMapper for VCFV

--------
48th commit message:

actually use the gradient calculator in a model

the immiscible model in this case

--------
49th commit message:

move some files around to where they belong, use the new gradient calculation code in all models

TODO: proper handling of boundary gradients

--------
50th commit message:

fix the stokes model

currently it only works with the vertex centered finite volume
discretization, but the plan is to soon move it to a staggered grid
scheme anyway...

--------
51st commit message:

move all models back to using the vertex centered finite volume discretization by default

--------
52nd commit message:

models: some variable renames and documentation fixes

- scv -> dof
- vert -> dof
- vertex -> dof
- replace 'VCFV'
- fix some typos

--------
53rd commit message:

don't expect UG anymore

since it is quite non-free and hard to get. we now use ALUGrid instead!

--------
54th commit message:

temporarily disable jacobian recycling

--------
55th commit message:

fix writing/reading restart files using the generic code

--------
56th commit message:

fix bug where fluxes were only counted once in the stencil

this only affected the vertex centered finite volumes discretization...

--------
57th commit message:

boundary gradients: use the center of the sub-control volume adjacent to a boundary segment

--------
58th commit message:

make it compile on GCC

--------
59th commit message:

get rid of most hacks

for this, partial reassemble and jacobian recycling was brought
back. For the this and the remaining stuff the main trick is the
introduction of the GridCommHandleFactory concept which constructs
communication handles suited for the respective spatial
discretization...

--------
60th commit message:

fix a few annoying bugs

first, default the convergence criterion for the linear solver did not
honor the initial residual which lead to linear solver breakdowns,
then some debugging code was left in the discrete fracture model and
then there was a bug in the TP gradient approximation class...

this has the consequence that we need a new reference solution for the
discrete fracture problem...

--------
61st commit message:

iterative linear solver: remove the code for the non-default convergence criteria

--------
62nd commit message:

provide the FE cache instead of the local FE

this fixes a segfault in the stokes model caused by the fact that the
local FE was not initialized at this point.

--------
63rd commit message:

(Navier-)Stokes: fix bug due to the transition to unit normals

now, all tests pass for this branch. The only things which need to be
fixed are some annoying performance regressions compared to master and
some bug in the splices feature of the property system...

--------
64th commit message:

some fix for the local residual of the immiscible model

--------
65th commit message:

Navier-Stokes: implement SCV center gradients

There seems to be a bug in the previous implementation (the jacobian
inverse transposed is evaluated using the local, not the global
geometry), so the reference solution for the stokes2c test problem has
also been updated...

--------
66th commit message:

remove the ALUGrid specialization of the LensGridCreator and the YaspGrid one for the fingerproblem

using different grid seems to sometimes cause a different vertex
order, which in turn causes the respective test to fail if the
reference solution was computed using the other grid...

--------
67th commit message:

VCFV: use the correct BorderListCreator

this makes MPI parallel computations work again. apart from
performance regressions, this branch does not exhibit any known
regressions compared to master anymore...

--------
68th commit message:

make verything compile with the element centered finite volume discretization

except the Navier-Stokes and the two-phase DFM models, of course...

--------
69th commit message:

minor fixes

- make the navier-stokes model slighly more generic by using the
  proper (in,ex)teriorIndex() methods on sub-control volumes
- make the signature of the calculateValue() template method of the
  common two-point gradient approximator match the one of the vertex
  centered finite volume one

--------
70th commit message:

fix fallout from the Big Rebase

--------
71st commit message:

ECFV: some bugs in the boundary

--------
72nd commit message:

make computeFlux() compute area-specific quantities

--------
73rd commit message:

fix more bugs in the element centered FV discretization

now eWoms should match Dumux pretty closely...

--------
74th commit message:

coalesce the common code of the multi phase porous medium models into "MultiPhaseBaseModel"

--------
75th commit message:

update reference solutions

these were changed because of the screw-up with the area of boundary
segments...

--------
76th commit message:

rename "ImplicitBase" to "FvBase"

because in eWoms, everything is implicit and these are currently the
base classes for all finite volume discretizations.

--------
77th commit message:

make the spatial discretization selectable using a splice

This requires an opm-core with a the patches from
https://github.com/OPM/opm-core/pull/446 merged...

--------
78th commit message:

rename the properties used for splices to *Splice

--------
79th commit message:

move the files in 'tests/models' to 'tests'

since 'tests' was empty except for the 'models' subdirectory...

--------
80th commit message:

improve and fix the tutorial

--------
81st commit message:

remove the -fno-strict-aliasing flag from the provided option files

seems like recent versions of Dune have been adapted...

--------
82nd commit message:

also compile all CO2 injection simulations using the element centered finite volume discretization

--------
83rd commit message:

PVS model: make it work properly with the element-centered finite volume discretiation

because DOF != number of vertices
2013-12-12 12:52:44 +01:00
Andreas Lauser
3d0a4c0e17 adapt the tutorial and the handbook to the brave new world
we do not have a decoupled tutorial anymore since, well, the decoupled
models have been removed. Also since the move to the Opm CMake based
build system, the "How to create a new folder" section in the handbook
was obsolete.
2013-09-23 20:38:20 +02:00
Andreas Lauser
c906d5931d use opm property system, improvments to the parameter system 2013-09-23 20:37:11 +02:00
Andreas Lauser
74c3290296 remove the autotools based build system 2013-08-28 17:28:26 +02:00
Andreas Lauser
84becd65d2 remove the code of the IMPET ("decoupled") models
there was no interest in using them and the maintainance burden grew
pretty large as the Dumux and eWoms code-bases continued to diverge.
2013-07-08 20:36:22 +02:00
Katherina Baber
dcc162d3a7 added the package names for SUSE installation
Dumux-Svn-Revison: 9497
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2013-01-09 14:17:51 +01:00
Andreas Lauser
3e55945ce5 change namespace from Dumux to Ewoms
eWoms hereby declares full independence. Humor aside, the main
technical advantage of this is, that it is now possible to easily
install both, Dumux and eWoms on a system using a package management
system without bad tricks.
2012-11-18 16:58:22 +01:00
Andreas Lauser
510fa48526 handbook: language improvements 2012-11-01 16:43:15 +01:00
Andreas Lauser
b4c2aba27f implement molecular diffusion for all compositional box models 2012-10-26 19:07:51 +02:00
Andreas Lauser
a9a67ecef9 fix 'make dist' 2012-10-22 14:59:56 +02:00
Andreas Lauser
7deaf50402 box model descriptions: syncronize them with the doxygen versions
the descriptions of the semi-implicit models are imported from dumux
because I suppose that these have been modified manually and the
differences should be negligible anyway...
2012-10-19 13:49:54 +02:00
Andreas Lauser
48ba09359c handbook: smaller fixes
- replace the remaining stray \Dumux by \eWoms
- correct the description of fugacity
2012-10-19 13:49:47 +02:00
Andreas Lauser
9aad4c3a7e handbook: finish update for the 2.2 release
at least content-wise. there are still quite a few language issues
left to be dealt with...
2012-10-17 16:24:38 +02:00
Andreas Lauser
0c1a15c2de handbook: cleanups, update the tutorial for the fully implicit models
- there are no LaTeX files with capital letters anymore
- there are no more "dangling" references
2012-10-16 18:16:19 +02:00
Christoph Grueninger
78edd159d7 Remove first EXTRA_DIST because it was overwritten by the second one.
Dumux-Svn-Revison: 9325
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-16 13:41:18 +02:00
Andreas Lauser
dd8e4520a0 Handbook: some updates
- adapt the "quick start" chapter to eWoms
- remove the dumux logo from the front page
- remove the "flow of things" and "tipps and tricks" chapters:
  - the former was not useful, IMHO but quite a burden to update and
    the latter rather belongs to the online documentation (wiki?)
- update the flowchart showing the layout of the source tree
2012-10-15 17:53:21 +02:00
Vishal Jambhekar
91b9730eb0 Handbook.pdf is added to the Extra Dist
Dumux-Svn-Revison: 9245
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-10 18:56:04 +02:00
Melanie Darcis
d5e509ef7a Added missing three lines to 2pdecoupledpressuremodel.tex.
Dumux-Svn-Revison: 9225
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-06 18:53:46 +02:00
Andreas Lauser
7f9ba0371c some minor fixes to the handbook
by Benjamin Faigle
2012-10-05 14:18:42 +02:00
Philipp Nuske
683341c4de make the code listing in the handbook start with the same numbering as in the source code.
Dumux-Svn-Revison: 9214
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-05 14:18:42 +02:00
Christoph Grueninger
1b7da052d5 Fix a typo in label and ref.
Dumux-Svn-Revison: 9208
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-05 14:18:42 +02:00
Christoph Grueninger
ff9f998347 Add paragraph about error "no type named 'p' in 'struct Dumux::Properties"
Dumux-Svn-Revison: 9171
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-02 17:00:02 +02:00
Christoph Grueninger
6761358bb6 Fixed oversized box, spelling, use unit package.
Dumux-Svn-Revison: 9163
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-02 11:48:22 +02:00
Andreas Lauser
4c2885cc82 tutorial: add defaults so that they run without parameters, make handbook compile again 2012-09-24 20:13:29 +02:00
Alexander Kissinger
115e7f1ef7 Several changes in the coupled tutorial in the handbook
Dumux-Svn-Revison: 9114
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-09-24 17:45:25 +02:00
Andreas Lauser
aa9c07835b some fixes to the coupled tutorial 2012-09-11 14:57:25 +02:00
Alexander Kissinger
fb47614c3d Fixed small error
Dumux-Svn-Revison: 9069
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-09-11 14:37:10 +02:00
Alexander Kissinger
063de21e13 update of installation chapter for Dumux 2.2
Dumux-Svn-Revisons: 9054, 9056
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-09-11 13:54:25 +02:00
Christoph Grueninger
7f6b922a15 make doc builds the handbook, see FS#163 for more details. Maybe we want to change make doc that it ignores --disable-documentation. This is not yet decided (reviewed by bernd)
Dumux-Svn-Revison: 9014
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-08-30 11:36:07 +02:00
Christoph Grueninger
5c5e098d54 Fix some bad boxes.
Dumux-Svn-Revison: 9012
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-08-30 11:34:59 +02:00
Philipp Nuske
024b7857e4 change in Newton in a Nutshell: it makes a difference whether a matrix is multiplied from right or from left. Hint from Nicolas.
Dumux-Svn-Revison: 8950
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-08-22 16:34:35 +02:00
Andreas Lauser
72c2bfa10a syncronize the handbook with the version in the dumux trunk
seems like I missed a few smallish changes...
2012-07-20 13:48:25 +02:00
Nicolas Schwenck
e5730d7a37 added valgrind to the ubuntu pkg list
Cherry picked from Dumux SVN trunk (revision 8690)
2012-07-20 13:30:16 +02:00
Philipp Nuske
4c8e03dcf4 1 1/2 additional packages that are needed in order to run \Dumux on a fresh Ubuntu installation
Cherry picked from Dumux SVN trunk (revision 8684)
2012-07-20 13:25:49 +02:00
Philipp Nuske
fd491ddc41 pimped Nicolas table: to be verified: please check sb when installing on a new system
Cherry picked from Dumux SVN trunk (revision 8683)
2012-07-20 13:25:21 +02:00
Nicolas Schwenck
5f1b79c88b added a first version of a ubuntu package name list - this has to be improved!
Cherry picked from Dumux SVN trunk (revision 8681)
2012-07-20 13:24:51 +02:00
Christoph Grueninger
dcf43bb9da Added command \Cplusplus that hurts the eye much less. Used \Dune instead of Dune in chapter 1. Added \texttt to some dunecontrol words where it was missing. Fixed a type.
Cherry picked from Dumux SVN trunk (revision 8644)
2012-07-12 21:27:42 +02:00
Nicolas Schwenck
e6849a45a8 fixed copy-paste mistake.
Cherry picked from SVN trunk (revision 8305)
2012-07-12 21:25:17 +02:00
Andreas Lauser
13d9867500 decoupled: finish the SpatialParameters -> SpatialParams frenzy
I also removed the deprecation stuff, as IMO it is more confusing than
helpful. (Ever tried to set the
SpatialParameters instead of SpatialParams in your problem?)

Also move the decoupled spatial parameters from dumux/material to
dumux/decoupled because they are specific to the decoupled models.
2012-07-12 21:25:16 +02:00
Andreas Lauser
d7db90476e box models: fold the spatial parameters directly into the problems 2012-07-12 21:25:06 +02:00
Christoph Grueninger
348f6e7d35 Fix make headercheck. 2012-07-12 21:25:03 +02:00
Christoph Grueninger
f03231adf4 Removed unecessary WML files. Added files to EXTRA_DIST. 2012-07-12 21:25:02 +02:00
Christoph Grueninger
e71e298b00 Scanned chaper install in the manual. 2012-07-12 21:25:02 +02:00
Christoph Grueninger
e5085ee4c8 Compled Tips&Tricks. Fixed various over- and underfull boxed and even more warnings. 2012-07-12 21:25:02 +02:00
Andreas Lauser
e660848dc9 last update of the model descriptions before the release
please fasten your seatbelts!
2012-07-12 21:25:02 +02:00