error encountered while attempting to identify parameter

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

Moderators: silvia, selimgunay, Moderators

Post Reply
mkumar3
Posts: 23
Joined: Sat Jun 11, 2011 11:23 am
Location: University at Buffalo

error encountered while attempting to identify parameter

Post by mkumar3 »

Hello,

I am facing a problem with the parameter command. The relevant portion of the code is posted below.

*******************************
uniaxialMaterial Steel01 1 $sigmaY $E_Steel 0.000000000000001;
uniaxialMaterial Steel01 2 [expr 128097.6*$accelGravity*$Mu_Ref] $E_Steel 0.0000000000001;
uniaxialMaterial Elastic 3 $E;
element zeroLength 1 $iNode $jNode -mat 1 2 3 3 10$i -dir 1 2 1 2 3 ;
*******************************

The code runs fine with this segment. The problem starts when I start defining parameters. The following combination of definition also does not trigger any warning/error message.

*******************************
parameter 1 element 1 material 1 sigmaY ;
parameter 2 element 1 material 2 sigmaY ;
parameter 3 element 1 material 1 E ;
parameter 4 element 1 material 2 E ;
*******************************

However, if I start playing with the material tag or parameter tag, I get the following error message. For example, for the following code

*******************************
uniaxialMaterial Steel01 11 $sigmaY $E_Steel 0.000000000000001;
uniaxialMaterial Steel01 2 [expr 128097.6*$accelGravity*$Mu_Ref] $E_Steel 0.0000000000001;
uniaxialMaterial Elastic 3 $E;

element zeroLength 1 $iNode $jNode -mat 11 2 3 3 10$i -dir 1 2 1 2 3 ;

parameter 1 element 1 material 11 sigmaY ;
parameter 2 element 1 material 2 sigmaY ;
parameter 3 element 1 material 11 E ;
parameter 4 element 1 material 2 E ;
*******************************

I get the following error.

################
Parameter::Parameter 1 -- error encountered while attempting to identify parameter
material 11 sigmaY
Parameter::Parameter 3 -- error encountered while attempting to identify parameter
material 11 E
################

The program still runs fine if parameters are not defined at all. Can someone please give some suggestions/comments on the problem?

Thanks,
Manish Kumar
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: error encountered while attempting to identify parameter

Post by vesna »

Can you send us the example so we can test it ourselves.
Kamesh9
Posts: 16
Joined: Fri May 18, 2012 9:26 am
Location: Rice University

Re: error encountered while attempting to identify parameter

Post by Kamesh9 »

Hi Manish
did you find the problem in the parameter command ? I am also facing the same problem.
mkumar3
Posts: 23
Joined: Sat Jun 11, 2011 11:23 am
Location: University at Buffalo

Re: error encountered while attempting to identify parameter

Post by mkumar3 »

Yes, but if it is defined in a certain order, it works alright. I sent the files to OpenSees moderators. I am yet to hear from them. However, it is possible that they have taken care of it in the latest version 2.4.0. I have not worked with it yet.

Manish
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: error encountered while attempting to identify parameter

Post by vesna »

Neither me or Frank received that email.

If some changes were made with regard to this Michael Scott is the one who did it.
mkumar3
Posts: 23
Joined: Sat Jun 11, 2011 11:23 am
Location: University at Buffalo

Re: error encountered while attempting to identify parameter

Post by mkumar3 »

I sent the mail again. Kindly let me know if you do not receive it.
Post Reply