Re: [deal.II] Finite Strain Compressibility problem with PETSc Data Structures

2021-01-24 Thread Animesh Rastogi IIT Gandhinagar
21 1:29 PM, Animesh Rastogi IIT Gandhinagar wrote: > > > > How should I initialize the "index set" that is required for this > function? In > > step-17 > > < > https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dealii.org%2Fcurrent%

Re: [deal.II] Finite Strain Compressibility problem with PETSc Data Structures

2021-01-18 Thread Animesh Rastogi IIT Gandhinagar
Dear Prof. Bangerth, Thank you for your reply. I have changed the required data structures using PETSc wrappers. I have another doubt regarding this. Since I am running on a single machine, how should I use the reinit() function for PETSc Sparse Matrix. I was thinking to use the (3/5th)

Re: [deal.II] Finite Strain Compressibility problem with PETSc Data Structures

2021-01-16 Thread Animesh Rastogi IIT Gandhinagar
Dear Prof. Bangerth, Thank you for your explanation. I have converted matrices and vectors into non-blocked objects and have changed them into PETScWrappers::MPI data types. I would like to use SparseDirectMumps to solve the linear system

[deal.II] Finite Strain Compressibility problem with PETSc Data Structures

2021-01-15 Thread Animesh Rastogi IIT Gandhinagar
Dear Dealii community, I am using a modified version of Code Gallery Quasi Static Compressibility program to compute eigenvalues and eigenvectors of my system matrix. I have

Re: [deal.II] Re: Some changes in arpack.h (Functionality to compute only eigenvalues)

2021-01-11 Thread Animesh Rastogi IIT Gandhinagar
Animesh Rastogi IIT Gandhinagar wrote: > Hi Bruno, > > > It's not in deal.II. Anasazi is part of Trilinos. If you are using > >> Trilinos vector, it's pretty straightforward. You just copy the code >> from >> https://github.com/ORNL-CEES/mfmg/blob/master/include/

Re: [deal.II] Re: Some changes in arpack.h (Functionality to compute only eigenvalues)

2020-12-29 Thread Animesh Rastogi IIT Gandhinagar
Hi Bruno, It's not in deal.II. Anasazi is part of Trilinos. If you are using > Trilinos vector, it's pretty straightforward. You just copy the code > from > https://github.com/ORNL-CEES/mfmg/blob/master/include/mfmg/dealii/anasazi.templates.hpp > > The solver is used here: > >

[deal.II] Re: Problem about modifying CMakeList.txt to add library

2020-12-24 Thread Animesh Rastogi IIT Gandhinagar
unctionality to load binary files <http://arma.sourceforge.net/docs.html#save_load_mat>. Thanks! Animesh On Wednesday, December 23, 2020 at 2:22:38 PM UTC+5:30 Animesh Rastogi IIT Gandhinagar wrote: > Hi Daniel, > > I also want to use armadillo for one of my projects. I did

[deal.II] Re: Problem about modifying CMakeList.txt to add library

2020-12-23 Thread Animesh Rastogi IIT Gandhinagar
Hi Daniel, I also want to use armadillo for one of my projects. I did exactly as you suggested in the link above. The cmake worked perfectly. However, on doing make run, I am getting the following error. I installed armadillo using the apt-get package manager - command was - *sudo apt-get

Re: [deal.II] Using external libraries with deal.II

2020-12-23 Thread Animesh Rastogi IIT Gandhinagar
Dear Prof. Maier and Prof. Bangerth, Thank you for your help. I was able to fix the issue with your suggestions. Animesh On Tuesday, December 22, 2020 at 1:41:08 AM UTC+5:30 Matthias Maier wrote: > Hi, > > No, the problem is much simpler. You have to reorganize your > CMakeLists.txt so that

Re: [deal.II] Using external libraries with deal.II

2020-12-21 Thread Animesh Rastogi IIT Gandhinagar
I think this is why it is saying that *"Cannot specify link libraries for target "Quasi_Static_Finite_Strain_Beam_Buckling_Analysis" which is not built by this project."* If I am correct here, what would be a way to fix the issue? Thanks! Animesh On Monday, December 21, 2020 at

