David Landa Marban
5600d7d9e5
FLOWS and FLORES support
2023-02-02 11:19:49 +01:00
Håkon Hægland
536ec73950
Add support for IMBNUMX, IMBNUMY, IMBNUMZ
2023-01-16 09:25:16 +01:00
Arne Morten Kvarving
b320716b17
move UDQ evaluation to EclActionHandler
...
thus we can avoid include of WellMatcher.hpp in eclproblem.hh
2023-01-10 11:31:56 +01:00
Arne Morten Kvarving
a920699e1a
add missing WellMatcher.hpp includes
2023-01-10 11:14:38 +01:00
Arne Morten Kvarving
384fff8c46
fix indent
2023-01-05 11:23:54 +01:00
Arne Morten Kvarving
55db8e863a
eclproblem: use make_unique
2023-01-05 11:23:46 +01:00
Arne Morten Kvarving
24ac5801a9
eclproblem: move core of handlePositionalParameter
...
make it a typetag independent helper function in generic problem source
2023-01-05 11:12:29 +01:00
Tor Harald Sandve
bdb82c2f3d
Rename PrimaryVarsMeaning{Water/Gas/Pressure/Brine} to {Water/Gas/Pressure/Brine}Meaning
2022-11-25 13:03:26 +01:00
Arne Morten Kvarving
473598c791
changed: remove EclProblem::checkDeckCompatibility
...
these checks are disabled and do not add anything new,
as the checks of value here are also performed elsewhere
2022-11-23 10:58:33 +01:00
Arne Morten Kvarving
d7c468575b
disable flow_alugrid in buildsystem if dune-alugrid was not found
2022-11-15 13:52:02 +01:00
Arne Morten Kvarving
4bbb9656b0
EclProblem: use of alugrid is known at compile time
...
use the proper define, no need for type gymnastics
2022-11-14 15:10:59 +01:00
Tor Harald Sandve
2af2df3a92
implement dirichlet boundary conditions
2022-11-04 12:12:08 +01:00
Markus Blatt
060dfde864
Fixed typo: acess -> access
2022-11-01 21:45:47 +01:00
Atgeirr Flø Rasmussen
142921e3d5
Ensure linearizer is updated after transmissibility changes.
2022-10-27 09:54:40 +02:00
Arne Morten Kvarving
586b88d3ad
changed: use BCData struct for freebc
2022-10-17 15:01:27 +02:00
Arne Morten Kvarving
95ab3427e2
initialize nonTrivialBoundaryConditions inline
...
this way you don't have to read the code to find the
default value
2022-10-17 15:01:27 +02:00
Arne Morten Kvarving
d2a720e40c
changed: use a struct for holding BC data
...
keeps related data as a single class member.
use this for massratebc_
2022-10-17 15:01:27 +02:00
Arne Morten Kvarving
3599e0e5de
eclproblem: use elements range generator
2022-10-13 23:00:57 +02:00
Arne Morten Kvarving
ecc36f6ce8
fix cmake handling
...
- use imported target for linking
- use separate damaris cmake script
- handle HAVE_DAMARIS config variable in the usual way
fixing issues when user does not provide an outputDir via a command_line
avoid adding damaris's command lines when we dont have damaris
2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen
c1b3c5e973
Rename option to EnableDamarisOutputCollective.
2022-10-13 12:23:06 +02:00
Joshua Bowden
fa7af3540c
Changes needed to add Damaris functionality. The current state is that we output the pressure field and we use both HDF5 and parallel HDF5.
...
Damaris initialization is added after InitMpi but before starting the simulation. Damaris will invoke a separate core for writing in
parallel and leave the rest of cores for the simulator. The main changes are in main where start_damaris and then in eclwriterm where
we use damaris to output the PRESSURE. To test Damaris one can use --enable-damaris-output=true and to use parallel HDF5 one can use
--enable-async-damaris-output=true (false is the default choice)
2022-10-13 12:23:06 +02:00
Arne Morten Kvarving
c4e2ffea57
simplify updateProperty_: use elements() range generator
2022-10-05 15:36:22 +02:00
Arne Morten Kvarving
26b8fe01a3
changed: use updateProperty_ in updateCompositionChangeLimits_()
2022-10-05 15:36:19 +02:00
Arne Morten Kvarving
2d33932160
changed: use updateProperty_ in updateMaxPolymerAdsorption_
2022-10-05 15:31:13 +02:00
Arne Morten Kvarving
0841b2baf4
changed: use updateProperty_ in updateHysteresis_
2022-10-05 15:28:07 +02:00
Arne Morten Kvarving
f4cd69f422
changed: use updateProperty_ in updateMinPressure_
2022-10-05 15:25:07 +02:00
Arne Morten Kvarving
80b54a85ad
changed: use updateProperty_ in updateMaxWaterSaturation_
2022-10-05 15:21:52 +02:00
Arne Morten Kvarving
32995d34a1
changed: use updateProperty_ in updateMaxOilSaturation_
2022-10-05 15:18:49 +02:00
Arne Morten Kvarving
e4fe00413b
added: EclProblem::updateProperty_ function
...
this loops over the grid cells, extracts compressedDofIdx
and intensive quantities and then calls a passed function.
2022-10-05 15:11:49 +02:00
Bård Skaflestad
3bb35b223c
Merge pull request #4119 from atgeirr/refactor-boundary-flux
...
Refactor boundary flux
2022-09-29 16:21:34 +02:00
Atgeirr Flø Rasmussen
bc13f57e95
Simplify the boundaryCondition() method.
2022-09-28 08:47:04 +02:00
Atgeirr Flø Rasmussen
5e08a9fc12
Make boundary condition data accessor function.
2022-09-28 08:47:04 +02:00
Atgeirr Flø Rasmussen
b65f5e9808
Add new overload for transmissibilityBoundary() without element context.
2022-09-28 08:47:04 +02:00
Kai Bao
7881161497
we only use drift compensation when wells are active
...
shut wells are not considered to be active.
2022-09-27 14:51:40 +02:00
Håkon Hægland
c9ae20bb64
Move updateRelperms() to the problem class
...
Moves the updateRelperms() method in BlackOilInstensiveQuantities in
opm-models to the EclProblem class and its parent MultiPhaseBaseProblem.
This is a more natural place for this method and it avoids having to
include EclMaterialManager into the BlackOilInstensiveQuantities.
2022-09-26 17:13:03 +02:00
Håkon Hægland
affc5cb53b
Return a pointer to the material manager
...
This is used by blackoilintensivequantities.hh. Further, for other
problems derived from MultiPhaseBaseProblem, that base class will
return a null pointer such that problems that do not override the
materialLawManagerPtr() method still can use the blackoil intensive
quantitites (which in the case of directional relative permeabilities
makes use of the problem reference to access the materialLawManager)
2022-09-22 23:54:29 +02:00
Håkon Hægland
cbdec23e50
Also check for unknown face direction
...
To avoid compiler warnings, we also need to check for the unknown face
direction due to change in the FaceDir::DirEnum values in opm-common.
2022-09-16 09:07:25 +02:00
Håkon Hægland
8b1bcb36bc
Adds support for KRNUM
2022-09-14 15:34:41 +02:00
Tor Harald Sandve
eb25ce1b99
clean-up comments and code
2022-08-18 08:27:38 +02:00
Tor Harald Sandve
262aead46c
fix issue with summing over ghost cells twice
2022-08-17 10:27:39 +02:00
Tor Harald Sandve
ceac9e5ad8
disable drift compensation for cases without source terms
2022-08-17 10:21:25 +02:00
Tor Harald Sandve
1f54e90f33
Restrict drift compensation by CNV tolerance
2022-08-17 10:21:25 +02:00
Arne Morten Kvarving
6ed8a38ba5
changed: consistently use std::array
2022-08-16 08:38:54 +02:00
Arne Morten Kvarving
a3e46876fb
minor cosmetics
2022-08-15 12:40:13 +02:00
Arne Morten Kvarving
99090ebf72
remove unused method
...
this was previously used by the ebos simulators
2022-08-15 12:40:13 +02:00
Arne Morten Kvarving
c405d718b1
changed: move action update handling to separate class
...
clearer interface boundaries plus it allows to build code only once
2022-08-15 12:40:13 +02:00
Arne Morten Kvarving
4d5f6dde42
changed: move three more methods to generic problem class
2022-08-15 10:30:59 +02:00
Bård Skaflestad
766543dd18
Merge pull request #3992 from akva2/ecl_modernization
...
Some small modernization changes in ecl classes
2022-08-10 13:26:25 +02:00
Arne Morten Kvarving
58b71c94af
EclProblem: some modernization
...
- use if constexpr
2022-08-10 12:44:53 +02:00
Atgeirr Flø Rasmussen
a5c8d40cfa
Remove unneeded timeIdx arguments, also silence other warnings.
2022-08-10 10:01:54 +02:00