Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
26.03.2011, 03:49 GMT-4
Hi
define an ODE equation or Global equation and arrange your formula to be = 0
i.e. you define a variable that COMSOL adapts to get the equation to fit, its the poor mans optimisation, but you are correct, the optimisation module has all this in readily set up, and pre-cooked for you
--
Good luck
Ivar
Hi
define an ODE equation or Global equation and arrange your formula to be = 0
i.e. you define a variable that COMSOL adapts to get the equation to fit, its the poor mans optimisation, but you are correct, the optimisation module has all this in readily set up, and pre-cooked for you
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
26.03.2011, 18:24 GMT-4
Hi Ivar,
I don't think this optimization in a timedependent model would be that easy. These days I am working on a curvefitting problem in COMSOL 4.0a. I use time dependent Nernst-Plank model. Using this model I am able to find the trend of current versus time and I have experimental trend as well. The plan is using the COMSOL model and the experimental results to find an optimum value for a physical constant. So the control variable is not changing through time. I also defined the objective variable as the integral of the RMS error between model and experimental results through time.
COMSOL all the time gives "singular matrix" error for the optimization of this problem. I found other people in this forum or in other places have the same problem.
Do you think using optimization module in a time dependent problem is beyond the capability of COMSOL and I need to optimize my problem using optimization toolbar in MATLAB? If this is the case do you know any example that can help me. I can't figure out how I should use optimization toolbar in this case.
I also posted a separate question about this to see the opinion of other people.
I greatly appericiate your help.
Atieh
Hi Ivar,
I don't think this optimization in a timedependent model would be that easy. These days I am working on a curvefitting problem in COMSOL 4.0a. I use time dependent Nernst-Plank model. Using this model I am able to find the trend of current versus time and I have experimental trend as well. The plan is using the COMSOL model and the experimental results to find an optimum value for a physical constant. So the control variable is not changing through time. I also defined the objective variable as the integral of the RMS error between model and experimental results through time.
COMSOL all the time gives "singular matrix" error for the optimization of this problem. I found other people in this forum or in other places have the same problem.
Do you think using optimization module in a time dependent problem is beyond the capability of COMSOL and I need to optimize my problem using optimization toolbar in MATLAB? If this is the case do you know any example that can help me. I can't figure out how I should use optimization toolbar in this case.
I also posted a separate question about this to see the opinion of other people.
I greatly appericiate your help.
Atieh