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