Bård Skaflestad
4ab4dc7543
Convert Tabs to spaces where appropriate.
2012-01-26 10:41:58 +01:00
Jostein R. Natvig
a92b7a1b0c
Copy modifications to reorder-related codes from MRST repository
...
branches/mrst-reorg/mex/reorder-C, revision 8955.
The changes are: (1) addition of documentation of input arguments in
tarjan.c and (2) an MIT licence header (codes originated in a PhD
project).
2012-01-25 10:49:49 +01:00
Jostein R. Natvig
80beabc3e9
Remove unnecessary include statement.
2012-01-25 10:44:37 +01:00
Atgeirr Flø Rasmussen
12f8b6b4a1
Reorder solver now uses new fluid props.
2012-01-24 21:51:24 +01:00
Atgeirr Flø Rasmussen
63942cbd1d
Now reorder code requires new property object, not using it yet (work in progress).
2012-01-24 16:17:05 +01:00
Atgeirr Flø Rasmussen
45d603939d
C++ified twophase model code.
2012-01-24 16:01:15 +01:00
Atgeirr Flø Rasmussen
a3662637c1
Always warn about unused parameters, even if no solution output requested.
2012-01-24 16:00:16 +01:00
Atgeirr Flø Rasmussen
148c5a27d3
Added "output_dir" param, unused parameter warning and output of parameters used.
2012-01-24 15:22:51 +01:00
Atgeirr Flø Rasmussen
3424e0211b
C++ified reordering transport solver facade.
2012-01-24 13:47:00 +01:00
Atgeirr Flø Rasmussen
9e0a018103
Modify example viscosity to match (temporarily) hardcoded reorder fluid.
2012-01-24 13:20:41 +01:00
Atgeirr Flø Rasmussen
b0ab8d093a
Default stepsize now 1 day.
2012-01-24 10:07:10 +01:00
Atgeirr Flø Rasmussen
72db3627d0
Added test code (#ifdef'ed out) for linear relperm.
2012-01-24 10:05:18 +01:00
Atgeirr Flø Rasmussen
9faafdbf73
Correct mistake in transport source initialization.
2012-01-24 09:58:24 +01:00
Atgeirr Flø Rasmussen
e797a81108
Gave new, more-or-less reasonable default rates and timesteps.
2012-01-24 09:52:15 +01:00
Atgeirr Flø Rasmussen
98ab0cabfd
Replaced Rock class with IncompPropertiesBasic, preserving behaviour.
2012-01-23 13:47:00 +01:00
Atgeirr Flø Rasmussen
61be43bfb6
Made sure permeability param is read as a double.
2012-01-23 13:43:45 +01:00
Atgeirr Flø Rasmussen
ffcb9e0748
Reorganized and commented initialization section to prepare for change.
2012-01-23 13:06:25 +01:00
Atgeirr Flø Rasmussen
38cbdf5121
Re-introduced reorder functionality.
2012-01-23 12:43:37 +01:00
Atgeirr Flø Rasmussen
80ec53241f
Merged.
2012-01-23 12:41:06 +01:00
Bård Skaflestad
0a8df0e33d
Back out reorder option. We're not ready to begin using this.
2012-01-23 00:57:13 +01:00
Bård Skaflestad
a07f5b3eee
Suppress warnings about missing previous function declarations.
2012-01-23 00:32:59 +01:00
Atgeirr Flø Rasmussen
efcd191ea1
Added "output" parameter for turning file output on/off.
2012-01-20 15:51:29 +01:00
Atgeirr Flø Rasmussen
da0bcc13a4
Added "use_reorder" parameter and implemented the option.
2012-01-20 15:36:52 +01:00
Atgeirr Flø Rasmussen
e6ebc9961b
Made header includable from C++.
2012-01-20 15:36:03 +01:00
Atgeirr Flø Rasmussen
7cb74b09cf
Use user-supplied tolerance also for endpoints.
2012-01-20 14:38:29 +01:00
Atgeirr Flø Rasmussen
ba61341cab
Squash warnings.
2012-01-20 14:37:58 +01:00
Atgeirr Flø Rasmussen
136a494ccb
Include fluid.h.
2012-01-20 14:37:38 +01:00
Atgeirr Flø Rasmussen
30d70fd0f8
Fix compilation error due to change in twophasetransport() prototype.
2012-01-20 14:07:56 +01:00
Atgeirr Flø Rasmussen
29cdeedde3
Build fluid.c and make it into a quadratic Corey fluid.
2012-01-20 14:07:23 +01:00
Atgeirr Flø Rasmussen
68c6936cbd
Updated files from MRST repository.
2012-01-20 13:09:13 +01:00
Atgeirr Flø Rasmussen
54a9d038c9
New parameters "guess_old_solution", "verbosity", "max_it" and "max_it_ls".
2012-01-19 23:51:09 +01:00
Atgeirr Flø Rasmussen
4f7c1fd77c
A few changes to out-of-range warning and clamping:
...
- instead of hardcoding a constant (1e-5), use named
variable (sat_tol_).
- in finishStep(), allow s to be within sat_tol_ of
[s_min, s_max] range, and clamp to range.
- in initIteration(), only warn once if any cells' s
values were clamped.
2012-01-19 23:49:45 +01:00
Atgeirr Flø Rasmussen
7107ef2161
Refined output of NRReport.
2012-01-19 16:58:20 +01:00
Atgeirr Flø Rasmussen
b2ce765133
Now writes output in vtk format.
2012-01-19 16:48:27 +01:00
Atgeirr Flø Rasmussen
47a0c65c64
Changed default behaviour to match old behaviour.
2012-01-19 16:48:11 +01:00
Atgeirr Flø Rasmussen
df31c95197
Moved output of report struct into dedicated operator<<().
2012-01-19 14:24:39 +01:00
Atgeirr Flø Rasmussen
2f5bba3835
Now a primitive simulator.
2012-01-19 14:12:53 +01:00
Atgeirr Flø Rasmussen
a8d5302cc7
Merge.
2012-01-19 13:58:47 +01:00
Atgeirr Flø Rasmussen
de59283a19
Now spu_2p is a (very) simple simulator, work in progress.
2012-01-19 13:58:25 +01:00
Atgeirr Flø Rasmussen
46b76fb04d
Backed out changeset d0cd4424dd9a
2012-01-19 13:56:55 +01:00
Atgeirr Flø Rasmussen
80f9164948
Merge.
2012-01-19 13:55:11 +01:00
Bjørn Spjelkavik
e697fb72e3
Changed namespace Dune -> namespace Opm.
2012-01-19 13:50:57 +01:00
Atgeirr Flø Rasmussen
b7ae30491c
Newton iteration initial guess policy is now controlled by a
...
constructor parameter instead of a macro.
2012-01-19 13:23:55 +01:00
Atgeirr Flø Rasmussen
f8d5ea02a3
Added some libraries that may be needed with newer versions of UMFPACK.
2012-01-19 13:04:12 +01:00
Bård Skaflestad
ff1edbe363
Merge from upstream.
2012-01-19 10:51:22 +01:00
Bjørn Spjelkavik
7560f3b9a4
Add missing field in welspec printout.
2012-01-19 09:20:06 +01:00
Bård Skaflestad
7f02860e11
Support switching off syntax check in constructor.
...
This is useful if a set of parameters can all be defaulted in which
case launching the executable *should* be a simple as
./a.out
but the constructor requirement leads to using
./a.out a=b
or something similar.
2012-01-19 09:13:05 +01:00
Atgeirr Flø Rasmussen
805d5a6ba5
Added classes IncompPropertiesInterface and IncompPropertiesBasic.
2012-01-18 18:50:56 +01:00
Atgeirr Flø Rasmussen
9508680baf
Added sanity checking for number of phases in property classes.
2012-01-18 18:36:20 +01:00
Atgeirr Flø Rasmussen
c60fd2b82f
Added numPhases() method to SaturationProps* classes.
2012-01-18 18:31:12 +01:00