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.
Wrong number of dofs in optimization.
Posted 18 juil. 2009, 22:28 UTC−4 0 Replies
Please login with a confirmed email address before reporting spam
I am a beginner of COMSOL.
Today, I try to build one two-dimensional N-S incompressible model, and use the optimization lab component to optimization it.
My simple object is to determine a porosity to maximize the outlet velocity of one porous plate channel.
But when I begin compute, one error occured.
"Exception:
com.femlab.jni.FlNativeException: Wrong number of dofs in property u
Messages:
Wrong number of dofs in property u
- Callstack: femsolver 368 solobj.smartRunner(report, loopTime);
assemble 60 varargout = femsolver(mfilename,'Assemble',fem,varargin{:});"
I spent several hours with this error, but the result is very depressed.
Could anybody give me the reason for this problem and tell me how to fix it?
At the same time, may I write an exterior optimizing program by the COMSOL script or MATLAB.
Then use this program to call the script of this model.
Thank you very much.
Hello Junxiang Shi
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.