Dear all,
I wanna use Parameter Command and updateparamter Command.
How can I find the specific name of the paramter?
For example, parameter 1 element 4 section 3 material 1 E
How can I find other properties beside E in this material?
For instance, how can I find the name of sce in the following material
if I want to use Parameter Command?
uniaxialMaterial AxialSp $matTag $sce $fty $fcy <$bte $bty $bcy $fcr>
Thanks.
Parameter Command
Moderators: silvia, selimgunay, Moderators
Re: Parameter Command
not all material and element properties can be set with the parameter command .. if not in the documentation (and for most cases it won't given the people who have added the command) your only action is to look at the source code
http://opensees.berkeley.edu/WebSVN/lis ... k%2FSRC%2F
and see if the element or material has a setParameter() method in the class. The AxialSp class does not have this method and as a consequence you could not use the command.
http://opensees.berkeley.edu/WebSVN/lis ... k%2FSRC%2F
and see if the element or material has a setParameter() method in the class. The AxialSp class does not have this method and as a consequence you could not use the command.
Re: Parameter Command
Hi
I Used Following Format for Creating node in My Model:
#NBay=Number of Bay
set $Pier1 0.0
set $Pier2 $WBay
for { set x 1} { $x<=[expr $NBay+1]} {incr x} {
set z Pier[format "%i" $x]
node [format "%i1" $x] $$z $Floor1;
}
But After Running, Program Don't Recognize $Pier[format "%i" $x] As a Variable.
Please Help me for Fix this
I Used Following Format for Creating node in My Model:
#NBay=Number of Bay
set $Pier1 0.0
set $Pier2 $WBay
for { set x 1} { $x<=[expr $NBay+1]} {incr x} {
set z Pier[format "%i" $x]
node [format "%i1" $x] $$z $Floor1;
}
But After Running, Program Don't Recognize $Pier[format "%i" $x] As a Variable.
Please Help me for Fix this
Re: Parameter Command
Here are 2 alternatives that could possibly work:
A) Define Pier(1) and Pier(2) and then use set z Pier($x) in the loop
or
B) Keep Pier1 and Pier2 variables and use set z [join [concat Pier $x] ""] inside the loop
Also, I think you should create a new thread next time.
Hope it works.
A) Define Pier(1) and Pier(2) and then use set z Pier($x) in the loop
or
B) Keep Pier1 and Pier2 variables and use set z [join [concat Pier $x] ""] inside the loop
Also, I think you should create a new thread next time.
Hope it works.