eigen values and vectors
Moderators: silvia, selimgunay, Moderators
eigen values and vectors
I am trying to use the eigen command, and it gives me errors. The following script works fine without the line with the eigen command. But when I put in the line "eigen 2" all sorts of errors are obtained.
It is also not clear from the manual how to record the eigenvalues and eigen vectors for continuum elements. Any suggestions?
wipe
model basic -ndm 2 -ndf 2
node 1 0.0 0.0
node 2 72.0 0.0
node 3 72.0 24.0
node 4 0.0 24.0
fix 1 1 1
fix 2 0 1
fix 3 0 1
fix 4 1 1
nDMaterial ElasticIsotropic 1 3000.0 0.0
element quad 1 1 2 3 4 60 PlaneStress 1
pattern Plain 1 Linear {
# Node FX FY
load 2 1000.0 0.0
load 3 1000.0 0.0
}
eigen 2
initialize
system BandGeneral
constraints Transformation
numberer RCM
test NormUnbalance 1e-12 20 1
algorithm Linear
integrator DisplacementControl 1 1 0.001
analysis Static
#-----------------------------------------
#Recorder
#-----------------------------------------
recorder Node -file Displ.out -node 1 2 3 4 -dof 1 2 disp
recorder Node -file Reactionss.out -node 1 2 3 4 -dof 1 2 reaction
#-----------------------------------------
#Perform the analysis
#-----------------------------------------
analyze 1
It is also not clear from the manual how to record the eigenvalues and eigen vectors for continuum elements. Any suggestions?
wipe
model basic -ndm 2 -ndf 2
node 1 0.0 0.0
node 2 72.0 0.0
node 3 72.0 24.0
node 4 0.0 24.0
fix 1 1 1
fix 2 0 1
fix 3 0 1
fix 4 1 1
nDMaterial ElasticIsotropic 1 3000.0 0.0
element quad 1 1 2 3 4 60 PlaneStress 1
pattern Plain 1 Linear {
# Node FX FY
load 2 1000.0 0.0
load 3 1000.0 0.0
}
eigen 2
initialize
system BandGeneral
constraints Transformation
numberer RCM
test NormUnbalance 1e-12 20 1
algorithm Linear
integrator DisplacementControl 1 1 0.001
analysis Static
#-----------------------------------------
#Recorder
#-----------------------------------------
recorder Node -file Displ.out -node 1 2 3 4 -dof 1 2 disp
recorder Node -file Reactionss.out -node 1 2 3 4 -dof 1 2 reaction
#-----------------------------------------
#Perform the analysis
#-----------------------------------------
analyze 1
-
- Posts: 68
- Joined: Fri Jul 02, 2004 6:10 am
- Location: Computers and Structures, Inc.
You have to define mass. See the manual for the command...
Berk Taftali
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu
My mistake
I put masses at the nodes, and I still get alot of error messages (which I don't really understand).
When I want to find eigenvectors and eigenvalues, do I have to be using a particular integrator, solver, algorithm, etc. in the analysis portion of the script? Will OpenSees even calculate eigenvalues when performing a static analysis?
I put masses at the nodes, and I still get alot of error messages (which I don't really understand).
When I want to find eigenvectors and eigenvalues, do I have to be using a particular integrator, solver, algorithm, etc. in the analysis portion of the script? Will OpenSees even calculate eigenvalues when performing a static analysis?
-
- Posts: 68
- Joined: Fri Jul 02, 2004 6:10 am
- Location: Computers and Structures, Inc.
eigen command should work fine without any analysis definition (provided that mass & stiffness is defined properly). In fact, it defines its own analysis, solver, algorithm etc.
See eigenAnalysis function in commands.cpp...
See eigenAnalysis function in commands.cpp...
Berk Taftali
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu