Re: [deal.II] ZeroBoundaryCondition when FESystem is used

2017-03-09 Thread hanks0227
Dear Jean-Paul Sorry for my belated reply. I was solving other problems... Anyway, thank you for your reply. I will study what you mention. thank you Kyusik. 2017년 3월 3일 금요일 오후 3시 15분 18초 UTC+9, Jean-Paul Pelteret 님의 말: > > Dear Kyusik, > > >> /user2/hanks318/dealii/dealii_pre/examples/ste

Re: [deal.II] ZeroBoundaryCondition when FESystem is used

2017-03-02 Thread Jean-Paul Pelteret
Dear Kyusik, > /user2/hanks318/dealii/dealii_pre/examples/step-20/step-20.cc:575: error: > no matching function for call to > ‘project_boundary_values(dealii::DoFHandler<2, 2>&, dealii::ZeroFunction<2, > double>, dealii::QGauss<1>&, std::map std::less, std::allocator double> > >&, dealii::Com

Re: [deal.II] ZeroBoundaryCondition when FESystem is used

2017-03-01 Thread hanks0227
Thanks for your reply again. > Yes, of course. Via VectorTools::interpolate_boundary_values and > VectorTools::project_boundary_values. > > Due to your help, I can apply ZeroBoundaryCondition for pressure by adding //test for strong boundary condtion std::map boundary_values_strong;

Re: [deal.II] ZeroBoundaryCondition when FESystem is used

2017-03-01 Thread Wolfgang Bangerth
You mention that The difference that in step-3, you are imposing *strong* boundary conditions, whereas in step-20, you are imposing *weak* boundary conditions. Then, is there anyway to use strong boundary condition using FESystem Yes, of course. Via VectorTools::interpolate_bounda

Re: [deal.II] ZeroBoundaryCondition when FESystem is used

2017-03-01 Thread hanks0227
Thank you very much your kind reply. Could I have one more question..? You mention that > > The difference that in step-3, you are imposing *strong* boundary > conditions, > whereas in step-20, you are imposing *weak* boundary conditions. > > Then, is there anyway to use strong boundary cond

Re: [deal.II] ZeroBoundaryCondition when FESystem is used

2017-03-01 Thread Wolfgang Bangerth
Kysusik, I'm studying step-20 tutorial example. But, I can't understand it, because it seems to have different things compared to step-3 in terms of boundary condition. In the introduction of step-3, it is said that ∫Ω∇φ⋅∇u−∫∂Ωφn⋅∇u=∫Ωφf. The test function φ has to satisfy the same kind of

[deal.II] ZeroBoundaryCondition when FESystem is used

2017-03-01 Thread hanks0227
Hi all, I'm studying step-20 tutorial example. But, I can't understand it, because it seems to have different things compared to step-3 in terms of boundary condition. In the introduction of step-3, it is said that ∫Ω∇φ⋅∇u−∫∂Ωφn⋅∇u=∫Ωφf. The test function φ has to satisfy the same kind of bou