Export heart motion to CFD/FSI

Hi @lassoan , thanks for your help with the position extracting. However I met another problem right now: I want to calculate strain tensor of the boundary. I read your suggestion here so I’m trying to export the displacement field.

I found an example for extracting displacement field here. However, I only want the displacement field in the segmentation/model, but not the entire volume. Can I transfer a segmentation into a new volume so that I can export the displacement magnitude of the transform as a volume and visualize it? Or do you have any other ideas to get the displacement field of a model?

Thanks a lot!