Commit Graph

379 Commits

Author SHA1 Message Date
Andreas Lauser
46fca5437c fix lonely DUNE 2.3 deprecation warning
now akvarium should be fully happy build-wise...
2013-12-14 11:32:50 +01: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
3c8229586f update the in-file copyright holder statements
this patch is quite large as there were various bug fixes to the
script which generates these statements
2013-12-02 17:20:09 +01:00
Andreas Lauser
10d80f01f9 replace in-file copyright notices by OPM the standard one 2013-12-02 15:53:54 +01:00
Andreas Lauser
98c5b8fba7 reformat the source code
this was done semi-automatically. The line length has been set to 80
characters, but with a quite low penalty for crossing this limit.
2013-12-01 20:47:02 +01:00
Andreas Lauser
d47687be5d fix some dune 2.3 deprecation warnings
also use the actual grid headers for grids, not the corresponding DGF
parser header.
2013-12-01 11:51:05 +01:00
Andreas Lauser
531d287eda adapt to the changes in opm-material 2013-11-12 18:36:42 +01:00
Andreas Lauser
921540d001 fix the end of namespace comments
this was done semi-automatically by a python script
2013-11-04 14:17:32 +01:00
Andreas Lauser
ea30ffc7be rename fluidmatrixinteractions/mp/* to fluidmatrixinteractions/* 2013-11-04 13:58:43 +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
e50fe7715f adapt to the new opm-material file names 2013-09-23 15:09:51 +02:00
Andreas Lauser
b3a687c83b use the opm-material module instead of using an internal material framework 2013-08-28 17:28:26 +02:00
Andreas Lauser
74c3290296 remove the autotools based build system 2013-08-28 17:28:26 +02:00
Andreas Lauser
d566001dd8 replace the custom cmake based build system by the one from OPM 2013-08-28 17:24:05 +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
Bernd Flemisch
ccdf1c742b decoupled: renaming according to refined naming rules, this time for local variables.
Reviewed by Benjamin.

Dumux-Svn-Revison: 10776
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2013-06-02 16:43:43 +02:00
Bernd Flemisch
20f514984c Perform changes resulting from our refined naming rules, see FS#180.
Only public member names have been treated so far. Local variables
will be done shortly, classes maybe not before the next release
cycle. Everything old could be marked deprecated.

Reviewed by Benjamin and Christoph.

Dumux-Svn-Revison: 10761
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2013-06-02 16:43:43 +02:00
Bernd Flemisch
99cc53ca66 Partially implements FS#180 - Inconsistent naming
- special status of saturation. In particular, it deals with the
  capitalized "S"-indices:
   S0Idx -> s0Idx
   SnIdx -> snIdx
   SwIdx -> swIdx
   SOrX1Idx -> sOrX1Idx
   SOrX2Idx -> sOrX2Idx
   SnOrXidx -> snOrXIdx
   SwOrXIdx -> swOrXIdx

Reviewed by Christoph.

Dumux-Svn-Revison: 10756
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2013-06-02 16:43:43 +02:00
Markus Wolff
475b50fb31 Extended the IMPES scheme to allow for local time-stepping for each flux face of the finite-volume transport model
- time steps for the pressure model can be choosen larger than for the
     transport model
   - locally small time steps of the std::explicit scheme are less
     restrictive

   - reviewed by Bernd

Dumux-Svn-Revison: 10700
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2013-05-19 00:02:22 +02:00
Andreas Lauser
cf74236d32 fix headercheck and compile
they failed because of the new MpiHelper...
2013-03-15 15:05:11 +01:00
Andreas Lauser
f5d6db8bc8 improvements to the CMake build system
- it now can generate and install the API documentation ('make install-html')
- the information of the dune.module file is now used much more extensively
- presence of the valgrind headers is tested
- tests which cannot be run for a configuration will now appear as
  'skipped' in CDash
- adding tests does not require modifying the toplevel CMakeList.txt anymore
- introduction of the 'EwomsAddTest' cmake macro which removes quite a bit of the
  copy-and-paste from the CMakeLists.txt.
- various small loose ends have been fixed
2013-01-27 00:07:12 +01:00
Andreas Lauser
47d4e8dec8 janitorial: update copyright notices in files, remove unused typedefs and enums 2012-12-26 23:35:17 +01:00
Andreas Lauser
7d497e9fc9 janitorial work: include appropriate headers if a class was used 2012-12-23 20:22:52 +01:00
Andreas Lauser
7391faec45 move all grid creators in ewoms/io
and adapt all code to the new location. this reflects commit r9916 of
the dumux trunk.
2012-12-21 15:13:29 +01:00
Andreas Lauser
5acce6b68e restructure the directory structure of the implicit models
this is somewhat similar to what is currently done in the 'implicit'
branch of dumux, but it takes things further:

- ewoms/boxmodels/common -> ewoms/disc/vcfv
  (vcfv == vertex centered finite volumes)
- ewoms/boxmodels/vtk -> ewoms/vtk
  (possibly this will move to ewoms/io/vtk, TBD)
- ewoms/boxmodels -> ewoms/models
- test/boxmodels -> test/implicit
- the files for the common VCFV code have been renamed from "box*" to
  "vcfv\1" and the classes they contain have been renamed accordingly.

The rationale is to reflect the fact that multiple discretizations may
be chosen for any physical model. (Once these discretizations are
implemented, obviously.) All tests still compile for the autotools and
cmake build systems
2012-11-28 16:04:43 +01:00
Andreas Lauser
a299e29f02 non-recursive automake: add shortcut targets
instead of typing 'make test/common/propertysystem/test_propertysystem'
in the toplevel build directory, one can now just type
'make test_propertysystem'
2012-11-21 23:28:15 +01:00
Andreas Lauser
896f0ed23d make the autotools build system non-recusive
this allows much better build time parallelism.
2012-11-19 15:25:01 +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
834b79a8dd consistently use \copydoc $CLASSNAME to document files 2012-11-02 15:28:08 +01:00
Andreas Lauser
510fa48526 handbook: language improvements 2012-11-01 16:43:15 +01:00
Andreas Lauser
71c758a505 remove all trailing white space and replace all tabs by four spaces 2012-10-28 21:46:37 +01:00
Andreas Lauser
0d5099da19 fix another bunch of tests 2012-10-22 17:19:04 +02:00
Andreas Lauser
95ae6949d8 fix the CMake build
also, fix and simplify the CTest system
2012-10-19 19:39:53 +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
eaf7d9cea5 remove the *reference.vtu and *.input from EXTRA_DIST
these are non-existant in eWoms anyways.
2012-10-16 20:38:00 +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
Andreas Lauser
421650fef1 update copyright notices
in addition to last time, don't add authors that are responsible than
5 lines in a file. This mainly makes a difference for very short files
like the .cc files...
2012-09-26 15:55:36 +02:00
Andreas Lauser
1436f8cbc5 start(): remove the callback to a custom usage function
since all parameters are now printed if something goes wrong the all
custom usage functions in the repository were worse than the default
one...
2012-09-25 14:21:38 +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
Andreas Lauser
5371f08ac1 remove all remaining parameter files
after commit 345b78c they are not necessary anymore. deleting them was
just forgotten...
2012-09-24 19:52:27 +02:00
Andreas Lauser
bb09d3438a documentation: bring the method documentation of the box problems up to speed
finally, the documentation builds without any warnings from
doxygen. This does not mean that the documentation is correct, though:
Quite a bit of prose is still required for the model and problem
descriptions...
2012-09-24 17:45:25 +02:00
Andreas Lauser
345b78c723 parameter system: major overhaul
"runtime" parameters are gone now, as are groups. both where flawed
concepts: parameters can be overwritten at runtime by definition, and
a parameter that has no compile-time fallback just degrades
performance and is a hassle to deal with because it has to be
specified in a parameter file. The other killed feature, parameter
groups, just made it harder to figure out what the correct command
line argument was to change the parameter (was it
--linear.solver-tolerance, --linear-solver.tolerance or
--linear-solver-tolerance?) and did not provide much value otherwise.

as a consequence all parameters now have compile-time defaults which
allows us to remove the auto-loading of a parameter file at
startup. (These files became quite obnoxious in eWoms when problems
declared their independence from models.)

Finally all parameters must now be registered before they can be used
which allows to properly include them in the usage message.
2012-09-24 17:45:16 +02:00
Andreas Lauser
cb5b5d4761 one more update to the copyright holders
this time we ignore the commits 024955b5, f34d3482, 292c0084,
153374e8, 54c9450f, 6bc12abc, ee0eb46b, a1f3edc6, 5858986f and
0c4b9162 because these are huge commits that either dealt with white
space clean ups or just moved some files around. Also for the total
lines in a source file we only account for the non-ignored lines.
2012-09-19 15:46:53 +02:00
Andreas Lauser
b44f8a236b correct copyright headers
This time hopfully for good. There were a few bugs in the script to
update them, and the metric was slightly chanted: Now, only authors
that contributed more than 5% of the lines of a file are listed. We
now also properly ignore the copyright headers and the changes made in
commit 024955b5 as the latter just moved a lot of files around.
2012-09-19 14:57:08 +02:00
Benjamin Faigle
41c74beb04 corrected minor inconsistency of decoupled tutorial with its docu (output interval too small). reviewed by Philipp
Dumux-Svn-Revison: 9072
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-09-11 16:59:19 +02:00
Andreas Lauser
c3e0f4f492 update copyright notices, this time with the author date instead of the commit date
the commit date is significantly off for (ancient) commits before the dumux SVN
repository was split into -devel and -stable.
2012-08-31 14:41:47 +02:00
Andreas Lauser
d987ac7fdf replace Javadoc notation by c++-style doxygen commands
this basically means to replace '@' by '\' e.g. @brief becomes \brief
2012-08-29 11:26:29 +02:00
Andreas Lauser
79789f6ca0 update authors in the individual files
this time, we don't follow renames as this leads to too much jitter.
2012-08-24 17:32:58 +02:00
Andreas Lauser
5e101756a6 update copyright holders in individual files according to the git history
while the git history might be not entirely accurate, it is certainly
much better what is currently there. the authors are sorted by the
number of lines changed in the file.
2012-08-23 13:26:23 +02:00
Andreas Lauser
9e3563f799 remove the affiliations of the copyright holders
these will be documented separately in the toplevel file "COPYING"
2012-08-23 12:36:47 +02:00
Markus Wolff
9c51221df8 more consistent naming of components
- the prefix "simple" should only be used if a more complex version of
     the same component is available
   - deprecated Oil and SimpleDNAPL

   approved by coffee break

Dumux-Svn-Revison: 8943
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-08-22 13:35:01 +02:00
Andreas Lauser
f24608011b make end time of the coupled tutorial match the ones of the decoupled one
also increase the initial time step size to 1000 seconds since 10
seconds is way too small
2012-08-19 23:28:35 +02:00
Andreas Lauser
2416905f45 rename GridSize -> DomainSize, Grid\.?Cells -> Cells
this hopefully reduces confusion about what which parameter means. the
Domain* parameters specify the physical size of the simulated domain,
the Cells* specify how many cells the grid has into the direction of
each axis.
2012-07-12 21:27:42 +02:00
Andreas Lauser
a8c039bb8b remove unused typedefs and enums 2012-07-12 21:25:24 +02:00
Andreas Lauser
4a0aaecead replace the 1p and 2p(ni) box models by the immiscible(ni) model
the immiscible(ni) model is a model that is independent on the number
of phases and assumes immiscibility. this change is along the lines of
the previous commit for the compositional primary variable switching
model.
2012-07-12 21:25:23 +02:00
Andreas Lauser
e52f2d72f8 rename parameters TEnd and DtInitial
to make them self-descriptive and consistent with the other parameters
and properties "TEnd" is renamed to "EndTime" and "DtInitial" to
"InitialTimeStepSize".
2012-07-12 21:25:22 +02:00
Andreas Lauser
88636f077b implement the remaining Dumux naming conventions for the non-decoupled models
Tensor -> DimMatrix
refElem -> refElement
gv -> gridView
remove "AtIP" suffix
*Index -> *Idx for variables
remove ${MODEL_NAME}Index property
consistent argument names for compute(Storage|Flux|Source) in the local residuals

also remove the "MassUpwindWeight" and "UpwindWeight" properties as
they were not really useful.
2012-07-12 21:25:18 +02:00
Andreas Lauser
f1b3a3d3e6 tutorial: fix Makefile.am 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
Markus Wolff
ed2bf12c5f changed naming in decoupled tutorial
Cherry picked from Dumux SVN trunk (revision 8135)
2012-07-12 21:25:16 +02:00
Andreas Lauser
20875b5a6c tutorial_coupled: impose boundary conditions weakly 2012-07-12 21:25:15 +02:00
Andreas Lauser
7b3c8f18bb fix includes
most includes are now sorted by abstraction levels, with the most
abstract header first. also some system headers like <string> are now
explicitly included in every file where some of their classes are
used.
2012-07-12 21:25:12 +02:00
Andreas Lauser
7df261d46a fix -pedantic warnings, make the 'generalproblem' decoupled only
the last point is necessarry because the box models are pretty much
decoupled from trunk by now...
2012-07-12 21:25:08 +02:00
Andreas Lauser
3882013f1c remove unnecessary typedefs and enums 2012-07-12 21:25:08 +02:00
Andreas Lauser
d7db90476e box models: fold the spatial parameters directly into the problems 2012-07-12 21:25:06 +02:00
Andreas Lauser
591334ac82 box models: introduce BaseProblem property
that's the base class from which the actual problems are derived from
2012-07-12 21:25:06 +02:00
Andreas Lauser
9131de9074 fix various hiccups in the non-test problems after the recebt switches
the switches are the introduction of "smart primary variables", rate
vectors, and changing the capillary pressure API for the multi-phase
models to the one previously used by the MpNc model.
2012-07-12 21:25:06 +02:00
Andreas Lauser
f4f7190c72 change the 2p(ni) and 2p2c(ni) models to the generic capillary pressure laws
also change the 2p model to "smart primary variables" and rate vectors and
make the 2p and 2p2c test problems model agnostic
2012-07-12 21:25:06 +02:00
Andreas Lauser
57e9f74f3a consistently make the time index available
- this renames historyIdx to timeIdx (I think it expresses what it is meant for better)
- rename localIdx to "spaceIdx" in the problems/spatial parameters
- add a "timeIdx" argument to the problem's methods
2012-07-12 21:25:06 +02:00
Andreas Lauser
2591f9cca0 tests, tutorials, lecture problems: make them all compile 2012-07-12 21:25:05 +02:00
Andreas Lauser
dc920d9030 Improve the startup and parameter routines. 2012-07-12 21:25:04 +02:00
Christoph Grueninger
fdcd099b40 Provide *.input in tarball. 2012-07-12 21:25:02 +02:00
Andreas Lauser
4f3eaf0101 parameter files: partially fix formating
as requested by the PFP
2012-07-12 21:25:01 +02:00
Klaus Mosthaf
e8323070d0 corrections in the coupled tutorial, spell check & beautification 2012-07-12 21:25:01 +02:00
Klaus Mosthaf
8ad532feba Fixed some typos and linebreaks (for the handbook) 2012-07-12 21:25:01 +02:00
Benjamin Faigle
e2953d8eca correct spelling mistakes and other minor issues in tutorial introduces breaks to get all documentation in the code on a page in the handbook. 2012-07-12 21:25:00 +02:00
Markus Wolff
2578c26c5a Changed decoupled tutorial to use the start() routine
- we decided to keep the tutorials similar and to change them to
     start from a parameter file
2012-07-12 21:25:00 +02:00
Philipp Nuske
70fb80746e - added a tiny exercise to the coupled tutorial: change from cubes to simplex 2012-07-12 21:24:55 +02:00
Andreas Lauser
f5a9cf1a83 rename files for structured grid creators to make them consistent with the classes which they contain
structuredcubegridcreator.hh -> cubegridcreator.hh
structuredsimplexgridcreator.hh -> simplexgridcreator.hh

also document them properly.
2012-07-12 21:24:54 +02:00
Andreas Lauser
25aba6a3f2 update the tutorial for the coupled models 2012-07-12 21:24:53 +02:00
Bernd Flemisch
fc04520ad2 tutorial: fix -pedantic error 2012-07-12 21:24:47 +02:00
Andreas Lauser
4706fcf898 new institute name in remaining files 2012-07-12 21:24:43 +02:00
Andreas Lauser
35242a073e fix copyright notices
- new institute name
- add missing modelines
- reformat the entry for leopold stadler in air.hh
2012-07-12 21:24:43 +02:00
Bernd Flemisch
778d80aa12 remove error-causing add_dependencies 2012-07-12 21:24:40 +02:00
Markus Wolff
7ca28bcd97 made decoupled tutorial run again after changes in decoupled models 2012-07-12 21:24:39 +02:00
Andreas Lauser
5863d6306c remove all unused typedefs
since this was done in a semi-automatic way compilation for stuff not
used by the non-decoupled tests may be non-functional. I spared the
decoupled stuff because it does not compile ATM so I did not have a
way verify that it still works...
2012-07-12 21:24:35 +02:00
Andreas Lauser
9b653a7051 properties: remove all superfluous PTAG() invocations 2012-07-12 21:24:33 +02:00
Andreas Lauser
a47f8e2aec boxmodels: make them compile with -pedantic
tested on GCC 4.3 and GCC 4.6. Due to an incompatibility between those
two compilers (GCC 4.3 expects that there's no semicolon behind
static_assert(), GCC 4.6 requires one), it only compiles on GCC 4.6.
2012-07-12 21:24:32 +02:00
Bernd Flemisch
89ea64ab96 remove warning-causing commas 2012-07-12 21:24:31 +02:00
Bernd Flemisch
c0f8a64960 remove warning-causing semicolons 2012-07-12 21:24:31 +02:00
Bernd Flemisch
1dbd4b606a decoupled 2p: fix compilation of tutorial and generalproblem, keep the property TwoPIndices for compatibility with box models, comment declaration of some unused variables 2012-07-12 21:24:31 +02:00
Andreas Lauser
358449a1bd eliminate all dependencies on boost
mainly to get rid of AX_BOOST_BASE and to reduce the number of
dependencies.
2012-07-12 21:24:28 +02:00
Bernd Flemisch
9924b8b49e changed to NonwettingPhase, since renaming has not been decided 2012-07-12 21:24:27 +02:00
Andreas Lauser
e507529019 Added adapter to maintain usage of FluidSystem<TypeTag> 2012-07-12 21:24:26 +02:00
Andreas Lauser
d9bd5a1b03 insert emacs and vi modelines to make indentation more consistent 2012-07-12 21:24:25 +02:00
Andreas Lauser
9f7d1d109b re-applied fluid framework changes to the newfluidframework branch 2012-07-12 21:24:21 +02:00
Bernd Flemisch
89ff5ad8fc Reverting previous commits and going back to revision 6808. There is no need to rush things. We agreed on first having the meeting and then porting the change to the non-MpNc-models. Moreover, the change has not been carried out according to what has been discussed at the meeting. E.g. there was no completeState functionality of the models, and the simple models also introduced parameter caches, although it was thought to not necessarily having to do so. 2012-07-12 21:24:20 +02:00
Andreas Lauser
710ee0ae4e NonwettingPhase -> NonWettingPhase
also call fluidState_.pressure() instead of
fluidState_.phasePressure() in the TwoPVolumeVariables.
2012-07-12 21:24:20 +02:00
Bernd Flemisch
b7aab50731 Worked further on the Doxygen modules. The structure seems quite ok now, and the classes seem to be associated with the correct groups.
Also improved documentation by getting rid of more than 250 Doxygen
warnings.
2012-07-12 21:24:19 +02:00
Benjamin Faigle
72832a8b24 changes in restart behaviour: - restart mechanism is now called from init(..) method in time manager for all models via problem().restart(...); - hence, calls to problem or models in application files and in the default start procedure are deleted (included in timeManager) - timeManager().init(...) now has a real restart bool defining if a restart was called by the user. Bool is true if restart is desired. - Decoupled models: to enable restart, the writer is only called with the access function to avoid segmentation fault. - Adapt tutorial to the change 2012-07-12 21:24:18 +02:00
Andreas Lauser
51b13ab8f3 lecture/msm: make the problems using box models compile for Scalar != double, cleanups 2012-07-12 21:24:15 +02:00
Andreas Lauser
eb1c79f785 rename LS* to LinearSolver*
also move these "LinearSolver" parameter group
2012-07-12 21:24:14 +02:00
Markus Wolff
7b28dd8742 adapted tutorial problems to changes in models 2012-07-12 21:24:10 +02:00
Bernd Flemisch
1974359bbe fixed compiler errors due to changed temperature signature 2012-07-12 21:24:10 +02:00
Markus Wolff
7d74f7132c adapted decoupled tutorial to interface changes of decoupled 2p model 2012-07-12 21:24:09 +02:00
Benjamin Faigle
b1fd80d743 Time manager is instantiated in application file Problems instantiated with Timemanager TimeManager now runs the problem
update of handbook according to that.
2012-07-12 21:24:09 +02:00
Andreas Lauser
e70c554ea3 remove trailing white space 2012-07-12 21:24:07 +02:00
Andreas Lauser
a48ab2bf8e VTK: some infrastructure work to support writing of vector fields
- the constructor of VtkMultiWriter now expects a grid view as first
  argument. unfortunately the old API cannot be kept around with this
  change.
- as a follow up beginWrite() does not need the grid view as an
  argument anymore
- if the grid has been changed during two time steps, the new method
  gridChanged() must be called before beginWrite() is called
2012-07-12 21:24:06 +02:00
Andreas Lauser
ced58e80cb remove all SVN $Id$ tags as decided on last week's dumux meeting 2012-07-12 21:23:23 +02:00
Andreas Lauser
150531f932 fix the GCC 4.6 stuff in a more backward compatible way and fix a lot of "variable set but not used" warnings on GCC 4.6
if the compiler doesn't know about constexpr
2012-07-12 21:23:17 +02:00
Andreas Lauser
2afe339845 fix the coupled tutorial after holger's alpha->lambda renaming 2012-07-12 21:23:13 +02:00
Holger Class
affe5efc6f setAlpha is now setLambda (Brooks-Corey) 2012-07-12 21:23:12 +02:00
Klaus Mosthaf
bc9c545076 added include lines for the components in tutorialproblem_coupled and tutorialproblem_decoupled 2012-07-12 21:23:09 +02:00
Bernd Flemisch
23f7c702c9 accidently committed wrong files 2012-07-12 21:23:09 +02:00
Bernd Flemisch
86c0f2267f updated INSTALL text file instructions 2012-07-12 21:23:08 +02:00
Markus Wolff
fae10bf07d corrected macros in tutorial decoupled 2012-07-12 21:23:08 +02:00
Benjamin Faigle
18045051e3 reformat to enshure everything fits on the printouts of the handbook 2012-07-12 21:23:08 +02:00
Benjamin Faigle
36806bbc38 added more information to tutorial to ease it for newcomers 2012-07-12 21:23:06 +02:00
Bernd Flemisch
e0eca453c3 adjusted Makefile.ams such that tarball is built 2012-07-12 21:23:00 +02:00
Bernd Flemisch
35c147dcd3 adjusted Makefile.ams such that tarball is built 2012-07-12 21:23:00 +02:00
Andreas Lauser
1936cae767 change copyright notices to the one suggested by the FSF 2012-07-12 21:22:59 +02:00
Benjamin Faigle
0d7f8adc41 adapted tutorial decoupled to unique neumann-BC definition 2012-07-12 21:22:58 +02:00
Philipp Nuske
39a8eb3823 correcting typos, adding minor comments, streamlining nomenclature in tutorial_coupled 2012-07-12 21:22:55 +02:00
Andreas Lauser
6972419eb5 extend/correct a few comments, remove artifacts of renamed concepts
(phaseState -> fluidState, material context -> material parameters, etc)
2012-07-12 21:22:54 +02:00
Bernd Flemisch
9f39e767af adapted tutorial such that we have advection-dominated flow again 2012-07-12 21:22:53 +02:00
Bernd Flemisch
4dcf68f7a5 adapted tutorial such that we have advection-dominated flow again 2012-07-12 21:22:53 +02:00
Andreas Lauser
15116fb9f8 decoupled tutorial: streamline the code a bit
we do not need to set any default arguments for the type tag in the
problem definition. the type tag which is actually used is chosen in
the main function.
2012-07-12 21:22:53 +02:00
Benjamin Faigle
be1a31aa25 fixed some minor bugs in tutorial 2012-07-12 21:22:53 +02:00
Bernd Flemisch
5d3a12e7d9 enhanced documentation 2012-07-12 21:22:51 +02:00
Melanie Darcis
fe39d8f017 (empty message) 2012-07-12 21:22:50 +02:00
Melanie Darcis
86b00e2dbb doc 2012-07-12 21:22:50 +02:00
Melanie Darcis
db02fe70ab adapted to handbook 2012-07-12 21:22:50 +02:00
Melanie Darcis
205c0ffa0c doc 2012-07-12 21:22:50 +02:00
Andreas Lauser
ecc16cfd72 handbook: make the undefined references go away, finalize on the design patterns and property system chapters 2012-07-12 21:22:49 +02:00
Andreas Lauser
02ddfea028 doc: (almost) finish the design patterns chapter in the handbook
also remove the ReferenceElements property because changing to the old
DUNE entity numbering would not work anyways...
2012-07-12 21:22:48 +02:00
Melanie Darcis
7da6ffe1ec (empty message) 2012-07-12 21:22:43 +02:00
Benjamin Faigle
20d863f37c fixed wrong determination of boundary values in tutorial decoupled 2012-07-12 21:22:43 +02:00
Klaus Mosthaf
0cfbf91760 further work on the tutorial_coupled 2012-07-12 21:22:42 +02:00
Klaus Mosthaf
38159bf1f1 further work on the tutorial_coupled exchanged fluidsystem and fluid to twophase water-oil 2012-07-12 21:22:42 +02:00
Klaus Mosthaf
f59541f834 started to refresh tutorial_coupled 2012-07-12 21:22:42 +02:00
Andreas Lauser
b91f7ea58d box: fix for dirichlet boundaries
as described in my e-mail from wednesday. Everything in the stable
repository compiles.

also, some compile fixes for the Mp-Nc model where made to some fluid
systems and the 1p2c index structure got an offset template argument
like the other models.
2012-07-12 21:22:42 +02:00
Melanie Darcis
7e5c2d8846 doc 2012-07-12 21:22:41 +02:00
Benjamin Faigle
8f6a328e1f further improved documentation for tutorial decoupled 2012-07-12 21:22:39 +02:00
Benjamin Faigle
cff0aaf797 improved documentation for tutorial decoupled 2012-07-12 21:22:38 +02:00
Benjamin Faigle
7d51fbf9ad tutorial_decoupled compiles and runs again, added docu for main file 2012-07-12 21:22:38 +02:00
Bernd Flemisch
a30ea535c2 adapted svn history of tutorial 2012-07-12 21:22:34 +02:00
Andreas Lauser
3d2292da0f change names according to the meeting on monday 2012-07-12 21:22:28 +02:00
Andreas Lauser
5aae649eae tutorials: convert to new structure 2012-07-12 21:22:28 +02:00
Bernd Flemisch
60eac873d3 switched from bin_PROGRAMS to check_PROGRAMS 2012-07-12 21:22:27 +02:00
Andreas Lauser
73d9972d52 sync with splitting point 2012-07-12 21:21:06 +02:00
Bernd Flemisch
024955b520 continued restructuring. 2012-07-11 23:29:58 +02:00
Bernd Flemisch
627ed018e4 included liquidphase.hh in tutorialproblem_decoupled
include added

   - liquidphase.hh now has to be included in 2p problems -> file in
     new_material/fluidsystems splitted!
2012-07-11 23:29:17 +02:00
Andreas Lauser
54c9450f6e sanitize white space
replace eacg tab by 4 spaces and remove the spaces at line ends. we
should do this more often!
2012-07-11 23:29:17 +02:00
Bernd Flemisch
f669136297 adapted decoupled tutorial to the new material system 2012-07-11 23:28:33 +02:00
Benjamin Faigle
b9130c14b4 cleaned up coupled tutorial after minicourse and updated labels for the handbook. 2012-07-11 23:28:30 +02:00
Benjamin Faigle
7c8e7f6442 solution to ex1 of miniworkshop new MaterialLaw 2012-07-11 23:28:30 +02:00
Benjamin Faigle
f4f74e26cf final versions of miniworkshop new Materiallaws. 2012-07-11 23:28:30 +02:00
Benjamin Faigle
11d61d54d6 starting versions of miniworkshop new Materiallaws. not compileable with anything!! 2012-07-11 23:28:30 +02:00
Benjamin Faigle
d06880da8c solution to ex2 of miniworkshop dumux 2012-07-11 23:28:30 +02:00
Benjamin Faigle
346b75c02c tutorialspatialparameters solution for the mini-workshop 2012-07-11 23:28:30 +02:00
Benjamin Faigle
d4da92f877 miniworkshop-solution 2012-07-11 23:28:30 +02:00
Benjamin Faigle
acc1d8557c coupled tutorial updated to new material/soil system 2012-07-11 23:28:30 +02:00
Andreas Lauser
84efa910ae change namespace from Dune to Dumux and fix a few compilation issues
I tried to catch most stuff, but occationally Dune:: prefix is
required for stuff which is provided by DUNE and sometimes the Dune::
prefix needs to be changed to Dumux:: for stuff which is part of DuMuX
2012-07-11 23:28:29 +02:00
Markus Wolff
4b43eb4d1b tutorial decoupled repaired 2012-07-11 23:28:21 +02:00
Bernd Flemisch
b5280738c5 New bc interface. 2012-07-11 23:28:18 +02:00
Bernd Flemisch
ae92a66a12 IntersectionIterator->Intersection 2012-07-11 23:28:17 +02:00
Bernd Flemisch
2f1b1a8892 Adapted to changed TimeLoop template params. 2012-07-11 23:28:17 +02:00
Markus Wolff
23adf4bdc8 test applications adapted to new decoupled 2p model 2012-07-11 23:27:59 +02:00
Bernd Flemisch
3cca2f082c 1st part of pdelab interface finished 2012-07-11 23:27:59 +02:00
Andreas Lauser
351c18602a merge the changes directly done in the stable branch back into trunk 2012-07-11 23:27:59 +02:00
Markus Wolff
330f89d037 tutorial decoupled fixed for releas 2012-07-11 23:27:55 +02:00
Bernd Flemisch
e3454d9e0f set naming conventions in tutorial_decoupled.cc and tutorialsoil_coupled.hh 2012-07-11 23:27:54 +02:00
Bernd Flemisch
f59be03392 added author informations 2012-07-11 23:27:52 +02:00
Bernd Flemisch
c498d09a8c svn Id property set for every source code file 2012-07-11 23:27:52 +02:00
Andreas Lauser
65f3b208cf add copyright dummy preambles to every file in the release which does not have one. add Id tag to every source file in the release 2012-07-11 23:27:51 +02:00
Andreas Lauser
cdc88582c3 adapt the tutorial for the fully coupled models to the new ways to do things 2012-07-11 23:27:51 +02:00
Andreas Lauser
30676ede27 simplify test problems for the 2p and 2p2c models just like the coupled tutorial 2012-07-11 23:27:49 +02:00
Andreas Lauser
74b2d5bd23 make the coupled tutorial compile again, clean up the interface between the problem and the model 2012-07-11 23:27:49 +02:00