On 09/04/2018 01:03 AM, Prateek Sharma wrote:
I have applied a constant boundary condition of the value 1 at both the faces
VectorTools::interpolate_boundary_values(dof_handler,1,ConstantFunction<2>(1.),constraint_matrix);
constraint_matrix.close();
I am getting the initial boundary conditions as the result, but the results
remain constant with the time steps.
Although, when I don't apply the contraint_matrix.distribute(solution) command
before output, then the value at the boundary changes, but inside the boundary
the solution continues to be zero.
I have to admit that I don't follow the text description you give here. Can
you show pictures and/or provide the source code for the program you use with
all of the modifications?
Best
WB
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
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.
For more options, visit https://groups.google.com/d/optout.