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.

Comsol-Error "Dupilicate variable name "

Please login with a confirmed email address before reporting spam

Hi,
Can any body explain me following error which occured during execution of a PDE-general form equation

Error

Dupilicate variable name
-Variable : h
-Variable : h
-Variable : h
-Variable : h
-Variable : h
Error in multiphysics compilation

1 Reply Last Post Nov 16, 2011, 2:47 a.m. EST
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 Nov 16, 2011, 2:47 a.m. EST
Hi

I suppose you have defined a variable "h", but "h" is used by COMSOL for the mesh size value/measure.

Try to use longer variable names for you user names, most single letter names are already used up by COMSOL

I often us my_h or My_variable etc to be specific, I agree too that COMSOL could have used a convention to identify their internal variables in a more unique way

--
Good luck
Ivar
Hi I suppose you have defined a variable "h", but "h" is used by COMSOL for the mesh size value/measure. Try to use longer variable names for you user names, most single letter names are already used up by COMSOL I often us my_h or My_variable etc to be specific, I agree too that COMSOL could have used a convention to identify their internal variables in a more unique way -- Good luck Ivar

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.