Commit Graph

87 Commits

Author SHA1 Message Date
Arne Morten Kvarving
a895678c30 vtkmultiphasemodule.hh: rename to vtkmultiphasemodule.hpp 2024-09-16 15:17:50 +02:00
Arne Morten Kvarving
9a572e1c16 move LensProblem parameters to TypeTag-free parameter system 2024-08-14 12:47:59 +02:00
Arne Morten Kvarving
f14c73857b move EnableGravity to TypeTag-free parameter system 2024-08-14 09:30:45 +02:00
Arne Morten Kvarving
26114b7e06 move VtkMultiphaseModule parameters to TypeTag-free parameter system 2024-08-14 09:06:18 +02:00
Arne Morten Kvarving
6d649be5db move NewtonWriteConvergence to TypeTag-free parameter system 2024-08-13 20:13:18 +02:00
Arne Morten Kvarving
32667526e0 move EnableStorageCache to TypeTag-free parameter system 2024-08-13 14:02:40 +02:00
Arne Morten Kvarving
5b7fd50d1e move EnableIntensiveQuantityCache to TypeTag-free parameter system 2024-08-13 13:38:15 +02:00
Arne Morten Kvarving
a2cbb8cb02 move InitialTimeStepSize to TypeTag-free parameter system 2024-08-12 15:49:47 +02:00
Arne Morten Kvarving
f5c7bada37 move EndTime to TypeTag-free parameter system 2024-08-12 15:49:47 +02:00
Arne Morten Kvarving
00121f10a4 move NumericDifferenceMethod to TypeTag-free parameter system 2024-08-12 15:40:31 +02:00
Arne Morten Kvarving
0509285170 move DomainSize(X|Y|Z) to TypeTag-free parameter system 2024-08-12 15:40:31 +02:00
Arne Morten Kvarving
25aed6d79a move Cells(X|Y|Z) to TypeTag-free parameter system 2024-08-12 15:40:31 +02:00
Arne Morten Kvarving
5b08cc9a38 changed: move the LensProblem parameters to Opm::Parameters 2024-08-08 10:53:21 +02:00
Arne Morten Kvarving
67b10555d3 changed: move the EnableGravity parameter to Opm::Parameters 2024-08-02 19:19:12 +02:00
Arne Morten Kvarving
c8f8b53733 changed: move the NumericDifferenceMethod parameter to Opm::Parameters 2024-08-01 13:03:35 +02:00
Arne Morten Kvarving
2400cf03ce changed: move the VtkMultiPhaseModule parameters to Opm::Parameters 2024-07-30 13:12:23 +02:00
Arne Morten Kvarving
ff46b91ff0 changed: move the Cells(X|Y|Z) parameters to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
fdf0179c5a changed: move the DomainSize(X|Y|Z) parameters to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
65fa0fae9e changed: move the InitialTimeStepSize parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
7101b68989 changed: move the EndTime parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
c54fb7816f changed: move the NewtonWriteConvergence parameter to Opm::Parameters 2024-07-01 14:13:34 +02:00
Arne Morten Kvarving
67bb6717f3 changed: move the EnableStorageCache parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
e3222a6dd6 changed: move the EnableIntensiveQuantitiesCache parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
078b0e8679 remove macro EWOMS_GET_PARAM 2024-04-05 14:54:53 +02:00
Bård Skaflestad
bdb93b6e62 Merge pull request #890 from akva2/remove_ewoms_register_param_macro
Remove ewoms register param macro
2024-04-05 12:42:27 +02:00
Arne Morten Kvarving
48fa0f3c59 drop macro EWOMS_REGISTER_PARAM 2024-04-05 10:05:30 +02:00
Arne Morten Kvarving
6103383c1a fixed: inconsistent parameter setups
registered as int and obtained as unsigned, or registered
as Scalar and obtained as int
2024-04-04 14:34:37 +02:00
Arne Morten Kvarving
d6c378e6a9 remove use of Unused.hpp 2022-08-02 11:24:40 +02:00
Tor Harald Sandve
f513662aa9 Add transflux module and a test that uses it
Compute flux based on transmissibilites. The permeability is assumed to be diagonal and alligned with the local cell
2022-04-07 10:46:31 +02:00
Arne Morten Kvarving
c1f19b7447 disable conservativeness check
the check causes a segfault in release mode only on gcc9+
2021-10-27 09:56:09 +02:00
Bernd Flemisch
d72de0f308 [cleanup] replace typedef by using 2020-06-10 13:49:42 +02:00
Bernd Flemisch
cbffa2a7ba [properties] replace SET_SCALAR_PROP calls 2020-06-09 10:43:28 +02:00
Bernd Flemisch
725c022e69 [properties] replace BEGIN/END_PROPERTIES macro calls 2020-06-08 17:11:48 +02:00
Bernd Flemisch
880c5223ac [properties] replace macro calls by native C++ 2020-06-08 16:41:02 +02:00
Arne Morten Kvarving
d302771e6c changed: ewoms/io -> opm/models/io 2019-09-19 10:59:55 +02:00
Arne Morten Kvarving
9247935c8a changed: ewoms/models/immiscible -> opm/models/immiscible 2019-09-19 10:51:11 +02:00
Arne Morten Kvarving
474ae4ded8 changed: ewoms/disc -> opm/models/discretization 2019-09-19 10:28:26 +02:00
Arne Morten Kvarving
799585f9d7 changed: namespace Ewoms -> namespace Opm 2019-09-05 16:21:10 +02:00
Andreas Lauser
4e888fdfc8 make all header files includeable on their own right again
some property definitions and includes were missing.
2018-10-29 10:05:46 +01:00
Andreas Lauser
f8a817e8f2 implement line breaks in the usage message
i.e. for `--help`. this is surprisingly complicated...
2018-08-16 15:55:51 +02:00
Andreas Lauser
acc93ff6e7 do explicit put properties into the the Ewoms::Properties namespace anymore
instead, do it implicitly by using the BEGIN_PROPERTIES and
END_PROPERTIES macros.
2018-06-15 20:22:07 +02:00
Andreas Lauser
1be1f15b47 parameter system: add support for positional parameters
further, this cleans up the code of the parameter system and the
startup routines a bit and finally, it adds positional parameters
support to ebos as well as brief descriptions to ebos and the lens
problem.
2018-06-14 11:13:30 +02:00
Andreas Lauser
2f4b835a16 rename the "grid manager" to "vanguard"
IMO the term "vanguard" expresses better what these classes are
supposed to do: level the ground for the cavalry. Normally this simply
means to create and distribute a grid object, but it can become quite
a bit more complicated, as exemplified by the vanguard classes of
ebos..
2018-02-08 16:26:58 +01:00
Andreas Lauser
e5344a2add adapt to the move of code from opm-common to opm-material 2018-02-08 12:11:20 +01:00
Andreas Lauser
0406d6780f refactor the boundary condition handling slightly
instead of passing a "minimal" fluid state that defines the
thermodynamic conditions on the domain boundary and the models
calculating everything they need based on this, it is now assumed that
all quantities needed by the code that computes the boundary fluxes
are defined. This simplifies the boundary flux computation code, it
allows to get rid of the `paramCache` argument for these methods and
to potentially speed things up because quantities do not get
re-calculated unconditionally.

