Skip to content

mcekwonu/Hidden-Fluid-Mechanics-Pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hidden-Fluid-Mechanics-Pytorch

Original codes of Hidden Fluids Models in PyTorch and trained the codes with data (cylinder_nektar_wake.mat) of Raissi et al (reference). The data was rearranged and save as cylinder_wake.mat, which can be found in Data folder.

Three variants of neural networks:

  • "vanilla" - plain MLP,
  • "resnet" - residual networks with skip connections and
  • "Denseresnet" - residual network with implementation of fourier features. The denseresnet NN is not yet fully validated.

The sine activation function is implemented with options of tanh and sigmoid linear (swish) activation functions respectively.

Sparse spatio and temporal data training are implemented respectively with the velocity fields and predicted the pressure and vorticity.

u_compared
v_compared vorticity

References:

About

Hidden Fluid Mechanics in PyTorch

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages