Re: [deal.II] Imposing homogeneous Dirichlet boundary conditions with apply_boundary_values

2022-02-25 Thread Wolfgang Bangerth
On 2/25/22 19:44, Ali Seddiq wrote: Thank you for your reply. In order to reconstruct the following final discretized form as (M+A)u + A'p=F+G,  a 2*2 matrix is subdivided into blocks in a way that (block)components (0,0) and (1,1) are M+A and A' respectively and components  (0,1) and (1,0)

Re: [deal.II] Imposing homogeneous Dirichlet boundary conditions with apply_boundary_values

2022-02-25 Thread Ali Seddiq
Dear Wolfgang, Thank you for your reply. In order to reconstruct the following final discretized form as (M+A)u + A'p=F+G, a 2*2 matrix is subdivided into blocks in a way that (block)components (0,0) and (1,1) are M+A and A' respectively and components (0,1) and (1,0) set to zero. Solution ve

Re: [deal.II] Imposing homogeneous Dirichlet boundary conditions with apply_boundary_values

2022-02-23 Thread Wolfgang Bangerth
Ali, I have a problem with imposing homogeneous Dirichlet boundary conditions for pressure in a vector-valued problem. I have defined interpolate_ and apply_boundary_values as following  in the assembly routine: std::map boundary_values; VectorTools::interpolate_boundary_values(dof_handle

[deal.II] Imposing homogeneous Dirichlet boundary conditions with apply_boundary_values

2022-02-23 Thread Ali Seddiq
Dear all, I have a problem with imposing homogeneous Dirichlet boundary conditions for pressure in a vector-valued problem. I have defined interpolate_ and apply_boundary_values as following in the assembly routine: std::map boundary_values; VectorTools::interpolate_boundary_values(dof_handler,