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 AM EST
Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 months ago Mar 3, 2020, 8:37 AM 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: 3 months ago Mar 3, 2020, 10:22 AM 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.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.