time integral with a non-constant var... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » time integral with a non-constant variable « Previous Next »

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

Mehdi Naderi (mnader4)
Member
Username: mnader4

Post Number: 59
Registered: 12-2006
Posted on Tuesday, December 30, 2008 - 12:12 pm:   

Dear Mr. Nelson,
I will appreciate if you help me:
the attaches are my files.
I am trying to calculate tim_integral (source/t1) which source and t1 are time dependent.
I dont know why the result of the above is zero on the plot.
regrads,
mehdi
text/plaint1
t1.txt (36.3 k)
application/octet-streamtorsion
Torsion.pde (5.1 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 1201
Registered: 06-2003
Posted on Wednesday, December 31, 2008 - 07:18 pm:   

TINTEGRAL computes the time integral of a scalar value.
The argument of your TINTEGRAL is different in different regions. You therefore need to specify a location for evaluation.
The ELEVATION sees that its argument is a scalar, so it ignores the position statement.
The TINTEGRAL is therefore evaluated at some unspecified location, which in this case produces a zero.

You should give the TINTEGRAL a scalar argument, as in
TINTEGRAL(VAL(thing, 0,r3,0.13))

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