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.

Implementation of mixed derivatives in PDE

Please login with a confirmed email address before reporting spam

Hi guys, I am working on the mathematical modelling of piezoelectric sensor and I developed system of 4 PDEs in which there are 2 independent variables (viz. r,z) and 4 dependent variables (viz. ur, u_theta, uz and phi) as shown below. The problem is axisymmetric so I will be using 2D axisymmetric module instead of 3D.

I need to implement it in the coefficient form PDE in COMSOL but the coefficient form of PDE doesn't take mixed derivatives. Is there any other way I can solve this system of equations in COMSOL? Any help is much appreciated. Thank you.


4 Replies Last Post Apr 15, 2021, 5:59 a.m. EDT
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago Apr 12, 2021, 8:50 a.m. EDT

Hello Akshay,

By specifying a non-diagonal c (Diffusion coefficient) matrix, you'll be able to have mixed derivatives in acoefficient form PDE interface.

Best regards,

Jeff

-------------------
Jeff Hiller
Hello Akshay, By specifying a non-diagonal c (Diffusion coefficient) matrix, you'll be able to have mixed derivatives in acoefficient form PDE interface. Best regards, Jeff

Please login with a confirmed email address before reporting spam

Posted: 3 years ago Apr 13, 2021, 2:31 a.m. EDT

Hi Jeff, Thanks for the response. As I have 2 independent variables (r and z), so the non-diagonal elements of c (Diffusion matrix) will be coefficients of and right?

Hi Jeff, Thanks for the response. As I have 2 independent variables (r and z), so the non-diagonal elements of c (Diffusion matrix) will be coefficients of \frac{\partial^2}{\partial r\partial z} and \frac{\partial^2}{\partial z\partial r} right?

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago Apr 13, 2021, 9:02 a.m. EDT

More or less, yes. To be more accurate, I would need to point out that the elements of c can be functions of r and z, so when you take the divergence of c grad(whatever) you can also end up with terms from the differentiation of the terms of c.

Best,

Jeff

-------------------
Jeff Hiller
More or less, yes. To be more accurate, I would need to point out that the elements of c can be functions of r and z, so when you take the divergence of c grad(whatever) you can also end up with terms from the differentiation of the terms of c. Best, Jeff

Please login with a confirmed email address before reporting spam

Posted: 3 years ago Apr 15, 2021, 5:59 a.m. EDT

Thanks Jeff

Thanks Jeff

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.