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.
Same model, different solutions?
Posted 21 avr. 2014, 11:37 UTC−4 Interfacing, Heat Transfer & Phase Change Version 4.3b 1 Reply
Please login with a confirmed email address before reporting spam
I'm doing phase change simulation with phase change HT module. Currently I have a problem with COMSOL:
The same model gives different results in different runs!
I use Matlab Livelink to read the solution in each run and compare the difference between two runs.
What I did in Matlab is:
% load model
Comsol_model2 = mphload(Model.mph);
% Run the Temperature model
Comsol_model2.sol('sol2').runAll;
% get model values
Temp2=mpheval(Comsol_model2,{'T2'});
Comsol_T2=Temp2.d1; % Temperature Variables
Comsol_Px2=Temp2.p(1,:); % x coordinate
Comsol_Py2=Temp2.p(2,:); % y coordinate
Comparing the above 3 variables in two simulation runs, the x and y coordinate values are exactly the same but the temperature variable varies randomly in each simulation. I expect the same solution of temperature from each simulation runs if the model is the same.
So can anyone here help me to explain this weird problem?
Attachments:
Hello Xiaoqing Cao
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.