stratatrapper
Field scale model generation and upscaling toolkit
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.6%) to scientific vocabulary
Keywords
Repository
Field scale model generation and upscaling toolkit
Basic Info
- Host: GitHub
- Owner: ImperialCollegeLondon
- License: bsd-3-clause
- Language: MATLAB
- Default Branch: main
- Homepage: https://imperialcollegelondon.github.io/StrataTrapper
- Size: 20.5 MB
Statistics
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 4
- Releases: 26
Topics
Metadata Files
README.md
Field scale model generation and upscaling toolkit
Repository: github.com/ImperialCollegeLondon/StrataTrapper

The StrataTrapper codes
This is the StrataTrapper upscaling toolkit. It can also generate heterogeneous fine-scale models with specific correlation lengths to re-upscale given coarse-scale two-phase flow models.
Another tool is the reduced-physics model CO2GraVISim.
In StrataTrapper-models
repository, we publish field-scale models upscaled with StrataTrapper.
Structure
Top-level scripts and functions are in the repository root,
and the rest is in src/ folder.
demo.m script is an implementation of the running guideline below.\
Feel free to play with it and use as an example for your own scripts.
Running
- Run
startup.mto setup MATLAB Path.- Optional: start a parallel pool to run computations there.
- Read or generate target coarse grid dimensions and input fine-scale porosity and permeability for each coarse block.
- Setup input rock-fluid properties and algorithm options represented by
ParamsandOptionsclasses. - Create logical
maskto filter out impermeable cells and/or define an arbitrary subset of cells to process. - Run
strata_trapperfunction with arbitrary number of parallel workers optionally enabling a UI progress bar. - Visualise outputs with
plot_resultfunction - Export the outputs to PFLOTRAN-OGS-compatible
text files using
ogs_exportfunction.
Tips:
- Usually, MATLAB runs
startup.mscripts automatically if they are in a startup folder. - The heaviest part of the algorithm is essentially parallel with no synchronisation. So, using several parallel workers usually results in a proportional performance boost.
Versions
The original version of the toolkit is v0.1.0.\ It has its own structure and some unique functionality,\ so it may worth attention as much as later versions.
CHANGELOG.md describes the version history and key changes.
Other versions can be accessed via tags and releases sections of the repository.
Contributing
Everyone is welcome to open issues and pull requests.
References
The StrataTrapper algorithm as well as motivation and theory behind it are in the paper:
Samuel J. Jackson, Samuel Krevor\ Small-Scale Capillary Heterogeneity Linked to Rapid Plume Migration During CO2 Storage\ Geophysical Research Letters | 2020\ https://doi.org/10.1029/2020GL088616
Owner
- Name: Imperial College London
- Login: ImperialCollegeLondon
- Kind: organization
- Email: icgithub-support@imperial.ac.uk
- Location: Imperial College London
- Repositories: 311
- Profile: https://github.com/ImperialCollegeLondon
Imperial College main code repository
Citation (CITATION.cff)
# https://github.com/citation-file-format/citation-file-format
cff-version: 1.2.0
title: "StrataTrapper upscaling toolkit"
message: >-
If you use this software,
please put the copyright NOTICE.txt in your developments
and cite using CITATION.cff provided in the repository
or generated by Zenodo
authors:
- &djmaxus
family-names: Elizarev
given-names: Maksim
alias: djmaxus
orcid: "https://orcid.org/0000-0002-5279-2877"
website: "https://djmaxus.dev"
- family-names: Jackson
given-names: Samuel J
- family-names: An
given-names: Senyou
- family-names: Wenck
given-names: Nele
- family-names: Muggeridge
given-names: Ann
- &skrevor
family-names: Krevor
given-names: Samuel
doi: "10.5281/zenodo.15438164"
contact:
- *djmaxus
- *skrevor
keywords:
- MATLAB
- CO2
- upscaling
- carbon dioxide
- heterogeneity
- reservoir simulation
- porous media flow
- pflotran
- capillary pressure
- CO2 storage
license: BSD-3-Clause
repository-code: "https://github.com/ImperialCollegeLondon/StrataTrapper"
type: software
url: "https://imperialcollegelondon.github.io/StrataTrapper/"
GitHub Events
Total
- Create event: 75
- Release event: 11
- Issues event: 23
- Watch event: 8
- Delete event: 56
- Issue comment event: 21
- Push event: 194
- Pull request review comment event: 13
- Pull request review event: 55
- Pull request event: 141
Last Year
- Create event: 75
- Release event: 11
- Issues event: 23
- Watch event: 8
- Delete event: 56
- Issue comment event: 21
- Push event: 194
- Pull request review comment event: 13
- Pull request review event: 55
- Pull request event: 141
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 4
- Total pull requests: 122
- Average time to close issues: 39 minutes
- Average time to close pull requests: about 8 hours
- Total issue authors: 1
- Total pull request authors: 4
- Average comments per issue: 0.0
- Average comments per pull request: 0.21
- Merged pull requests: 103
- Bot issues: 0
- Bot pull requests: 37
Past Year
- Issues: 4
- Pull requests: 122
- Average time to close issues: 39 minutes
- Average time to close pull requests: about 8 hours
- Issue authors: 1
- Pull request authors: 4
- Average comments per issue: 0.0
- Average comments per pull request: 0.21
- Merged pull requests: 103
- Bot issues: 0
- Bot pull requests: 37
Top Authors
Issue Authors
- djmaxus (11)
Pull Request Authors
- djmaxus (120)
- github-actions[bot] (52)
- dependabot[bot] (12)
- skrevor (4)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- actions/configure-pages v4 composite
- actions/deploy-pages v4 composite
- actions/jekyll-build-pages v1 composite
- actions/upload-pages-artifact v3 composite
- google-github-actions/release-please-action v4 composite