Author |
Message |
ivan (ivanga)
New member Username: ivanga
Post Number: 1 Registered: 12-2008
| Posted on Wednesday, December 17, 2008 - 09:31 am: | |
hi, i've a problem about calculation of the volume integral of a function calculated at a fixed time t0, for example: vol_integral(C(@t=t0)) where c is a function of time and position can you help me?? GOOD WORK!! |
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 1196 Registered: 06-2003
| Posted on Wednesday, December 17, 2008 - 02:28 pm: | |
It depends on what you want to do with the result. You can report it at a fixed time simply by specifying the time t0 in a PLOT TIME specification. You can plot a history of the value and pick a number off the plot. But if you want to preserve the number and use it later in the same computation, then things get more complicated. There is at present no mechanism for selectively saving values from prior times for later use. The only thing I can think of is to export the value and import it into a second script.
|
ivan (ivanga)
New member Username: ivanga
Post Number: 2 Registered: 12-2008
| Posted on Thursday, December 18, 2008 - 07:46 am: | |
thank you a lot for the help!!! |