-
Notifications
You must be signed in to change notification settings - Fork 129
Eq lopt3 tilt #6519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Eq lopt3 tilt #6519
Conversation
549d453 to
01061cb
Compare
| auto elemIt = gridView.template begin</*codim=*/0>(); | ||
| const auto& elemEndIt = gridView.template end</*codim=*/0>(); | ||
| centroids_.resize(gridView.size(0)); | ||
| for (; elemIt != elemEndIt; ++elemIt) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unconventional to not just define elemIt in the loop header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not fixed since same is used in many other locations (will keep this fix for some clean-up later)
| rec[r], this->rsFunc_[r], this->rvFunc_[r], this->rvwFunc_[r], | ||
| this->tempVdTable_[r], this->saltVdTable_[r], this->regionPvtIdx_[r] | ||
| }; | ||
| vspan[0] = std::min(vspan[0], std::min(eqreg.zgoc(), eqreg.zwoc())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::min({a, b, c}) again here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not fixed since same is used in many other locations (will keep this fix for some clean-up later)
| rec[r], this->rsFunc_[r], this->rvFunc_[r], this->rvwFunc_[r], | ||
| this->tempVdTable_[r], this->saltVdTable_[r], this->regionPvtIdx_[r] | ||
| }; | ||
| vspan[0] = std::min(vspan[0], std::min(eqreg.zgoc(), eqreg.zwoc())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::min({a, b, c}) again here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not fixed since same is used in many other locations (will keep this fix for some clean-up later)
This draft PR introduces experimental support for the EQUIL keyword with N>0 input parameter on tilted fault blocks. The implementation explores different approaches to handle tilted grid geometries in equilibrium initialization.
Changes Made
Added support for tilted grid equilibration when N>0 is specified in the EQUIL keyword
Simplified approach: Uses dip angle to estimate weighting factors for tilted cells
Complex one approach: Computes actual horizontal cross-section areas at different depths (more accurate but computationally very expensive on Volve)
TESTS