Re: [deal.II] Finding gradient of divergence over divergence normal

2022-01-28 Thread shahab.g...@gmail.com
Thank you for your answer. Yes, I want to evaluate the quantity at quadrature points. This is a source term (Continuum Surface Force) that should be added to the (Navier-Stokes) equations. On Friday, January 28, 2022 at 3:04:14 PM UTC-5 Wolfgang Bangerth wrote: > On 1/28/22 7:56 AM, shaha

[deal.II] Finding gradient of divergence over divergence normal

2022-01-28 Thread shahab.g...@gmail.com
Dear all, I am looking for a way to obtain the distribution of ∇.(∇C/|∇C|) where C is the main variable and I have its distribution (values, gradients and laplacians) over the domain. This is used for finding the normal vector and its divergence over the moving interface of two materials in a

Re: [deal.II] Re: Grid deformation after load-balancing

2021-08-04 Thread shahab.g...@gmail.com
Dear Wolfgang, Bruno and Peter, Thank you for your helps. It was my fault for not reading the entire function's documentation before asking the question here. Best Shahab On Wednesday, August 4, 2021 at 10:16:44 AM UTC-4 blais...@gmail.com wrote: > Yeah I expected this... > I would not know

[deal.II] Re: Grid deformation after load-balancing

2021-08-02 Thread shahab.g...@gmail.com
's hard to tell > without having numbers. > > Best, > > Bruno > > On Wednesday, July 28, 2021 at 6:48:50 PM UTC-4 shahab.g...@gmail.com > wrote: > >> Dear All, >> >> I have noticed that some moving grids get deformed after load-balancing. >>

[deal.II] Writing outputs of type tensor in cells

2021-07-16 Thread shahab.g...@gmail.com
Dear All, I have a parameter of type Tensor<1, dim> for each active cell in the triangulation. When I write this parameter as output, I face some difficulties: 1, Vectors in deal.II do not accept tensor elements. 2, add_data_vector does not work for std::vectors. 3, I tried using

Re: [deal.II] Clearing a particle properties without getting properties for each particle

2020-12-04 Thread shahab.g...@gmail.com
Wolfgang Bangerth wrote: > On 12/3/20 4:13 PM, shahab.g...@gmail.com wrote: > > I want to iterate through all the particles in each iteration of my > solver and > > update some of the properties. The problem is iterating through > particles > > using particle_handler(

Re: [deal.II] Clearing a particle properties without getting properties for each particle

2020-12-03 Thread shahab.g...@gmail.com
iterating through the particle_handler. Best regards, Shahab On Thursday, December 3, 2020 at 4:46:33 PM UTC-5 Wolfgang Bangerth wrote: > On 12/3/20 1:19 PM, shahab.g...@gmail.com wrote: > > Can you please write an example of accessing memory pool handles, > iterating > > t

Re: [deal.II] Clearing a particle properties without getting properties for each particle

2020-12-03 Thread shahab.g...@gmail.com
Hi, Can you please write an example of accessing memory pool handles, iterating them and converting the handles to particle properties? Thanks in advance. Best regards, Shahab On Monday, October 19, 2020 at 10:57:26 PM UTC-4 Wolfgang Bangerth wrote: > On 10/19/20 9:03 AM, blais...@gmail.com

[deal.II] Separated domains in load balanding

2020-09-14 Thread shahab.g...@gmail.com
Dear all, I am using load balancing and I noticed after load balancing, that the cells owned by each processor are sometimes separated from each other. In other words, some processors may own cell domains that are not connected to each other. As this increases the computational cost in my case,