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

2020-10-07 Thread Praveen C
Here is an observation. I set DYLD_FALLBACK_LIBRARY_PATH=/path/to/spack/view/lib and run as ./step-40 then it runs fine. But if I use “make run”, then it cannot find libumfpack !!! Best praveen > On 02-Oct-2020, at 6:56 PM, 'Alexander Greiner' via deal.II User Group > wrote: > > Hi

[deal.II] Fluid-Structure interaction

2020-10-07 Thread Ramiro James Rebolledo Cormack
Hi everyone. I'm looking for a solver to solve a fluid-structure problem, like a heart valve: the valve is an elastic material, and the blood could be considered as an incompressible fluid (evolutionary incompressible Navier--Stokes equations). In step-46 I see a Fluid-Structure interaction

Re: [deal.II] Fluid-Structure interaction

2020-10-07 Thread Thomas WICK
Hi Ramiro, step-46 can be indeed extended to "realistic" FSI (a student of mine did it some time ago; but requires a bit of work of course). As alternative, my deal.II-like tutorial step can also serve the purpose https://media.archnumsoft.org/10305/ with the code documented as a true

Re: [deal.II] outer product of two vectors

2020-10-07 Thread Marc Fehling
Please have a look at this particular test which showcases how an outer product can be achieved with deal.II! https://github.com/dealii/dealii/blob/master/tests/full_matrix/full_matrix_57.cc Hope this helps! Marc Wolfgang Bangerth schrieb am Dienstag, 6. Oktober 2020 um 18:31:47 UTC-6: > On

Re: [deal.II] outer product of two vectors

2020-10-07 Thread Nikki Holtzer
Thank you! On Tuesday, October 6, 2020 at 8:31:47 PM UTC-4 Wolfgang Bangerth wrote: > On 10/6/20 5:50 PM, Nikki Holtzer wrote: > > > > I am trying to form a cross product/ outer product of two vectors of > type > > deallii:Vector. I have attempted to use some of the built in > functions > >

[deal.II] FullMatrix to SparseMatrix

2020-10-07 Thread Nikki Holtzer
Hello everyone, I am trying to recast a current FullMatrix as a SparseMatrix in order to add this matrix to another SparseMatrix. I have tried something like this: SparseMatrix Mat_Sparse; Mat_Sparse.copy_from(Mat_Full); Mat_Sparse_2.add(1.,Mat_Sparse); When doing so I receive the

Re: [deal.II] FullMatrix to SparseMatrix

2020-10-07 Thread Wolfgang Bangerth
On 10/7/20 2:51 PM, Nikki Holtzer wrote: When doing so I receive the following error: An error occurred in line <195> of file in function     dealii::SparseMatrix& dealii::SparseMatrix::operator=(double) [with number = double] The violated condition was:     cols != nullptr

[deal.II] Use of QGauss object in tutorials

2020-10-07 Thread Xuefeng Li
Hi, there! Still on the course of learning dealii by reading through the tutorials. Came up with the following observation. 1. In Step-4, a single QGauss object was created in assemble_system(), and was used later in assemble_system(). 2. In Step-23, multiple copies of the same QGauss

Re: [deal.II] Use of QGauss object in tutorials

2020-10-07 Thread Wolfgang Bangerth
Xuefeng, Still on the course of learning dealii by reading through the tutorials. Came up with the following observation. 1. In Step-4, a single QGauss object was created in assemble_system(), and was used later in assemble_system(). 2. In Step-23, multiple copies of the same QGauss