Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

how to build a non-uniform initial temperature with Matlab -thanks

Please login with a confirmed email address before reporting spam

Hi everyone,

I am building a 2D geometry and specify the corresponding initial temperature (non-uniform in the domain) with the aid of matlab (liveLink Matlab). The geometry creating is almost finished, while the initial temperature problem puzzles me a lot. The initial temperature at each coordinates (x,y) is originally listed in a txt file, which is obtained/extracted from the result of COMSOL (actually the plot data using a specific filter) and shown in the MS word file (Non-uniform Temperature Data.doc or .PNG ) - I am not accessible to upload any txt file, so the data are copied into the word file. If only in the COMSOL GUI, the initial condition ‘initial Value ’ can obtain a uniform initial temperature in the specific domain, but fail to specify the temperature at each point in the domain using a txt file or others. So I turn to the live link Matlab to try to solve it. Firstly I searched the forum with the hope of some useful messages or tips, and then I read the series of the COMSOL documents. Unfortunately no any tips was found now, could you give me some tips and guidance?

Thanks for your response sincerely in advance.
Best wishes to you and your family.

FM Huang
Nov. 17th.2011


0 Replies Last Post 16.11.2011, 20:34 GMT-5
COMSOL Moderator

Hello Huang Fumin

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.