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.

Importing a Q(x,t) heat profile

Please login with a confirmed email address before reporting spam

Hello,

I have a text file of a heat rate as a funciton of position and time (Q(x,t)) in the form of a 59x52 matrix. The first column is the x position and the following columns are measurements at t = 0, t = 10 etc up to t = 500 (see attached txt file). I want to set up a heat transfer model such that a volume follows this heat profile at the proper positions/time slices. What is the easiest way to import a 2D function like this and have the heatsourc enode cycle through the time steps properly (assuming I have stet up the solver to follow the same time steps etc.)?

Any help would be appreciated!



0 Replies Last Post Feb 6, 2021, 2:37 p.m. EST
COMSOL Moderator

Hello John Erickson

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.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.