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 » Thu Mar 27, 2014 2:21 pm

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: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Insufficient arg

Post by fmk » Thu Mar 27, 2014 3:26 pm

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 » Sat Mar 29, 2014 3:43 pm

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: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Insufficient arg

Post by fmk » Mon Mar 31, 2014 8:24 am

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 » Mon Mar 31, 2014 9:48 am

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: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Insufficient arg

Post by fmk » Tue Apr 01, 2014 8:19 am

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 » Thu Apr 03, 2014 8:12 am

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 » Fri Apr 04, 2014 6:32 am

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 » Fri Jun 20, 2014 3:43 am

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