Arne Morten Kvarving
|
351181f355
|
add missing WellSegments.hpp includes
|
2023-01-12 14:37:32 +01:00 |
|
Arne Morten Kvarving
|
3083525e8e
|
MultisegmentWellEval: use {fmt} to format error messages
|
2022-12-22 08:35:27 +01:00 |
|
Arne Morten Kvarving
|
9e789fc144
|
MultisegmentWellEval: remove unused headers
|
2022-12-22 08:35:27 +01:00 |
|
Arne Morten Kvarving
|
c1e05fae18
|
MultisegmentWellSegments: make members private
and add various read-only accessors
|
2022-12-19 16:03:54 +01:00 |
|
Arne Morten Kvarving
|
4b3a6f37d5
|
move calculation part of handleAccelerationPressureLoss to MultisegmentwellSegments
|
2022-12-19 16:03:54 +01:00 |
|
Arne Morten Kvarving
|
70702738cc
|
move pressureDropValve to MultisegmentWellSegments
|
2022-12-19 16:03:54 +01:00 |
|
Arne Morten Kvarving
|
fb0ec18aba
|
move pressureDropAutoICD to MultisegmentWellSegments
|
2022-12-19 16:03:54 +01:00 |
|
Arne Morten Kvarving
|
133f2a92bb
|
move pressureDropSpiralICD to MultisegmentWellSegments
|
2022-12-19 16:03:54 +01:00 |
|
Arne Morten Kvarving
|
4acfec9d1d
|
move getFrictionPressureLoss to MultisegmentWellSegments
|
2022-12-19 16:03:54 +01:00 |
|
Arne Morten Kvarving
|
ef7b2aca4e
|
move computeSegmentFluidProperties to MultisegmentWellSegments
|
2022-12-19 16:03:54 +01:00 |
|
Arne Morten Kvarving
|
4a9cedf452
|
move getSegmentSurfaceVolume to MultisegmentWellSegments
|
2022-12-19 16:03:53 +01:00 |
|
Arne Morten Kvarving
|
9c19120855
|
move getHydroPressureLoss to MultisegmentWellSegments
|
2022-12-19 16:03:27 +01:00 |
|
Arne Morten Kvarving
|
40adc0ddbd
|
move segment_depth_diffs_ to MultisegmentWellSegments
|
2022-12-19 16:03:27 +01:00 |
|
Arne Morten Kvarving
|
5755c94256
|
move segment_inlets_ to MultisegmentWellSegments
|
2022-12-19 16:03:27 +01:00 |
|
Arne Morten Kvarving
|
2766427df0
|
move segment_perforations_ and perforation_segment_depth_diffs_ to MultisegmentWellSegments
|
2022-12-19 16:03:26 +01:00 |
|
Arne Morten Kvarving
|
aa684a10b8
|
added: MultisegmentWellSegments
this is a container class for per-segment properties in MultisegmentWell
|
2022-12-19 15:55:20 +01:00 |
|
Arne Morten Kvarving
|
bc0610171d
|
MultisegmentWellEval: use symbols from primary variables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
3b80b913da
|
MultisegmentWellPrimaryVariables: make data members private
and add generic read-only accessor to evaluations
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
e1cd54b267
|
MultisegmentWell: move updateUpwindingSegments to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
37607c570a
|
MultisegmentWell: move updateWellStateFromPrimaryVariables to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
dbdcb2d5ce
|
MultisegmentWell: move getWQTotal to MultisegmentWellPrimaryVariables
also drop otherwise unused getSegmentWQTotal
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
6b47f9bf1a
|
MultisegmentWell: move getQs to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
62297b2a63
|
MultisegmentWell: move getSegmentRate to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
99020fe33b
|
MultisegmentWell: move getBhp to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
bb377c0a47
|
MultisegmentWell: move getSegmentPressure to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
f99ecd15ac
|
MultisegmentWell: move getSegmentRateUpwinding to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
8e9b004cfc
|
MultisegmentWell: move surfaceVolumeFraction to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
2e2a49b935
|
MultisegmentWell: move volumeFractionScaled to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
e539614fff
|
MultisegmentWell: move volumeFraction to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
b112a793c5
|
MultisegmentWell: move updatePrimaryVariablesNewton to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
6404d69201
|
MultisegmentWell: move processFractions to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
5212e9c100
|
MultisegmentWell: move updatePrimaryVariables to MultisegmentWellPrimaryVariables
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
e1fccd47dc
|
added: MultisegmentWellPrimaryVariables
this is a container class for the primary variables in
multisegment well
|
2022-12-19 13:05:39 +01:00 |
|
Arne Morten Kvarving
|
f782673b2d
|
MultisegmentWell: make updatePrimaryVariables non-const
this will obviously update state
|
2022-12-16 15:07:35 +01:00 |
|
Arne Morten Kvarving
|
ef992080cf
|
MultisegmentWell: make updatePrimaryVariablesNewton non-const
this will obviously update state
|
2022-12-16 15:07:12 +01:00 |
|
Arne Morten Kvarving
|
ac91db281a
|
MultisegmentWell: make processFractions non-const
this updates state
|
2022-12-16 15:06:36 +01:00 |
|
Arne Morten Kvarving
|
6b61af21b3
|
MultisegmentWell: make initPrimaryVariablesEvaluation non-const
this will obviously update state
|
2022-12-16 15:06:03 +01:00 |
|
Arne Morten Kvarving
|
2d154b50bb
|
added: MultisegmentWellEquations::residual()
this returns a const reference to the residual vector.
use this in MultisegmentWellEval
|
2022-12-05 11:07:09 +01:00 |
|
Arne Morten Kvarving
|
1952ca1e5c
|
use MultisegmentWellAssemble::assemblePressureEq in assembleICDPressureEq
|
2022-12-05 11:07:09 +01:00 |
|
Arne Morten Kvarving
|
32dce644d3
|
added: MultisegmentWellAssemble::assembleTrivialEq
extracted from MultisegmentWellEval::assembleICDPressureEq
|
2022-12-05 11:07:09 +01:00 |
|
Arne Morten Kvarving
|
05a4ca85a7
|
added: MultisegmentWellAssemble::assemblePressureEq
extracted from MultisegmentWellEval::assembleDefaultPressureEq
|
2022-12-05 11:07:09 +01:00 |
|
Arne Morten Kvarving
|
d64508f3b8
|
added: MultisegmentWellAssemble::assemblePressureLoss
extracted from MultisegmentWellEval::handleAccelerationPressureLoss
|
2022-12-05 11:07:09 +01:00 |
|
Arne Morten Kvarving
|
4ebde4e003
|
added: MultisegmentWellAssemble
this handles assembly of the equation system for multisegment well.
start by moving assembleControlEq into the new class
|
2022-12-05 11:07:09 +01:00 |
|
Arne Morten Kvarving
|
4a2fcd5f09
|
added: MultisegmentWellEquations::extract(WellContributions&)
this adds the well matrices to a WellContributions object.
use the new method in the implementation.
|
2022-12-05 10:13:55 +01:00 |
|
Arne Morten Kvarving
|
d50aaf8ed4
|
added: MultisegmentWellEquations::recoverSolutionWell()
this recovers the well solution from a solution vector.
use the new method in the well implementation.
|
2022-12-05 10:13:55 +01:00 |
|
Arne Morten Kvarving
|
a7cb444328
|
MSWellHelpers: simplify interfaces
- avoid passing the matrix, only pass the solver. possible
since setting up the solver is not done in here any more.
- avoid passing shared_ptr's
|
2022-12-05 10:13:55 +01:00 |
|
Arne Morten Kvarving
|
8fe6b3968e
|
added: MultisegmentWellEquations::init
this initializes the equation system.
use the new method in the well implementation.
|
2022-12-01 10:36:40 +01:00 |
|
Arne Morten Kvarving
|
57f09050fc
|
add: MultisegmentWellEquations
this is a container for the multisegment well equation system
|
2022-12-01 10:25:28 +01:00 |
|
Arne Morten Kvarving
|
2f0c68f574
|
MultisegmentWellEval: make assembleICDPressureEq non-const
this changes class state
|
2022-11-30 23:15:25 +01:00 |
|
Arne Morten Kvarving
|
c15925858f
|
MultisegmentWellEval: make assembleDefaultPressureEq non-const
this changes class state
|
2022-11-30 23:15:25 +01:00 |
|