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.
Error using analytic function
Posted 5 janv. 2012, 01:00 UTC−5 Materials Version 4.2a 5 Replies
Please login with a confirmed email address before reporting spam
Hi,
I am solving a 3D Helmholtz problem. The model can be defined by a cube and in the middle of it, I introduced a thin body region that has flux of a given sinusoidal function. I am not able to solve it as there is an error saying
Failed to evaluate expression.
- Expression: d((disp*test(mod1.u))*(dvol),{test@1})
disp being the name of the analytic function. The function i am interested in has the form of A*sin(pi*x).
When I repeat the problem by replacing the function with a constant value, the problem solves normally.
I have attached a sample file here for reference.
Hope someone can help me.
Thank you.
Best rgards,
EH
I am solving a 3D Helmholtz problem. The model can be defined by a cube and in the middle of it, I introduced a thin body region that has flux of a given sinusoidal function. I am not able to solve it as there is an error saying
Failed to evaluate expression.
- Expression: d((disp*test(mod1.u))*(dvol),{test@1})
disp being the name of the analytic function. The function i am interested in has the form of A*sin(pi*x).
When I repeat the problem by replacing the function with a constant value, the problem solves normally.
I have attached a sample file here for reference.
Hope someone can help me.
Thank you.
Best rgards,
EH
Attachments:
5 Replies Last Post 28 mars 2012, 13:45 UTC−4