Atgeirr Flø Rasmussen
cf9b7c39b9
Adapt to moved opm-grid headers.
2018-02-10 08:33:33 +01:00
Andreas Lauser
7f3a9f1f43
catch NumericalIssue instead of NumericalProblem
...
the underlying problem is that the OPM build system does not define a
HAVE_OPM_COMMON macro in config.h.
2018-02-08 12:02:25 +01:00
Tor Harald Sandve
b38430ea2e
Output TCPU for every substep.
2018-01-29 08:56:55 +01:00
Tor Harald Sandve
a1dbeec4d4
Use 1 day as default initial time step
2017-11-28 15:12:48 +01:00
Alf B. Rustad
7dba2c4d70
Format fix-up
2017-11-17 08:25:22 +01:00
Alf B. Rustad
ad68c05982
Change substep to time step in logging
2017-11-17 08:25:21 +01:00
Andreas Lauser
64d7366de2
mark the non-template methods of the adaptive time stepper as inline
...
this is needed to avoid linker errors if this class ought to be used
in multiple compile units. IMO the main problem here is the use of an
_impl.hpp file.
2017-10-06 15:34:59 +02:00
Rohith Nair
7500d3eb0c
edit
2017-06-26 12:46:09 +02:00
Rohith Nair
84ca3cd9b9
Removes multiple problem logging for linear solver convergence failure
2017-06-26 12:21:44 +02:00
Rohith Nair
2976b62d75
Add cause_of_failure for NumericalProblem
2017-06-12 10:48:07 +02:00
Rohith Nair
073e4ce839
Add cause_of_failure for LinearSolverProblem
2017-06-12 10:28:38 +02:00
Rohith Nair
18dfe1783b
remove debug info from terminal output for convergence failure
2017-06-11 22:32:46 +02:00
Rohith Nair
c1e76d6b51
edit
2017-06-07 14:49:00 +02:00
Rohith Nair
deaf90f211
edit
2017-06-07 14:47:45 +02:00
Rohith Nair
58285bb8f8
edit
2017-06-07 14:46:04 +02:00
Rohith Nair
348cb5e5a4
Changes made as requested
2017-06-07 14:40:18 +02:00
Rohith Nair
c12665e04f
-Added exception TooManyIterations
...
-Combined log messages from NonLinearSolver_impl.hpp and AdaptiveTimeStepping_impl.hpp
2017-06-07 10:37:25 +02:00
Tor Harald Sandve
434f96db0a
FIX output the correct next timestep after convergece failure
2017-05-29 09:48:34 +02:00
Arne Morten Kvarving
3c0cb9e950
adjust for changed ParameterGroup namespacing
2017-04-28 15:36:25 +02:00
Andreas Lauser
ef2a560fb3
flow_ebos: print statistics about failed time steps
...
the performance summary at the end of a Norne run which are printed by
`flow_ebos` now looks like this on my machine:
```
Total time (seconds): 773.757
Solver time (seconds): 753.349
Assembly time (seconds): 377.218 (Failed: 23.537; 6.23965%)
Linear solve time (seconds): 352.022 (Failed: 23.2757; 6.61201%)
Update time (seconds): 16.3658 (Failed: 1.13149; 6.91375%)
Output write time (seconds): 22.5991
Overall Well Iterations: 870 (Failed: 35; 4.02299%)
Overall Linearizations: 2098 (Failed: 136; 6.48236%)
Overall Newton Iterations: 1756 (Failed: 136; 7.74487%)
Overall Linear Iterations: 26572 (Failed: 1786; 6.72136%)
```
for the flow_legacy family, nothing changes.
2017-04-11 11:12:11 +02:00
Atgeirr Flø Rasmussen
98debed741
Fix minor output bug and refine output.
...
Previously the substep summary reports were cumulative, misleading the user.
Also, made output a little more compact and readable, ensuring numbers line up
unless unusually many digits are needed for times and iteration counts.
2017-04-06 14:54:08 +02:00
Tor Harald Sandve
19a16ceeca
Set timesteps after events
...
The time step after an event can either be set using
timestep_in_days_after_event or using the TUNING keyword in the deck.
2017-03-09 08:54:44 +01:00
Atgeirr Flø Rasmussen
27c0430932
Change include paths for moved headers.
2017-02-10 16:07:25 +01:00
Arne Morten Kvarving
86fbb36fd2
adjustments for imported files
...
- adjust include paths
- add new test to build system
- add new example to build system
2017-02-10 13:02:00 +01:00
Arne Morten Kvarving
1cb81c12e8
changed: pass fipnum array into adaptive time stepping loop
...
needed as substep summary reports requires FIP data to be available.
add calculation of this data if output is requested and summary
config holds relevant keywords.
2017-02-09 09:33:32 +01:00
Tor Harald Sandve
f65f5d2c3b
Store whether timestep failed or not
...
Used in flow ebos to tell the simulator to recalculate the cached
quantities for failed timesteps.
2016-12-19 10:52:59 +01:00
Andreas Lauser
676af2b00b
AdaptiveTimeStepping: fix stupid (but harmless) mistake in the sub-step info message
...
that was a copy-and-pasto: newton iterations = linearizations - 1
2016-12-03 15:04:32 +01:00
Andreas Lauser
6720eb7a75
clean up and extend the SimulationReport class
...
it now also accounts for assembly, linear solve, update and output
write time and indicates if an operation has converged.
2016-11-30 11:27:49 +01:00
Tor Harald Sandve
a083f46d44
Make it possible to set initial timestep
...
Default is kept at -1.0. I.e. this PR does not change the current
behaviour.
2016-10-28 09:03:29 +02:00
Atgeirr Flø Rasmussen
08b7db6c7f
Classify convergence failure as a "problem" not "error".
2016-10-20 22:36:20 +02:00
Atgeirr Flø Rasmussen
83b3d8a149
Ensure logging only on first rank.
2016-10-20 22:36:20 +02:00
Markus Blatt
66f0b71fc1
Log the message of exceptions in the catch clause of adaptive time stepper.
2016-10-04 10:33:56 +02:00
Tor Harald Sandve
e034bbc7ad
Add initalizer for adaptiveTimeStepper that uses values from TUNING
...
Some of the tuning values from the TUNING keywords is used to tune the
timestepping.
2016-09-30 10:36:30 +02:00
Markus Blatt
815480d052
Only call writeTimeStep for real sub steps.
...
Previously, we also called it when the full time step was done.
As the simulator writes that information anyway and we cannot call
it a sub step, we omit the final write in the adaptive time stepper.
2016-09-26 11:51:17 +02:00
Tor Harald Sandve
1bde4f4a22
Small fixes hardcodedTimestepControl
...
-- avoid using eof()
-- add comments
-- no longer assumes two lines of comments.
-- revert change to default value for timestep.initial_step_length
-- make contructer explicit
-- pass reference
2016-09-21 09:39:36 +02:00
Tor Harald Sandve
380fe6e2fd
Timestepper based on userInput
...
A new timestepper that reads timesteps from a file generated using
ecl_summary "DECK" TIME
and applies it to the simulator
Also a parameter timestep.initial_step_length (default 1 day) is added
to controll the frist timestep.
2016-09-21 09:39:36 +02:00
babrodtk
63da817852
Initial version for outputting cell data
2016-09-01 14:37:41 +02:00
Atgeirr Flø Rasmussen
d31081992b
Merge pull request #1052 from andlaus/pass_timer_instead_of_dt
...
pass the timer object instead of the time step size to the simulators
2016-08-02 11:05:33 +02:00
Liu Ming
61889dafbd
fix indentation.
2016-07-14 10:30:20 +08:00
Liu Ming
62134b4a0f
drop useage of std::numeric_limits
2016-07-14 10:27:13 +08:00
Andreas Lauser
0dda8d49c5
pass the timer object instead of the time step size to the simulators
2016-07-05 12:23:55 +02:00
Liu Ming
b8ef9cb630
output well iterations if it is a valid number.
2016-06-30 09:03:30 +08:00
Liu Ming
30d9c34481
Add space.
2016-06-28 15:26:06 +08:00
Liu Ming
b1b464535a
output well iterations and non-linear iterations.
2016-06-28 13:40:32 +08:00
Liu Ming
63f244a36d
mark time stepping messages type as OpmLog::note
2016-06-21 08:44:32 +08:00
Jørgen Kvalsvik
18fda2d7f0
WellState::report() to make opm-output Well data
2016-06-06 12:40:44 +02:00
Liu Ming
248ea780b3
add missing braces.
2016-05-16 09:04:54 +08:00
Liu Ming
a4dc135045
use OpmLog only for error messages.
2016-05-10 14:13:33 +08:00
Liu Ming
40dbcc496a
output timer messages for terminal and log file.
2016-05-09 13:31:04 +08:00
Atgeirr Flø Rasmussen
0de2cff986
Follow class renaming.
2015-11-13 11:37:53 +01:00