Skip to content
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

Collect Statistics on Connection Level Fracturing Process #9

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bska
Copy link
Contributor

@bska bska commented Dec 18, 2024

This PR adds a new member function

template <typename Scalar>
void Fracture::assignGeomechWellState(ConnFracStatistics<Scalar>&) const;

which computes statistical measures (minimum value, maximum value, average value/mean, and standard deviation) of fracture pressures, injection flow rate, and fracture width for a single fracture. We also add a new member function

template <typename Scalar>
void FractureModel::assignGeomechWellState(WellState<Scalar>& wellState) const;

which calls the above for each fracture in the model. Collectively, these enable emitting the new summary vectors

CFR<Q>{MAX,MIN,AVG,STD}

introduced in PRs OPM/opm-common#4388 and OPM/opm-simulators#5811 for the quantity <Q> as 'P' (pressure), 'IR' (injection rate), and 'WD' (width) through the regular mechanism.

@bska
Copy link
Contributor Author

bska commented Dec 18, 2024

I am creating this PR in draft mode for two reasons

  1. It depends on, and contains, the earlier PR Reduce Object Copying #8.
  2. It uses the new data structures introduced in PRs Add Connection Fracturing Statistics Summary Vectors OPM/opm-common#4388 and Report Connection Level Fracturing Statistics to I/O Layer OPM/opm-simulators#5811.

I will keep the PR in a draft state until such time as it is ready for review and merging.

@bska bska force-pushed the collect-fracturing-statistics branch from 333f42f to 9d738ef Compare December 19, 2024 09:20
This commit adds a new member function

    Fracture::assignGeomechWellState(ConnFracStatistics<Scalar>&)

which computes statistical measures (minimum value, maximum value,
average value/mean, and standard deviation) of fracture pressures,
injection flow rate, and fracture width for a single fracture.  We
also add a new member function

    FractureModel::assignGeomechWellState(WellState<Scalar>& wellState)

which calls the above for each fracture in the model.  Collectively,
these enable emitting the new summary vectors

    CFR<Q>{MAX,MIN,AVG,STD}

for the quantity <Q> as 'P' (pressure), 'IR' (injection rate), and
'WD' (width) through the regular mechanism.
@bska bska force-pushed the collect-fracturing-statistics branch from 9d738ef to 814c873 Compare December 20, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant