jx-wang-s-group / ppnn

PDE Preserved Neural Network
MIT License
33 stars 11 forks source link

Where is the data.pt and burgers_new.pt file? #3

Open SADBANGERS opened 1 month ago

SADBANGERS commented 1 month ago

I already ran operator.py , next step is to run train2D.py , but i noticed that there is a configuration named:datafile, and it points to "data.pt" and "burgers_new.pt", also i find an OPENFOAM file in the project, So i wonder if these 2 files was generated by OPENFOAM tool ? Or by some other ways to get in order to form a training set , If you can inform about the detail of these 2 files , i'd be so appreciated , Thanks!

Xin-yang-Liu commented 1 month ago

My apologize that the current code is a bit messy. I haven't got a chance to thoroughly organize the code well.

After you run the operators.py, you would already generate the training data as specified here. https://github.com/jx-wang-s-group/ppnn/blob/61800c9f9a6f268c7ce17f127eda40a84135a808/src/operators.py#L489 In the configuration file, you should point to the path of the generated data.