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.
Matlab LiveLink - Get Max VanMises Stress
Posted 23.02.2014, 14:39 GMT-5 Interfacing, Results & Visualization Version 4.3b 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
i'm working on an optimisation using a genetic algorithm (matlab) for model generation and comsol multiphysics for solving the fe model (Solid Mechanic with prescribed displacement).
I know how to get solution results at specific coordinates using the command "mphinterp" in matlab. But in this case i want to minimise the maximum value of vanMises Stress in the model. Any ideas how to get this information (Maximum vanMises stress) in matlab (LiveLink)?
I already found out, that there is a way using mpheval which returns a vector with values for all nodes in the model. This vector can be analysed in matlab.
But i hope, there is a more efficient way to ge the maximum of a requested variable directly.
Thanks for your help
Martin
i'm working on an optimisation using a genetic algorithm (matlab) for model generation and comsol multiphysics for solving the fe model (Solid Mechanic with prescribed displacement).
I know how to get solution results at specific coordinates using the command "mphinterp" in matlab. But in this case i want to minimise the maximum value of vanMises Stress in the model. Any ideas how to get this information (Maximum vanMises stress) in matlab (LiveLink)?
I already found out, that there is a way using mpheval which returns a vector with values for all nodes in the model. This vector can be analysed in matlab.
But i hope, there is a more efficient way to ge the maximum of a requested variable directly.
Thanks for your help
Martin
2 Replies Last Post 20.03.2014, 13:12 GMT-4