[deal.II] Re: Convective Heat Flux Boundary Conditions in deall ii?

2021-09-15 Thread Morris Jowas
Update: Please disregard my last question. I found some guidance on this thread from 2013 concerning Robin BCs: https://groups.google.com/g/dealii/c/JSWctuiEVoc/m/8Im_ME_8f6wJ Thanks again, MJ On Wednesday, September 15, 2021 at 2:21:10 AM UTC+1 Morris Jowas wrote: > Hello everyone, > > >

Re: [deal.II] MatrixTools::apply_boundary_values for BlockSparseMatrix> and BlockVector> entries

2021-09-15 Thread Мария Бронзова
Dear Daniel, Thank you a lot for the hint, it makes perfect sense! I also correctted the* interpolate_boundary_values* call as follows: *templateclass DirichletBoundaryValues : public Function> { public: DirichletBoundaryValues(): Function>(1) {} virtual

Re: [deal.II] MatrixTools::apply_boundary_values for BlockSparseMatrix> and BlockVector> entries

2021-09-15 Thread Daniel Arndt
Mariia, That's a problem a little more complicated to solve. Basically, we are not instantiating the template for complex and BlockSparseMatrix. If you are OK with recompiling deal.II, you should modify source/numerics/ matrix_tools.inst.in so that all overloads are also compiled for complex

[deal.II] Development based on step-25

2021-09-15 Thread Toddy Liu
Dear Deal.II community, I'm getting trouble in developing new code based on step-25. In step-25, the equation to be solved is u_tt−∆u=−sin(u) and the tutorial shows me how to solve such a nonlinear problem. Specifically, the tutorial tells me how to calculate (sin(u),φ_j)_Ω in detail. So I 'm

[deal.II] Re: What I learned from 20 years of leading open source projects

2021-09-15 Thread Wolfgang Bangerth
in case you wonder what is going on in the heads of the principal developers of deal.II: I will be giving a webinar tomorrow on this topic: https://bssw.io/events/webinar-what-i-learned-from-20-years-of-leading-open-source-projects I believe that you have to register (it's free!) but also

Re: [deal.II] Development based on step-25

2021-09-15 Thread Wolfgang Bangerth
On 9/15/21 6:33 AM, Toddy Liu wrote: I'm getting trouble in developing new code based on step-25. In step-25, the equation to be solved is u_tt−∆u=−sin(u) and the tutorial shows me how to solve such a nonlinear problem. Specifically, the tutorial tells me how to calculate (sin(u),φ_j)_Ω in

Re: [deal.II] Development based on step-25

2021-09-15 Thread Toddy Liu
Hello, professor Wolfgang Thank you very much for your reply and it really helps me. You explained how to deal with the latter case (V'(u) . grad u, phi_i) and I've got the point how to solve this. Addtionally. how about the former case -(V(u), grad phi_i). Specifically, how to construct the

Re: [deal.II] MatrixTools::apply_boundary_values for BlockSparseMatrix> and BlockVector> entries

2021-09-15 Thread Мария Бронзова
Dear Daniel, Thank you a lot for the hint, makes perfect sense! The MatrixTools::apply_boundary_values works well now! But I believe i also need to adjust the VectorTools::interpolate_boundary_values accordingly. Right now i have defined a template for pressure component boundary values: