Re: [deal.II] Strategy to snap the boundary of a triangulation to a manifold

2020-06-09 Thread heena patel
Dear Bruno, I am not expert, but OpenFoam has Snappyhex mesh feature that might help you. Check the link below. http://www.wolfdynamics.com/wiki/meshing_OF_SHM.pdf Regards, Heena On Mon, Jun 8, 2020 at 6:22 PM Bruno Blais wrote: > Dear all, > I hope you are doing well

[deal.II] Particle Class Implementation

2020-06-09 Thread Victoria W.
Hello, I'm a new deal.ii and C++ user, so this question might be a bit basic, but I was wondering how my implementation of the built-in deal.ii particle class should look. Ultimately I'm looking to track a particle in laminar flow. So far I've tried creating a simple particle at the origin a

Re: [deal.II] Particle Class Implementation

2020-06-09 Thread Jean-Paul Pelteret
Dear Victoria, You’re on the right track, but it looks like you got the syntax a bit wrong. To create a particle you need to write something like Particles::Particle particle; You’ll note that the specific constructor that is called is inferred from the arguments given to the instance of the c

Re: [deal.II] Deal.ii installation

2020-06-09 Thread Jean-Paul Pelteret
Dear Prasad, I’m glad to hear that you solved your problem. I must say, though, that the problem and the solution only seems to me to be tangentially related. Although neither you, I, nor probably anyone else could have guessed from the cryptic and nondescript error message, you were probably

Re: [deal.II] About metallic ductile damage

2020-06-09 Thread Jean-Paul Pelteret
Dear Itachi, To supplement what Bruno has already mentioned, deal.II provides some of the tools what you might find useful to implement constitutive laws or specific governing equations. To get some feeling as to what is possible, I would suggest that you take a look through the list of publica

[deal.II] Re: Broadcasting packed objects

2020-06-09 Thread Maurice Rohracker
Thanks, Peter, that helped so far! Another question would be, how would then the serialize function look like if one has another class as a member of a class. So, in this case, how would the serialize function look like if one has a class House and two of its member are of the type Room? A seri

[deal.II] Re: Strategy to snap the boundary of a triangulation to a manifold

2020-06-09 Thread Doug Shi-Dong
Prof. Blais, Bonjour fellow Montreal-er (McGill), land of the bagel and poutine. I have also given some thoughts to robustly generate our meshes with GMSH. I think it's great to see that we've concluded to similar steps as you described: 1. Provide GMSH some CAD/NURBS parametrization from w

Re: [deal.II] Re: Broadcasting packed objects

2020-06-09 Thread Wolfgang Bangerth
On 6/9/20 2:53 PM, Maurice Rohracker wrote: Thanks, Peter, that helped so far! Another question would be, how would then the serialize function look like if one has another class as a member of a class. So, in this case, how would the serialize function look like if one has a class House and t

Re: [deal.II] Particle Class Implementation

2020-06-09 Thread Bruno Blais
Dear Victoria, In additional to what Jean-Paul suggested, you can look at the preliminary version of step-68 which does exactly what you would like to achieve with particles. The code is available on the following pull request. Rene and I have put some work into it and it works quite well in it

[deal.II] Error calculating shape gradient

2020-06-09 Thread A.Z Ihsan
Hi all, i am getting this error while calculating the local cell matrix for my hp fem application dealii::Tensor<1, spacedim> dealii::FEValuesBase> spacedim>::shape_grad_component(unsigned int, unsigned int, unsigned int) >> const [with int dim = 3; int spacedim = 3] > > The violated condition