Re: [deal.II] Questions on Step-18

2021-07-05 Thread Jean-Paul Pelteret
HI Michael, I’m not the original author of step-18, but I think that I’ve found some sources that can explain both the construction of the non-normalised rotation axis w and the angle θ calculation. 1. Axial vector ω (the non-normalised axis of rotation) For this, I’m summarising the salient

Re: [deal.II] Use a coarse grid solution as initial condition for a finer grid

2021-07-05 Thread vachan potluri
Dr. Wolfgang, Thank you for the reply. So is your fine mesh a refinement of the coarse one? If not, you may want to > look at FEFieldFunction. Yes, it is. But the "refinement" is done by the meshing software, outside dealii. Is there any simplification possible in such a case? Otherwise, I

Re: [deal.II] triangulation.signals.post_refinement :connection of a member function

2021-07-05 Thread Wolfgang Bangerth
On 7/5/21 2:56 PM, Simon wrote: So the constructor of Solid initializes "pointer_M" which points to an object of "AnotherClass". The variable "tria_signal" in the line below is the one which causes the call of the member function &*AnotherClass::mark_for_update. * The above code compiles

Re: [deal.II] Use a coarse grid solution as initial condition for a finer grid

2021-07-05 Thread Wolfgang Bangerth
On 7/5/21 4:45 AM, vachanpo...@gmail.com wrote: I have seen the answer here

Re: [deal.II] Re: Using periodic boundary conditions with parallell processing

2021-07-05 Thread Raghunandan Pratoori
Hi Peter, Thanks for your reply. I have PBC in all the 3 directions ( I have included the code snippet above for only 1 direction). In addition to this, I want to apply compression in 1 direction. I checked the constraints using AffineConstraints::is_consistent_in_parallel() and it returned 1.

[deal.II] triangulation.signals.post_refinement :connection of a member function

2021-07-05 Thread Simon
Dear all, I am trying to modify my program in a way such that certain quantities are only updated if the underlying triangulation object changes during runtime (due to adaptivity). I want to call a specific member function of my Main Class 'Solid' if this happens. (Solid is the class which

Re: [deal.II] Solving nonlinear heat equation with radiation

2021-07-05 Thread Wolfgang Bangerth
On 7/5/21 3:27 AM, Sylvain Mathonnière wrote: On a side note (irrelevant now), when I was talking about orthonormal basis, I was refering to something like \int w_i(x) w_j(x)= kronecker_{i,j}, which should be doable and in which basis T_n^3 would look like *T_{n}^3 = sum([T_{n}]_i^3 * w_i).*

[deal.II] Use a coarse grid solution as initial condition for a finer grid

2021-07-05 Thread vachanpo...@gmail.com
Dear all, I want to save a coarse grid solution, load it and set it as the initial condition for a finer grid simulation. The code I have written is for non-adaptive meshes, the refinement is not happening within the simulation. I wish to start the fine grid simulation using a standalone fine

Re: [deal.II] Solving nonlinear heat equation with radiation

2021-07-05 Thread Sylvain Mathonnière
Thank you for the clear answer, I understand my mistake now, it is much simpler like that. On a side note (irrelevant now), when I was talking about orthonormal basis, I was refering to something like \int w_i(x) w_j(x)= kronecker_{i,j}, which should be doable and in which basis T_n^3 would