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
193 stars 73 forks source link

Add inference analysis for the turbulence super resolution example #154

Closed ktangsali closed 5 months ago

ktangsali commented 5 months ago

Modulus Pull Request

Description

Adds inference analysis for the turbulent super resolution example.

Checklist

Dependencies

ktangsali commented 5 months ago

/blossom-ci

ktangsali commented 5 months ago

/blossom-ci

ktangsali commented 5 months ago

This looks quite good to me. I have two main comments:

  1. The first energy spectrum plot is super noisy. Is that not doing any averaging? Also, what is the difference compared to the next energy spectrum plot?
  2. For the continuity residual, would be better to plot a histogram of the first invariant of the velocity gradient tensor, P, similar to how you compute Q and R.

Thanks Akshay, I have addressed your comments. Added plots for P invariant and also cleaned up the spectrum plots.

Please take a look!

ktangsali commented 5 months ago

/blossom-ci

ktangsali commented 5 months ago

/blossom-ci