Francis (^^) If you look at the documentation of the temporal interpolator of paraview ( https://www.paraview.org/Wiki/Advanced_Animations) you will see that it enforces that the support for your data (the mesh) remains constant throughout the time series. Consequently, you cannot use it with adaptative mesh refinement.
I think your solution is the best one there is. It might be a good idea, for visualization purposes, to project your solution on a refined mesh instead of the original coarse one. This way your projection will take into account the additional degrees of freedom due to the mesh refinement and you will not use too much information in projecting to a static grid. In your current case, all of the additional precision due to adaptative mesh refinement is lost for the visualization. Cheers! On Friday, 12 July 2019 21:51:49 UTC-4, Francis Giraldeau wrote: > > I tried SolutionTransfer class, but because the DoFHandler is set in the > constructor and assumed to be refined (or coarsen), we cannot use that > solution to interpolate to a completely different mesh. Instead, a solution > is to use VectorTools::interpolate_to_different_mesh() to a mesh that stays > constant: > > Vector<double> interpolated_solution; > > interpolated_solution.reinit(dof_handler_export.n_dofs()); > > VectorTools::interpolate_to_different_mesh(dof_handler, solution, > dof_handler_export, interpolated_solution); > > > The result can be interpolated using vtkTemporalInterpolator. I uploaded the > result at 60fps of step-26 here: https://www.youtube.com/watch?v=1jUUlwOA2fU > > > Cheers, > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/2584f6c5-5a8b-4ba7-bdf6-e55769a765ae%40googlegroups.com.