porepy.models.run_models module
This module contains functions to run stationary and time-dependent models.
- run_stationary_model(model, params)[source]
Run a stationary model.
- Parameters
model – Model class containing all information on parameters, variables, discretization, geometry. Various methods such as those relating to solving the system, see the appropriate model for documentation.
params (dict) – Parameters related to the solution procedure. # Why not just set these as e.g. model.solution_parameters.
- Return type
None
- run_time_dependent_model(model, params)[source]
Run a time dependent model.
- Parameters
model – Model class containing all information on parameters, variables, discretization, geometry. Various methods such as those relating to solving the system, see the appropriate solver for documentation.
params (dict) – Parameters related to the solution procedure. # Why not just set these as e.g. model.solution_parameters.
- Return type
None