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

Adding a CASENAME.PARAM when running flow in Python #5759

Open
Ruslan1541 opened this issue Nov 25, 2024 · 1 comment · May be fixed by #5760
Open

Adding a CASENAME.PARAM when running flow in Python #5759

Ruslan1541 opened this issue Nov 25, 2024 · 1 comment · May be fixed by #5760

Comments

@Ruslan1541
Copy link

Hello there!

If I run flow in Python, is it possible to add a CASENAME.PARAM file somewhere to change the simulation parameters?

@akva2
Copy link
Member

akva2 commented Nov 25, 2024

This is not currently possible. I have added such support in #5760

The constructor of the python simulator then takes an 'args' parameter which is a list of standard 'flow' command line parameters. To use a parameter file you'd do something ala

sim = BlackOilSimulator(filename='SPE1CASE1.DATA', args=['--parameter-file=CASENAME.PARAM'])

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 a pull request may close this issue.

2 participants