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.

I would like to solve an equation with the PDE interface in Comsol5.4.I use coefficient form and wonder if the coefficients can be dependent on the same varaible the equation is solving for?

Please login with a confirmed email address before reporting spam

Hello, I would like to solve an equation with the PDE interface in Comsol5.4.I use coefficient form and wonder if the coefficients can be dependent on the same varaible the equation is solving for?

So, if the equation is solving for T, can I put the coefficients of the equation to be a function of T?

Looking forward to your reply.

Jin


2 Replies Last Post 2020年6月7日 GMT-4 19:52
Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 years ago 2020年6月1日 GMT-4 04:16

Hi Jin,

Yes, the coefficients of the equation can be functions of the dependent variables (and their derivatives).

Best regards, Magnus Ringh, COMSOL

Hi Jin, Yes, the coefficients of the equation can be functions of the dependent variables (and their derivatives). Best regards, Magnus Ringh, COMSOL

Please login with a confirmed email address before reporting spam

Posted: 5 years ago 2020年6月7日 GMT-4 19:52

Hi Jin,

Yes, the coefficients of the equation can be functions of the dependent variables (and their derivatives).

Best regards, Magnus Ringh, COMSOL

Hello, when using the coefficient type partial differential equation interface, my coefficient is a piecework function to solve the dependent variable Te. I defined the function of this coefficient in the component. When I filled this function into the corresponding option of the coefficient type partial differential equation interface, the following error occurred in the calculation and the error was reported as: find the undefined value. There are 9,821 equations, and in the matrix rows of the variable comp1.te you get non-numbers/infinity. What could be the cause?

Looking forward to your reply.

Jin

>Hi Jin, > >Yes, the coefficients of the equation can be functions of the dependent variables (and their derivatives). > >Best regards, >Magnus Ringh, COMSOL Hello, when using the coefficient type partial differential equation interface, my coefficient is a piecework function to solve the dependent variable Te. I defined the function of this coefficient in the component. When I filled this function into the corresponding option of the coefficient type partial differential equation interface, the following error occurred in the calculation and the error was reported as: find the undefined value. There are 9,821 equations, and in the matrix rows of the variable comp1.te you get non-numbers/infinity. What could be the cause? Looking forward to your reply. Jin

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.