Requesting differences in variables Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Requesting differences in variables « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

varelu (varelu)
New member
Username: varelu

Post Number: 1
Registered: 04-2006
Posted on Tuesday, April 25, 2006 - 08:24 am:   

I am curious if it is possible to plot differences in certain variables between, for instance, location a and b. An example, I have a temperature distribution between x=0 and x=1. I am interested in the temperature difference between x=0.2 and x=0.8. So I want to plot T(x=0.8)-T(x=0.2). Is this possible?
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 586
Registered: 06-2003
Posted on Tuesday, April 25, 2006 - 04:54 pm:   

The VAL(expression,xpoint,ypoint) function returns the value of its argument expression at the stated position in the mesh.

The EVAL() function does the same thing, with different characteristics of integration into the solution method (See VAL in the Help Index).

Either one can be used to plot the information you want, as in
HISTORY(VAL(T,0.8)-VAL(T,0.2))

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration