NVIDIA / modulus-sym

Framework providing pythonic APIs, algorithms and utilities to be used with Modulus core to physics inform model training as well as higher level abstraction for domain experts
https://developer.nvidia.com/modulus
Apache License 2.0
147 stars 60 forks source link

Can modulus be used to solve ODE? #37

Closed gaowutong closed 1 year ago

gaowutong commented 1 year ago

In modulus, usually a geometry object is defined to represent the space domain of the PDE. The constraints are then defined by passing geometry. What if I want to solve a ODE? It seems I can not define such a trajectory geometry in advance because it is to be solved. Any examples about ODE?

NickGeneva commented 1 year ago

Hi @gaowutong

Solving an ODE should be certainly possible and is likely a simplification of many of the implemented examples. An example of solving a simple spring mass ODE system can be found in our documentation. Additionally, others have worked on solving different ODEs in our forums.

gaowutong commented 1 year ago

@NickGeneva Thanks for the kind response! I'm going to try to solve some ODEs of my domain using modulus.