Kai Bao
cd174c5ba4
Merge branch 'specifying_maximum_iterations' into oscillation_treatment_withlimitedupdate
...
Conflicts:
opm/autodiff/FullyImplicitBlackoilSolver.hpp
opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp
2014-05-22 22:13:14 +02:00
Kai Bao
6e6339d8c3
Adding user-specifying max iteration.
2014-05-22 22:09:54 +02:00
Kai Bao
fdb201d365
Restoring maxit to be 15.
2014-05-22 21:59:27 +02:00
Kai Bao
8a905535ce
Removing some spaces.
2014-05-22 21:58:44 +02:00
Kai Bao
6ac95ac7a8
Removing some debugging output.
2014-05-22 21:56:00 +02:00
Kai Bao
5c409173b4
Removing some debugging output.
2014-05-22 20:56:22 +02:00
Kai Bao
95cd33185b
Correcting the determination of stagnate.
2014-05-22 20:25:58 +02:00
Kai Bao
f597e2117d
Rewriting the detection function with for loop.
...
It is more automatic while it remains to change to some more flexible
form.
2014-05-22 16:07:17 +02:00
Kai Bao
d7aa21dc03
Merge branch 'master' into oscillation_treatment_withlimitedupdate
...
Conflicts:
opm/autodiff/FullyImplicitBlackoilSolver.hpp
2014-05-22 09:59:50 +02:00
Bård Skaflestad
3678464d51
Merge pull request #141 from atgeirr/master
...
Fix warnings
2014-05-21 20:02:49 +02:00
Atgeirr Flø Rasmussen
cb327ce63a
Warning removal: const on return types not needed.
2014-05-21 19:49:29 +02:00
Atgeirr Flø Rasmussen
4734052d86
Bugfix: local variable shadowed proper variable.
2014-05-21 19:48:48 +02:00
Bård Skaflestad
f0d908d104
Merge pull request #140 from atgeirr/cpr-preconditioning
...
Cpr preconditioner
2014-05-21 15:36:12 +02:00
Atgeirr Flø Rasmussen
3b80724581
Update Eigen requirements.
2014-05-21 13:57:16 +02:00
Atgeirr Flø Rasmussen
f48ee55c0d
Change error message.
2014-05-21 13:15:42 +02:00
Atgeirr Flø Rasmussen
e9ab64fd18
Remove usage of DUNE_UNUSED_PARAMETER.
2014-05-21 13:14:02 +02:00
Kai Bao
2733b5459e
Removing the space before ().
2014-05-21 11:02:04 +02:00
Kai Bao
252048b30a
Removing one blank line.
2014-05-21 11:00:24 +02:00
Kai Bao
0178bd1b8c
Removing the bool paramters calling stablizeNewton.
2014-05-21 10:47:55 +02:00
Kai Bao
5277fa389d
Removing two input paramters in stablizeNewton().
...
Removing the bool input parameters osicllate and stagnate from the
stablizeNewton(). Basically, the value omega will decide if the
relaxation will be applied.
2014-05-21 10:44:20 +02:00
Kai Bao
578abe3b78
Merge branch 'master' into oscillation_treatment_withlimitedupdate
...
Conflicts:
opm/autodiff/FullyImplicitBlackoilSolver.hpp
2014-05-21 10:12:49 +02:00
Atgeirr Flø Rasmussen
3e956a9659
Merge pull request #139 from GitPaean/limited_variable_update
...
Limited variable update
2014-05-20 21:52:22 +02:00
Kai Bao
827cd7e8e4
Removing the param.has() if condition.
2014-05-20 19:53:39 +02:00
Kai Bao
44a3dbd732
Finishing the workflow.
2014-05-20 19:52:15 +02:00
Atgeirr Flø Rasmussen
fec6154d81
Remove unused data members and parameters.
2014-05-20 15:23:04 +02:00
Kai Bao
63c53096cd
Using param.getDefault() instead of param.get().
...
And also remove the space in dsMax (), drsMaxRel (), dpMaxRel ().
2014-05-20 15:17:37 +02:00
Atgeirr Flø Rasmussen
97f572f5d4
Merge pull request #137 from atgeirr/fix-wellcontrolupdate
...
Fix two bugs in updateWellControls().
2014-05-20 15:14:09 +02:00
Kai Bao
0e244a4845
Commit to save changes.
2014-05-20 15:00:49 +02:00
Atgeirr Flø Rasmussen
023a46fa12
Put creation of elliptic system in separate function.
2014-05-20 14:24:24 +02:00
Atgeirr Flø Rasmussen
b823324e59
Cite CPR article by Gries, Stuben et al.
2014-05-20 14:23:49 +02:00
Kai Bao
9557db4c15
Merge branch 'limited_variable_update' of github.com:GitPaean/opm-autodiff into oscillation_treatment_withlimitedupdate
...
Conflicts:
opm/autodiff/FullyImplicitBlackoilSolver.hpp
2014-05-20 13:45:13 +02:00
Kai Bao
c617623eb1
Adding debugging output.
2014-05-20 13:31:13 +02:00
Kai Bao
79916078f2
Changing the defalut value for the paramters.
...
Add reordering the intialization order to removing the reordered
warning.
2014-05-20 13:05:11 +02:00
Kai Bao
8dcae05a7b
Revising the function stablizeNewton().
...
For the SOR type relaxation, we need the dx from the previous iteration.
2014-05-20 11:25:04 +02:00
Kai Bao
5b6c325a32
Finish the first stablizeNewton().
2014-05-19 18:41:38 +02:00
Kai Bao
ab8636b57d
Add function detectNewtonOscillations.
2014-05-19 15:43:56 +02:00
Kai Bao
341f727467
Add the residuals() function.
2014-05-19 13:06:44 +02:00
Atgeirr Flø Rasmussen
307cd6ef33
Add convergence check, local whitespace cleanup.
2014-05-19 11:21:23 +02:00
Atgeirr Flø Rasmussen
ec03062b51
Remove unused code.
2014-05-19 11:13:17 +02:00
Kai Bao
a969025c5e
Add a residuals function prototype.
2014-05-19 10:41:23 +02:00
Kai Bao
2b31ab6111
Removing one blank line.
2014-05-16 18:27:23 +02:00
Kai Bao
d461eb9e76
Cleaning up some debugging output.
2014-05-16 18:15:42 +02:00
Kai Bao
f2ecbf163e
Cleaning up some debugging output.
2014-05-16 18:13:36 +02:00
Kai Bao
cd50b54ddf
Finishing the modification for solver class.
2014-05-16 18:02:55 +02:00
Atgeirr Flø Rasmussen
d9d5074dd2
Initial implementation of CPR preconditioner done.
...
With some caveats:
- scaling factors for material balance equations and pressure are hardcoded.
- pressure system is formed from sum of material balance equations, with
no check for diagonal dominance.
2014-05-16 14:21:14 +02:00
Kai Bao
94e3fd3fcb
Add more residual output in getConvergence.
...
Output the residualWellFlux, residualWell, MB to monitor the convergence
process.
2014-05-16 13:52:33 +02:00
Kai Bao
55b0164d4a
Apply dpmaxrel to the update of bhp
...
And also change the default value for dpmaxrel.
2014-05-16 13:46:00 +02:00
Kai Bao
b001c580b9
Add drsmaxrel for the update of rs.
...
drsmaxrel is a relative limit.
2014-05-16 13:32:34 +02:00
Kai Bao
4cef151091
Add dsmax for the update of saturations.
...
dsmax is the absolute limit for saturation update.
2014-05-16 13:26:44 +02:00
Atgeirr Flø Rasmussen
52746a6455
Fix two bugs in updateWellControls().
...
The bugs were:
- Not accounting for the different storage orders used for the
state.qs variable and the WellState*::wellRates() field.
- When switching to rate control, well rates for phases other
than that to be controlled by were set to zero.
2014-05-16 09:07:43 +02:00