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

2020-09-25 Thread blais...@gmail.com
Be careful about SnappyHexMesh. You can use it to make hex-only meshes, but it will generate a tesselated mesh (which does not really conform to the boundary, it is by all means a voxel mesh). If you fully use Snappy, it will generate a polyhedral mesh with as many as 20 faces per element. This

Re: [deal.II] Function apply_boundary_values()

2020-09-25 Thread Xuefeng Li
On Fri, Sep 25, 2020 at 4:29 PM Wolfgang Bangerth wrote: > On 9/25/20 3:07 PM, Xuefeng Li wrote: > > > > My question is: will the repeated call to function > apply_boundary_values() > > inside the loop > > alter the system_matrix that is meant to be constant (independent of > iterate u)? > > It d

Re: [deal.II] Function apply_boundary_values()

2020-09-25 Thread Jean-Paul Pelteret
To add to what Wolfgang already said, there’s also the constrained_linear_operator() that may be of use in this scenario. Best, Jean-Paul > On 25 Sep 2020, at 23:29, Wolfgang Bangerth wro

Re: [deal.II] Function apply_boundary_values()

2020-09-25 Thread Wolfgang Bangerth
On 9/25/20 3:07 PM, Xuefeng Li wrote: My question is: will the repeated call to function apply_boundary_values() inside the loop alter the system_matrix that is meant to be constant (independent of iterate u)? It doesn't change it any further than it was changed the first time around. But i

[deal.II] Function apply_boundary_values()

2020-09-25 Thread Xuefeng Li
Hi, there! I have a question concerning the use of the function apply_boundary_values(): MatrixTools::apply_boundary_values(boundary_values, system_matrix, solution, system_rhs); It

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

2020-09-25 Thread Jean-Paul Pelteret
Oh, and and just in case you’ve not heard of it before and it might be useful, there’s also this tool that does automated hex meshing: https://www.openfoam.com/documentation/guides/latest/doc/guide-meshing-snappyhexmesh.html

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

2020-09-25 Thread Jean-Paul Pelteret
Hi Animesh, I’m glad to hear that you’ve gotten Arpack working, and that you’re getting somewhere with your implementation. When you encounter a crash like this, its best to run the program in debug mode (better yet, do all of your development in debug mode). In debug mode, there are a lot of a

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

2020-09-25 Thread Jean-Paul Pelteret
Since you have access to Cubit/Trellis, “that patch” is probably not necessary. Cubit uses the Mesquite library for mesh quality improvement, so if you could try to increase the mesh quality that way. Although I’d have to agree with Wolfgang that it might not help too much in this case, but that

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

2020-09-25 Thread Bruno Turcksin
Alex, Try using less processors. Something like: spack install -j2 dealii~scalapack ^openblas@develop ^arpack-ng@develop ^trilinos~mumps Best, Bruno On Friday, September 25, 2020 at 11:21:52 AM UTC-4 alexande...@icloud.com wrote: > Update: > I managed to came as far as spack at least tries

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

2020-09-25 Thread 'Alexander Greiner' via deal.II User Group
Update: I managed to came as far as spack at least tries to install deal.II using the following command: spack install dealii~scalapack ^openblas@develop ^arpack-ng@develop ^trilinos~mumps I have no idea whether this makes sense or not, but it was the only way to get that far. Installing deal

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

2020-09-25 Thread Wolfgang Bangerth
On 9/25/20 4:58 AM, Paras Kumar wrote: In the quest of alternative solutions, I came across the Mesquite library and was curious to know if that could be helpful to improve the quality of the Delaunay based Hex mesh so as to avoid the issue with stress irregularities. It also seems that Mequit

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

2020-09-25 Thread Paras Kumar
Dear Prof. Bangerth, Thank you for the appreciation. In the quest of alternative solutions, I came across the Mesquite library and was curious to know if that could be helpful to improve the quality of the Delaunay based Hex mesh so as to avoid the issue with stress irregularities. It also see