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.

how to cite the value of a variable at specific location

Please login with a confirmed email address before reporting spam

Hi,

I have defined a 1D diffusion problem in [0,1]. Say, the dependent variable is u. If I want to put the value of u at x=0.5 into other function, how do I cite the value? is it u(x=0.5)? More generally, for any internal variable on the domain, can I use internal_variable(x=0.5)?

Thanks for your help in advance.

Jifeng

4 Replies Last Post Jul 11, 2012, 9:53 a.m. EDT
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago May 12, 2011, 1:28 p.m. EDT
You can use a Model Coupling of the Integration type at the point in question to do this.
You can use a Model Coupling of the Integration type at the point in question to do this.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago May 12, 2011, 1:38 p.m. EDT
Hi Jean-Francois,

Can you be a little more specific? do I need delta function?

Thanks,
Jifeng
Hi Jean-Francois, Can you be a little more specific? do I need delta function? Thanks, Jifeng

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago May 12, 2011, 1:55 p.m. EDT
Specifically, read the User's Guide manual, version 4.1, page 146 and following.
Specifically, read the User's Guide manual, version 4.1, page 146 and following.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jul 11, 2012, 9:53 a.m. EDT
Hi,
I have the same problem,
I want to plot the velocity of the specific point versus time, it this correct to define a variable like this :
uu=u*(x==1&&y==1&&z==1)

I did not really get the Model Couplings for this problem,
what should i do ?
Hi, I have the same problem, I want to plot the velocity of the specific point versus time, it this correct to define a variable like this : uu=u*(x==1&&y==1&&z==1) I did not really get the Model Couplings for this problem, what should i do ?

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.