Kai Bao
1f2442fe80
reducing paramter list for more functions in StandardWells
...
computeWellFlux
updateWellState
updateWellControls
addWellControlEq
computeWellPotentials
2016-05-23 15:11:50 +02:00
Kai Bao
a35c3e7468
removing parameters for extractWellPerfProperties
2016-05-23 15:11:50 +02:00
Kai Bao
0667fceb35
reducing the number of arguments of computeWellConnectionPressures
...
and computeWellConnectionDensitesPressures.
These functions need to be renamed.
2016-05-23 15:11:50 +02:00
Kai Bao
22b5157bf2
adding a few fluid related members to StandardWells
...
to reduce the number of the public function arguments.
2016-05-23 15:11:50 +02:00
Atgeirr Flø Rasmussen
bd774ed06c
Merge pull request #679 from qilicun/log_simulation_messages
...
write simulation details to log file.
2016-05-19 15:09:39 +02:00
Tor Harald Sandve
5757ef8ad0
Adjust to upstream changes
...
Change from std::vector<int> to std::vector<HydroCarbonState> for the
hydroCarbonState
2016-05-13 12:40:50 +02:00
Tor Harald Sandve
01c782dbf3
Remove primalvariable_ and use hydroCarbonState instead
...
the hydrocarbonstate is stored in the reservoir state and
used instead of the primalvariable_
The initial hydrocarbonstate is computed using
initHydroCarbonState(...);
2016-05-13 09:04:48 +02:00
Tor Harald Sandve
e8fcf9259c
Use stored hydrocarbonstate to get primal variables
...
If hydrocarbonstate is not provided by the state fall back to
the old behaviour of computing the hydrocarbonstate from the saturations
2016-05-12 10:38:49 +02:00
Liu Ming
f5a57b8a26
Let OpmLog control output.
2016-05-10 13:51:10 +08:00
Liu Ming
431a21d632
write simulation details to log file.
2016-05-09 13:33:44 +08:00
Kai Bao
08e691e262
moving variableWellStateInitials to StandardWells.
2016-04-29 10:07:10 +02:00
Kai Bao
15380fd370
moving variableWellStateIndices to StandardWells
...
Probably it is the time to introduce SeqQs and SeqP for the
multi-segment wells.
2016-04-29 10:07:10 +02:00
Kai Bao
e7d00f4f99
adding variableStateWellIndices to StandardWells
...
to handle different types of variables later for different types of
wells.
2016-04-29 10:07:10 +02:00
Kai Bao
b87920e5e4
moving computeWellPotentials to StandardWells
2016-04-29 10:07:10 +02:00
Kai Bao
13acc8ee03
moving computeWellConnectionPressures to StandardWells
...
the results look okay, while the running for flow_solvent needs further
investigation even the results with flow_solvent actually look okay.
With two different version of
computePropertiesForWellConnectionPressures, flow_solvent produces the
same results. This is something needs further investigation.
The current implementation requires a copy of
computeWellConnectionPressure in StandardWells and StandardWellsSolvent.
That means probably we need to introduce the asImpl() for the Wells.
2016-04-29 10:07:10 +02:00
Kai Bao
dcca0b0b76
moving addWellControlEq to StandardWells
2016-04-29 10:07:10 +02:00
Kai Bao
eb278c3c9a
moving addWellFluxEq() to StandardWells
...
Conflicts:
opm/autodiff/BlackoilModelBase_impl.hpp
2016-04-29 10:07:10 +02:00
Atgeirr Flø Rasmussen
0d85f3642c
Access water/gas quantities only if active phase.
2016-04-26 08:24:54 +02:00
babrodtk
a1504a2bff
Runs first iterations of two-phase case plausibly
2016-04-26 07:49:12 +02:00
babrodtk
2ac514a1ea
Checkpoint
2016-04-26 07:49:12 +02:00
Kai Bao
be55efa484
fixing the compilation and running resulting from PR648
2016-04-20 14:42:56 +02:00
Kai Bao
ebe60bc5d7
puting WellModel before Implementation in the template.
2016-04-20 14:26:13 +02:00
Kai Bao
b464e4fb4a
adding WellModel as template class for BlackoilModelBase
...
the compilation and running of flow are recovered.
Conflicts:
opm/autodiff/BlackoilModelBase_impl.hpp
2016-04-20 14:26:13 +02:00
Tor Harald Sandve
18434e54ad
Query the compute_well_potential parameter only once
...
-- and fix some comments
2016-04-20 08:32:57 +02:00
Tor Harald Sandve
e9b097cbf4
Only compute well potential if needed
...
A boolen user parameter is added to controll the computation of well
potential.
This is a temporary fix to assure that no extra computation time is used
on well potential calculation if it is not needed. The long term fix
will require a more thorough revising of the well group implementation.
2016-04-19 16:24:28 +02:00
Tor Harald Sandve
84972ac21e
Fix bhp/thp logic in well potential calculation
...
Pick the most restrictive bhp (not the one that gives the largest
potential flow)
2016-04-19 15:58:05 +02:00
Tor Harald Sandve
4867e14f88
Fixes after rebase
...
-- remove some leftovers from merge process
-- start using stdWells()
2016-04-19 09:41:25 +02:00
Tor Harald Sandve
b216302895
Adapt to usage of stdWells()
2016-04-19 09:21:16 +02:00
Tor Harald Sandve
cc48e8a17e
Add support for THP in well potential calculations
2016-04-19 09:21:15 +02:00
Tor Harald Sandve
18246263e9
Move computation of well potentials from simulator class ot model class
...
- the computation of well potentials in the model class calculates the
well potentials using computeWellFlux()
- in this way the well potential calculations also handle well where
some perforations are closed by the simulator due to cross-flow.
- the well potentials pr perforation and phase is stored in the well
state.
2016-04-19 09:21:15 +02:00
Kai Bao
adb140a788
fixing the running of flow_multisegment
2016-04-14 16:05:19 +02:00
Kai Bao
75b73a893e
putting Vector and ADB to be inside StandardWells and wellhelpers
2016-04-14 16:05:19 +02:00
Kai Bao
19734f2103
adding extractWellPerfProperties to StandardWellsSolvent
...
to fix the flow_solvent running.
2016-04-14 16:05:19 +02:00
Kai Bao
5da57973fe
adding updateWellState and updateWellControls to StandardWells
2016-04-14 16:05:18 +02:00
Kai Bao
376c940f09
moving updatePerfPhaseRatesAndPressures to StandardWells
2016-04-14 16:05:18 +02:00
Kai Bao
c398a6e424
puting computeWellFlux in StandardWells
2016-04-14 16:05:18 +02:00
Kai Bao
e9e1b9fda8
adding extractWellPerfProperties to StandardWells
...
It causes problem for the flow_multisegment. So the version in
BlackoilModelBase is kept for now.
On the other hand, it is few of functions that will be both required by
the standard wells and multisegment wells.
Some decision will be made later on how to put this function.
2016-04-14 16:05:18 +02:00
Kai Bao
c8b66821d5
adding computeWellConnectionDensitesPressures to StandardWells class.
2016-04-14 16:05:18 +02:00
Kai Bao
5d99fac207
adding StandardWellsSolvent for Solvent model.
2016-04-14 16:05:18 +02:00
Kai Bao
266f6f2df5
adding computePropertiesForWellConnectionPressures to StandardWells
...
tested with flow. Not sure how other flow siblings work.
2016-04-14 16:05:18 +02:00
Pål Grønås Drange
77fc26475b
Using new EclipseState API, made ->s into .s
2016-04-12 14:47:50 +02:00
Kai Bao
23ba5fa398
removing the StandardWells definition inside BlackoilModelBase
...
and some other tiny cleaning up.
2016-04-07 10:45:13 +02:00
Kai Bao
84cc1ed81d
correcting the determination of wells_active_.
2016-04-06 14:36:51 +02:00
Kai Bao
9972dae32a
updating for the comments.
...
implement wells(), localWellsActive() and wellsActive() for the
BlackoilModelBase and its derived classed.
2016-04-06 12:54:01 +02:00
Kai Bao
4ad5d81296
fixing wrong codes from the rebase process and cleanup.
2016-04-06 12:54:01 +02:00
Kai Bao
8a52dd743b
making StandardWells a simple class.
2016-04-06 12:54:01 +02:00
Kai Bao
3947ff5b1d
moving localWellsActive and wellsActive to StandardWells
...
maybe later it can be something general for different types of wells.
2016-04-06 12:54:01 +02:00
Kai Bao
23288ce2e5
fixing the compilation after updated with master branch.
2016-04-06 12:54:01 +02:00
Kai Bao
bef4b8c077
moving the wellOps to the StandardWells class.
2016-04-06 12:54:01 +02:00
Kai Bao
8367eaacb3
first attempt to introduce StandardWells struct.
...
To replace the const Wells struct in BlackoilModelBase.
Only testing with Flow for the moment. Will update other Flow siblings
later.
2016-04-06 12:54:00 +02:00