dumux merge requestshttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests2018-01-06T20:56:48Zhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/718[mpfa] Use numLocalScvf instead of constant2018-01-06T20:56:48ZChristoph Grüninger[mpfa] Use numLocalScvf instead of constant@DennisGlaeser this might impact performance? Maybe the function can be constexpr with dune 2.6?@DennisGlaeser this might impact performance? Maybe the function can be constexpr with dune 2.6?3.0Dennis GläserDennis Gläserhttps://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/451[WIP] [freeflow] Introduce extrusion factor2018-04-18T05:59:04ZKilian Weishaupt[WIP] [freeflow] Introduce extrusion factor* Account for extrusion factor everywhere face.area() or the cell volume
is involved* Account for extrusion factor everywhere face.area() or the cell volume
is involved3.0https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/185Fix/gridcreator gmsh parameters2018-06-28T12:03:09ZTimo Kochtimokoch@math.uio.noFix/gridcreator gmsh parametersThis should be thoroughly tested.
I'm not sure yet if this works correct with ALUGrid. Does ALU support gmsh files?
For ALU the intersection.boundarySegmentIndex() doesn't seem to get the right parameter. For element params it works....This should be thoroughly tested.
I'm not sure yet if this works correct with ALUGrid. Does ALU support gmsh files?
For ALU the intersection.boundarySegmentIndex() doesn't seem to get the right parameter. For element params it works.
How parameters can be attached to a grid seems to be a mess and different for ALU and UG.
@bernd is it possible that gmsh params in parallel need manual load balancing as done for the dgf gridPtr params?
TODO
* [x] Find a measure of success for the parallel tests: as partitioning is not preserved across machines, simple parallel vtu comparison won't work.3.0Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.no