dumux merge requestshttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests2021-07-28T18:15:52Zhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2681Feature/python main file2021-07-28T18:15:52ZKilian WeishauptFeature/python main fileAdds more Python bindings to the `dumux` Python module. In particular the property system, parameters (from cmd line, file, or dictionary), the assembler, problem & spatial parameters are wrapped. This allows running an entire simulation...Adds more Python bindings to the `dumux` Python module. In particular the property system, parameters (from cmd line, file, or dictionary), the assembler, problem & spatial parameters are wrapped. This allows running an entire simulation (using the dune istl solver bindings directly).
Known issues/unsolved challenges:
- Currently the only way to create problem/spatial params is by writing these classes in Python. This offers full runtime flexibility but also has a strong runtime penalty. Other methods to construct more efficient problems/spatialparams need to be investigated in the future.
- The property system mechanism may not be able to fully capture circular dependencies. For example the problem depends on the coupling manager type but the couplingmanager also needs the problem type. How do I inject that knowledge to the problem?
__TODO__
- [x] Add spatialParams similar to problem
- [x] Add proper test
- [x] Make CI work (test & lint Python)
- [x] Fix issue with Parameters (`-DBUILD_SHARED_LIBS=TRUE`, i.e. using shared libraries instead of static libraries is necessary with Python code. Linking has to be done at runtime so that the parameters singleton is correctly linked in all generated libraries. This worked on macOS which builds shared libs by default but for Linux we need to explicitly enable it, see dumux-docker-ci!11)3.5Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2637[md][box] Internal Dirichlet2021-05-22T10:17:38ZMartin Schneider[md][box] Internal Dirichlet* Set off-diagonal matrix blocks to zero if internal Dirichlet is set
* use correct problem() function in md framework* Set off-diagonal matrix blocks to zero if internal Dirichlet is set
* use correct problem() function in md framework3.5Martin SchneiderMartin Schneiderhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1822Feature/box forchheimer2021-07-23T13:53:51ZMartin SchneiderFeature/box forchheimerThe following points needs to be discussed
* [x] Code duplication for velocity calculation (same in darcyslaw and forchheimerslaw)
* [x] The upwind scheme is currently implemented in forchheimerslaw, this should be avoided by changing t...The following points needs to be discussed
* [x] Code duplication for velocity calculation (same in darcyslaw and forchheimerslaw)
* [x] The upwind scheme is currently implemented in forchheimerslaw, this should be avoided by changing the existing `upwindscheme.hh` class3.5Dennis GläserDennis Gläserhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/1781Add script to extract CO2 tables from NIST website2022-03-30T22:03:58ZMartin UtzAdd script to extract CO2 tables from NIST websiteThis MR provides a python script, which can create CO2 tables, like the one used in the CO2 test. The tables contain density and enthalpy values for a specified temperature and pressure range. The CO2 tables are created by the help of a ...This MR provides a python script, which can create CO2 tables, like the one used in the CO2 test. The tables contain density and enthalpy values for a specified temperature and pressure range. The CO2 tables are created by the help of a website (https://webbook.nist.gov/chemistry/fluid), which calculate the needed values. The query for the values is automated by the python script, which also does the formatting of the received values.
The former way to generate the CO2 table was a Fortran script, which can't be published due to copy right issues. Therefore it was decided in #690 to use the NIST website and a python script to generate the new CO2 tables. Both approaches use the formula of Span and Wagner to calculate the values and produce the same result (within a acceptable tolerance). The new approach has the advantage, that we can publish the script.3.5Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3156Merge branch 'feature/facecentered_localidxfix' into 'master'2022-06-02T11:50:20ZYue Wangyue.wang@iws.uni-stuttgart.deMerge branch 'feature/facecentered_localidxfix' into 'master'[facecentered][convexcorner] fix the local Index logic
See merge request dumux-repositories/dumux!3154
(cherry picked from commit 60653203934979eef3d84388abb0619d0355cb43)
b7c21f27 [facecentered][convexcorner] fix the local Index logic[facecentered][convexcorner] fix the local Index logic
See merge request dumux-repositories/dumux!3154
(cherry picked from commit 60653203934979eef3d84388abb0619d0355cb43)
b7c21f27 [facecentered][convexcorner] fix the local Index logic3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3151Merge branch 'fix/test-1p3c-maxwell-stefan' into 'master'2022-06-01T20:50:57ZTimo Kochtimokoch@math.uio.noMerge branch 'fix/test-1p3c-maxwell-stefan' into 'master'[test][1pnc] Improve Maxwell-Stefan test
Closes #1158
See merge request dumux-repositories/dumux!3145
(cherry picked from commit 7c0e9f09588bd31c1ad27f456d52cba83b752916)
4cbb547b [test][1pnc] Improve Maxwell-Stefan test[test][1pnc] Improve Maxwell-Stefan test
Closes #1158
See merge request dumux-repositories/dumux!3145
(cherry picked from commit 7c0e9f09588bd31c1ad27f456d52cba83b752916)
4cbb547b [test][1pnc] Improve Maxwell-Stefan test3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3150Merge branch 'bugfix/richards-viscosity-check' into 'master'2022-06-01T19:44:38ZTimo Kochtimokoch@math.uio.noMerge branch 'bugfix/richards-viscosity-check' into 'master'[richards][fluidsystems] Fix static assert in Richards and implement...
See merge request dumux-repositories/dumux!3146
(cherry picked from commit a0f0e2970cbceb8b24ae8f8f167f4fbb39dae9d4)
ab78f171 [richards][fluidsystems] Fix static ...[richards][fluidsystems] Fix static assert in Richards and implement...
See merge request dumux-repositories/dumux!3146
(cherry picked from commit a0f0e2970cbceb8b24ae8f8f167f4fbb39dae9d4)
ab78f171 [richards][fluidsystems] Fix static assert in Richards and implement...
8309c462 fixup
f52906e8 fixrp3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3149Merge branch 'cleanup/1pnc-remove-delp-from-default-output' into 'master'2022-06-01T18:33:23ZTimo Kochtimokoch@math.uio.noMerge branch 'cleanup/1pnc-remove-delp-from-default-output' into 'master'[1pnc] Remove delp from default output
See merge request dumux-repositories/dumux!3144
(cherry picked from commit 8e3e6ea6679693538e0c3b418c89de726a8f3843)
840cd078 [1pnc] Remove delp from default output[1pnc] Remove delp from default output
See merge request dumux-repositories/dumux!3144
(cherry picked from commit 8e3e6ea6679693538e0c3b418c89de726a8f3843)
840cd078 [1pnc] Remove delp from default output3.5Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3148Merge branch 'fix/pylint' into 'master'2022-06-01T17:25:01ZTimo Kochtimokoch@math.uio.noMerge branch 'fix/pylint' into 'master'[python][linter] Fix pylint warning appearing with newer version
See merge request dumux-repositories/dumux!3147
(cherry picked from commit 00f5923010e4f893d01815d0ac1243fa8736a5b1)
697569f1 [python][linter] Fix pylint warning appeari...[python][linter] Fix pylint warning appearing with newer version
See merge request dumux-repositories/dumux!3147
(cherry picked from commit 00f5923010e4f893d01815d0ac1243fa8736a5b1)
697569f1 [python][linter] Fix pylint warning appearing with newer version3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3142Merge branch 'feature/parameterlist' into 'master'2022-06-01T11:57:53ZYue Wangyue.wang@iws.uni-stuttgart.deMerge branch 'feature/parameterlist' into 'master'Feature/parameterlist
Closes #1101
See merge request dumux-repositories/dumux!3067
(cherry picked from commit 04a29b64dbc5ffb01148950fdcbccfe514078676)
61939f37 [getparam] update script for known_parameter_warnings
95e4cacd [doc] upd...Feature/parameterlist
Closes #1101
See merge request dumux-repositories/dumux!3067
(cherry picked from commit 04a29b64dbc5ffb01148950fdcbccfe514078676)
61939f37 [getparam] update script for known_parameter_warnings
95e4cacd [doc] update parameterlist known_parameter_warnings3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3141Merge branch 'fix/return-type-in-function-outsideScvfWithSameIntegrationPoint...2022-05-31T17:36:38ZTimo Kochtimokoch@math.uio.noMerge branch 'fix/return-type-in-function-outsideScvfWithSameIntegrationPoint' into 'master'[fix] conditional return type in function outsideScvfWithSameIntegrationPoint
Closes #1159
See merge request dumux-repositories/dumux!3135
(cherry picked from commit ed6128e934b2dfc2ef46adbb6a9e5eb3266799f8)
602e4818 [fix][ff][stagge...[fix] conditional return type in function outsideScvfWithSameIntegrationPoint
Closes #1159
See merge request dumux-repositories/dumux!3135
(cherry picked from commit ed6128e934b2dfc2ef46adbb6a9e5eb3266799f8)
602e4818 [fix][ff][staggered] Fix return type of outsideScvfWithSameIntegrationPoint3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3140Merge branch 'fix/velocity-output' into 'master'2022-05-31T08:51:26ZTimo Kochtimokoch@math.uio.noMerge branch 'fix/velocity-output' into 'master'Fix/velocity output
Closes #1161
See merge request dumux-repositories/dumux!3134
(cherry picked from commit 2b68068f67f33b0eca96af05c1866634f2342d84)
9d4dd3e5 [pmFlow] correct area in velocity
6c2c9fda [examples]add velocity in 1prot...Fix/velocity output
Closes #1161
See merge request dumux-repositories/dumux!3134
(cherry picked from commit 2b68068f67f33b0eca96af05c1866634f2342d84)
9d4dd3e5 [pmFlow] correct area in velocity
6c2c9fda [examples]add velocity in 1protationsymmetry3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3137Merge branch 'fix/intersecting-entities-iinfo-corner-storage' into 'master'2022-05-30T18:46:40ZYue Wangyue.wang@iws.uni-stuttgart.deMerge branch 'fix/intersecting-entities-iinfo-corner-storage' into 'master'[intersectingentities] Return const& to corner storage
See merge request dumux-repositories/dumux!3131
(cherry picked from commit 3523166b13fa73ba6d1f583c6de95266c7b7692c)
9403e4e9 [intersectingentities] Return const& to corner storage[intersectingentities] Return const& to corner storage
See merge request dumux-repositories/dumux!3131
(cherry picked from commit 3523166b13fa73ba6d1f583c6de95266c7b7692c)
9403e4e9 [intersectingentities] Return const& to corner storage3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3132Merge branch 'feature/improve-python-setup-doc' into 'master'2022-05-27T11:33:48ZTimo Kochtimokoch@math.uio.noMerge branch 'feature/improve-python-setup-doc' into 'master'[docs] Update Python setup
See merge request dumux-repositories/dumux!3128
(cherry picked from commit e73cc4cd4d6250a66e2175fe432bfd7b2bee34f5)
554d57fd [docs] Update Python setup
7d172751 [docs][python] Fix dumux version in docs[docs] Update Python setup
See merge request dumux-repositories/dumux!3128
(cherry picked from commit e73cc4cd4d6250a66e2175fe432bfd7b2bee34f5)
554d57fd [docs] Update Python setup
7d172751 [docs][python] Fix dumux version in docs3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3129Merge branch 'fix/thread-safe-lfe-cache-box' into 'master'2022-05-27T09:56:24ZTimo Kochtimokoch@math.uio.noMerge branch 'fix/thread-safe-lfe-cache-box' into 'master'[box][localfiniteelementcache] Use thread-safe version of the local finite element cache
Closes #1153
See merge request dumux-repositories/dumux!3124
(cherry picked from commit 9e4851551055a0b815a4a10fc7860d30e5a52da4)
cb1b3f97 [box]...[box][localfiniteelementcache] Use thread-safe version of the local finite element cache
Closes #1153
See merge request dumux-repositories/dumux!3124
(cherry picked from commit 9e4851551055a0b815a4a10fc7860d30e5a52da4)
cb1b3f97 [box][localfiniteelementcache] Use thread-safe version of the local finite element cache3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3122Merge branch 'fixup/vtk-output-module-param' into 'master'2022-05-25T14:52:19ZTimo Kochtimokoch@math.uio.noMerge branch 'fixup/vtk-output-module-param' into 'master'[vtkoutputmodule] Read parameters in constructor
See merge request dumux-repositories/dumux!3119
(cherry picked from commit bca5956996c25c43f7f9d8e0e2593eb440f65d7c)
3744ea5d [vtkoutputmodule] Read parameters in contructor[vtkoutputmodule] Read parameters in constructor
See merge request dumux-repositories/dumux!3119
(cherry picked from commit bca5956996c25c43f7f9d8e0e2593eb440f65d7c)
3744ea5d [vtkoutputmodule] Read parameters in contructor3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3115Merge branch 'feature/remove-warnings-deprecations' into 'master'2022-05-23T07:38:37ZTimo Kochtimokoch@math.uio.noMerge branch 'feature/remove-warnings-deprecations' into 'master'Fix some compiler warnings
See merge request dumux-repositories/dumux!3103
(cherry picked from commit 26409a96770ed63cf1bd55dc1faea936d06609c9)
688fc288 [fix] use math.hh instead of power.hh
f51406bd [fix]remove warning in constructor...Fix some compiler warnings
See merge request dumux-repositories/dumux!3103
(cherry picked from commit 26409a96770ed63cf1bd55dc1faea936d06609c9)
688fc288 [fix] use math.hh instead of power.hh
f51406bd [fix]remove warning in constructor
017e443b [el2p] reuse CO2 table3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3114Merge branch 'doc/update-examples' into 'master'2022-05-13T08:58:55ZYue Wangyue.wang@iws.uni-stuttgart.deMerge branch 'doc/update-examples' into 'master'[examples/liddriven] update doc
See merge request dumux-repositories/dumux!3112
(cherry picked from commit e8280a715bcbafce4872842e7fb43c5f5237f6c1)
23e804d3 [examples/liddriven] update doc[examples/liddriven] update doc
See merge request dumux-repositories/dumux!3112
(cherry picked from commit e8280a715bcbafce4872842e7fb43c5f5237f6c1)
23e804d3 [examples/liddriven] update doc3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3111Merge branch 'fix/gridmanager-compile-time-check' into 'master'2022-05-12T09:23:50ZTimo Kochtimokoch@math.uio.noMerge branch 'fix/gridmanager-compile-time-check' into 'master'[grid] Make it fail at compile time if grid manager specialization is missing
See merge request dumux-repositories/dumux!3110
(cherry picked from commit 7ff0ef87ee7d2e02c31fb842877969909c47e707)
52870b8a [grid] Make it fail at compile...[grid] Make it fail at compile time if grid manager specialization is missing
See merge request dumux-repositories/dumux!3110
(cherry picked from commit 7ff0ef87ee7d2e02c31fb842877969909c47e707)
52870b8a [grid] Make it fail at compile time if grid manager specialization is missing3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.dehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3109Merge branch 'fix/type-value-in-getparam' into 'master'2022-05-11T13:24:03ZYue Wangyue.wang@iws.uni-stuttgart.deMerge branch 'fix/type-value-in-getparam' into 'master'[fix] correct the type and value in getParam
See merge request dumux-repositories/dumux!3106
(cherry picked from commit 7a72ddee89bdf53fbe731f2ba97c0c394e075b63)
8b7daf37 [fix] correct the type and value in getParam[fix] correct the type and value in getParam
See merge request dumux-repositories/dumux!3106
(cherry picked from commit 7a72ddee89bdf53fbe731f2ba97c0c394e075b63)
8b7daf37 [fix] correct the type and value in getParam3.5Yue Wangyue.wang@iws.uni-stuttgart.deYue Wangyue.wang@iws.uni-stuttgart.de