### Use experimental data as input for the thermal diffusion equation

40

views

1

Hi all,

I'm new in FEniCS, so I might be doing an easy question here.

I want to solve an equation of 2D thermal diffusion that has as source therm experimental data. I have the source therms in a regular (x,y) grid.

The only way I can think about it is to find a way to formulate an Expression (I think the manual refers to it as f(x,y)) to use in the definition of a, L of the variational problem, but I have no idea how to make a Expression that do that. I'm not skilled in C++ as well, so that may be the issue.

Thank you for any help and sorry for the (maybe) trivial question

Fabio

I'm new in FEniCS, so I might be doing an easy question here.

I want to solve an equation of 2D thermal diffusion that has as source therm experimental data. I have the source therms in a regular (x,y) grid.

The only way I can think about it is to find a way to formulate an Expression (I think the manual refers to it as f(x,y)) to use in the definition of a, L of the variational problem, but I have no idea how to make a Expression that do that. I'm not skilled in C++ as well, so that may be the issue.

Thank you for any help and sorry for the (maybe) trivial question

Fabio

Community: FEniCS Project

Please login to add an answer/comment or follow this question.