Dynamic Bidirectional GM analysis: can't reading acceleration recording
Moderators: silvia, selimgunay, Moderators
-
- Posts: 14
- Joined: Thu Jul 30, 2020 11:12 am
Dynamic Bidirectional GM analysis: can't reading acceleration recording
Hello, I built a 3d RC Frame and I should analyze the structur with a Dynamic Bidirectional Ground Motion.
When I put this string:
foreach GMdirection $iGMdirection GMfile $iGMfile GMfact $iGMfact {
incr IDloadTag;
set inFile $GMdir/$GMfile.at2
set outFile $GMdir/$GMfile.g3; # set variable holding new filename (PEER files have .at2/dt2 extension)
ReadSMDFile $inFile $outFile dt; # call procedure to convert the ground-motion file
set GMfatt [expr $g*$GMfact]; # data in input file is in g Unifts -- ACCELERATION TH
set AccelSeries "Series -dt $dt -filePath $outFile -factor $GMfatt"; # time series information
pattern UniformExcitation $IDloadTag $GMdirection -accel $AccelSeries ; # create Unifform excitation
}
the program reports an error: Cannot open "Cannot open C:UsersUserDesktopLaboratorio di TesiProgrammi di calcoloOpenSees3.2.0-x64.exinGMfile/H-E01140.at2" for reading
can't read "dt": no such variable
Why? In the C:Use..... GMfile" there is a file of uniform acceleration; and what is "dt"?
When I put this string:
foreach GMdirection $iGMdirection GMfile $iGMfile GMfact $iGMfact {
incr IDloadTag;
set inFile $GMdir/$GMfile.at2
set outFile $GMdir/$GMfile.g3; # set variable holding new filename (PEER files have .at2/dt2 extension)
ReadSMDFile $inFile $outFile dt; # call procedure to convert the ground-motion file
set GMfatt [expr $g*$GMfact]; # data in input file is in g Unifts -- ACCELERATION TH
set AccelSeries "Series -dt $dt -filePath $outFile -factor $GMfatt"; # time series information
pattern UniformExcitation $IDloadTag $GMdirection -accel $AccelSeries ; # create Unifform excitation
}
the program reports an error: Cannot open "Cannot open C:UsersUserDesktopLaboratorio di TesiProgrammi di calcoloOpenSees3.2.0-x64.exinGMfile/H-E01140.at2" for reading
can't read "dt": no such variable
Why? In the C:Use..... GMfile" there is a file of uniform acceleration; and what is "dt"?
-
- Posts: 913
- Joined: Mon Sep 09, 2013 8:50 pm
- Location: University of California, Berkeley
Re: Dynamic Bidirectional GM analysis: can't reading acceleration recording
Error message indicates that you don't have the .at2 file under this folder.
-
- Posts: 14
- Joined: Thu Jul 30, 2020 11:12 am
Re: Dynamic Bidirectional GM analysis: can't reading acceleration recording
I resolved the error with "/". But I have got an another question with the Bidirectional GM analysis.
I downloaded an .at2 file by PEER GM Database and I am trying to convert the file with ReadSMDfile.tcl but I am doing something wrong.
I am attaching the procedure:
source 3Dframe.tcl; #import 3D structure
wipe Analysis;
source ReadSMDfile.tcl;
set outFile RSN14_KERN_SBA132.g3;
ReadSMDFIle RSN14_KERN_SBA132.at2 $outFile dt
set iGMfile "RSN14_KERN_SBA132 RSN14_KERN_SBA132.at2"
set iGMdirection "1 3"
set iGMfact "1.5 0.75"
set DtAnalysis [expr 0.01*$sec]
set TmaxAnalysis [expr 10.*$sec]
source LibAnalysisDynamicParameters.tcl
[...] #define & apply damping
set IDloadTag 400
when I put this string:
foreach GMdirection $iGMdirection GMfile $iGMfile GMfact $iGMfact {
incr IDloadTag;
set inFile $GMdir/$GMfile.at2
set outFile $GMdir/$GMfile.g3;
ReadSMDFile $inFile $outFile dt;
set GMfatt [expr $g*$GMfact];
set AccelSeries "Series -dt $dt -filePath $outFile -factor $GMfatt";
pattern UniformExcitation $IDloadTag $GMdirection -accel $AccelSeries
}
the program tells me: Cannot open C: /Users/User/Desktop/OpenSees/bin/RSN14_KERN_SBA132.at2 for reading
WARNING invalid dt -filePath - Series -dt dt ...
WARNING invalid accel series: Series -dt -filePath C: /Users/User/Desktop/OpenSees/bin/RSN14_KERN_SBA132.g3 -factor 579.6 pattern UniformExcitation -accel {series}
expected floating-point number but got "-filePath"
Why?
I downloaded an .at2 file by PEER GM Database and I am trying to convert the file with ReadSMDfile.tcl but I am doing something wrong.
I am attaching the procedure:
source 3Dframe.tcl; #import 3D structure
wipe Analysis;
source ReadSMDfile.tcl;
set outFile RSN14_KERN_SBA132.g3;
ReadSMDFIle RSN14_KERN_SBA132.at2 $outFile dt
set iGMfile "RSN14_KERN_SBA132 RSN14_KERN_SBA132.at2"
set iGMdirection "1 3"
set iGMfact "1.5 0.75"
set DtAnalysis [expr 0.01*$sec]
set TmaxAnalysis [expr 10.*$sec]
source LibAnalysisDynamicParameters.tcl
[...] #define & apply damping
set IDloadTag 400
when I put this string:
foreach GMdirection $iGMdirection GMfile $iGMfile GMfact $iGMfact {
incr IDloadTag;
set inFile $GMdir/$GMfile.at2
set outFile $GMdir/$GMfile.g3;
ReadSMDFile $inFile $outFile dt;
set GMfatt [expr $g*$GMfact];
set AccelSeries "Series -dt $dt -filePath $outFile -factor $GMfatt";
pattern UniformExcitation $IDloadTag $GMdirection -accel $AccelSeries
}
the program tells me: Cannot open C: /Users/User/Desktop/OpenSees/bin/RSN14_KERN_SBA132.at2 for reading
WARNING invalid dt -filePath - Series -dt dt ...
WARNING invalid accel series: Series -dt -filePath C: /Users/User/Desktop/OpenSees/bin/RSN14_KERN_SBA132.g3 -factor 579.6 pattern UniformExcitation -accel {series}
expected floating-point number but got "-filePath"
Why?
-
- Posts: 913
- Joined: Mon Sep 09, 2013 8:50 pm
- Location: University of California, Berkeley
Re: Dynamic Bidirectional GM analysis: can't reading acceleration recording
Please make sure that you have the file named RSN14_KERN_SBA132.at2 under the folder C: /Users/User/Desktop/OpenSees/bin/
-
- Posts: 14
- Joined: Thu Jul 30, 2020 11:12 am
Re: Dynamic Bidirectional GM analysis: can't reading acceleration recording
In the folder there is a file .at2 RSN14_KERN_SBA132. When I invoc the procedure ReadSMDFile.tcl should I setting up the inFile and outFile or not?
-
- Posts: 913
- Joined: Mon Sep 09, 2013 8:50 pm
- Location: University of California, Berkeley
Re: Dynamic Bidirectional GM analysis: can't reading acceleration recording
The warning message indicates the file is not there. It would be best if you upload your files to a box folder (or similar) and share the link
-
- Posts: 14
- Joined: Thu Jul 30, 2020 11:12 am
Re: Dynamic Bidirectional GM analysis: can't reading acceleration recording
I tryed with H-E01140.at2 and the analysis was succesful
Then I tryed with RSN1_HELENA.A_A-HCM180.at2 and the Opensees told me this error
H-E01140 and RSN1_HELENA.A_A-HCM180 are in the same folder
I'm attaching the link for folder with the files that I use:
https://drive.google.com/drive/folders/ ... sp=sharing
Then I tryed with RSN1_HELENA.A_A-HCM180.at2 and the Opensees told me this error
H-E01140 and RSN1_HELENA.A_A-HCM180 are in the same folder
I'm attaching the link for folder with the files that I use:
https://drive.google.com/drive/folders/ ... sp=sharing
-
- Posts: 913
- Joined: Mon Sep 09, 2013 8:50 pm
- Location: University of California, Berkeley
Re: Dynamic Bidirectional GM analysis: can't reading acceleration recording
It should work if you change the file name to something simpler, e.g. RSN1.at2