A problem with adding a new material

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

Moderators: silvia, selimgunay, Moderators

Post Reply
jullieazevedo
Posts: 1
Joined: Wed May 07, 2014 6:57 am
Location: UofT

A problem with adding a new material

Post by jullieazevedo »

Hi,

I am following the example for creating a new material using the ElasticPPcpp file. I have successfully built my dll file and put it in my current directory. However, when I run the Example1.tcl, it gives me the following error:

WARNING could not creat uniaxialMaterial ElasticPPcpp

while executing
"uniaxialMaterial ElasticPPcpp 1 3000 0.001"
<file "Example1.tcl" line 22>

Can anybody help me with this error? Any comment or help would be appreciated.

Thanks.
Asfandyar
Posts: 2
Joined: Tue Mar 10, 2015 12:18 pm
Location: University of Houston

Re: A problem with adding a new material

Post by Asfandyar »

Hi.

I am also facing the same problem.

Since its been a long time when you posted, So did you got any solution for that?

Your answer will be highly appreciable

Thanks
johnnyontheweb
Posts: 46
Joined: Sat Oct 08, 2011 6:28 am

Re: A problem with adding a new material

Post by johnnyontheweb »

I'm trying me too, but I get an overflow error when trying to read "theParam" array. It seems that the c_f_pointer it's not working.
Moreover, you must correct the "if results != 1" in TCLelement_api in "if results != 0".
Still looking to solve...
Post Reply