[deal.II] Re: How to implement GridGenerator::channel_with_cylinder?

2019-01-15 Thread nboychenko1
Does anybody have an example of how to fill out the hole and assign to it different material ID? Thank you, Nick. On Wednesday, December 19, 2018 at 12:07:16 PM UTC-5, Daniel Arndt wrote: > > Chucui, > > the mesh you are showing degenerates close to the midpoint. This isvery > likely not what

Re: [deal.II] Re: Problem with Block Preconditioner and Fully Periodic Boundary Conditions

2019-01-15 Thread Wolfgang Bangerth
On 1/15/19 10:02 AM, ntets...@berkeley.edu wrote: > thank you for replying. I have looked thoroughly step 45 but it's not of much > help for my case. I actually want to impose periodic boundary conditions for > both velocities and pressure (I need to have a representative periodic cell). Is

[deal.II] Re: Problem with Block Preconditioner and Fully Periodic Boundary Conditions

2019-01-15 Thread ntetsika
Hi Daniel, thank you for replying. I have looked thoroughly step 45 but it's not of much help for my case. I actually want to impose periodic boundary conditions for both velocities and pressure (I need to have a representative periodic cell). I used the following lines to set pressure to

[deal.II] Re: Problem with Block Preconditioner and Fully Periodic Boundary Conditions

2019-01-15 Thread Daniel Arndt
Magda, [...] > DoFTools::make_periodicity_constraints(dof_handler, 2, 3, 1, constraints); > DoFTools::make_periodicity_constraints(dof_handler, 4, 1, 0, constraints); > > These two lines imply that you want to impose periodic boundary conditions for all the components. Assuming the

Re: [deal.II] Several questions about mesh generation and distributed triangulations

2019-01-15 Thread Pascal Kraft
Dear Wolfgang, thank you for your reply! I only noticed it now a while later since I had thought the topic was dead back when I posted it. Thank you for your time and effort! Remarks to your response below: Am Dienstag, 30. Oktober 2018 17:26:21 UTC+1 schrieb Wolfgang Bangerth: > > > Pascal,

Re: [deal.II] Non-linear reaction diffusion PDE

2019-01-15 Thread Wolfgang Bangerth
On 1/14/19 5:56 PM, D. Sarkar wrote: > > Thanks for the suggestions. Apologies for including the governing equation. > The equation is shown below with a non-linear reaction term: > > > > I had looked at the example you suggested but will have to go over your video > lectures. > Using some

[deal.II] Problem with Block Preconditioner and Fully Periodic Boundary Conditions

2019-01-15 Thread ntetsika
Hi, any chance I could get your help with that? I'm trying to use the code of @Jie-Cheng for Block Preconditioner (https://github.com/dealii/code-gallery/tree/893bdb5b0a770758fce98859ab4d137f95e62a50/time_dependent_navier_stokes) for a case of fully periodic

[deal.II] Multigrid starting from other level than finest does not work with adaptive refinement

2019-01-15 Thread Michał Wichrowski
Dear all, I am able to reproduce the problem with modified step-37, I expect the similar problem in case of multigrid with sparse matrices. The problem occurs only if mesh is refined adaptively. I added refine_mesh() function and modified solve(): // //work on level 3, that is not the