I am trying to define a seismic motion in my model using the following input:
INPUT
set accelFile "EQ2accel.csv"
set cFactor 1
set accelSeries "Series -dt $dT -filePath $accelFile -factor $cFactor"
pattern UniformExcitation 2 1 -accel $accelSeries
However when I run the model in OpenSees, I get the following:
OUTPUT
OpenSees > set accelFile "EQ2accel.csv"
EQ2accel.csv
OpenSees > set cFactor 1
1
OpenSees >
OpenSees > set accelSeries "Series -dt $dT -filePath $accelFile -factor $cFactor"
Series -dt 0.02 -filePath EQ2accel.csv -factor 1
OpenSees >
OpenSees > pattern UniformExcitation 2 1 -accel $accelSeries
expected integer but got "-dt"
Does this mean the analysis is not reading my timesteps correctly? How can I fix this?
Error with defining seismic motion
Moderators: silvia, selimgunay, Moderators
Re: Error with defining seismic motion
you are trying to use a deprecated method and failing badly. I won't show you how to fix it but will instead point you to the new approach
timeSeries Path 1 -filePath $accelFile -dt $dT -factor $cFactor
pattern UniformExcitation 2 1 -accel 1
timeSeries Path 1 -filePath $accelFile -dt $dT -factor $cFactor
pattern UniformExcitation 2 1 -accel 1