Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
9 nov. 2011, 09:02 UTC−5
The problem is the parameter "h" that you've defined. You have to rename it to something else as "h" is already pre-defined by Comsol to refer to the mesh element size.
The problem is the parameter "h" that you've defined. You have to rename it to something else as "h" is already pre-defined by Comsol to refer to the mesh element size.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
9 nov. 2011, 09:27 UTC−5
Hi,
it is in general a good advice to avoid short, particularly single-letter variables, because some of them, like x, y, z, r, t, etc. are used by Comsol.
What is new to me so far is that Comsol now creates an error, or a warning, if such a conflict occurs.
Is that new to 4.2a?
Cheers
Edgar
Hi,
it is in general a good advice to avoid short, particularly single-letter variables, because some of them, like x, y, z, r, t, etc. are used by Comsol.
What is new to me so far is that Comsol now creates an error, or a warning, if such a conflict occurs.
Is that new to 4.2a?
Cheers
Edgar
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
9 nov. 2011, 14:57 UTC−5
Hello
it seems to depend on the use of the variable, I tried, in v4.2a, to redefine h and it worked without errors, but I was not inluding h into the solver sequence s othat might be the reason.
I find it nice that COMSOl checks when we redefine the internal variables, but sometimes it's of interest to be able to, too ;)
--
Good luck
Ivar
Hello
it seems to depend on the use of the variable, I tried, in v4.2a, to redefine h and it worked without errors, but I was not inluding h into the solver sequence s othat might be the reason.
I find it nice that COMSOl checks when we redefine the internal variables, but sometimes it's of interest to be able to, too ;)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
10 nov. 2011, 20:42 UTC−5
Hi,
Thank you very much. My version is 4.2. Now I am clear about the problem:-)
Best regards
Hi,
Thank you very much. My version is 4.2. Now I am clear about the problem:-)
Best regards