hi all
I am doing some parameter analyses, using different ground motions
I want to load different motions (Motion1... MotionN) using different Scale Factors for each one of them.
but I think I am missing some syntax rules on how to transform the Scale Factor string into a number
(should I use the eval command?)
here is my script:
source MODEL.tcl
set acc Motion1
set SF_Motion1 3.0224
set fac SF_$acc
set accelFNX "Path -filePath $acc.lng -dt 0.01 -factor $fac";
pattern UniformExcitation 3 1 -accel $accelFNX
and here is what I get
WARNING invalid cFactor SF_Motion1 - Series -factor ...
WARNING invalid accel series: pattern UniformExcitation -accel <args>
expected floating-point number but got "SF_MOtion1"
while executing
"pattern UniformExcitation 3 1 -accel $accelFNX"
thank you for your help
m.
Ground Motion & Scale Factor Parameters
Moderators: silvia, selimgunay, Moderators
-
- Posts: 29
- Joined: Fri May 13, 2005 5:36 am
Ground Motion & Scale Factor Parameters
Marco Faggella
Ph.D. student
Univ. Chieti-Pescara, Italy
UC San Diego
Ph.D. student
Univ. Chieti-Pescara, Italy
UC San Diego
-
- Posts: 29
- Joined: Fri May 13, 2005 5:36 am