Trying to interpolate deal.ii solution to a Cartesian grid

25 views
Skip to first unread message

Elyn Luo

unread,
Mar 8, 2023, 2:17:17 AM3/8/23
to deal.II User Group
Hello,

I have a solution on an unstructured grid obtained by deal.ii in VTU format, and now I want to interpolate it to a cartesian grid for further processing in other softwares. It seems like Paraview can do the job, but I'm wondering if this can be done in deal.ii directly? Thank you!

Best,
Elyn


Marco Feder

unread,
Mar 8, 2023, 9:00:52 AM3/8/23
to deal.II User Group
Hi,

I've recently used the following function for a similar task: https://www.dealii.org/developer/doxygen/deal.II/classFunctions_1_1FEFieldFunction.html#ac25d965867c71d1139262cf383f9f593 (see in particular the first snippet). This works under the assumption that the cartesian grid is entirely included in the original one. 

Hope that helps,
Marco
Reply all
Reply to author
Forward
0 new messages