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

Functionality to extract submodels #23

Merged
merged 1 commit into from
Feb 2, 2025
Merged

Conversation

daavid00
Copy link
Member

@daavid00 daavid00 commented Feb 2, 2025

Using the flag -v, then a submodel can be extracted either by conditions on the init values (e.g., 'fipnum 2,3') or by giving the xypolygon vertices in meters (e.g., 'xypolygon [0,0] [30,0] [30,30] [0,0]'). The cool thing is that the pore volume outside the extracted domain can be added to the submodel boundaries with different options to project it using the -p flag: '0' no porv correction, '1' adds the porv from outside on the boundary of the submodel, '2' adds the corner regions (e.g., below the mini and minj from the input model) to the corners in the submodel, '3' distributes the porv uniformly along the boundary, and '4' distributes it on the whole submodel.

Extracting a submodel is useful to reduce memory and increase efficiency (all ijk numbers are mapped accordingly to the new deck, including segmented wells).

@daavid00 daavid00 merged commit faf9733 into cssr-tools:main Feb 2, 2025
1 check passed
@daavid00 daavid00 deleted the subModel branch February 4, 2025 17:31
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