Raocp/PINN-laminar-flow

num_y

Hejiandong opened this issue · 1 comments

x_IC, y_IC, t_IC = CartGrid(xmin = 0, xmax = xmax,
ymin = 0, ymax = 0.41,
tmin = 0, tmax = 0,
num_x=81, num_y=41, num_t=1)

x_inb, y_inb, t_inb = CartGrid(xmin=0, xmax=0,
ymin=0, ymax=0.41,
tmin=0, tmax=tmax,
num_x=1, num_y=61, num_t=61)

你好,麻烦问一下为什么两个num_y的值不一样了?

Raocp commented

这里只是为了方便用Cartesian网格来生成collocation points,实际上随机在边界(或者初始时刻)取点也行,所以并不需要num_y(或者num_x)一致。