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.

Derivate of a dependent variable is 0

Francesc-Xavier Borras

Please login with a confirmed email address before reporting spam

Hi,

I am having a really dumb problem. I am doing something wrong.

I apply a physic(Lubrication Shell) and the output is a pressure distribution. I need the derivate of this pressure respect x and y.

d(pf,x)
d(pf,y)

When I plot it,the result is always null. Is it derivating a constant?

What I am doing wrong? I attach a file just to show it but it is really easy to do it.


2 Replies Last Post Mar 26, 2012, 5:31 p.m. EDT
Francesc-Xavier Borras

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Mar 26, 2012, 1:40 p.m. EDT
I don't know if it is too basic and people dont want to answer or it is something really dificult...
I don't know if it is too basic and people dont want to answer or it is something really dificult...

Nagi Elabbasi Facebook Reality Labs

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Mar 26, 2012, 5:31 p.m. EDT
Use dtang(pf,x) instead since pf is only defined on a boundary.
Use dtang(pf,x) instead since pf is only defined on a boundary.

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.