Author |
Message |
sivaranjini govindan (granjinig)
Member Username: granjinig
Post Number: 6 Registered: 04-2005
| Posted on Tuesday, July 19, 2005 - 06:09 pm: | |
I have to define a pulse on the top surface of a two dimensional rectangular bar. I could put a unit pulse using UPULSE. But the pulse should have a magnitude (say 100). i couldn't do this . (i.e) the condition should like this 100*pulse(0,0.000001) the pulse here is 100 from 0 to 10e-5(time) and 0 else where. please somebody tell me , how to do this?
|
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 410 Registered: 06-2003
| Posted on Tuesday, July 19, 2005 - 07:05 pm: | |
The FlexPDE documentation shows this definition of the UPULSE function: ------------------------------ UPULSE(arg1,arg2) The unit pulse function requires two arguments. UPULSE is 1 where arg1 is positive and arg2 is negative and 0 everywhere else. UPULSE(t-t0, t-t1) is a pulse from t0 to t1 if t1>t0. -------------------------------------- The expression upulse(0, 1e-5) does not tell FlexPDE what quantity is supposed to be compared to 0 and 1e-5. You must provide this information by writing arguments that include the quantity to be tested, as shown in the documentation. Yes the UPULSE function has amplitude 1.0, and yes, multiplying by 100 will produce a pulse with amplitude 100.
|
sivaranjini govindan (granjinig)
Member Username: granjinig
Post Number: 7 Registered: 04-2005
| Posted on Tuesday, July 26, 2005 - 02:30 pm: | |
Thank you |
|