updateParameter for Viscous material

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
chenari
Posts: 7
Joined: Thu Apr 16, 2015 11:09 am
Location: sharif

updateParameter for Viscous material

Post by chenari » Mon May 25, 2015 11:58 am

I need to update Parameter damping coefficient of uniaxialMaterial Viscous through dynamic analysis....updateParameter command not work for this Viscous Material.

what way suggest me for this problem in the OpenSees ???????????????
the matlab program not work for my master thesis...


the code below is simple example for my problem that Viscous material can not update through dynamic analysis..

wipe all
model basic -ndm 2 -ndf 3
file mkdir rem
node 1 0. 0.
node 2 0. 0.
fix 1 1 1 1
equalDOF 1 2 2 3
mass 2 11025. 0. 0
uniaxialMaterial Elastic 1 290000.
uniaxialMaterial Viscous 2 290. 1
element zeroLength 1 1 2 -mat 1 -dir 1
element zeroLength 2 1 2 -mat 2 -dir 1
recorder Node -file rem/node22disp.txt -time -node 2 -dof 1 disp


set accel "Series -dt 0.01 -filePath elcentro.txt -factor [expr 9.81]"
pattern UniformExcitation 2 1 -accel $accel

constraints Plain
numberer Plain
system BandGeneral
test EnergyIncr 1.e-8 8
algorithm Newton
integrator Newmark 0.5 0.25
analysis VariableTransient

for {set i 1} {$i<4000} {incr i} {
set f 200.
parameter 1 element 2 C
updateParameter 1 $f
remove parameter 1
}

would you like to explain the best idea about this problem solution??? (except link OpenSees with matlab program)!

I appreciate if somebody help me to find out a solution for my problem. :? :? :? :? :?

saylennare
Posts: 1
Joined: Wed Apr 26, 2023 6:45 am

Re: updateParameter for Viscous material

Post by saylennare » Wed May 24, 2023 10:18 pm

Your presentation confuses me. Can you make it more clear?


bad ice cream

farmercool
Posts: 3
Joined: Thu Aug 24, 2023 6:25 pm

Re: updateParameter for Viscous material

Post by farmercool » Wed Dec 20, 2023 1:35 am

I discovered some errors in your post et accel "Series -dt 0.01 -filePath elcentro.txt -factor [expr 9.81]".
geometry dash lite

arcanasinge
Posts: 2
Joined: Tue Feb 20, 2024 8:07 pm

Re: updateParameter for Viscous material

Post by arcanasinge » Tue Feb 20, 2024 8:13 pm

I think one of the reasons the updateParameter command doesn't work for this Viscous Material is because there are some errors in your recorder script Node -file rem/node22disp.txt -time -node 2 -dof 1 disp. Please check the script and try again.
eggy car

Post Reply