isds-neu / PhyCRNet

Physics-informed convolutional-recurrent neural networks for solving spatiotemporal PDEs
MIT License
108 stars 34 forks source link

Computational costs of numerical solver vs. surrogate #5

Closed stwerner97 closed 2 years ago

stwerner97 commented 2 years ago

Hi,

one common argument to use surrogate models over numerical solvers is that the latter are more costly to use computational wise.

Did you compare the time to rollout the network against the time to solve e.g. the Burgers equation numerically once the network is fully trained? Unfortunately, I could not find such a comparison in the paper.

Thanks a lot!

paulpuren commented 2 years ago

Hi,

one common argument to use surrogate models over numerical solvers is that the latter are more costly to use computational wise.

Did you compare the time to rollout the network against the time to solve e.g. the Burgers equation numerically once the network is fully trained? Unfortunately, I could not find such a comparison in the paper.

Thanks a lot!

This is a good question. We didn't put the comparison of inference time in the paper, which we should have done. But I do compare with the high-order finite difference method on 2D Burgers equations with Reynolds number of 200. Our inference time is 4.09e-3 sec/step, while FD method has the simulation time of 4.19e-2 sec/step. I believe the discrepancy will become larger when the Renolds number increases. Hope this answer your question. Thank you.

stwerner97 commented 2 years ago

Thanks a lot!