Mercure wrote:
> I have the same questions as rainandcm, i don't know how to test de new
> material, as the bin folder does not exist and so do the compiled project,
> is it an error in the instructions?
I think there were some mistakes in the old instructions. They had a lot of update recently. If you still need it, check the new instruction. Also maybe check the following link: http://opensees.berkeley.edu/wiki/index ... r_own_Code
Search found 19 matches
- Sat May 12, 2012 11:15 pm
- Forum: Framework
- Topic: question regarding testing DLL
- Replies: 4
- Views: 5379
- Sat May 12, 2012 11:12 pm
- Forum: Framework
- Topic: problem of dll
- Replies: 7
- Views: 7709
Re: problem of dll
marykabrown wrote:
> Please explain wipe command.
Sorry for the late reply. I had similar problems before. OpenSees doesn't allow us to define a node twice. This is what the error tells. Maybe try to print the node number out. Check one by one to see where you are trying to overwrite an existing node number.
> Please explain wipe command.
Sorry for the late reply. I had similar problems before. OpenSees doesn't allow us to define a node twice. This is what the error tells. Maybe try to print the node number out. Check one by one to see where you are trying to overwrite an existing node number.
- Thu Sep 15, 2011 4:29 pm
- Forum: Framework
- Topic: Where to find OpenSees TCL Builder
- Replies: 6
- Views: 6869
Re: Where to find OpenSees TCL Builder
Looks like I got the solution now...The modelbuilder file is located in the same directory as the new material.
- Wed Sep 14, 2011 10:58 pm
- Forum: Framework
- Topic: Where to find OpenSees TCL Builder
- Replies: 6
- Views: 6869
Re: Where to find OpenSees TCL Builder
But the thing is, I don't know how to change the Tcl Model Builder. Can somebody help me? Where should I make the change to TclModelBuilder? Thank you.
- Wed Sep 14, 2011 10:54 pm
- Forum: Framework
- Topic: Where to find OpenSees TCL Builder
- Replies: 6
- Views: 6869
Re: Where to find OpenSees TCL Builder
I found the Tcl Builder now. It is in the Class tcl--Source Files
- Wed Sep 14, 2011 10:56 am
- Forum: Framework
- Topic: Where to find OpenSees TCL Builder
- Replies: 6
- Views: 6869
Where to find OpenSees TCL Builder
Hi
I read from " How to introduce a new material into OpenSees, by Michael H. Scott" that " New material model must be added to the OpenSees Tcl model builder in order to be used by analysis models defined in Tcl scipt files.
Can somebody tell me where to find this "tcl Builder"?
I have my dll file now. Do I still need to make change to "tcl builder"?
Thanks a lot.
I read from " How to introduce a new material into OpenSees, by Michael H. Scott" that " New material model must be added to the OpenSees Tcl model builder in order to be used by analysis models defined in Tcl scipt files.
Can somebody tell me where to find this "tcl Builder"?
I have my dll file now. Do I still need to make change to "tcl builder"?
Thanks a lot.
- Tue Sep 13, 2011 3:30 pm
- Forum: Framework
- Topic: question regarding testing DLL
- Replies: 4
- Views: 5379
question regarding testing DLL
Hi,
Following steps in http://opensees.berkeley.edu/wiki/index ... L_Creation, I've built the .dll file. I am a little confused in the testing part.
"Now test it,
1. using windows finder, copy the .dll (C:\??\OpenSeesDeveloper\material\ElasticPPCPP\Debug) into the class directory (C:\???\OpenSeesDeveloper\material\)
2. run OpenSees (2.2.0) (C:\??\OpenSeesDeveloper\bin)
3. cd into directory containing example (cd ..\material)
4. source an example script containing your new command, i.e. type: "source example1.tcl"
IT SHOULD RUN THE SCRIPT! .. IF IT FAILS GET MY ATTENTION."
In step 2, do I need to create a new folder with the name of "bin" and then put a "OpenSees.exe" in it?
In step3, I don't know what does "cd into directory" mean. I didn't find a directory called cd.
Shoun't the example file be in the same directory with OpenSees.exe? Looks like they are not. I am confused here about how to run an example testing file. Should the .dll file be in the same directory with OpenSees.exe?
Thank you very much.
Following steps in http://opensees.berkeley.edu/wiki/index ... L_Creation, I've built the .dll file. I am a little confused in the testing part.
"Now test it,
1. using windows finder, copy the .dll (C:\??\OpenSeesDeveloper\material\ElasticPPCPP\Debug) into the class directory (C:\???\OpenSeesDeveloper\material\)
2. run OpenSees (2.2.0) (C:\??\OpenSeesDeveloper\bin)
3. cd into directory containing example (cd ..\material)
4. source an example script containing your new command, i.e. type: "source example1.tcl"
IT SHOULD RUN THE SCRIPT! .. IF IT FAILS GET MY ATTENTION."
In step 2, do I need to create a new folder with the name of "bin" and then put a "OpenSees.exe" in it?
In step3, I don't know what does "cd into directory" mean. I didn't find a directory called cd.
Shoun't the example file be in the same directory with OpenSees.exe? Looks like they are not. I am confused here about how to run an example testing file. Should the .dll file be in the same directory with OpenSees.exe?
Thank you very much.
- Tue Sep 13, 2011 2:27 pm
- Forum: Framework
- Topic: problem of dll
- Replies: 7
- Views: 7709
Re: problem of dll
You may need a "wipe"command in the code.
- Mon Sep 12, 2011 1:44 pm
- Forum: Framework
- Topic: How to add a new material in OpenSees
- Replies: 1
- Views: 2257
How to add a new material in OpenSees
Hi,
I have both Newmaterial.cpp and Newmaterial.h. What else do I need to do to add this new material? Is there anywhere I can find the procedures? Thank you very much. After I succeed, I'd like to share my experience with others.
I have both Newmaterial.cpp and Newmaterial.h. What else do I need to do to add this new material? Is there anywhere I can find the procedures? Thank you very much. After I succeed, I'd like to share my experience with others.
- Wed Aug 17, 2011 2:15 pm
- Forum: Framework
- Topic: OpenSees.exe compiling error
- Replies: 3
- Views: 3951
Re: OpenSees.exe compiling error
fmk wrote:
> it is a problem which shows up in the debug version when using SuperLU ..
> use another solver or build the release version of the code.
Thanks for your reply. BY saying use another solver, do you mean change a different version of Visual C++? Can you give me some detail? Thank you.
Xiaoyu
> it is a problem which shows up in the debug version when using SuperLU ..
> use another solver or build the release version of the code.
Thanks for your reply. BY saying use another solver, do you mean change a different version of Visual C++? Can you give me some detail? Thank you.
Xiaoyu
- Tue Aug 16, 2011 4:50 pm
- Forum: Framework
- Topic: OpenSees.exe compiling error
- Replies: 3
- Views: 3951
OpenSees.exe compiling error
Hello,
I downloaded the C++ package to compile OpenSees.exe. Software I used is Visual Studio 2010. I opened opensees2005.sln and built it. There are no errors in the log. However, the opensees.exe produced can not work well. When I run models with my opensees. it shows " Debug Error! Program: fromOSweb... Module: from OSweb... File c:\other\superlu_3.0\src\dgstrf.c. Line:311 Run-Time Check Failure #3- The variable 'iperm_r' is being used without being initialized. (Press any key to debug the application)."
I didn't change anything of the C++ package.
Can somebody tell me why and how to solve the problem? Thank you.
Xiaoyu
I downloaded the C++ package to compile OpenSees.exe. Software I used is Visual Studio 2010. I opened opensees2005.sln and built it. There are no errors in the log. However, the opensees.exe produced can not work well. When I run models with my opensees. it shows " Debug Error! Program: fromOSweb... Module: from OSweb... File c:\other\superlu_3.0\src\dgstrf.c. Line:311 Run-Time Check Failure #3- The variable 'iperm_r' is being used without being initialized. (Press any key to debug the application)."
I didn't change anything of the C++ package.
Can somebody tell me why and how to solve the problem? Thank you.
Xiaoyu
- Wed Aug 10, 2011 9:53 am
- Forum: Soil Modelling
- Topic: hystereticBackbone ReeseSoftClay
- Replies: 2
- Views: 3834
Re: hystereticBackbone ReeseSoftClay
Problem solved. Here is the right way: "The problem is that the zeroLength element only works with uniaxialMaterials and not hystereticBackbone objects. However, they are very similar. To get around it, you should first define your hystereticBackbone ReeseSoftClay, then define a uniaxialMaterial Backbone that wraps the backbone.
hystereticBackbone ReeseSoftClay 23 .......
uniaxialMaterial Backbone 64 23
Then you can use material 64 in your zeroLength element."
hystereticBackbone ReeseSoftClay 23 .......
uniaxialMaterial Backbone 64 23
Then you can use material 64 in your zeroLength element."
- Mon Aug 08, 2011 3:16 pm
- Forum: Documentation
- Topic: directiroy of installing of TCL/TK
- Replies: 8
- Views: 21085
Re: directiroy of installing of TCL/TK
Here is my experience in installing TCL/TK in 64 bit Windows 7 OS. Is is very very important to left click the TCL/TK.exe and click "run as administrator". If you don't do this, Windows 7 will not allow you to change installation folder.
Just to share with people, in case others have the same problem.
Just to share with people, in case others have the same problem.
- Mon Aug 08, 2011 3:09 pm
- Forum: Soil Modelling
- Topic: py spring material used in BNWF method
- Replies: 0
- Views: 2265
py spring material used in BNWF method
Hello,
In the forllowing website, it used "PySimple1" to create py material for zerolength spring. Can I use other command (instead of PySimple1) to create the py material?
I tried "hystereticBackbone ReeseSoftClay" but it does work. After run the program, it shows "material doesn't exist".
Can you give me some suggestions?
Thank you.
In the forllowing website, it used "PySimple1" to create py material for zerolength spring. Can I use other command (instead of PySimple1) to create the py material?
I tried "hystereticBackbone ReeseSoftClay" but it does work. After run the program, it shows "material doesn't exist".
Can you give me some suggestions?
Thank you.
- Mon Aug 08, 2011 2:57 pm
- Forum: Soil Modelling
- Topic: hystereticBackbone ReeseSoftClay
- Replies: 2
- Views: 3834
hystereticBackbone ReeseSoftClay
I used "hystereticBackbone ReeseSoftClay" to replace "uniaxialMaterial PySimple1" command. When I run my model, it shows "WARNING no material 64exitsts -element ZeroLength eleTag?? i Node? jNode?...". It looks like the material 64 doesn't exist. In order to check if this is the problem, I put a "puts $tag" command after the command "hystereticBackbone ReeseSoftClay" to show each tag created. Finally it does show material 64 there.
Finally, the problem is: this reesesoftclay material does exist, but it is not valid.
Has anyone met this situation before? Thank you.
Finally, the problem is: this reesesoftclay material does exist, but it is not valid.
Has anyone met this situation before? Thank you.