PySimple1 material does not work

For posts concerning the documentation, errors, ommissions, general comments, etc.

Moderators: silvia, selimgunay, Moderators

Post Reply
vsuarez
Posts: 5
Joined: Mon Jan 10, 2005 8:51 am
Location: NCSU

PySimple1 material does not work

Post by vsuarez » Wed Jan 12, 2005 7:48 am

Currently, I am evaluating equivalent viscous damping of pile-soil systems with the purpose of implementing displacement-based seismic design procedures for pile bents.

I am trying to use Opensees to perform nonlinear time history analysis of pile-soil systems using PySimple1. Unfortunatly when I try to define the pymaterial using:

uniaxialMaterial PySimple1 $matTag $soilType $pult $Y50 $Cd <$c>

I always get the error message:

WARNING SNAP material model could not be created

I would really appreciate it if anybody could advise me to solve this problem.

Thanks,

Vinicio Suarez
NCSU

silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

Post by silvia » Wed Jan 12, 2005 8:46 am

what are you actually typing?
the last variable within brackets is optional, either you place it without the brackets, or you omit it.
also, what other statement do you get in the error message?
please give more details as to what you are doing.
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104

vsuarez
Posts: 5
Joined: Mon Jan 10, 2005 8:51 am
Location: NCSU

Post by vsuarez » Thu Jan 13, 2005 9:41 am

Silvia,

Thanks for reply.

As example, I have written the following code to check the force-deformation response of the PySimple1 material. It works with other materials (Steel01 or Concrete01) but does not work for PySimple1.

# F-D response of PySimple1 material
model BasicBuilder -ndm 1 -ndf 1
uniaxialMaterial PySimple1 1 1 1 1 0.1
set numIncr 100 ;# Number of analysis increments
set maxEp 10 ;10 times y50
node 1 0.0
node 2 1.0
fix 1 1
element truss 1 1 2 1 1
recorder Node -file response.out -time -node 2 -dof 1 disp
pattern Plain 2 "Linear" {load 2 1.0}
numberer Plain
constraints Plain
test NormUnbalance 1.0e-9 10
system BandSPD
algorithm Newton
set dep [expr $maxEp/$numIncr]
integrator DisplacementControl 2 1 $dep 1 $dep $dep
analysis Static
analyze $numIncr

I would really appreciate your help on this issue.

Vinicio.

silvia
Posts: 3909
Joined: Tue Jan 11, 2005 7:44 am
Location: Degenkolb Engineers
Contact:

PySimple

Post by silvia » Fri Jan 14, 2005 3:08 pm

heck, all you had to do was send me the first two lines and I'd see the problem.
I have sent an e-mail to Boris and hope to address an answer on the board asap.
silvia
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk » Fri Jan 14, 2005 4:15 pm

the problem was in the procedure used to check if the input was for a snap material .. it has been fixed .. i have placed a new OpenSees.exe at the website .. you should see Version 1.6.1.d when you run it.

Post Reply