Skip to content

HamzaSardar/TorchFoam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TorchFoam

A package to run OpenFOAM simulations, extract and process the data for use in PyTorch. Requires Python v3.8.10.

Interfacing with OpenFOAM:

The PyFoam library is used to interface with openFOAM. This library includes useful classes which introduce an intuitive way to set up parameters for an OpenFOAM simulation from within a python script.

Interfacing with PyTorch:

Solver results files from OpenFOAM are given in ASCII text format, from which the numerical data may be extracted for conversion to a torch tensor.

About

A package to run OpenFOAM simulations and process the data for use in PyTorch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages