Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
time dependant variable from file
Posted 14 févr. 2016, 20:03 UTC−5 Materials, Parameters, Variables, & Functions 0 Replies
Please login with a confirmed email address before reporting spam
I can successfully import data (time, value) with the interpolation function. However, I can't get COMSOL to look up these values every timestep and use the corresponding value in the equations... I tried to name the interpolation function my_data and define a variable datavalue = my_data(t) that I use in the PDEs.
The data looks like:
't'\s 'values'\m
0 0.2
3600 -0.1
7200 -0.3
... ...
The model crashes with:
Repeated error test failures. May have reached a singularity.
Time : 21599.9999999935
Last time step is not converged.
But I am not sure if this is actually linked to my problem.
Thanks for any help in this
Hello Christian Wild
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.