how input wave displacement stimulus in opensees?

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
wuzeyu
Posts: 1
Joined: Thu Jan 10, 2019 3:08 pm
Location: The university of new mexico

how input wave displacement stimulus in opensees?

Post by wuzeyu » Mon Jan 14, 2019 8:52 am

I have a plain cantilever beam, at the free end, there is a displacement wave stimulus, which has 3141 displacement points. When it was finished, I find all displacements in the node before the free end are equal to zero. I don't know why. The scipt of the analysis is listed below. Can you help me to find where I fall into fault. Thanks!


wipe;
model basic -ndm 2 -ndf 3;
node 1 0 0;
node 2 0 0.05;
node 3 0 0.10;
node 4 0 0.15;
node 5 0 0.20;
node 6 0 0.25;
node 7 0 0.30;
node 8 0 0.35;
node 9 0 0.40;
node 10 0 0.45;
node 11 0 0.50;
node 12 0 0.55;
fix 12 1 1 1;
geomTransf Linear 1;
element elasticBeamColumn 1 1 2 0.012 0.92e9 6.3147e-9 1;
element elasticBeamColumn 2 2 3 0.012 0.92e9 6.3147e-9 1;
element elasticBeamColumn 3 3 4 0.012 0.92e9 6.3147e-9 1;
element elasticBeamColumn 4 4 5 0.012 0.92e9 6.3147e-9 1;
element elasticBeamColumn 5 5 6 0.012 0.92e9 6.3147e-9 1;
element elasticBeamColumn 6 6 7 0.012 0.92e9 6.3147e-9 1;
element elasticBeamColumn 7 7 8 0.012 0.92e9 6.3147e-9 1;
element elasticBeamColumn 8 8 9 0.012 0.92e9 6.3147e-9 1;
element elasticBeamColumn 9 9 10 0.012 0.92e9 6.3147e-9 1;
element elasticBeamColumn 10 10 11 0.012 0.92e9 6.3147e-9 1;
element elasticBeamColumn 11 11 12 0.012 0.92e9 6.3147e-9 1;

set iSupportNode 1;
set iGMdirection 1;

mass 1 0.03256 0 0;
mass 2 0.03256 0 0;
mass 3 0.03256 0 0;
mass 4 0.03256 0 0;
mass 5 0.03256 0 0;
mass 6 0.03256 0 0;
mass 7 0.03256 0 0;
mass 8 0.03256 0 0;
mass 9 0.03256 0 0;
mass 10 0.03256 0 0;
mass 11 0.03256 0 0;
mass 12 0.03256 0 0;

rayleigh 3.1193 0.00016; # RAYLEIGH damping
loadConst -time 0.0;
timeSeries Path 1 -dt 0.01 -filePath disp3141.txt -factor 1 ;

set IDloadTag 1;
set IDgmSeries 3141; # for multipleSupport Excitation
set DtGround [expr 0.01*$sec]; # time-step Dt for input grond motion
set tabasFN "Path -filePath disp3141.txt -dt 0.01 -factor 9.8"

pattern MultipleSupport $IDloadTag {
foreach SupportNode $iSupportNode GMdirection $iGMdirection {
set IDgmSeries [expr $IDgmSeries +1]
set DispSeries $tabasFN
groundMotion $IDgmSeries Plain -disp $DispSeries
imposedMotion $SupportNode $GMdirection $IDgmSeries
}; # end foreach
}; # end pattern
recorder Node -file disp_2.txt -time -node 1 -dof 1 2 3 disp;
wipeAnalysis;
constraints Plain;
numberer Plain;
system BandGeneral;
test NormDispIncr 1.0e-8 10 2;
algorithm linear;
integrator Newmark 0.5 0.25 ;
analysis Transient;
analyze 3141 0.01;
puts "ground motion analysis is finished..."

HXHqingdao
Posts: 5
Joined: Sun Jun 20, 2021 4:14 pm

Re: how input wave displacement stimulus in opensees?

Post by HXHqingdao » Fri Jul 09, 2021 12:03 am

Have you solved this problem

Post Reply