Modify the physical model#
Create SPE11B configurations with different physical models and compare their runtime and benchmark results.
Create the configurations#
Copy the example configuration:
cp examples/spe11b.toml immiscible.toml
cp examples/spe11b.toml isothermal.toml
cp examples/spe11b.toml convective.toml
Set model in each file:
model = "immiscible"
Use isothermal and convective in the corresponding files. The supplied
SPE11B configuration can be retained as the complete case.
The supported models are:
immiscibleSupports fast prototyping without component dissolution.
isothermalIncludes component dissolution but omits thermal effects.
convectiveEnables the convective-dissolution model.
completeIncludes component dissolution and thermal effects.
Run the cases#
pyopmspe11 -i immiscible.toml -o immiscible -m deck_flow_data -w 1
pyopmspe11 -i isothermal.toml -o isothermal -m deck_flow_data -w 1
pyopmspe11 -i convective.toml -o convective -m deck_flow_data -w 1
Result#
Models with fewer degrees of freedom generally run faster.#
Next#
Continue with Modify the grid. See the model section in Configuration reference for the complete definitions and convective-model settings.