Re: [deal.II] Multi-physics implementation

2020-09-23 Thread Ray Mclaren
Mr. Pelteret Sir, thank you for your guidance. I am new to using dealii and I am very thankful for your support Thanks On Wednesday, September 23, 2020 at 4:55:04 AM UTC+9 Jean-Paul Pelteret wrote: > Hi Ray, > > I’m happy to see that Simon has already given a great explanation as to > how

Re: [deal.II] Issue with unstructured hex mesh

2020-09-23 Thread Timo Heister
I am coming late to the conversation (and I only looked at it quickly, sorry), but I have two additional suggestions: 1. Depending on the deformation of cells and the PDE in question, it might be important to check if the quadrature degree is high enough to not contribute to the overall error. This

Re: [deal.II] PETSC issue while trying to run step-18

2020-09-23 Thread Timo Heister
You will also need to set -D DEAL_II_WITH_MPI=ON On Tue, Sep 22, 2020 at 1:54 PM Daniel Arndt wrote: > > https://dealii.org/developer/readme.html#configuration-options says to call > cmake with -DPETSC_DIR=/path/to/petsc -DPETSC_ARCH=architecture. > I normally just set the environment variable P

[deal.II] install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-23 Thread 'Alexander Greiner' via deal.II User Group
Hi, I'm new here (and also relatively new to deal.II). I'm trying to install dealii@9.2.0 from spack, running into errors. These errors are not directly linked to deal.II and therefore I'm not sure if this is the right place to post my problem. Unfortunately, clang@12.0.0 and Xcode12.0 seem to

Re: [deal.II] PETSC issue while trying to run step-18

2020-09-23 Thread krishan...@gmail.com
Thanks a lot! I was able to configure it correctly. The deal.ii installation following it, is able to run step-18. Adding the command that I used to configure it correctly, for future reference: cmake -DCMAKE_INSTALL_PREFIX=/path/to/dealii/installation/directory -DPETSC_DIR=/path/to/PETSC -DP

[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 (Blo

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

2020-09-23 Thread Jean-Paul Pelteret
Hi Animesh, Although in that code-gallery example the system is assembled into a BlockSparseMatrix, the system actually has only one block. So you can retrieve the underlying SparseMatrix (and Vector for the RHS) via tangent_matrix.block(u_dof, u_dof); system_rhs.block(u_dof); and use them with

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

2020-09-23 Thread Animesh Rastogi IIT Gandhinagar
Hi Jean, Thanks a lot for your response. I am trying as you suggested. I have added the following code inside the linear solver so that I can get the eigenvalues at every newton step. std::vector> eigenvalues; std::vector >eigenvectors; SparseMatrix identity (IdentityMatri