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.

Using a counter in COMSOL

Please login with a confirmed email address before reporting spam

hi ,
i have a very simple question , how can we use a counter in COMSOL , as in c = c+1 .
When i use this expression i get "circular variable dependency " but there must be some way to implement this .
Can anyone help me with this ?
regards ,
Hirendra

1 Reply Last Post Feb 18, 2012, 7:58 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 Feb 18, 2012, 7:58 a.m. EST
Hi

you must better check the doc or the equations, as I'm sure COMSOL has an iteration counter somewhere, but I have never bothered so I do not know its name ;)

Even, probably you cannot use "dynamically" it during the solver process

--
Good luck
Ivar
Hi you must better check the doc or the equations, as I'm sure COMSOL has an iteration counter somewhere, but I have never bothered so I do not know its name ;) Even, probably you cannot use "dynamically" it during the solver process -- 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.