[deal.II] Re: Simple merge_triangulation problem

2020-01-23 Thread Konrad Wiśniewski
Oh! Sorry for bothered you, problem lies somewhere else - this topic can be deleted! -- 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

[deal.II] Re: Simple merge_triangulation problem

2020-01-23 Thread Konrad Wiśniewski
The program is suddenly terminated with exit value -1 so, I guess it is segfault. It is very strange because the program works perfectly fine in case 1), and after I swap coordinates between cell1 and cell2 (to get the case 3) program just stop functioning. W dniu czwartek, 23 stycznia 2020

[deal.II] Simple merge_triangulation problem

2020-01-23 Thread Konrad Wiśniewski
Hi all! I've encountered a problem with very simple two-cells merging in 2D (deal.ii v.9.0.0). Lets say that I have two rectangular cells (for two different material) and I want to merge it together and then refine those cells properly. I don't have a problem with this when I want to merge

[deal.II] Data postprocessing with two dof handlers

2019-10-01 Thread Konrad Wiśniewski
Hi! I'm looking for quick advise. In my calculations I solve two equations (in 2D) consecutively: the Poisson equation where I obtain electric field *E*, and then I solve the continuity equation where I obtain e.g. density of electrons *n*. I want to get current that is *j* = C*nE* where

Re: [deal.II] Poisson equation, implementation of boundary values, mixed finite element, semiconductor devices

2019-09-08 Thread Konrad Wiśniewski
Hi Konrad, Thank you very much for your comment! I will try to go into the detail of it in next days. I must admit that to this point I've just used ::make_zero_boundary_constraints with regard to the conditions on E field. I didn't have a better idea, and your solutions seem much more better.

Re: [deal.II] Poisson equation, implementation of boundary values, mixed finite element, semiconductor devices

2019-09-06 Thread Konrad Wiśniewski
Wolfgang, thank you very much once again! Yes, on the picture is Ex, and potential was exactly as you described. Today I was able to correct my calculations. I changed the right hand side boundary condition to be only E=0 (what is, I think, physically correct thing to do), and after I get the

Re: [deal.II] Poisson equation, implementation of boundary values, mixed finite element, semiconductor devices

2019-09-05 Thread Konrad Wiśniewski
Than you for your response! and if I may ask for some advise: I tried to give some additional constrains for electirc field E (I must admit that it wasn't good idea) to avoid another unphysical results. General physical poin of view is that I should have this kind of a situation: [image:

[deal.II] Poisson equation, implementation of boundary values, mixed finite element, semiconductor devices

2019-09-04 Thread Konrad Wiśniewski
Hi dear deal.ii community! I am trying to solve 2D transient problem in semiconductor devices and I'm stuck with application of Dirichlet boundary values via ConstrainMatrix or AffineMatrix (in the last version of this library) The program (which I am rewriting) solves consecutively two