Insufficient arg

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

Moderators: silvia, selimgunay, Moderators

Post Reply
martinmasanes
Posts: 38
Joined: Thu Jun 27, 2013 2:39 pm
Location: universidad de los andes

Insufficient arg

Post by martinmasanes »

Dear fmk
I'm trying to use the SteelBRB uniaxial material, but i get the message of insuficient args, and I think I'm setting all the required parameters, what a have on my model is

set matID_BRB 6
set Sigmay_0 [expr 370*$MPa];
set Sigmay_T [expr 1.65*$Sigmay_0];
set alpha_T 1.2;
set beta_T 1.0;
set delta_T 0.45;
set Sigmay_C [expr 1.12*$Sigmay_T];
set alpha_C 0.2
set beta_C 1.05
set delta_C 0.15

uniaxialMaterial SteelBRB $matID_BRB $Es $Sigmay_0 $Sigmay_T $alpha_T $beta_T $delta_T $Sigmay_C $alpha_C $beta_C $delta_C 1.0e-14

I try also including and not including the <tol> parameter that should be optional, please help

THANKS!!!
Martin Masanes D.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Insufficient arg

Post by fmk »

do a puts before the uniaxialMaterial command,
puts "uniaxialMaterial SteelBRB $matID_BRB $Es $Sigmay_0 $Sigmay_T $alpha_T $beta_T $delta_T $Sigmay_C $alpha_C $beta_C $delta_C 1.0e-14"

and post what pops up
martinmasanes
Posts: 38
Joined: Thu Jun 27, 2013 2:39 pm
Location: universidad de los andes

Re: Insufficient arg

Post by martinmasanes »

Thanks for the reply.
When i used puts"..." y got:

uniaxialMaterial SteelBRB 6 20408.16 37.75 62.29 1.2 1.0 0.3 69.77 0.2 1.05 0.15 1.0e-14

wich I suposse, is correct.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Insufficient arg

Post by fmk »

that command works fine .. are you sure this is the offending command and are you using the current version?
martinmasanes
Posts: 38
Joined: Thu Jun 27, 2013 2:39 pm
Location: universidad de los andes

Re: Insufficient arg

Post by martinmasanes »

I'm using version 2.4.2 (rev. 5540). about the command, I'm using what says on the source code. I'm sure this is the offending command because the model works fine, then I add this single command and it doesn't work, and shows the warning about the args.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Insufficient arg

Post by fmk »

this works in current version is 2.4.3 .. one of the bugs that was fixes in move from 2.4.2 to 2.4.3 was related to this command.

http://opensees.berkeley.edu/WebSVN/log ... eelBRB.cpp&
martinmasanes
Posts: 38
Joined: Thu Jun 27, 2013 2:39 pm
Location: universidad de los andes

Re: Insufficient arg

Post by martinmasanes »

Sorry I wasn't using the current version, but it was because the model doesn't work on the current version. I get a "domain error: argument not in valid range". The error occurs during the eigen analysis, so i think there is a problem in the version 2.4.3 with the eigen command.
My eigen analysis is taken from Vesna's example

set pi [expr 2.0*asin(1.0)];
set nEigenI 0;
set nEigenJ 2;
set lambdaN [eigen [expr $nEigenJ]];
set lambdaI [lindex $lambdaN [expr 0]];
set lambdaJ [lindex $lambdaN [expr $nEigenJ-1]];
set w1 [expr pow($lambdaI,0.5)];
set w2 [expr pow($lambdaJ,0.5)];
set T1 [expr 2.0*$pi/$w1];
set T2 [expr 2.0*$pi/$w2];
puts [format "T1 = %.3f s" $T1];
puts [format "T2 = %.3f s" $T2];

the problen comes when trying to access the first mode, for example: if in the command I use

set nEigenI 1
set nEigenJ 2

It works fine, but the I get the period for the second mode, not the first
martinmasanes
Posts: 38
Joined: Thu Jun 27, 2013 2:39 pm
Location: universidad de los andes

Re: Insufficient arg

Post by martinmasanes »

Sorry!! Had not read the limitation that there exists on the N-1 DOF whith the default eigen Solver...problem solved

Thanks
shahroozbral
Posts: 4
Joined: Wed Sep 19, 2012 8:34 am
Location: university of science & culture

Re: Insufficient arg

Post by shahroozbral »

Dear fmk
wishing you a good day

which code is the base of coefficients of SteelBRB material?
where can I find the values coefficients?

many Thanks
Post Reply