darcyFluxVariables:
- incorporate the minus sign of the darcy relation only at the velocity calculation. I.e take it away from kGradpNormal. Therefore, >< for upstream decision has to be switched: in boxdarcyfluxvariables and in the smooth upwinding of mpnclocalresidualmass - correct some spelling - split the main body in two function: calculate gradients and calculate velocities. - calculate volumeFlux from velocity instead of calculating it from scratch: less error prone. boxelementvolumvariables: set the evaluation point to zero. This is only used for semi-smooth methods. If this is not set to zero, strange segfaults may occur because the evaluation point is *not* set *Introducing* boxforcheimerfluxvariables: It is now possible to calculate velocities according to the Forchheimer relation in stead of exclusively the Darcy relation. This flux calculation can be used without changing the actual residual calculation: just derive the fluxvariables from boxforchheimerfluxvariables (or use them directly as your fluxvariables) The only other necessary ingredient for using the Forchheimer relation is putting a forchheimer coefficient into your spatialparameters class (see the forchheimer tests in test/boxmodels/mpnc) mpncfluxvariables: derive from Basefluxvariables Property in stead of DarcyFluxVariables. This way the velocity-potentialGradient relation can be chosen in the problem. mpncproperties: introduce new Property for Darcy / Forchheimer relation switch mpncfluxvariables: derive from a property allowing for the setting of velocity relation (Darcy/Forchheimer) in the problem mpncvolumevariables, mpnclocalresidualmass, mpncwritercommon: correct typo / naming simpleh2o: added heatcapacity function, removed ";" text/boxmodels/mpnc: added two tests for the forchheimer relation. One test for single phase flow and one test for two-phase flow. git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@8864 2fb0f335-1f38-0410-981e-8018bf24f1b0
Showing
- dumux/boxmodels/common/boxdarcyfluxvariables.hh 75 additions, 48 deletionsdumux/boxmodels/common/boxdarcyfluxvariables.hh
- dumux/boxmodels/common/boxelementvolumevariables.hh 4 additions, 0 deletionsdumux/boxmodels/common/boxelementvolumevariables.hh
- dumux/boxmodels/common/boxforchheimerfluxvariables.hh 366 additions, 0 deletionsdumux/boxmodels/common/boxforchheimerfluxvariables.hh
- dumux/boxmodels/mpnc/mass/mpnclocalresidualmass.hh 2 additions, 2 deletionsdumux/boxmodels/mpnc/mass/mpnclocalresidualmass.hh
- dumux/boxmodels/mpnc/mpncfluxvariables.hh 5 additions, 3 deletionsdumux/boxmodels/mpnc/mpncfluxvariables.hh
- dumux/boxmodels/mpnc/mpncproperties.hh 2 additions, 0 deletionsdumux/boxmodels/mpnc/mpncproperties.hh
- dumux/boxmodels/mpnc/mpncpropertydefaults.hh 3 additions, 0 deletionsdumux/boxmodels/mpnc/mpncpropertydefaults.hh
- dumux/boxmodels/mpnc/mpncvolumevariables.hh 3 additions, 3 deletionsdumux/boxmodels/mpnc/mpncvolumevariables.hh
- dumux/boxmodels/mpnc/mpncvtkwritercommon.hh 5 additions, 5 deletionsdumux/boxmodels/mpnc/mpncvtkwritercommon.hh
- dumux/material/components/simpleh2o.hh 16 additions, 3 deletionsdumux/material/components/simpleh2o.hh
- test/boxmodels/mpnc/Makefile.am 5 additions, 1 deletiontest/boxmodels/mpnc/Makefile.am
- test/boxmodels/mpnc/forchheimer1p-reference.vtp 236 additions, 0 deletionstest/boxmodels/mpnc/forchheimer1p-reference.vtp
- test/boxmodels/mpnc/forchheimer1pproblem.hh 486 additions, 0 deletionstest/boxmodels/mpnc/forchheimer1pproblem.hh
- test/boxmodels/mpnc/forchheimer2p-reference.vtu 1032 additions, 0 deletionstest/boxmodels/mpnc/forchheimer2p-reference.vtu
- test/boxmodels/mpnc/forchheimer2pproblem.hh 468 additions, 0 deletionstest/boxmodels/mpnc/forchheimer2pproblem.hh
- test/boxmodels/mpnc/forchheimerspatialparams.hh 208 additions, 0 deletionstest/boxmodels/mpnc/forchheimerspatialparams.hh
- test/boxmodels/mpnc/test_forchheimer1p.cc 62 additions, 0 deletionstest/boxmodels/mpnc/test_forchheimer1p.cc
- test/boxmodels/mpnc/test_forchheimer1p.input 33 additions, 0 deletionstest/boxmodels/mpnc/test_forchheimer1p.input
- test/boxmodels/mpnc/test_forchheimer2p.cc 62 additions, 0 deletionstest/boxmodels/mpnc/test_forchheimer2p.cc
- test/boxmodels/mpnc/test_forchheimer2p.input 33 additions, 0 deletionstest/boxmodels/mpnc/test_forchheimer2p.input
Loading
Please register or sign in to comment