precice / fenics-adapter

preCICE-adapter for the open source computing platform FEniCS
GNU Lesser General Public License v3.0
29 stars 15 forks source link

Add capability to write delta change data #87

Closed IshaanDesai closed 4 years ago

IshaanDesai commented 4 years ago

This PR adds the functionality to existing data writing function of writing the delta change of a quantity between the current time window and the previous time window. Previously the data writing function only supported writing absolute value of a quantity at the current time window. In coupled FSI applications this is typically seen as the sturcutral participant writing Displacements or DisplacementDeltas.

BenjaminRodenberg commented 4 years ago

We just decided to let the user do these kind of calculations, since our design goal with the adapter is to convert and communicate the data, but not touch it (#34 & #59) and getting the "displacement delta" from "displacement" is easy. Closing this issue.