Re: [deal.II] Using solution on from one FE problem as a boundary condition for another

2020-01-21 Thread Ernesto Ismail
Hi Everyone, In case anyone ever follows this thread and needs to find the code associated with interpolate_boundary_values(), I found https://github.com/dealii/dealii/blob/master/include/deal.II/numerics/vector_tools.templates.h I will report back on my implementation. Thanks, Ernesto On

Re: [deal.II] Using solution on from one FE problem as a boundary condition for another

2020-01-20 Thread Ernesto Ismail
Hi Daniel and J-P, Thanks for your advice. I will try what you suggest. I feel like a bit of an idiot here, but I can't seem to find the source code for the interpolate_boundary_values() function. I've rooted around various source folders on Git and most of them don't contain much e.g.

Re: [deal.II] Using solution on from one FE problem as a boundary condition for another

2020-01-15 Thread Jean-Paul Pelteret
Hey Ernesto, I’ve used the approach outlined by Wolfgang and Daniel in my own work (multi physics problems, single DoFHandler with BC’s being transferred between a primary and secondary problem solved on subsets of the domain). Overall, it works really well so I’d back up their suggestion and

Re: [deal.II] Using solution on from one FE problem as a boundary condition for another

2020-01-14 Thread Daniel Arndt
Ernesto, Imposing strong boundary conditions should not be overly difficult in this case. Just as Wolgang said you should have a look at interpolate_boundary_values() and replace the Function object evaluations on each cell by the function values given through a FEValues object initialized for

Re: [deal.II] Using solution on from one FE problem as a boundary condition for another

2020-01-14 Thread Ernesto Ismail
Dear Prof. Bangerth, Thank you for your reply. I would ideally have liked to impose the boundary conditions strongly but it looks like doing so will not be straight-forward. I will do some investigations into applying the boundary conditions weakly and attempt that first. One approach I had

Re: [deal.II] Using solution on from one FE problem as a boundary condition for another

2020-01-09 Thread Wolfgang Bangerth
Ernesto, > I am currently working with a staggered coupled system where I am solving > several finite element problems in sequence. Up until now my boundary > conditions have been fairly straightforward and I've been able to get > meaningful results from my work. > > The finite element

[deal.II] Using solution on from one FE problem as a boundary condition for another

2020-01-09 Thread Ernesto Ismail
Hi Everyone, I am currently working with a staggered coupled system where I am solving several finite element problems in sequence. Up until now my boundary conditions have been fairly straightforward and I've been able to get meaningful results from my work. The finite element schemes I use