the problem of "uniaxialMaterial"

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

Moderators: silvia, selimgunay, Moderators

Post Reply
cjwxslw
Posts: 12
Joined: Sat May 22, 2010 6:33 pm
Location: NORTH CHINA UNVERSITY OF SCIENCE AND TECHNOLOGY

the problem of "uniaxialMaterial"

Post by cjwxslw »

how to use the command "uniaxialMaterial"?

set in 1.; # define basic units -- output units
set kip 1.; # define basic units -- output units
set ft [expr 12.*$in]; # define engineering units
set ksi [expr $kip/pow($in,2)];
set psi [expr $ksi/1000.];

set fc [expr -5.5*$ksi];
set Ec [expr 57*$ksi*sqrt(-$fc/$psi)];
set fc1C [expr 1.26394*$fc];
set eps1C [expr 2.*$fc1C/$Ec];
set fc2C $fc
set eps2C [expr 5*$eps1C];
set lambda 0.1;
set ftC [expr -$fc1C/10.];
set Ets [expr $Ec/10.];
set IDcore 1;
uniaxialMaterial Concrete02 $IDcore $fc1C $eps1C $fc2C $eps2C $lambda $ftC $Ets;

why display "invalid command of the "uniaxialMaterial""when i run??
thank you !!!
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

you need to issue the model command first .. otherwise you have a plain tcl interpreter which knows nothing about node, element, ... commands.
cjwxslw
Posts: 12
Joined: Sat May 22, 2010 6:33 pm
Location: NORTH CHINA UNVERSITY OF SCIENCE AND TECHNOLOGY

thank you

Post by cjwxslw »

thank you so it is。
Post Reply