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.

How to set upper or lower limit for dependent variables

Please login with a confirmed email address before reporting spam

I want to set a upper limit value for the dependent varible c to promise c<=2. but I type in the input box '2 c', error occurs : 'Unknown model parameter. - Parameter: c'. How to solve the problem?


2 Replies Last Post Mar 3, 2020, 10:22 a.m. EST
Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 years ago Mar 3, 2020, 8:37 a.m. EST

Hi,

The correct syntax here, if the concentration variable comes from Component 1, should be comp1.c 2.

Best regards,

Magnus Ringh, COMSOL

Hi, The correct syntax here, if the concentration variable comes from Component 1, should be `comp1.c 2`. Best regards, Magnus Ringh, COMSOL

Please login with a confirmed email address before reporting spam

Posted: 5 years ago Mar 3, 2020, 10:22 a.m. EST

Hi,

The correct syntax here, if the concentration variable comes from Component 1, should be comp1.c 2.

Best regards,

Magnus Ringh, COMSOL

Has now the latest version the option for setting limits for a dependent variable? That's interesting.

-------------------
ZHANG, Pu
School of Physics,
Huazhong University of Science and Technology
>Hi, > >The correct syntax here, if the concentration variable comes from Component 1, should be `comp1.c 2`. > >Best regards, > >Magnus Ringh, COMSOL Has now the latest version the option for setting limits for a dependent variable? That's interesting.

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.