Re: [deal.II] projecting values of the solution on the boundary

2018-08-28 Thread Alberto Salvadori
Thank you JP, your hints are highly appreciated. I will work on creating my own data structure, to see how complex and effective it can be. In the meanwhile though I made some tests with "almost" zero volumes cohesive interfaces and they are indeed simple and effective. So, if there is a chance

Re: [deal.II] projecting values of the solution on the boundary

2018-08-27 Thread Jean-Paul Pelteret
Hi Alberto, This is simply not possible. The deal.II triangulation contains as much information as it needs, and we do not associate a normal with a volume. Normals are computed internally (and not stored!) based not only on the geometry of each real but also the mapping associated with the

Re: [deal.II] projecting values of the solution on the boundary

2018-08-27 Thread Jean-Paul Pelteret
Hi Alberto, > In brief: I'd like to design an algorithm to solve a problem over two > separate domains connected by an interface. Think in 1D of line 0_1 > separated in two parts 0_1/2 and 1/2_1. > In the simplest case, a linear elastic problem on each subdomain with a > spring that joins

Re: [deal.II] projecting values of the solution on the boundary

2018-08-26 Thread Alberto Salvadori
As a short follow up of the former question, I wonder how to pass geometrical information to a triangulation, if they are not included in the file read by grid.in(). As an example connected to the problem described above, consider the notion of "normal" at point 1/2 (in 3D: normal at the

Re: [deal.II] projecting values of the solution on the boundary

2018-08-24 Thread Alberto Salvadori
Thank you Wolgang and Jean Paul. In these days I made some implementation in the line you propose but I am not happy with it and thus I am asking advices on a different path of reasoning. In brief: I'd like to design an algorithm to solve a problem over two separate domains connected by an

Re: [deal.II] projecting values of the solution on the boundary

2018-08-13 Thread Wolfgang Bangerth
On 08/08/2018 02:03 AM, Jean-Paul Pelteret wrote: Hi Alberto, I have dealt with a similar problem where I needed to transmit solution values between two different problems that shared a common interface. If I remember correctly, the way that I did this was to precompute the positions at

Re: [deal.II] projecting values of the solution on the boundary

2018-08-08 Thread Jean-Paul Pelteret
Hi Alberto, I have dealt with a similar problem where I needed to transmit solution values between two different problems that shared a common interface. If I remember correctly, the way that I did this was to precompute the positions at which I would need the solutions from problem 1 for

[deal.II] projecting values of the solution on the boundary

2018-08-07 Thread Alberto Salvadori
Dear community, I am asking some advices on the following issue. I am solving a simple problem, say a Poisson problem in the unknown field u, and a more involved problem separately. This second problem requires the values of u in the Neumann boundary conditions. Accordingly, I guess one could