Replies: 2 comments 8 replies
-
|
Your approach seems good. You don't need to define lines. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Prof. @lululxvi , Thanks so much for the clarification and sorry for the late reply. I tried to set up the problem for 1D diffusion with Dirichlet and Neumann boundary conditions. I get the following error. IndexError: arrays used as indices must be of integer (or boolean) type I don't know how to fix this error. Could you please have a look at the boundary conditions? I'm not sure what's wrong. Alternatively, I also tried But I still have some errors and am not sure how to fix them. When I want to try for 2D geometry like the below (geometry generated by specifying point cloud) I am unsure how to specify the points for the two ends for the geometry like above. On one end , I would like to specify the Dirichlet and Neumann on the other end. For 1D, I have the function: |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Dear All,
I would like to create a network geometry (3D) in Deepxde to set up a diffusion problem.
I looked for the geometry creation options given in the documentation and I think I may need to use
PointCloud.I've used
vedoin the past to create pointcloudBasically, I have the coordinates of the nodes in the geometry and
Linesinvedois used to define the edge connectivity i.e. the edge between two nodes.Pointsinvedowould result in a pointcloud which I can pass to the classGeometryinDeepxde. I am a bit unsure if this is the right way tot proceed. And it is not clear to me how the lines have to be defined inDeepxde.Suggestions on how to proceed would be of great help.
Thanks so much for the amazing library.
Beta Was this translation helpful? Give feedback.
All reactions