Test Dynamic Segment Dimensions Against WSEGDIMS Limits
In particular, check that 1. Number of MS wells <= WSEGDIMS(1) 2. Number of segments per well <= WSEGDIMS(2) 3. Number of branches per well <= WSEGDIMS(3) for all report steps in the simulation run. Example diagnostic message of a case that violates limits 2 and 3: Error: Problem with keyword WSEGDIMS In CASE.DATA line 60 The case has a multi-segmented well with 246 well segments, but at most 200 are allowed in WSEGDIMS. Please increase item 2 of WSEGDIMS to at least 246 Error: Problem with keyword WSEGDIMS In CASE.DATA line 60 The case has a multi-segmented well with 105 lateral branches, but at most 5 are allowed in WSEGDIMS. Please increase item 3 of WSEGDIMS to at least 105
This commit is contained in:
@@ -95,7 +95,8 @@ public:
|
||||
return this->nDynWlistMax;
|
||||
}
|
||||
|
||||
const std::optional<KeywordLocation>& location() const {
|
||||
const std::optional<KeywordLocation>& location() const
|
||||
{
|
||||
return this->m_location;
|
||||
}
|
||||
|
||||
@@ -113,7 +114,6 @@ public:
|
||||
rst_cmp(*this, data);
|
||||
}
|
||||
|
||||
|
||||
template<class Serializer>
|
||||
void serializeOp(Serializer& serializer)
|
||||
{
|
||||
@@ -143,7 +143,6 @@ public:
|
||||
|
||||
static WellSegmentDims serializationTestObject();
|
||||
|
||||
|
||||
int maxSegmentedWells() const
|
||||
{
|
||||
return this->nSegWellMax;
|
||||
@@ -159,6 +158,11 @@ public:
|
||||
return this->nLatBranchMax;
|
||||
}
|
||||
|
||||
const std::optional<KeywordLocation>& location() const
|
||||
{
|
||||
return this->location_;
|
||||
}
|
||||
|
||||
bool operator==(const WellSegmentDims& data) const;
|
||||
|
||||
template<class Serializer>
|
||||
@@ -167,12 +171,14 @@ public:
|
||||
serializer(nSegWellMax);
|
||||
serializer(nSegmentMax);
|
||||
serializer(nLatBranchMax);
|
||||
serializer(location_);
|
||||
}
|
||||
|
||||
private:
|
||||
int nSegWellMax;
|
||||
int nSegmentMax;
|
||||
int nLatBranchMax;
|
||||
std::optional<KeywordLocation> location_;
|
||||
};
|
||||
|
||||
class NetworkDims {
|
||||
|
||||
Reference in New Issue
Block a user