Skip to content
Snippets Groups Projects
Commit 834683b0 authored by Andreas Lauser's avatar Andreas Lauser
Browse files

2p test: change initial pressure inside domain to 10^5 Pa, add some properties

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@4292 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 64d07e7c
No related branches found
No related tags found
No related merge requests found
...@@ -101,6 +101,15 @@ SET_PROP(LensProblem, SpatialParameters) ...@@ -101,6 +101,15 @@ SET_PROP(LensProblem, SpatialParameters)
typedef Dumux::LensSpatialParameters<TypeTag> type; typedef Dumux::LensSpatialParameters<TypeTag> type;
}; };
// Enable the time step ramp up inside the newton method?
SET_BOOL_PROP(LensProblem, EnableTimeStepRampUp, true);
// Enable partial reassembly of the jacobian matrix?
SET_BOOL_PROP(LensProblem, EnablePartialReassemble, true);
// Enable reuse of jacobian matrices?
SET_BOOL_PROP(LensProblem, EnableJacobianRecycling, false);
// Enable gravity // Enable gravity
SET_BOOL_PROP(LensProblem, EnableGravity, true); SET_BOOL_PROP(LensProblem, EnableGravity, true);
} }
...@@ -367,7 +376,7 @@ public: ...@@ -367,7 +376,7 @@ public:
int scvIdx) const int scvIdx) const
{ {
// no DNAPL, some random pressure // no DNAPL, some random pressure
values[pwIdx] = 0.0; values[pwIdx] = 1e5;
values[SnIdx] = 0.0; values[SnIdx] = 0.0;
} }
// \} // \}
......
...@@ -188,6 +188,8 @@ int main(int argc, char** argv) ...@@ -188,6 +188,8 @@ int main(int argc, char** argv)
upperRight[1] = 4.0; upperRight[1] = 4.0;
res[0] = 96; res[0] = 96;
res[1] = 64; res[1] = 64;
//res[0] = 24;
//res[1] = 16;
std::auto_ptr<Grid> grid(CreateGrid<Grid, Scalar>::create(upperRight, res)); std::auto_ptr<Grid> grid(CreateGrid<Grid, Scalar>::create(upperRight, res));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment