uniaxialMaterial Cable

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

Moderators: silvia, selimgunay, Moderators

Post Reply
dbpatankar
Posts: 4
Joined: Mon Jan 25, 2010 8:08 pm
Location: Indian Institute of Technology, Roorkee

uniaxialMaterial Cable

Post by dbpatankar »

I am trying to model a cable using uniaxialMaterial Cable as material model
Here is the actual line used

set cableMatTag 3
set prestress 100e6; # Prestress 100 MPa
set uWtCable [expr $densitySteel * 9.81 * cos(0.6435)]
set LElement [expr sqrt($L**2+$H**2)]
uniaxialMaterial Cable $cableMatTag $prestress $E $uWtCable $LElement

But when I execute the script, I get the error as :
Invalid # args, want: uniaxialMaterial Cable tag? $presetress $E $effUnitWeight $Lelement

Whereas if you see the code above, it clearly follows the syntax given. Kindly let me know where is the mistake.
Senior Research Fellow,
Department of Earthquake Engineering,
Indian Institute of Technology, Roorkee
Roorkee,
Uttarakhand (India)
assimi
Posts: 17
Joined: Wed Mar 30, 2016 11:16 am
Location: University of Adelaide

Re: uniaxialMaterial Cable

Post by assimi »

Hi,

Did you find out what is the problem regarding this error?
Post Reply