Bård Skaflestad
692ba48317
Add well<->cell topology to system matrix.
2010-12-06 12:43:03 +01:00
Bård Skaflestad
9b9322a4da
Only maintain number of rows in CSR matrix.
...
We will generate square matrices only in the foreseeable future and
there is no need to maintain the number of columns (the 'n' member)
separately. Update all users accordingly.
2010-12-06 12:41:12 +01:00
Atgeirr Flø Rasmussen
d1a390a136
Added more data (for transport) and comments.
2010-12-06 11:09:52 +01:00
Atgeirr Flø Rasmussen
3df3114453
Added comment.
2010-12-06 11:09:30 +01:00
Atgeirr Flø Rasmussen
bb0fc43b25
Refactoring in progress: moving fluid computations out of solvers.
2010-12-06 10:41:22 +01:00
Bård Skaflestad
0dc0be4cad
Use more traditional spelling of static function declaration.
2010-12-05 13:52:03 +01:00
Atgeirr Flø Rasmussen
e5525ce1c0
Explicit copy matrix content after assignment semantics changed.
2010-12-02 13:28:36 +01:00
Bård Skaflestad
5cc1f63763
Merge from upstream
2010-12-01 15:09:28 +01:00
Atgeirr Flø Rasmussen
d6aaf43b7e
Added explicitTransport() method, for IMPES type simulation.
2010-12-01 14:12:41 +01:00
Bård Skaflestad
ac3639ad4d
Explicitly enforce zero flux in absence of other boundary information.
2010-11-25 14:33:04 +01:00
Atgeirr Flø Rasmussen
640dea22cd
Fixed sign bug in dBdp function.
2010-11-24 10:30:59 +01:00
Bård Skaflestad
93eb36d802
M-x delete-trailing-whitespace .
2010-11-23 16:51:06 +01:00
Bård Skaflestad
e274288d24
Implement (IMPES) mass transport across internal interfaces.
...
Based on component formulas derived from the ->pimpl->masstrans_f and
->pimpl->gravtrans_f quantities.
2010-11-23 16:46:49 +01:00
Atgeirr Flø Rasmussen
cf57ec6d1f
Implemented compressibilities and volume discrepancies. Untested.
2010-11-23 16:18:20 +01:00
Atgeirr Flø Rasmussen
e3bfe58574
Fixed a bug in the fluid code (getting B instead of A), handle zero liquid volume.
2010-11-23 09:39:37 +01:00
Atgeirr Flø Rasmussen
9ee3b6e3de
Tpfa tess compiles with BlackoilFluid.
2010-11-23 09:02:09 +01:00
Bård Skaflestad
16e2bfb679
Spell phase-mobility (per face) member correctly.
2010-11-22 19:04:52 +01:00
Bård Skaflestad
53edb1e074
Really catch up to cset e9ec0757e7a7.
2010-11-22 15:44:22 +01:00
Bård Skaflestad
da375a5ef3
Catch up to cset e9ec0757e7a7.
2010-11-22 15:42:38 +01:00
Bård Skaflestad
73b0cd9a8c
Merge from upstream.
2010-11-22 15:12:18 +01:00
Atgeirr Flø Rasmussen
bfa0d24396
Merge.
2010-11-22 15:04:13 +01:00
Atgeirr Flø Rasmussen
ebb352dc04
A large number of additions to start testing compressible tpfa-solver.
2010-11-22 15:00:26 +01:00
Atgeirr Flø Rasmussen
4c0cf9edc3
A large number of additions to start testing compressible tpfa-solver.
2010-11-22 15:00:26 +01:00
Atgeirr Flø Rasmussen
6dae634141
A large number of additions to start testing compressible tpfa-solver.
2010-11-22 15:00:26 +01:00
Ove Saevareid
65a6604112
Oil relperm: krocw_ evaluated at connate water, krow at sw.
2010-11-22 13:07:24 +01:00
Bård Skaflestad
b0fe50b74a
Add utility functions for retrieving phase transmissibilities.
2010-11-22 12:17:14 +01:00
Bård Skaflestad
2f4b85d362
Only compute face pressure values if explicitly requested.
...
Following cset ba5d27f90d7a there is no need to compute the interface
pressure values after every linear solve. Re-factor
cfs_tpfa_press_flux() to only compute cell pressures and interface
fluxes, and move interface pressure value computation to cfs_tpfa_fpress().
2010-11-22 11:36:47 +01:00
Bård Skaflestad
65348c9307
Merge from upstream.
2010-11-19 16:13:43 +01:00
Atgeirr Flø Rasmussen
9f92e793b6
Removed erroneous check.
2010-11-19 15:32:18 +01:00
Bård Skaflestad
064f0844a5
Merge from upstream.
2010-11-19 15:20:22 +01:00
Atgeirr Flø Rasmussen
6673f924dc
Only check boundary conditions on outer boundary in compute_flux().
2010-11-19 15:11:57 +01:00
Bård Skaflestad
f10c91bbfb
Join two short lines. Type conversion previously removed.
2010-11-19 14:49:32 +01:00
Bård Skaflestad
0a2abcae81
Merge from upstream.
2010-11-19 14:36:12 +01:00
Bård Skaflestad
6f3b1b3f16
Complete transition to all-int topology in CSRMatrix structure.
...
Having a 'MAT_SIZE_T' that is sometimes an int and sometimes an
mwSignedIndex is asking for trouble. The practical impact for OPM is
low, though, as this issue affects only the MEX interface.
2010-11-19 14:35:39 +01:00
Atgeirr Flø Rasmussen
c6198d463e
Removed unnecessary variable.
2010-11-19 14:05:03 +01:00
Jostein R. Natvig
9e3bf5ebe2
Implement simple Newton iteration.
2010-11-19 13:32:36 +01:00
Bård Skaflestad
c3b1763f55
Explicitly define all grid members. Reduces confusion.
...
This imports the opmtransport 'grid.h' changes from cset 10bf99595a6f
and cset 56cb71329d4f.
2010-11-19 10:51:16 +01:00
Bård Skaflestad
98a26c5322
Terminate struct member definition.
2010-11-19 10:39:21 +01:00
Jostein R. Natvig
15d598091a
Remove Matlab binding.
2010-11-19 10:20:48 +01:00
Jostein R. Natvig
ec27ae5707
Remove bindings to mex/matlab/mrst...
2010-11-19 10:13:27 +01:00
Jostein R. Natvig
1c86849ffc
Add basic code needed for an implicit upwind mobility-weighted solver
...
for incompressible twophase flow.
2010-11-18 18:37:00 +01:00
Atgeirr Flø Rasmussen
6ee73daad8
Initial attempt at C++ interface for compressible TPFA solver.
2010-11-18 16:02:48 +01:00
Atgeirr Flø Rasmussen
80597ffda4
Const-ified data members of compr_quantities.
2010-11-18 16:02:11 +01:00
Bård Skaflestad
c20c45bd0d
Promote MEX fluid matrix impl. to official status.
...
Specifically, move the evaluation of cell transmissibilities into
cfs_tpfa module (from original MEX implementation), and create a new
structure, 'struct compr_quantities', to hold the 'RB^{-1}' data and
(upwind) phase mobilities &c.
2010-11-18 14:37:36 +01:00
Atgeirr Flø Rasmussen
036eb373ff
Moved common enums for phase names etc. to BlackoilDefs helper class.
2010-11-15 20:11:45 +01:00
Atgeirr Flø Rasmussen
db6da9443b
Done accounting for units in PVT, relperm and pc tables.
2010-11-15 12:48:10 +01:00
Atgeirr Flø Rasmussen
01424b12bf
Working on proper units.
2010-11-15 12:41:21 +01:00
Bård Skaflestad
aab23261d7
Accommodate existing source terms in accumulation term.
2010-11-15 12:26:44 +01:00
Bård Skaflestad
652acb4e1e
Evaluate cell pressure in an existing cell rather than outside...
2010-11-15 12:25:43 +01:00
Atgeirr Flø Rasmussen
532c6c5652
Work in progress on ensuring units are done correctly.
2010-11-15 11:36:26 +01:00