Dear Daniel, I understand, it perfectly makes sense. I had not thought about using two different FEValues when looping over the cells. Thank you very much! Best Bruno
On Monday, July 1, 2019 at 8:52:46 AM UTC-4, Daniel Arndt wrote: > > Bruno. > > Let's say I solve a first equation for Velocity, and I would like to use >> this velocity in another equation for advection-diffusion of say >> Temperature. >> I would first set-up my DOF and FE system for my velocity equation and >> solve it and set-up by DOF and FE system for my Temperature. >> However, how would I be able to set up an additional space to store my >> velocity at the nodes that are related to my Temperature FESystem without >> introducing additional unknown in my temperature equations (Since velocity >> is known after all) and without assuming that both my temperature and >> velocity equation are numbered in the same exact fashion? >> > > For assemling a bilinear form you typically don't nees the support points > of the ansatz functions but their evaluations in the quadrature points. > In your case, I would simply use two DoFHandler objects (one for each > system of equations) and loop over both of them for the temperature > equations. > > https://www.dealii.org/current/doxygen/deal.II/step_31.html#BoussinesqFlowProblemassemble_temperature_system > > might be helpful. > > Best, > Daniel > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/f14e1cd9-ca06-421f-9b21-b89e2c1c04ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.