# Material properties from discrete data

**URL:** <https://fenicsproject.discourse.group/t/material-properties-from-discrete-data/744>\
**Category:** variational formulation\
**Created:** [May 6, 2019, 12:26pm UTC](https://fenicsproject.discourse.group/t/material-properties-from-discrete-data/744 "2019-05-06T12:26:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![RemDelaporteMathurin](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/remdelaportemathurin/32/4543_2.png) [@RemDelaporteMathurin](https://fenicsproject.discourse.group/u/RemDelaporteMathurin)\
**Post date:** [May 6, 2019, 1:12pm UTC](https://fenicsproject.discourse.group/t/material-properties-from-discrete-data/744/3 "2019-05-06T13:12:36Z")

</div>

Hi @kamensky! Thanks for your help.  
Using @freya’s solution, in case of a nonlinear problem I think I’d have to reassemble the function at each time step and at each iteration, which is maybe a bit too much a trouble. I looked at your solution but it may indeed be very slow for some datasets, plus I don’t know if it’d work on a nonlinear problem.

To be honest I was hoping for an easy implementation that I wasn’t aware of but apparently there isn’t one - yet. I can always work with polynomial fitting for now.

Thanks !!  
Rem

---

_[View the full topic](https://fenicsproject.discourse.group/t/material-properties-from-discrete-data/744)._
