Struggling loading a txt file of displacement to my model

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

Moderators: silvia, selimgunay, Moderators

Post Reply
yairbcn
Posts: 18
Joined: Sun Oct 03, 2010 12:09 pm
Location: UC Irvine

Struggling loading a txt file of displacement to my model

Post by yairbcn »

Dear all,

It's been a while since I have been trying loading a txt file of DISPLACEMENT coordinates to my Opensees model. My file has 9012 points each of them with a time interval of 0.05 sec and I am doing a Static analysis.

Whenever I run it I get this message:

WARNING PlainHandler::handle() - non-homogeneos constraint for node 2 homo assumed
** On entry to DGBSV parameter number 9 had an illegal value


First of all this is my model which works under other analysis (there is no mass since the analysis is Static):


# MODEL OF A ZERO ELEMENT LENGTH ELEMENT WITH AN INPUT OF DISPLACEMENTS FROM A TXT FILE

# SET UP --------------------------------------------------------------------------------------

wipe;
model basic -ndm 2 -ndf 3;
file mkdir Data;

# DEFINE GEOMETRY-------------------------------------------------------------------------------

node 1 0 0;
node 2 0 0;

# BOUNDARY CONDITIONS---------------------------------------------------------------------------

fix 1 1 1 1;
fix 2 0 1 1;

# MATERIAL PROPERTIES---------------------------------------------------------------------------

set K 29000000


uniaxialMaterial Elastic 1 $K



# DEFINE ELEMENTS---------------------------------------------------------------------------

set transfTag 1;
geomTransf Linear $transfTag;

element zeroLength 1 1 2 -mat 1 -dir 1


# DEFINE RECORDERS------------------------------------------------------------------------------------

recorder Node -file Data/RBase1.out -time -node 1 -dof 1 reaction;
recorder Node -file Data/Disp13.out -time -node 2 -dof 1 disp;


#--------------------------------------------------------------------------------------------------------

source analizar.tcl
puts "Model Built"



------------------------------------------------------------------------------------------------------------------------------
After the model I load my other tcl program which is the analysis and the one i am having problems with.
The name of this file is analizar. It's the one i load at the end of my model. Here it goes:
------------------------------------------------------------------------------------------------------------------------------

# INPUT OF A TXT FILE AND ANALYSIS


set SupportNode 2;
set GMdirection "1"


pattern MultipleSupport 4 {

timeSeries Path 956 -dt 0.05 -filePath DispControl.out
groundMotion 5 Plain -disp 956
imposedMotion $SupportNode $GMdirection 5
}




constraints Plain; # how it handles boundary conditions
numberer Plain; # renumber dof's to minimize band-width (optimization), if you want to
system BandGeneral; # how to store and solve the system of equations in the analysis
test NormDispIncr 1.0e-8 6 ; # determine if convergence has been achieved at the end of an iteration step
algorithm Newton; # use Newton's solution algorithm: updates tangent stiffness at every iteration
integrator LoadControl 0.1; # determine the next time step for an analysis, # apply gravity in 10 steps
analysis Static # define type of analysis static or transient
analyze 9012 0.05; # perform gravity analysis
loadConst -time 0.0; # hold gravity constant and restart time



puts "Displacements input Done. End Time: [getTime]"


And thank you very much for taking your time trying to help me.
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Struggling loading a txt file of displacement to my mode

Post by vesna »

the message means that the plain constraint handler can not be used for your case..
Post Reply