Replies: 2 comments 4 replies
-
I may understand that IC is mostly given by a function. In PointSetBC, a series of points at time 0 along the x direction can be set to achieve the same effect as IC. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dr Lu, thank you for your extraordinary work:
my engineering background is to add an initial pulse excitation of 1000N at a certain position of the beam, when using deepxde, I don't know if the Dirac function is used in the initial conditions to represent this pulse excitation, The following is the wrong code I wrote myself, how should the correct code be expressed?
ic = dde.IC(geomtime, lambda x: 1000*DiracDelta(x[:, 0:1]-0.2), lambda _, on_initial: on_initial)
Beta Was this translation helpful? Give feedback.
All reactions