Re: [deal.II] Using external libraries with deal.II

2020-12-21 Thread Animesh Rastogi IIT Gandhinagar
Dear Daniel and Prof. Bangerth, I did exactly as you suggested. My package export cmake configurations. I am getting the following error and cant figure out the reason. It is not able to link the executable with the package. CMake Error at CMakeLists.txt:42 (TARGET_LINK_LIBRARIES): Cannot

[deal.II] Using external libraries with deal.II

2020-12-17 Thread Animesh Rastogi IIT Gandhinagar
Dear deal.II community I would like to use some external libraries such as Eigen and Spectra in dealii for one of my projects. These are both header-only C++ libraries. Could someone please tell me about how to integrate these libraries (installed in my system) with dealii? What changes do I

Re: [deal.II] Re: Some changes in arpack.h (Functionality to compute only eigenvalues)

2020-12-16 Thread Animesh Rastogi IIT Gandhinagar
at Arpack was not very accurate. I am > not sure why because according to the documentation, many other > packages are successfully using Arpack. At the end, we gave up on > Arpack and switched to lobpcg from anasazi. The results were more > accurate and more stable. > > Best, > >

[deal.II] Re: Some changes in arpack.h (Functionality to compute only eigenvalues)

2020-12-15 Thread Animesh Rastogi IIT Gandhinagar
:00:58 PM UTC+5:30 Animesh Rastogi IIT Gandhinagar wrote: > Thank you Bruno, I was able to change the source code accordingly. I > reinstalled dealii and it worked fine! > > Thanks again! > > Animesh > > On Friday, November 6, 2020 at 3:55:29 AM UTC+5:30 bruno.t...@gm

Re: [deal.II] Quasi Static Compressible Finit Strain for Heterogenous Hyperelastic material

2020-11-23 Thread Animesh Rastogi IIT Gandhinagar
em with the delta accounted for twice > const bool accept_step = solve_eigenvalue_problem(); > if (accept_step == false) > { > solution_n -= tmp_soln_delta; > > adjust_boundary_conditions_or_timestep_size_to_apply_a_smaller_displacement_increment(); > } > > time.inc

Re: [deal.II] Quasi Static Compressible Finit Strain for Heterogenous Hyperelastic material

2020-11-10 Thread Animesh Rastogi IIT Gandhinagar
Thanks! Animesh On Tuesday, November 10, 2020 at 5:24:13 PM UTC+5:30 Animesh Rastogi IIT Gandhinagar wrote: > Hi Jean-Paul, > > There seem to be some inconsistencies in the simulations results that I am > getting, therefore I wanted to check if I have applied the material

Re: [deal.II] Quasi Static Compressible Finit Strain for Heterogenous Hyperelastic material

2020-11-10 Thread Animesh Rastogi IIT Gandhinagar
< n_q_points; ++q_point) lqph[q_point]->setup_lqp(parameters, cell->material_id()); } } -- Thanks! Animesh On Tuesday, November 3, 2020 at 12:09:03 PM UTC+5:30 Animesh Rastogi IIT Gandhinagar wrote: > Hi Jean, > > Sorry

[deal.II] Re: Some changes in arpack.h (Functionality to compute only eigenvalues)

2020-11-08 Thread Animesh Rastogi IIT Gandhinagar
Thank you Bruno, I was able to change the source code accordingly. I reinstalled dealii and it worked fine! Thanks again! Animesh On Friday, November 6, 2020 at 3:55:29 AM UTC+5:30 bruno.t...@gmail.com wrote: > Animesh, > > On Thursday, November 5, 2020 at 1:11:33 PM UTC-5 >

[deal.II] Some changes in arpack.h (Functionality to compute only eigenvalues)

