TzSimple1 Code

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

Moderators: silvia, selimgunay, Moderators

Post Reply
Ballasty
Posts: 8
Joined: Tue Apr 02, 2013 4:50 am
Location: Nottingham

TzSimple1 Code

Post by Ballasty »

Hi- I would like to modify the some parameters that determine the load-deformation curve of the TzSimple1 material so that I can use this material in OpenSees.

I built the XXXX.dll file without any problems. However, when I run the program, it said " Warning: could not create uniaxialmaterial XXXX." I tried the example file " elasticPPCPP " in the Developer first, and it worked, but I don't know why it has problem with the TzSimple1.

P.S. I just copy & paste the original codes (.cpp and .h) from the SVN
"http://opensees.berkeley.edu/WebSVN/fil ... imple1.cpp&".

Even I did not make any modification to the code, TzSimple1 could not be recognised by OpenSees. I am wondering should the code of TzSimple1 be modified in order to provide an applicable .dll?
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: TzSimple1 Code

Post by fmk »

you need to provide the OPS_TzSimple1 function call. copy the one from the working dll example and rename it. that is the function the command that is looked for when the dll is loaded.
Ballasty
Posts: 8
Joined: Tue Apr 02, 2013 4:50 am
Location: Nottingham

Re: TzSimple1 Code

Post by Ballasty »

Hi fmk-Thank you for your reply. I have solved the problem!
Post Reply