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.
Some problems about Comsol with Matlab when realizing my algorithm
Posted 20 ago 2014, 03:00 GMT-4 Interfacing, LiveLink for MATLAB Version 4.4 0 Replies
Please login with a confirmed email address before reporting spam
So,first I want to test a simple nolinear PDE:
div ( u grad( u )) = 1 in \Omega
u = 0 on \partial \Omega
And, my algorithm is the linearization of this PDE
div( u^k grad(u^{k+1}) ) = 1
u^{k+1} = 0
My question is how to set up heat conduction parameters which is piecewise linearity or them form like FEM solution. I can only use this code
model.physics('poeq').feature('peq1').set('c', 1, {'u' '0' '0' 'u'});
but, how can I define u_k and let u_k = u after each loop.
I konw Comsol can solve the nonliner PDE with Newton Method easily, but some PDE may have some new method to solve them .
Thanks all.
Hello Huashan Sheng
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.