[deal.II] Re: Non Homogenous Boundary Conditions on a Cylinder

2020-07-01 Thread Simon Sticko
Hi, > and the code seems to be working fine! Is there anything that I am > missing in your opinion? No. If you're happy, I'm happy. Best, Simon On Wednesday, July 1, 2020 at 7:51:11 AM UTC+2, Samuel Rodriguez wrote: > > Hi Simon, > > I am a slow learner but you were correct. Here is the first

[deal.II] Re: Non Homogenous Boundary Conditions on a Cylinder

2020-06-30 Thread Simon Sticko
Hi, >From the figure you can't really tell whether the boundary condition is fulfilled or not. If you want to check if the normal derivative is reasonable (almost equal to 0) at the boundary, the easiest is probably to plot the solution on a line in the radial direction. This can be done by

[deal.II] Re: Non Homogenous Boundary Conditions on a Cylinder

2020-06-29 Thread Samuel Rodriguez
Hi Simon, It seems I might not have understood my own question. You answered the question I was trying to ask. Would you be able to help me out with one more thing? I followed your advice but the boundary conditions do not seem bedo not seem to be getting the correct boundary conditions, so I

[deal.II] Re: Non Homogenous Boundary Conditions on a Cylinder

2020-06-26 Thread Simon Sticko
Hi, I'm not sure I understand your question correctly, but if you want to impose an inhomogeneous Neumann boundary condition you would typically write a small class representing the boundary condition you want: class NeumannBoundaryCondition : public Function<3> { public: double value(const