on the flipside, this requires slightly more effort to define the
conditions at the boundary on the problem level and it makes it less
obvious which quantities are actually used. That said, one now has the
freedom to shoot oneself into the foot more easily when specifying
boundary conditions and also tools like valgrind or ASAN will normally
complain about undefined quantities if this happens.
2018-01-22 12:21:35 +01:00
Andreas Lauser
aca56a43e3 make all headers self-sufficient again
after the recent changes, some additional headers are required to be
included.
2017-10-03 12:48:21 +02:00
Andreas Lauser
a626ab869e make the vertex centered FV method work with automatic differentiation
This works by having a "focus degree of freedom" during
linearization. When evaluating the local residual, all derivatives of
the residual/fluxes are with regard to the primary variables of that
DOF.

The two main offenders were the Forchheimer velocity model and the
model for the Stokes equations. To ensure that they continue to work,
the "powerinjection" and the "stokestest2c" problems are now both
compiled and tested with both, automatic differentiation and finite
differences, and the results of these tests is compared against the
same reference solution.

The majority of the time required to develop this patch was actually
required for testing: All tests compile and pass with debugging and
aggressive optimization flags with at least GCC 5, GCC 7 and clang
3.8, as well as Dune 2.3 and 2.4. Also, the results of flow_ebos stay
identical for Norne whilst the performance difference is below the
measurement noise on my machine. (the version with this patch applied
was actually about 1% faster.)
2017-07-21 18:35:08 +02:00
Andreas Lauser
99304f9689 change the order of OPM_UNUSED and variable name
it seems like some compilers (GCC 4.9.2?) are picky about this and
require

```c++
TypeName VariableName __attribute__ ((__unused__))
```
2017-01-17 13:28:56 +01:00
Andreas Lauser
d514667977 remove the modified version of the linear solvers from dune-istl
i.e., the solvers.hh file is removed. The main reason for this is that
it avoids having to distribute a file with a potentially incompatible
license (i.e., GPLv2 + template exception vs GPLv2+), but the
home-brewn bicgstab solver also seems to perform a tiny bit better.
2017-01-02 15:45:41 +01:00
Andreas Lauser
01326ad3c7 adapt to the move of Unused.hpp from opm-material to opm-common 2016-11-22 14:41:07 +01:00