Re: [deal.II] long duration of the setup of step-40 like program

2016-07-30 Thread Vinetou Incucuna
Hello, I believe I solved partially the problem, do not bother to answer the thread without my further specification. M 2016-07-29 10:17 GMT+02:00 Vinetou Incucuna : > Hello, > thank You for response and the advices. > > > >> LA::Vector vec_old_solution(dof_handler_nse.n_dofs()); > >> >

Re: [deal.II] long duration of the setup of step-40 like program

2016-07-30 Thread Jean-Paul Pelteret
Hi Marek, If you do manage to determine an acceptable solution, perhaps you'd be willing to post the solution for other to reference at some later stage? Thanks, J-P On Saturday, July 30, 2016 at 10:28:13 AM UTC+2, Marek Čapek wrote: > > Hello, > I believe I solved partially the problem, do > n

[deal.II] Re: A question about velocity correction in Step-35

2016-07-30 Thread Daniel Arndt
Jiaqi, the algorithm in step-35 is the one that is proposed in "L. Timmermans, P. Minev, and F. Van De Vosse, “An approximate projec- tion scheme for incompressible flow using spectral elements”, International journal for numerical methods in fluids, vol. 22, no. 7, pp. 673–688, 1996." The veloc

[deal.II] Re: Using the solution from one problem as a boundary condition in another problem with matching mesh on the boundary

2016-07-30 Thread Daniel Arndt
krei, If you want to solve different PDEs on different domains that can be discretized by a common mesh, the preferred approach is to use a hp-vector finite element. This means that on each of your subdomains all blocks of your finite element but one are of type FENothing. You might want to hav

Re: [deal.II] long duration of the setup of step-40 like program

2016-07-30 Thread Vinetou Incucuna
Hello, problem was, - that I have some meaningless calls for /*current_solution_phase.reinit(locally_owned_dofs_phase, locally_relevant_dofs_phase, mpi_communicator); current_solution_phase = 0; */ /*solution_update.reinit(locally_owned_dofs_phase,

[deal.II] Re: Memory usage using MPI/PETSc on single processor

2016-07-30 Thread Pete Griffin
I used the methodology of step-18 for step-17 which showed memory usage improvements. I have attached a new version of step-17 that allow selecting between the NEW and OLD. I also attached the results from both and another plot. I don't know whether this version will work with more than one pro

Re: [deal.II] long duration of the setup of step-40 like program

2016-07-30 Thread Vinetou Incucuna
ah, sorry for interruption. >From the log it is evident, than the Navier-Stokes equation setup times are reasonable and that the constraint matrix preparation, including Boundary conditions. Is this evaluation sound, should I strive for better times? Thank You Marek 2016-07-30 13:06 GMT+02:00 V

Re: [deal.II] long duration of the setup of step-40 like program

2016-07-30 Thread Vinetou Incucuna
Sorry, I wanted to say, that the imposition of boundary conditions in the setup is apparently dominant. Is this the general case in your applications? Thank You Marek 2016-07-30 13:09 GMT+02:00 Vinetou Incucuna : > ah, sorry for interruption. > From the log it is evident, than the Navier-Stokes

[deal.II] Re: Floquet periodic conditions and complex valued algebra

2016-07-30 Thread Daniel Arndt
Daniel, 1.) You can use complex valued algebra if you split your problem into two equations. Apart from that most of the algebra objects can be used with std::complex. At the moment, this is not true for constraints given by a ConstraintMatrix object, but this is WIP (https://github.com/dealii/

Re: [deal.II] Re: A question about velocity correction in Step-35

2016-07-30 Thread Wolfgang Bangerth
Daniel, the algorithm in step-35 is the one that is proposed in "L. Timmermans, P. Minev, and F. Van De Vosse, “An approximate projec- tion scheme for incompressible flow using spectral elements”, International journal for numerical methods in fluids, vol. 22, no. 7, pp. 673–688, 1996." Inter

Re: [deal.II] Re: Memory usage using MPI/PETSc on single processor

2016-07-30 Thread Wolfgang Bangerth
On 07/30/2016 05:08 AM, Pete Griffin wrote: I used the methodology of step-18 for step-17 which showed memory usage improvements. I have attached a new version of step-17 that allow selecting between the NEW and OLD. I also attached the results from both and another plot. I don't know whether thi