dumux merge requestshttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests2018-03-01T09:18:03Zhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/823Cleanup/use newtonsolver in ff2018-03-01T09:18:03ZKilian WeishauptCleanup/use newtonsolver in ffsee #451.see #451.3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/796[assembly][newton] reimplement partial reassembly2018-02-20T10:33:17ZBernd Flemisch[assembly][newton] reimplement partial reassemblyTransfer the partial reassembly functionality to the current
structure.
On the topmost level, the `NewtonSolver` uses the functionality
in the methods `solve`, `newtonUpdate` and `assembleLinearSystem`
by calls to new methods `asse...Transfer the partial reassembly functionality to the current
structure.
On the topmost level, the `NewtonSolver` uses the functionality
in the methods `solve`, `newtonUpdate` and `assembleLinearSystem`
by calls to new methods `assemblerResetColors_`,
`assemblerNewtonUpdate_` and `assembleLinearSystem_`. In these
new methods, new member functions of the `FVAssembler` are called:
`resetColors`, `updateDistanceFromLastLinearization` and
`computeColors` as well as `assembleJacobianAndResidual` with a
second argument. Use SFINAE and `enable_if` such that not all
assemblers are required to implement the extended interface.
The `FVAssembler` forwards the work to a new class
`PartialReassembler`. This class also holds the required data.
After each Newton iteration, the `PartialReassembler` colors the
geometrical degrees of freedom depending on the shift of the
primary variables from the last time that the derivatives have been
calculated. For green-colored entities, the entries in the Jacobian
are kept, while for the other entities, they are recalculated.
Use an enum class `EntityColor` for the coloring, enable read
access to the color of an entity via the Assembler.
Implement the functionality for Box and TPFA. The correspnding
local assemblers have to be adapted such that no calculations are
performed for green elements.
Still missing (while also not present in Dumux 2.x):
- [x] Parametrize the thresholds in the `NewtonSolver`
- [x] Throw if called with mpfa
Fixes #379.3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/773[impes] Remove grid singleton from problem2018-02-12T10:01:21ZKilian Weishaupt[impes] Remove grid singleton from problemsee #431. Prepares sequential model (using old style main files) for times without a grid singleton.
We pass a non-const reference to the grid to the problem. Now the `Grid` property is used less (it can be anywhere extracted from the G...see #431. Prepares sequential model (using old style main files) for times without a grid singleton.
We pass a non-const reference to the grid to the problem. Now the `Grid` property is used less (it can be anywhere extracted from the GridView type) and the Grid singleton is only accessed once in the main file, so it can be easily replaced.3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/771Rename Problem-TypeTags to end in TypeTag in folders test and tutorial.2018-02-07T17:38:32ZMelanie LippRename Problem-TypeTags to end in TypeTag in folders test and tutorial.closes #413 closes #413 3.0Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/754Feature/subgrid2018-01-25T15:45:47ZKilian WeishauptFeature/subgrid3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/498Correct computation of molar densities (fixes small mass balances errors)2018-07-04T11:41:20ZSimon EmmertCorrect computation of molar densities (fixes small mass balances errors)Closes #450
Depends !836
-name change is subject to further discussion (new Issue: #509)
* [x] Introduce liquidMolarDensity and gasMolarDensity for components
* [x] Use more meaningful functions in computation of the molar densi...Closes #450
Depends !836
-name change is subject to further discussion (new Issue: #509)
* [x] Introduce liquidMolarDensity and gasMolarDensity for components
* [x] Use more meaningful functions in computation of the molar density
* [x] in tutorial include liquidmolardensity in mycompressible component
* [x] introduce molardensity in new liquid and gas component
in component LNAPL include a liquidmolardensity -> opened Issue #464
**To summarize the changes:**
* introduced ``liquidMolarDensity()`` respectively ``gasMolarDensity()`` in all fluid components
* liquidMolarDensity as ``liquidDensity(temperature, pressure)/molarMass();``
* gasMolarDensity as ``IdealGas::molarDensity(temperature, pressure); ``
* exceptions are:
* brine: salinity is included in the liquidMolarDensity
* co2: is not considered an ideal gas, therefore ``gasDensity(temperature, pressure)/molarMass();`` is used
* h2o: gasMolarDensity uses IAPWS by ``gasDensity(temperature, pressure)/molarMass();``
* mesitylene: liquidMolarDensity was already implemented with a law from Reid et al. 1987 (see Doxygen)
* xylene: liquidMolarDensity was already implemented with a law from Reid et al. 1987 (see Doxygen)
* introduced ``molarDensity()`` in all fluidsystems
* for wPhaseIdx: ``MainComponent::liquidMolarDensity(temperature, pressure)``
* for a gas nPhaseIdx and !useComplexRelations: ``IdealGas::molarDensity(temperature, pressure)``
* for a gas nPhaseIdx and useComplexRelations: ``Component1::gasMolarDensity(temperature, pressure) + Component2::gasMolarDensity(temperature, pressure) + ... ``
* for a NAPL nPhaseIdx: ``NAPL::liquidMolarDensity(temperature, pressure);``
* exceptions are:
* co2: ``density(fluidState, phaseIdx)/fluidState.averageMolarMass(phaseIdx)``
* spe5: uses Peng-Robinson molarVolume calculation as before
* all general fluidstates have ``setMolarDensity()``, and the volVars set the densities in the fluidstate and get them directly from the fluidstate instead of calculating ``density()/averageMolarMass()``
* exceptions:
* tracer: uses ``fluidDensity_/fluidMolarMass_;``
3.0Dennis GläserDennis Gläserhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1470Merge branch 'cleanup/poroelastic' into 'master'2018-12-21T12:35:26ZTimo Kochtimokoch@math.uio.noMerge branch 'cleanup/poroelastic' into 'master'Cleanup/poroelastic
See merge request dumux-repositories/dumux!1467
(cherry picked from commit bdeb14ae0a85d01ef7ed39cda2cb9908f86933f4)
f0437c5d [poroelastic][localres] remove unused alias
d057f66e [poroelastic][cm] use correct domai...Cleanup/poroelastic
See merge request dumux-repositories/dumux!1467
(cherry picked from commit bdeb14ae0a85d01ef7ed39cda2cb9908f86933f4)
f0437c5d [poroelastic][localres] remove unused alias
d057f66e [poroelastic][cm] use correct domain prefix for function argument
73d79d28 [test][poroelastic] use lower newton tolerance
163a90fd [test][poroelastic] use higher zero threshold
a76bbda1 [test][el2p] initialize fluid system to speed up test3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1469Merge branch 'cleanup/finalize-changelog' into 'master'2018-12-21T12:32:44ZTimo Kochtimokoch@math.uio.noMerge branch 'cleanup/finalize-changelog' into 'master'finalize CHANGELOG.md for 3.0
See merge request dumux-repositories/dumux!1468
(cherry picked from commit a7adaae565aa36bc4fbca5032235a7e99098dcbb)
407db709 finalize CHANGELOG.md for 3.0finalize CHANGELOG.md for 3.0
See merge request dumux-repositories/dumux!1468
(cherry picked from commit a7adaae565aa36bc4fbca5032235a7e99098dcbb)
407db709 finalize CHANGELOG.md for 3.03.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1468finalize CHANGELOG.md for 3.02018-12-21T12:32:14ZBernd Flemischfinalize CHANGELOG.md for 3.03.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1467Cleanup/poroelastic2018-12-21T12:35:01ZDennis GläserCleanup/poroelasticThis hopefully increases the stability of the el1p and el2p tests.This hopefully increases the stability of the el1p and el2p tests.3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1466Merge branch 'feature/update-readme-badge' into 'master'2018-12-21T11:45:31ZTimo Kochtimokoch@math.uio.noMerge branch 'feature/update-readme-badge' into 'master'[doc] Update build badge to new url
See merge request dumux-repositories/dumux!1465
(cherry picked from commit 627d394a9915dcfbf472e15eea7f64297dc3d45b)
9271c26c [doc] Update build badge to new url[doc] Update build badge to new url
See merge request dumux-repositories/dumux!1465
(cherry picked from commit 627d394a9915dcfbf472e15eea7f64297dc3d45b)
9271c26c [doc] Update build badge to new url3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1465[doc] Update build badge to new url2018-12-21T11:45:00ZTimo Kochtimokoch@math.uio.no[doc] Update build badge to new url3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1464Merge branch 'cleanup/replace-leftover-macros' into 'master'2018-12-21T11:41:08ZTimo Kochtimokoch@math.uio.noMerge branch 'cleanup/replace-leftover-macros' into 'master'[cleanup] Replace property macros
See merge request dumux-repositories/dumux!1463
(cherry picked from commit c7449b25e5deae9071b63da9732e3a4aba205a3a)
79f0a47a [cleanup] Replace property macros[cleanup] Replace property macros
See merge request dumux-repositories/dumux!1463
(cherry picked from commit c7449b25e5deae9071b63da9732e3a4aba205a3a)
79f0a47a [cleanup] Replace property macros3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1463[cleanup] Replace property macros2018-12-21T11:40:29ZTimo Kochtimokoch@math.uio.no[cleanup] Replace property macros3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1462Merge branch 'feature/update-contributers' into 'master'2018-12-20T17:56:22ZTimo Kochtimokoch@math.uio.noMerge branch 'feature/update-contributers' into 'master'[contributors] Add Kilian for 2018
See merge request dumux-repositories/dumux!1461
(cherry picked from commit 5cd0234dc71db9ed9c7962202193f04044213907)
f750c6c7 [contributors] Add Kilian for 2018[contributors] Add Kilian for 2018
See merge request dumux-repositories/dumux!1461
(cherry picked from commit 5cd0234dc71db9ed9c7962202193f04044213907)
f750c6c7 [contributors] Add Kilian for 20183.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1461[contributors] Add Kilian for 20182018-12-20T17:55:55ZTimo Kochtimokoch@math.uio.no[contributors] Add Kilian for 20183.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1460Merge branch 'feature/multidomain-with-soldep-params' into 'master'2018-12-20T16:37:20ZTimo Kochtimokoch@math.uio.noMerge branch 'feature/multidomain-with-soldep-params' into 'master'Feature/multidomain with soldep params
See merge request dumux-repositories/dumux!1399
(cherry picked from commit ac4eab782b89421b3a87996280cda11cdffbf43f)
1cc98dd2 [md][localassembler] make coupling work for sol-dependent params
fafa...Feature/multidomain with soldep params
See merge request dumux-repositories/dumux!1399
(cherry picked from commit ac4eab782b89421b3a87996280cda11cdffbf43f)
1cc98dd2 [md][localassembler] make coupling work for sol-dependent params
fafa89ee [md][cclocalassembler] make coupling work for coupling-dependent vars
ac15ef92 [md][cclocalassembler] update both local&global flux var cache
f6acfb05 [test][el2p] use constand dt and lower newton tol3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1459Merge branch 'cleanup/facet-propsystem-macros' into 'master'2018-12-20T16:17:04ZTimo Kochtimokoch@math.uio.noMerge branch 'cleanup/facet-propsystem-macros' into 'master'Cleanup/facet propsystem macros
See merge request dumux-repositories/dumux!1457
(cherry picked from commit 60d81a46a984a14740a043b07b209372ee01475f)
3e574047 [test][facet][gravity] do not use prop system macros
cf9e6d99 [test][facet][...Cleanup/facet propsystem macros
See merge request dumux-repositories/dumux!1457
(cherry picked from commit 60d81a46a984a14740a043b07b209372ee01475f)
3e574047 [test][facet][gravity] do not use prop system macros
cf9e6d99 [test][facet][gravity] fix test name
033389f9 [test][facet][linearprofile] do not use prop system macros3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1458Merge branch 'feature/cleanup-handbook' into 'master'2018-12-20T16:11:44ZTimo Kochtimokoch@math.uio.noMerge branch 'feature/cleanup-handbook' into 'master'Feature/cleanup handbook
Closes #635
See merge request dumux-repositories/dumux!1456
(cherry picked from commit 97589d56095893e4b2b29251d060344e6063c42e)
4ff969b2 [handbook] cleanup, restructure discretization
c00a1139 [handbook] ren...Feature/cleanup handbook
Closes #635
See merge request dumux-repositories/dumux!1456
(cherry picked from commit 97589d56095893e4b2b29251d060344e6063c42e)
4ff969b2 [handbook] cleanup, restructure discretization
c00a1139 [handbook] rename files
2e56a9a5 [handbook] correct quick installation and cleanup3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1457Cleanup/facet propsystem macros2018-12-20T16:16:36ZDennis GläserCleanup/facet propsystem macrosDo not use the deprecated property system macros in tests.Do not use the deprecated property system macros in tests.3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.no