Step-3 Tutorials : Trying to use bessel function as a boundary dirichlet value

18 views
Skip to first unread message

pushkar...@gmail.com

unread,
Jan 1, 2021, 12:22:15 AM1/1/21
to deal.II User Group
Dear deal.II Community,

In my attempt to learn this library  I was working with step-3 tutorials where I wish to change my dirichlet boundary function to a bessel function instead of zero function but I ended up with a issue in visualization where I am not able to see any variation  on the mesh but I am able to run the program successfully.I have added the following code :

 Point<2> center(1.5,1.5);
 Functions::Bessel1<2> bessel(1,2.5,center);
VectorTools::interpolate_boundary_values (dof_handler,
                                            0,
                                            bessel,
                                            boundary_values);

Although I may be wrong conceptually at various places and I look forward to any help in this context as my goal with this exercise  to just change the homogeneous boundary condition to inhomogeneous one.

Thankfully
Pushkar


Pushkar Pandit

unread,
Jan 1, 2021, 12:49:14 AM1/1/21
to dea...@googlegroups.com
Well I did resolved the above issue by changing the center to a point that lies on the boundary.

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/8e0029e0-1c64-4d7d-a524-c948682743e5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages