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
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
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
4c0cf9edc3
A large number of additions to start testing compressible tpfa-solver.
2010-11-22 15:00:26 +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
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
Jostein R. Natvig
15d598091a
Remove Matlab binding.
2010-11-19 10:20:48 +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
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
Bård Skaflestad
0e190f8630
Upwind mobility strategy for computing flux/if-pressures.
...
Derive interface pressure values from fluxes rather than the other way
around.
Suggested by: Jostein R. Natvig
2010-11-15 10:29:23 +01:00
Bård Skaflestad
afeda5a95a
Use pure htrans strategy for computing fluxes/if-pressures.
...
Still wrong. Wrong: R-O-N-G. Wrong.
2010-11-11 14:47:17 +01:00
Bård Skaflestad
112c4503f3
Merge from upstream.
2010-11-11 09:41:16 +01:00
Atgeirr Flø Rasmussen
777f3129e0
Updated after nf parameter was removed.
2010-11-11 09:16:49 +01:00
Bård Skaflestad
1ffc7449f0
Compute real Darcy flux in cfs_tpfa_press_flux().
...
The previous edition made the grave mistake of summing the mass fluxes
per face. This does not make sense.
Pointed out by: Jostein.R.Natvig@sintef.no
2010-11-10 14:31:30 +01:00
Bård Skaflestad
5600f8d505
Add flux and face-pressure computations.
...
Specifically, introduce utilities compute_fpress() and
compute_flux(). The former is needed to implement the latter across
external boundary faces. Moreover, interface pressure values are
needed to evaluate fluid properties on faces (specifically R/B).
Add small gateway routine, cfs_tpfa_fpress(), to allow callers to
recover interface pressure values. Re-implement cfs_tpfa_press_flux()
in terms of compute_fpress() and compute_flux().
Also, add fields 'fpress' and 'fpaccum' to struct cfs_tpfa_impl.
2010-11-09 12:52:31 +01:00
Bård Skaflestad
7d668267cf
Remove unused variable.
2010-11-09 10:03:42 +01:00
Bård Skaflestad
d7a80b1082
Merge from jrn.
2010-11-08 14:13:09 +01:00
Bård Skaflestad
fbed044c94
Don't enforce p[0]=0 for non-Neumann problems.
2010-11-06 19:16:23 +01:00
Jostein R. Natvig
43ec21e382
Remove unnecessary argument in mim_ip_simple_all; fix affected code;
...
as suggested by bska.
2010-11-05 22:05:55 +01:00
Bård Skaflestad
223681b8c4
Use a 'P' sign that is somehow related to the equation we're solving
...
The former definition was inherited from the hybrid solver in MRST and
not really applicable to compressible TPFA.
2010-11-05 16:58:19 +01:00
Bård Skaflestad
8780df0a55
Tentatively add boundary condition support.
...
We currently handle only Dirichlet (pressure) BC's, and the feature is
largely untested. More work remaining.
2010-11-04 19:05:41 +01:00
Bård Skaflestad
7b692205ae
Merge from upstream sources.
2010-11-03 18:50:45 +01:00
Bård Skaflestad
08ae534fa5
Correct silly mistake in defining hface phase contribs.
...
We were only advancing the phase contrib once per cell, but need a
different contribution for each face for each cell...
2010-11-03 18:08:02 +01:00
Bård Skaflestad
1640925cd1
Move compressible support utilities to cfs_tpfa module.
...
We may wish to generalise this part into real utility functions but
for now, leave the functionality where it is most directly needed.
Rename the functions to highlight relationship to compr. tpfa.
2010-11-03 14:55:23 +01:00
Bård Skaflestad
a0208b30dc
Add compressible TPFA solver to build.
2010-11-03 14:50:26 +01:00
Atgeirr Flø Rasmussen
d6fd317c66
Added code to check the grid adapter, normals in C now area-weighted.
2010-11-02 14:25:29 +01:00
Atgeirr Flø Rasmussen
d8d0693f62
Added (inactive) test code to check the behaviour of the grid adapter.
2010-11-02 14:24:29 +01:00
Bård Skaflestad
83c9d73252
Add files for implementing compressible TPFA assembly.
2010-11-01 18:45:06 +01:00
Bård Skaflestad
601d5c9099
Add files for implementing compressible TPFA assembly.
2010-11-01 18:44:40 +01:00
Bård Skaflestad
220d3f36ab
Request Fortran compiler support to accomodate LAPACK checks.
2010-11-01 14:39:48 +01:00
Bård Skaflestad
8cd3579ab1
Request "all" Automake warnings.
2010-11-01 14:39:03 +01:00
Bård Skaflestad
dbb2111f30
Distribute and install TPFAPressureSolver.hpp .
2010-11-01 14:26:18 +01:00
Bård Skaflestad
aa97ec444b
Don't pretend to expand SVN keywords.
2010-11-01 13:33:54 +01:00