You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying something similar by appending np.ones((len(lbc_points). Here lbc_points is a 2d array with the coordinates of points at the left boundary of the geometry.
Since DirichletBC holds at all time points specified in TimeDomain(0, 60) ,
I am not sure if one has to choose a time step and specify the BC values explicitly at all the time instances .
Could you please advise on how to proceed?
The text was updated successfully, but these errors were encountered:
Hi Prof. @lululxvi
I've a 2D geometry created using
PointCloud
.When I try to specify the
Dirichlet
boundary condition usingPointSetBC
to solve a forward problem, I am unsure how the time needs to be specified.I referred to this example:
https://deepxde.readthedocs.io/en/latest/demos/pinn_inverse/diffusion.1d.inverse.html
where time is specified to the PointSetBC by appending t=1 to
observe_x
.I'm trying something similar by appending
np.ones((len(lbc_points)
. Herelbc_points
is a 2d array with the coordinates of points at the left boundary of the geometry.lbc_points_time = np.hstack((np.asarray(lbc_points), np.ones((len(lbc_points), 1))))
Since DirichletBC holds at all time points specified in
TimeDomain(0, 60)
,I am not sure if one has to choose a time step and specify the BC values explicitly at all the time instances .
Could you please advise on how to proceed?
The text was updated successfully, but these errors were encountered: