FlowModelingControl / flowtorch

flowTorch - a Python library for analysis and reduced-order modeling of fluid flows
GNU General Public License v3.0
131 stars 45 forks source link

FOAMDatalaoder #40

Closed JOEJOEJOE1231231231231 closed 11 months ago

JOEJOEJOE1231231231231 commented 11 months ago

I am sorry to bother you again.When I used Flowtorch to import data calculated by myself using Open Foam, the following error was reported. May I ask what happened to you image

AndreWeiner commented 11 months ago

Hi there, flowTorch is not designed and tested for Windows, particularly when it comes to parsing data. Moreover, the FOAMDataloader class is implemented for the ESI branch of OpenFOAM, i.e., openfoam.com You can try to run your script on Linux, and it should work. If you prefer to work on Windows, you can also load the data on Linux, save the data using NumPy or PyTorch, and load the data for analysis on Windows. Best, Andre

JOEJOEJOE1231231231231 commented 11 months ago

Thank You !!!!!!!!!