2020-11-05 Thread Animesh Rastogi IIT Gandhinagar
Dear Dealii community, I am using Arpack Solver to compute eigenvalues of my stiffness matrix. To speed up the process, I would only like the eigenvalues to be computed and not the eigenvectors. There is a flag in arpack.h "rvec" (Link -

Re: [deal.II] Boundary DOFs using DOF Handler

2020-11-04 Thread Animesh Rastogi IIT Gandhinagar
Thank you, Professor Bangerth. This is really helpful. Animesh On Wednesday, November 4, 2020 at 11:45:46 PM UTC+5:30 Wolfgang Bangerth wrote: > On 11/4/20 12:20 AM, Animesh Rastogi IIT Gandhinagar wrote: > > > > I have a quick question about the dof_handler in dealii. I have a

[deal.II] Boundary DOFs using DOF Handler

2020-11-03 Thread Animesh Rastogi IIT Gandhinagar
Hello All, I have a quick question about the dof_handler in dealii. I have a rectangular geometry and would like to access the numbering of the degree of freedoms which are on the right hand side boundary of the rectangle (+X face). I know the boundary_id for that face. Essentially, I want to

Re: [deal.II] Quasi Static Compressible Finit Strain for Heterogenous Hyperelastic material

2020-11-02 Thread Animesh Rastogi IIT Gandhinagar
() to help decide which > constitutive law / parameters to apply. If using the material ID then you > will, of course, want to set the material ID when building or reading in > your triangulation. > > That is, at least, how I typically do things when using this code as a > basis fo

[deal.II] Quasi Static Compressible Finit Strain for Heterogenous Hyperelastic material

2020-10-26 Thread Animesh Rastogi IIT Gandhinagar
Hello All, I am trying to solve the wrinkling problem of a thin stiff film attached to a soft substrate in dealii. I am using the code - from the code gallery for this purpose. For the simulations, I would have to consider the film and the substrate with different material properties. I

Re: [deal.II] Application of the non-homogeneous boundary conditions in Finite Elasticity (Compressible case)

2020-10-12 Thread Animesh Rastogi IIT Gandhinagar
} > > > I must admit that this code is overly complicated, and it can be > simplified so that extending it to the case of inhomogeneous constraints is > easier. I’ve opened up an issue for this task here > <https://github.com/dealii/dealii/issues/11035> and I’l

[deal.II] Application of the non-homogeneous boundary conditions in Finite Elasticity (Compressible case)

2020-10-10 Thread Animesh Rastogi IIT Gandhinagar
Hi All, I am working on hyper-elastic beam buckling problem. I wish to apply non-homogeneous Dirichlet Boundary condition on the right hand side of the beam (to compress the beam). I was reading the step-44

Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-29 Thread Animesh Rastogi IIT Gandhinagar
the matrix should have the same size as the tangent matrix you >>>> would call it like this: IdentityMatrix(tangent_matrix >>>> .block(u_dof,u_dof).m()). >>>> >>>> I am a bit confused of where actually to solve the standard eigenvalue >>>>

Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-27 Thread Animesh Rastogi IIT Gandhinagar
t;> solver iterate until convergence, and then keep the system matrix and RHS >> vector around (i.e. don’t clear them) and finally as a post-processing step >> solve the eigenvalue problem. So I would suggest that the entire code block >> that you added to the solve_linear_system() meth

Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-27 Thread Animesh Rastogi IIT Gandhinagar
> added to the solve_linear_system() method simply be moved to the > output_results() method, or to some new method that is invoked between > solve_nonlinear_timestep() and time.increment() inside the main run() > function. > > Best, > Jean-Paul > > On 25 Sep 2020

Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-25 Thread Animesh Rastogi IIT Gandhinagar
_dof), IdentityMatrix(), inverse, eigenvalues, eigenvectors,eigenvalues.size()); timer.leave_subsection(); } ----------------- On Friday, September 25, 2020 at 12:15:29 AM UTC+5:30 Animesh Rastogi IIT Gandhinagar wrote: > I could finally configure dealii using ARPAC

Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-24 Thread Animesh Rastogi IIT Gandhinagar
ursday, September 24, 2020 at 4:40:47 PM UTC+5:30 Animesh Rastogi IIT Gandhinagar wrote: > Hi Jean, > > It turns out that I did not configure dealii with ARPACK. So I followed > the readme instructions and installed and compiled ARPACK as suggested. I > also tried to run the e

Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-24 Thread Animesh Rastogi IIT Gandhinagar
the previous mail of this thread? Thanks a lot! Animesh On Thursday, September 24, 2020 at 11:56:24 AM UTC+5:30 Animesh Rastogi IIT Gandhinagar wrote: > Hi Jean, > > Thanks a lot for your response. I am trying as you suggested. I have added > the following code inside the linea

Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-24 Thread Animesh Rastogi IIT Gandhinagar
eigenvectors). > > I hope that this helps you! > > Best, > Jean-Paul > > On 23 Sep 2020, at 20:53, Animesh Rastogi IIT Gandhinagar < > animesh...@alumni.iitgn.ac.in> wrote: > > Hi All, > > I am trying to play with the code of Quassi S

[deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-23 Thread Animesh Rastogi IIT Gandhinagar
Hi All, I am trying to play with the code of Quassi Static Finite Strain Compressibility . I want to calculate the eigenvalues and eigenvectors of the System Tangent Matrix

[deal.II] Re: Regarding configuring with UMFPACK for Quasi-Static Strain Compressible Elasticity program

2020-09-13 Thread Animesh Rastogi IIT Gandhinagar
Hi All, I was able to run this problem in my PC. I reinstalled dealii after installing the required dependencies ; followed the readme of dealii to understand how to configure them together. Thanks! AR On Sunday, September 13, 2020 at 1:03:34 AM UTC+5:30 Animesh Rastogi IIT Gandhinagar

[deal.II] Error while installing dealii using candi

2020-09-12 Thread Animesh Rastogi IIT Gandhinagar
Dear Dealii community, I am reinstalling dealii using candi on my PC. Here is the error, I am getting while installing g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions.

[deal.II] Re: Regarding configuring with UMFPACK for Quasi-Static Strain Compressible Elasticity program

2020-09-12 Thread Animesh Rastogi IIT Gandhinagar
eral of the optional dependencies, there is a > script that can make the installation process easier here: > https://github.com/dealii/candi > > Best, > Simon > > > On Saturday, September 12, 2020 at 1:42:29 PM UTC+2, Animesh Rastogi IIT > Gandhinagar wrote: >> >> Attach

[deal.II] Re: Regarding configuring with UMFPACK for Quasi-Static Strain Compressible Elasticity program

2020-09-12 Thread Animesh Rastogi IIT Gandhinagar
Attached is the detailed.log file. On Saturday, September 12, 2020 at 4:39:21 PM UTC+5:30 Animesh Rastogi IIT Gandhinagar wrote: > Hello dealii Community, > > I wish to run the program - Quasi-Static Finite-Strain Compressible > Elasticity. > > <https://github.com/dea

[deal.II] Regarding configuring with UMFPACK for Quasi-Static Strain Compressible Elasticity program

2020-09-12 Thread Animesh Rastogi IIT Gandhinagar
Hello dealii Community, I wish to run the program - Quasi-Static Finite-Strain Compressible Elasticity. This requires the dealii to be configured with UMFPACK. For this, I installed the

Re: [deal.II] Can not access the files for Quasi-Static Finite-Strain Compressible Elasticity program

2020-09-10 Thread Animesh Rastogi IIT Gandhinagar
Thank you for the GitHub link. I will download the files from there.. Animesh On Friday, September 11, 2020 at 12:34:41 AM UTC+5:30 Jean-Paul Pelteret wrote: > Timo, I think that what Animesh is referring to relates to this issue: > https://github.com/dealii/dealii/issues/10295 None of the

[deal.II] Can not access the files for Quasi-Static Finite-Strain Compressible Elasticity program

2020-09-10 Thread Animesh Rastogi IIT Gandhinagar
Dear All, I can not access the Readme, parameters and other files from the code gallery program Quasi-Static Finite-Strain Compressible Elasticity. Could someone let me know how