Please login with a confirmed email address before reporting spam
Hi Lin
You can retrieve numerical values from Comsol to Matlab in a number of ways.
mphinterp gives you values at arbitrary coordinates.
mpheval gives you values at node points.
mphgetu gives you the raw solution vector. You use the information returned from mphxmeshinfo to identify which field variables are stored where in this vector.
Comsol has support for returning sensitivities that may be useful when doing optimisation. See the chapter on "Sensitivity Analysis" in the Reference Manual for more information.
-------------------
Lars Gregersen
Comsol Denmark
Hi Lin
You can retrieve numerical values from Comsol to Matlab in a number of ways.
mphinterp gives you values at arbitrary coordinates.
mpheval gives you values at node points.
mphgetu gives you the raw solution vector. You use the information returned from mphxmeshinfo to identify which field variables are stored where in this vector.
Comsol has support for returning sensitivities that may be useful when doing optimisation. See the chapter on "Sensitivity Analysis" in the Reference Manual for more information.