tianshao1992 / PINNs_Cylinder

29 stars 8 forks source link

How to put my own data into this repository for training #3

Open jiangzhangze opened 1 year ago

jiangzhangze commented 1 year ago

I'm new for PINN. I want to complete this project with my own data.Could you tell me how to make this kind of data for PINNs?Any help would be appreciated.

ningningningningningningningning commented 11 months ago

hi, I find your data has three parts: "grids","dynamics" and "fields". The dimension of "grids_" is (3,192,378,200,1). Could you please answer what information is in each dimension in detail, such as what data does dimension 3 represent?

tianshao1992 commented 10 months ago

Hi, the grids_ is a ndarray while you can permute or transpose the ndarray or tensor to (1, 200, 378, 192, 3) with the read_data function in the script. The last dimension stands for index, x and y coordinates of the grid nodes, which should be noted is that the index is not necessary. The 1st dimension means different Reynolds number in original but we only release one results (Re=250). the 2nd dimension is the total time step of each results, while is same in each grid slice but different in the fields slice. The 3rd and 4th dimension means the circumferential and radial nodes of the grid.