Skip to content

[Feature] Python API for driving models and supporting AI/ML integration #104

@fluidnumerics-joe

Description

@fluidnumerics-joe

Describe the solution you'd like
To make it easier to drive simulations and more complex workflows, a python API for SELF models should be created. Ideally, this should be able to be used to accomplish the following

  • Creating and loading mesh and geometry information
  • Querying geometry information (positions and metric terms)
  • Initializing models and setting interior and boundary values
  • Querying model state information ( solution, flux, etc. )
  • Selecting time integrators and driving forward stepping
  • Re-gridding data (for plotting purposes)

Additional context
To make this possible, it's likely that each DGModel* class will need to have some high level accessor style methods added. Additionally, we would need create wrapper functions in modules that can be compiled with f2py to expose the SELF API to python.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions